{"$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":"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":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX7","name":"Slice cohesion","shortDescription":{"text":"Slice cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/AX7"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ChatStateAdapter.ChatStateAdapterProvider (cyclomatic 464): ChatStateAdapter.ChatStateAdapterProvider has cyclomatic complexity 464 (threshold 15). Most of this is not in the body itself: 2 of the 464 points are its own statements and the rest belongs to 55 function literals inside it that branch (lines 3098, 2288, 2798, \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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"231421a515e4baee93a86cf8a894f98071a0819d202ad9a7a9dd6ba881d31d78"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWorkspace.ChatWorkspace (cyclomatic 365): ChatWorkspace.ChatWorkspace has cyclomatic complexity 365 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 316 belong to 97 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":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"4832a5fc085a7403b6b10791d9b1f0b95ed8f98e47e81871689afd415abeb7a4"}},{"ruleId":"D1","level":"warning","message":{"text":"CoWriterWorkspace.CoWriterWorkspace (cyclomatic 297): CoWriterWorkspace.CoWriterWorkspace has cyclomatic complexity 297 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 240 belong to 71 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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df01f99a117e95b324e3bd0cbafd5cbf62f96919f4e9915532448bc9c782fb7"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsStore.SettingsProvider (cyclomatic 285): SettingsStore.SettingsProvider has cyclomatic complexity 285 (threshold 15). Most of this is not in the body itself: 6 of the 285 points are its own statements and the rest belongs to 67 function literals inside it that branch (lines 1928, 800, 2205, \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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"28245a74d1fc9e0ddf1799dad0de3b7eafe17c132057706c2b2e8aecc964a58b"}},{"ruleId":"D1","level":"warning","message":{"text":"BooksRoute.BookPageInner (cyclomatic 243): BooksRoute.BookPageInner has cyclomatic complexity 243 (threshold 15). Of this number, 68 points are the body\u0027s own statements and 175 belong to 56 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":"web/app/(workspace)/learning/books/BooksRoute.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"617dfda7f5cfa19e8502c27a1d1eda0c296c5886794f34b9667f37f1e5ef5d83"}},{"ruleId":"D1","level":"warning","message":{"text":"TurnExecutor._run_turn (cyclomatic 224): TurnExecutor._run_turn has cyclomatic complexity 224 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/executor.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b173f0fb31800b954ff74aa41f5fa802662408e90a0e39ed906b593f6b53c3d"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatComposer.ChatComposer (cyclomatic 210): ChatComposer.ChatComposer has cyclomatic complexity 210 (threshold 15). Of this number, 118 points are the body\u0027s own statements and 92 belong to 40 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":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"608f0682365b361f229a501e67af4d47161b8a48abdb632ca9933a129c8a0a22"}},{"ruleId":"D1","level":"warning","message":{"text":"QuizViewer.QuizViewer (cyclomatic 194): QuizViewer.QuizViewer has cyclomatic complexity 194 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 143 belong to 33 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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8680ec62684db8864be8305afd786f9ae7ca73ed84481886b1b6226e1487bc"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatStateAdapter.reduce (cyclomatic 194): ChatStateAdapter.reduce has cyclomatic complexity 194 (threshold 15). Of this number, 172 points are the body\u0027s own statements and 22 belong to 8 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c39e67b4fa3dab7e190e20adc7148c293c4a744a77ab56914db5065b1849629"}},{"ruleId":"D1","level":"warning","message":{"text":"TurnRequestPreparer.start_turn (cyclomatic 181): TurnRequestPreparer.start_turn has cyclomatic complexity 181 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/request_preparer.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c671b134fd000cb32e8664fff0d5e0c2ebbfb83ede9ac3dca4a5064c659728a5"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerChat.PartnerChat (cyclomatic 181): PartnerChat.PartnerChat has cyclomatic complexity 181 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 163 belong to 32 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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbba0bd93a83a1a9b9693171bb03de1f5ee4eb5d3174c0549ad96cec1782ebf"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderPane.ReaderPane (cyclomatic 165): ReaderPane.ReaderPane has cyclomatic complexity 165 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 114 belong to 37 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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee20d29a3f971f1ee2bffa7528c209f56ddae992854e361162a0f0cf20b6a86"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteWorkspace.NoteWorkspace (cyclomatic 155): NoteWorkspace.NoteWorkspace has cyclomatic complexity 155 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 121 belong to 50 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":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb49f7cb6d7ca2ac9b1617d886500f779d607f1216ee3fbd3e14b90d68291cc"}},{"ruleId":"D1","level":"warning","message":{"text":"ServiceConfigEditor.ServiceConfigEditor (cyclomatic 141): ServiceConfigEditor.ServiceConfigEditor has cyclomatic complexity 141 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 104 belong to 21 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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4c6dc387dd82c27eeceacf158902bb1707a7b99dbc34351f8b5b08c3e6196f"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaReadingStage.MediaReadingStage (cyclomatic 137): MediaReadingStage.MediaReadingStage has cyclomatic complexity 137 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 86 belong to 29 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":"web/components/reading/workspace/MediaReadingStage.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8836b9414b850a3d473b0dd7a8c31daf72e7b7e1dd2b9428502a8180b9b6379"}},{"ruleId":"D1","level":"warning","message":{"text":"page.PartnerDetail (cyclomatic 132): page.PartnerDetail has cyclomatic complexity 132 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 82 belong to 27 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":"web/app/(workspace)/partners/[partnerId]/page.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01adcdd54b545e7306e4eaf10a51b4733954b851baaa6ba824cd4c5bd7a8714"}},{"ruleId":"D1","level":"warning","message":{"text":"PdfDocumentView.PdfDocumentView (cyclomatic 132): PdfDocumentView.PdfDocumentView has cyclomatic complexity 132 (threshold 15). Most of this is not in the body itself: 13 of the 132 points are its own statements and the rest belongs to 39 function literals inside it that branch (lines 945, 741, 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":"web/components/reading/PdfDocumentView.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e1c039440f3a8ae2a8d8e199a81c9ceb7175b9c9b8284fd58e51ba59baefb4"}},{"ruleId":"D1","level":"warning","message":{"text":"PageReader.PageReader (cyclomatic 121): PageReader.PageReader has cyclomatic complexity 121 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 61 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":"web/app/(workspace)/learning/books/components/PageReader.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"75713176d96fb8cff20dcfdde9da4ba490cf1beb78b7280502e1d51acad3f81c"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateKbModal.CreateKbModal (cyclomatic 121): CreateKbModal.CreateKbModal has cyclomatic complexity 121 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 89 belong to 15 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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadf7e5de7b4a0f0898aba3d38906f21660107c637b4e8c43c8f14563bc8c133"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsWorkspace.ModelEditor (cyclomatic 119): ModelsWorkspace.ModelEditor has cyclomatic complexity 119 (threshold 15). Of this number, 85 points are the body\u0027s own statements and 34 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e811c0974668aac0bd8dd9d59a4021e18032e578fa6d7b96245755bea941c2c"}},{"ruleId":"D1","level":"warning","message":{"text":"EpubDocumentView.EpubDocumentView (cyclomatic 116): EpubDocumentView.EpubDocumentView has cyclomatic complexity 116 (threshold 15). Most of this is not in the body itself: 9 of the 116 points are its own statements and the rest belongs to 25 function literals inside it that branch (lines 457, 610, 361, \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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5edc1927b2f87872dd706ebd59114dacc8403b8d631dd7c96baafac88fd944"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionViewerPanel.SessionViewerPanelInner (cyclomatic 113): SessionViewerPanel.SessionViewerPanelInner has cyclomatic complexity 113 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 94 belong to 42 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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"cece4e4a0b9a70d23e56df056e5ef883fb80724b82076d3e3d685e8a08334fef"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentLoop._call_llm (cyclomatic 109): AgentLoop._call_llm has cyclomatic complexity 109 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/agent_loop.py"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38c640344aceaa24513ce9169d5d77109a0d730761778e50f5574731afe8d6e"}},{"ruleId":"D1","level":"warning","message":{"text":"TimeGrid.TimeGrid (cyclomatic 107): TimeGrid.TimeGrid has cyclomatic complexity 107 (threshold 15). Most of this is not in the body itself: 2 of the 107 points are its own statements and the rest belongs to 40 function items inside it that branch (a function literal at line 162, a function literal at line 238, a function literal at line 325, \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":"web/features/calendar/components/TimeGrid.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7e29300f3242f79d8add638c6ced6ad396cb751e498ee75690c1e08b0b5f17"}},{"ruleId":"D1","level":"warning","message":{"text":"CalendarPage.CalendarPage (cyclomatic 107): CalendarPage.CalendarPage has cyclomatic complexity 107 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 61 belong to 28 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":"web/features/calendar/components/CalendarPage.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9392402909b833df1cd39768a896742a541b3842c3f1e70c223edf1e6f31852"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatMessageList.ChatMessageList (cyclomatic 106): ChatMessageList.ChatMessageList has cyclomatic complexity 106 (threshold 15). Most of this is not in the body itself: 6 of the 106 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 2282, a function literal at line 2447, a function literal at line 2122, \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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"316fe7ce5a3811c2f03bd44d4f451a2d4c314e6551ddb10fc321f521c0349397"}},{"ruleId":"D1","level":"warning","message":{"text":"BookChatPanel.BookChatPanel (cyclomatic 102): BookChatPanel.BookChatPanel has cyclomatic complexity 102 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 85 belong to 27 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":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a885a80b11ed89f1e8fa02c9af59c765125abe7b799c169f204838d8091d7d"}},{"ruleId":"D1","level":"warning","message":{"text":"page.AdminUsersPage (cyclomatic 100): page.AdminUsersPage has cyclomatic complexity 100 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 63 belong to 20 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bc8d76e3a2cda70e6f17ac8977320fe59afbab60ab99df0c32bf39080f8ea1"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteEditor.NoteEditor (cyclomatic 97): NoteEditor.NoteEditor has cyclomatic complexity 97 (threshold 15). Most of this is not in the body itself: 3 of the 97 points are its own statements and the rest belongs to 38 function items inside it that branch (a function literal at line 1484, a function literal at line 1441, a function literal at line 1460, \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":"web/features/notes/components/NoteEditor.tsx"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c33e616c164d57d0c76bccc4c20647916ecd74855319d29f15c17ce48e9b05"}},{"ruleId":"D1","level":"warning","message":{"text":"AskUserOptions.extractMessageSegments (cyclomatic 94): AskUserOptions.extractMessageSegments has cyclomatic complexity 94 (threshold 15). Of this number, 67 points are the body\u0027s own statements and 27 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab63062ed23edf339bcf9ca40bdc5a0c67ebbbdac53eabdc48f18383b2a1439"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillsSection.SkillsSection (cyclomatic 93): SkillsSection.SkillsSection has cyclomatic complexity 93 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 66 belong to 25 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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1269bc9983f19dfb3039bc2ef33cd22a01fd688e5aca5bd1b69406536a35e49c"}},{"ruleId":"D1","level":"warning","message":{"text":"StandaloneComposer.StandaloneComposerImpl (cyclomatic 92): StandaloneComposer.StandaloneComposerImpl has cyclomatic complexity 92 (threshold 15). Most of this is not in the body itself: 13 of the 92 points are its own statements and the rest belongs to 28 function literals inside it that branch (lines 741, 447, 397, \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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b6cb084290f90d6f7e9ecec96bb821e421eb3c90939739a8f1293e5f931425"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsWorkspace.ModelsWorkspace (cyclomatic 92): ModelsWorkspace.ModelsWorkspace has cyclomatic complexity 92 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 74 belong to 16 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffed039da1835e530aa5f620baba91710c1f4c918abf2e38e9f661b0823c39c"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatMessageList.AssistantMessage (cyclomatic 91): ChatMessageList.AssistantMessage has cyclomatic complexity 91 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 41 belong to 17 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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c14bf095a8da3929a41389dc51ea11ef142e6da41d7ce74ab7736471b8f63d"}},{"ruleId":"D1","level":"warning","message":{"text":"QuestionCard.QuestionCard (cyclomatic 90): QuestionCard.QuestionCard has cyclomatic complexity 90 (threshold 15). Of this number, 85 points are the body\u0027s own statements and 5 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":"web/components/space/question-bank/QuestionCard.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"217cb5cebb9d9529d6e140c6ec4038a4d3dc6e468006dabbb2335d8a87d32330"}},{"ruleId":"D1","level":"warning","message":{"text":"RichMarkdownRenderer.RichMarkdownRenderer (cyclomatic 86): RichMarkdownRenderer.RichMarkdownRenderer has cyclomatic complexity 86 (threshold 15). Most of this is not in the body itself: 12 of the 86 points are its own statements and the rest belongs to 27 function items inside it that branch (a function literal at line 425, a function literal at line 552, a function literal at line 528, \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":"web/components/common/RichMarkdownRenderer.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"26edf309fc8f86ff1f22c296c380733549527ba72248a0e46dfc2fe77431705c"}},{"ruleId":"D1","level":"warning","message":{"text":"KbIndexVersionsSection.KbIndexVersionsSection (cyclomatic 85): KbIndexVersionsSection.KbIndexVersionsSection has cyclomatic complexity 85 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 25 belong to 10 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KbIndexVersionsSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca6a0d6dd0534b1dcfbfb223f576b69c20d33bb50859801a82ecfcb29931ebd"}},{"ruleId":"D1","level":"warning","message":{"text":"ServiceConfigEditor.ProfileFields (cyclomatic 84): ServiceConfigEditor.ProfileFields has cyclomatic complexity 84 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 27 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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab312ee53564d83b0ee0ea6ff823e6bbcbdccb8bc6e12edf719e7ce6d8ac9d2"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeBaseManager._get_info (cyclomatic 79): KnowledgeBaseManager._get_info has cyclomatic complexity 79 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab2c62bf935e0362cb4eb06cf22a9ce818fc2db11543da87a8354d1deebe318"}},{"ruleId":"D1","level":"warning","message":{"text":"GrantEditor.GrantEditor (cyclomatic 79): GrantEditor.GrantEditor has cyclomatic complexity 79 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 36 belong to 27 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":"web/features/multi-user/components/GrantEditor.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11042dec11dbaec32616915a1b7fec4784e1984c7c6545d40c52a7f265a8aff"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryQuestionCard.SingleMasteryQuestionCard (cyclomatic 78): MasteryQuestionCard.SingleMasteryQuestionCard has cyclomatic complexity 78 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 21 belong to 8 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":"web/components/chat/home/MasteryQuestionCard.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de010d91269da1bbc82e0ab4cf76889f9c0a3cd2b190624d45899954ca13157"}},{"ruleId":"D1","level":"warning","message":{"text":"TurnRequestPreparer.regenerate_last_turn (cyclomatic 76): TurnRequestPreparer.regenerate_last_turn has cyclomatic complexity 76 (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":"deeptutor/services/session/turns/request_preparer.py"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"b326005277ed505030cc24dc22b0491dd15cabfd86524595c184222add5ff019"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolsSettingsSection.ToolsSettingsPage (cyclomatic 76): ToolsSettingsSection.ToolsSettingsPage has cyclomatic complexity 76 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 50 belong to 11 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":"web/features/settings/sections/ToolsSettingsSection.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"711c0ddbe33f696ccabd5aa0dc7023c77de7ce6272ff916bb20bcad8215b04f8"}},{"ruleId":"D1","level":"warning","message":{"text":"parsing.consume_sdk_stream (cyclomatic 75): parsing.consume_sdk_stream has cyclomatic complexity 75 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_responses/parsing.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f608d3c11cc98d54491790eff0dc7e5b76eab759f9b71900b71b360f3883ce"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatMessageList.UserMessage (cyclomatic 75): ChatMessageList.UserMessage has cyclomatic complexity 75 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 28 belong to 11 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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb302e97135c51c2e63e36fe73d7a3c65b94d03180696aaa5d2e315efe4dd2d"}},{"ruleId":"D1","level":"warning","message":{"text":"registry_edit.merge_registry_edit (cyclomatic 73): registry_edit.merge_registry_edit has cyclomatic complexity 73 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/settings/registry_edit.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c7a2ef444115bf090b13c5ba6b45382caf136a5c4dba40f6abf6a7d9780018"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposerResources.ComposerResources (cyclomatic 73): ComposerResources.ComposerResources has cyclomatic complexity 73 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 48 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":"web/components/chat/home/ComposerResources.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4091642cee86b34badd67b2b0b76fe931a85517f13ea00e10c38de6927cf8514"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryStudy.MasteryStudy (cyclomatic 72): MasteryStudy.MasteryStudy has cyclomatic complexity 72 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 49 belong to 21 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":"web/components/space/learning/MasteryStudy.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"85da325ac9c8956bbeadb85bad1555643c2a66aa98ae48bb69a0481b9b90c664"}},{"ruleId":"D1","level":"warning","message":{"text":"TextUnitView.TextUnitView (cyclomatic 71): TextUnitView.TextUnitView has cyclomatic complexity 71 (threshold 15). Most of this is not in the body itself: 14 of the 71 points are its own statements and the rest belongs to 20 function literals inside it that branch (lines 458, 150, 218, \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":"web/components/reading/TextUnitView.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5b3a060b9a960503d6fbc3134864f05305e1287129b0c74bde04a156e05f2f"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge.websocket_progress (cyclomatic 70): knowledge.websocket_progress has cyclomatic complexity 70 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":4500}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5e8b6d587145e35efa054527b09b0383f524d4e16a1e515e9b72dcd76e6dc3"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexOAuthCard.CodexOAuthCard (cyclomatic 70): CodexOAuthCard.CodexOAuthCard has cyclomatic complexity 70 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 42 belong to 18 function items inside it that branch. 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":"web/components/settings/CodexOAuthCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be4784ccd937cc8d7646c09ad575dcbcb91c92f9b3159846178225a27e4f9df"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgePage.KnowledgePage (cyclomatic 69): KnowledgePage.KnowledgePage has cyclomatic complexity 69 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 50 belong to 18 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":"web/components/knowledge/KnowledgePage.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ffb772c634a0338bd914bdd23cd691b3b23e262f2d061c8bb2cb44991d0086"}},{"ruleId":"D1","level":"warning","message":{"text":"ProvidersWorkspace.ProvidersWorkspace (cyclomatic 69): ProvidersWorkspace.ProvidersWorkspace has cyclomatic complexity 69 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 30 belong to 13 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":"web/components/settings/ProvidersWorkspace.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d33716d6f31c48efc6b51cff98a9e6f1a52f17b336994486b9c7fde003df1a"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchingBrowser.WatchingBrowser (cyclomatic 69): WatchingBrowser.WatchingBrowser has cyclomatic complexity 69 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 48 belong to 19 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":"web/components/watching/WatchingBrowser.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e962e093bda368d4b321c767f009f24882b9a90ce131dd1cd0547ec0feaa18"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerComposer.PartnerComposer (cyclomatic 68): PartnerComposer.PartnerComposer has cyclomatic complexity 68 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 49 belong to 20 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":"web/components/partners/PartnerComposer.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a4ea0df1852ddfa4d664dadb64aec2cf48a8f17eb9c56ac8a94c0b69b8cb84"}},{"ruleId":"D1","level":"warning","message":{"text":"SourceNavigator.SourceNavigator (cyclomatic 66): SourceNavigator.SourceNavigator has cyclomatic complexity 66 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 36 belong to 14 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":"web/components/reading/workspace/SourceNavigator.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3c796c21e2b2f4a0633256bd9bedd9559ccef711f8ec7655600b776d1e6dc6"}},{"ruleId":"D1","level":"warning","message":{"text":"QuizFollowupContext.QuizFollowupProvider (cyclomatic 66): QuizFollowupContext.QuizFollowupProvider has cyclomatic complexity 66 (threshold 15). Most of this is not in the body itself: 1 of the 66 points is its own statement and the rest belongs to 14 function literals inside it that branch (lines 475, 311, 354, \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":"web/context/QuizFollowupContext.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8fc55f9f7d9263f9b0586444734e284ac17181c6313bc7cf9a10a827d2cd50"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteLearningContent.NoteLearningContent (cyclomatic 66): NoteLearningContent.NoteLearningContent has cyclomatic complexity 66 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 10 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":"web/features/notes/components/NoteLearningContent.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b23abc890a9ee24ffcdfb8994e64224cedab7c9c5946fe3e43549396524c77"}},{"ruleId":"D1","level":"warning","message":{"text":"MinerUEngineSettings.MinerUEngineSettings (cyclomatic 65): MinerUEngineSettings.MinerUEngineSettings has cyclomatic complexity 65 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 36 belong to 10 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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"331789a66d4fbd1bcbae13f1c2ec418b7046280f26d5205ea56ac5756ccb0590"}},{"ruleId":"D1","level":"warning","message":{"text":"book.book_websocket (cyclomatic 64): book.book_websocket 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":"deeptutor/api/routers/book.py"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"40eecb28bf4b2138319b56a2db6b1f060f771c1448d3457df412c200e22d8537"}},{"ruleId":"D1","level":"warning","message":{"text":"unified_ws.unified_websocket (cyclomatic 64): unified_ws.unified_websocket 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":"deeptutor/api/routers/unified_ws.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f80d3df89f5b2e306631ee9ea09c46ef1ad616fa05443e273e0a13003c62b07"}},{"ruleId":"D1","level":"warning","message":{"text":"WeixinChannel._process_message (cyclomatic 64): WeixinChannel._process_message 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":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"c488cc7a1c8e05d84169c8abee0bdabb023e5257919bdcaa21869d17b7cbc91c"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerRunner._execute_turn (cyclomatic 62): PartnerRunner._execute_turn has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/partners/runtime.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7078dae70fee96053f69cf7ecd642f45787aa5aafc03d1f310e56f17a24dc49e"}},{"ruleId":"D1","level":"warning","message":{"text":"source_visuals.retrieve_visual (cyclomatic 61): source_visuals.retrieve_visual has cyclomatic complexity 61 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/source_visuals.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"2773ff153bdb0e5ae52792bb81b4c37202b920d654cef67296e15f0f95b85788"}},{"ruleId":"D1","level":"warning","message":{"text":"dependencies._forward_closure (cyclomatic 61): dependencies._forward_closure has cyclomatic complexity 61 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/dependencies.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"29572db4fb5ba19f085590b908b8fbe35b3067af2851f6a6a800b1a1c316f7e1"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeSession.operate (cyclomatic 61): NativeSession.operate has cyclomatic complexity 61 (threshold 15). Of this number, 60 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":"packages/chat-engine/src/native/session.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"356b1045fca46e6afe2ae0907540fce4aacc1f62e392008d0b8ec71a8de17a6d"}},{"ruleId":"D1","level":"warning","message":{"text":"BookReferencePicker.BookReferencePicker (cyclomatic 61): BookReferencePicker.BookReferencePicker has cyclomatic complexity 61 (threshold 15). Most of this is not in the body itself: 12 of the 61 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 319, togglePage, a function literal at line 193, \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":"web/components/chat/BookReferencePicker.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8463795f31d2df742da66ff5713f4d75e41278b7b4321328047ca9b7fe563b2c"}},{"ruleId":"D1","level":"warning","message":{"text":"PdfPage.PdfPage (cyclomatic 61): PdfPage.PdfPage has cyclomatic complexity 61 (threshold 15). Most of this is not in the body itself: 14 of the 61 points are its own statements and the rest belongs to 18 function literals inside it that branch (lines 259, 248, 339, \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":"web/components/reading/PdfPage.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde434c1f7abfc2174c6725c197d357fa4decd9afdc65b20dfa5f60c4338c659"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerCommandHandler._model (cyclomatic 60): PartnerCommandHandler._model has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/partners/commands.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"adac134f8fc7421deca6291153112a8fd4ff1409ea06a529cb9787537fcd6f0b"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingWorkspace.ReadingWorkspacePage (cyclomatic 59): ReadingWorkspace.ReadingWorkspacePage has cyclomatic complexity 59 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 21 belong to 11 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":"web/components/reading/workspace/ReadingWorkspace.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6608640e10da3f9de2c5d0326fff34a0ea7484ee4d4c1469e7d33c900cbd2218"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteBlockPreview.NoteBlockPreview (cyclomatic 59): NoteBlockPreview.NoteBlockPreview has cyclomatic complexity 59 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. 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":"web/features/notes/components/NoteBlockPreview.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"df69b1195806a61c364c1cdb7882bf5054bd4082464ee8e09716d8ef9f80752a"}},{"ruleId":"D1","level":"warning","message":{"text":"MyAgentsPicker.MyAgentsPicker (cyclomatic 58): MyAgentsPicker.MyAgentsPicker has cyclomatic complexity 58 (threshold 15). Most of this is not in the body itself: 6 of the 58 points are its own statements and the rest belongs to 21 function items inside it that branch (a function literal at line 166, a function literal at line 397, a function literal at line 231, \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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac53b76d9dff6127acccc2b6b2f21736fa062cd47b6e9176f33937713a55c39e"}},{"ruleId":"D1","level":"warning","message":{"text":"AskUserOptions.InteractiveAskUserCard (cyclomatic 58): AskUserOptions.InteractiveAskUserCard has cyclomatic complexity 58 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 35 belong to 9 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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca89175e4a2ff46341146270366ea3b88ee5433c67797539d91cb09776af630"}},{"ruleId":"D1","level":"warning","message":{"text":"useNoteThreads.useNoteThreads (cyclomatic 58): useNoteThreads.useNoteThreads has cyclomatic complexity 58 (threshold 15). Most of this is not in the body itself: 9 of the 58 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 452, 270, 521, \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":"web/features/notes/components/useNoteThreads.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5df3c4b6c1d9fbbaae449da823a3bec09006130e0888986881d3ebcc642488c"}},{"ruleId":"D1","level":"warning","message":{"text":"quiz_judge.websocket_quiz_judge (cyclomatic 57): quiz_judge.websocket_quiz_judge has cyclomatic complexity 57 (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":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbd14d0e301eb8d82ed19498143bcdfc365c1eeb007fc9f048601f50d894b00"}},{"ruleId":"D1","level":"warning","message":{"text":"HistorySessionPicker.HistorySessionPicker (cyclomatic 57): HistorySessionPicker.HistorySessionPicker has cyclomatic complexity 57 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 33 belong to 16 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":"web/components/chat/HistorySessionPicker.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d64ad48601ec9aa880fd063557cb92d31a00742794af5370b9e2447cce64fa"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryQuizTool.execute (cyclomatic 56): MasteryQuizTool.execute has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6d25d314007a1bff86960a9fdbe48e5e79fce9350801a43d7a06a1e783c740"}},{"ruleId":"D1","level":"warning","message":{"text":"BookHealthBanner.BookHealthBanner (cyclomatic 56): BookHealthBanner.BookHealthBanner has cyclomatic complexity 56 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 13 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookHealthBanner.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48f417f743d0736e5dde2ce6326242db72460615b9defb403b8244af02fa405"}},{"ruleId":"D1","level":"warning","message":{"text":"page.ProfilePage (cyclomatic 55): page.ProfilePage has cyclomatic complexity 55 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 30 belong to 12 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":"web/app/(utility)/profile/page.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18dff71866d16b121991f0ded16ed6336970bd679219b1066a550d49c2c01f9"}},{"ruleId":"D1","level":"warning","message":{"text":"page.MasteryTopicPage (cyclomatic 55): page.MasteryTopicPage has cyclomatic complexity 55 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 22 belong to 16 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":"web/app/(workspace)/learning/mastery/[pathId]/page.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4129390573c554d50f836f3a373846908d852a26d4e03be90239fa5339626186"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryGradeTool.execute (cyclomatic 54): MasteryGradeTool.execute has cyclomatic complexity 54 (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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"457b84ab58affbdcd66d1dd86936888a4a316b143166f9bda58193b32accce80"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeBaseDetail.KnowledgeBaseDetail (cyclomatic 54): KnowledgeBaseDetail.KnowledgeBaseDetail has cyclomatic complexity 54 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 11 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":"web/components/knowledge/KnowledgeBaseDetail.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f155aa52e890295bf2eb605a54ae0a900dae3317f5eedddddd0a4080465065"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentSettingsEditor.SubagentSettingsEditor (cyclomatic 54): SubagentSettingsEditor.SubagentSettingsEditor has cyclomatic complexity 54 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 12 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/SubagentSettingsEditor.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc080b24a0bcc1388749298b5fd2e281f7fca047bb9f74dcb29d0e1ecd7795c"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteFavoritesPicker.NoteFavoritesPicker (cyclomatic 54): NoteFavoritesPicker.NoteFavoritesPicker has cyclomatic complexity 54 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 35 belong to 15 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":"web/features/notes/components/NoteFavoritesPicker.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff1d4e398ffb68540fcacee672228bb7bbe32ec051c916a1d77c3801ffd9c49"}},{"ruleId":"D1","level":"warning","message":{"text":"sidecar.build_ir (cyclomatic 53): sidecar.build_ir has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/sidecar.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"30718e852d6f2f42a94c70f09cc10dcdef1c5382ead37eb2830c7b8cc93e4615"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryRunPanel.MemoryRunPanel (cyclomatic 53): MemoryRunPanel.MemoryRunPanel has cyclomatic complexity 53 (threshold 15). Most of this is not in the body itself: 13 of the 53 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 225, 140, 176, \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":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4f58bc6a929fe5b64d7e85c751a97c7465ebbd8c611f6be55649f61a767e82"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerArchives.PartnerArchives (cyclomatic 53): PartnerArchives.PartnerArchives has cyclomatic complexity 53 (threshold 15). Most of this is not in the body itself: 12 of the 53 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 275, 345, 215, \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":"web/components/partners/PartnerArchives.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b37bb38714c08104ddc20781b5fdcdf3f211b84124c2ddbf614cb4b68da0105"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanBoard.KanbanBoard (cyclomatic 53): KanbanBoard.KanbanBoard has cyclomatic complexity 53 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 34 belong to 10 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/tasks/components/KanbanBoard.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6984bfdb7ff5dcdd5fc591ae0bf9384f79f5286aa008c3a8355cd815dd71979c"}},{"ruleId":"D1","level":"warning","message":{"text":"SQLiteSessionStore._serialize_notebook_entry (cyclomatic 52): SQLiteSessionStore._serialize_notebook_entry has cyclomatic complexity 52 (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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":4106}}}],"partialFingerprints":{"codehealthFindingId/v1":"306db13dcc5a02f0d5065e0a2d111991157c57ff5397176143b8f2de58098ce4"}},{"ruleId":"D1","level":"warning","message":{"text":"page.WhisperPage (cyclomatic 52): page.WhisperPage has cyclomatic complexity 52 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 33 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/whisper/page.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a7567d8e898cfbfc6f655a5f6de9d2446def258a0c17fe6fefd8f71bcbc06f"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingReferencePicker.ReadingReferencePicker (cyclomatic 52): ReadingReferencePicker.ReadingReferencePicker has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 14 of the 52 points are its own statements and the rest belongs to 20 function items inside it that branch (addUnits, a function literal at line 355, a function literal at line 108, \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":"web/components/chat/ReadingReferencePicker.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb2f29bb08e1c235c85267fd5fd6b6a09c146227beea52b1d056c318926c8bf"}},{"ruleId":"D1","level":"warning","message":{"text":"FeishuChannel.send (cyclomatic 51): FeishuChannel.send has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d3aa448c16c1f4c40c8e37dd1c092f2f9bd0fdbc8a7791048b9f1fe15ed42b"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderImageLightbox.ReaderImageLightbox (cyclomatic 51): ReaderImageLightbox.ReaderImageLightbox has cyclomatic complexity 51 (threshold 15). Most of this is not in the body itself: 3 of the 51 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 187, 117, 306, \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":"web/components/reading/ReaderImageLightbox.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ae455f6c2df3af9f2e901f81225723acaa1886313a4ddfda82dc32098a2c00"}},{"ruleId":"D1","level":"warning","message":{"text":"TracePresentation.describeToolCall (cyclomatic 51): TracePresentation.describeToolCall has cyclomatic complexity 51 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"db944eeee97b2f8762419a7b905c84944bc6995672c2fd5afe1fac2cc89817a1"}},{"ruleId":"D1","level":"warning","message":{"text":"GuardianSettingsSection.GuardianSettingsPage (cyclomatic 51): GuardianSettingsSection.GuardianSettingsPage has cyclomatic complexity 51 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 26 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":"web/features/settings/sections/GuardianSettingsSection.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43fd406e56adc6fcd8685d85a3d181b1be3e4d91b2dcc1a464cf9eaae9daa01"}},{"ruleId":"D1","level":"warning","message":{"text":"manager._reconcile_embedding_flags (cyclomatic 50): manager._reconcile_embedding_flags 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":"deeptutor/knowledge/manager.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f94f74ab785357e067abc1397de2bfe9a2f340fddda52bc2a806f8f2d28d5fc"}},{"ruleId":"D1","level":"warning","message":{"text":"TurnNavigator.TurnNavigator (cyclomatic 50): TurnNavigator.TurnNavigator has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 12 of the 50 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 208, 291, 134, \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":"web/components/chat/home/TurnNavigator.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6921408dc1f575ea19b40c4cdaad3b0941798b8ddcdddf4f0f446c5b4eb8d99d"}},{"ruleId":"D1","level":"warning","message":{"text":"TracePresentation.TraceRowItem (cyclomatic 50): TracePresentation.TraceRowItem 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbde8e747725a64e276a172b2358fedd1600a9647d16be33a9a61013859e8936"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleMarkdownRenderer.SimpleMarkdownRenderer (cyclomatic 49): SimpleMarkdownRenderer.SimpleMarkdownRenderer has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 12 of the 49 points are its own statements and the rest belongs to 21 function literals inside it that branch (lines 329, 305, 383, \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":"web/components/common/SimpleMarkdownRenderer.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfde4019f5cedbde69adf46c5a664fd838d81187e78e366356c2e601c5a14039"}},{"ruleId":"D1","level":"warning","message":{"text":"KbDocumentsSection.KbDocumentsSection (cyclomatic 49): KbDocumentsSection.KbDocumentsSection has cyclomatic complexity 49 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 10 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":"web/components/knowledge/KbDocumentsSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"694d766b6636469819f8345d67a956e6aacbf3ea65ed8ff890c74491f6923a9a"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_runtime.resolve_llm_runtime_config (cyclomatic 48): provider_runtime.resolve_llm_runtime_config has cyclomatic complexity 48 (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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1acf5f9916a848a009724a4ddb3f00aa29dd831ad452457506e8b2019256c3"}},{"ruleId":"D1","level":"warning","message":{"text":"source_inventory._collect_from_user_message (cyclomatic 48): source_inventory._collect_from_user_message has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/source_inventory.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"737a3fcccd3fd59b79a210c907ac0c51d4bc04024dda443c7324dc588d06a0a8"}},{"ruleId":"D1","level":"warning","message":{"text":"PickerShell.PickerShell (cyclomatic 48): PickerShell.PickerShell has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 13 of the 48 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 131, a function literal at line 225, a function literal at line 210, \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":"web/components/common/PickerShell.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d1e3a10be6ccf576b22d18272558d87e49f3c50edc0121f101b1d7a7c67c3f"}},{"ruleId":"D1","level":"warning","message":{"text":"KbDocumentList.KbDocumentList (cyclomatic 48): KbDocumentList.KbDocumentList has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 11 of the 48 points are its own statements and the rest belongs to 12 function items inside it that branch (renderNode, handleMove, a function literal at line 130, \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":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a3e0c92911dce29f5f31af72bb10e732c196130bfc8290adb1b086d543486e"}},{"ruleId":"D1","level":"warning","message":{"text":"NotebookConsole.NotebookDetail (cyclomatic 48): NotebookConsole.NotebookDetail has cyclomatic complexity 48 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 29 belong to 12 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":"web/components/notebook/NotebookConsole.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"2980ea9051ad8d8d0f60a7eff22ba97db74b4f928d5ccaec8708b51581ed3c33"}},{"ruleId":"D1","level":"warning","message":{"text":"AboutSettingsSection.AboutSettingsPage (cyclomatic 48): AboutSettingsSection.AboutSettingsPage has cyclomatic complexity 48 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 18 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/AboutSettingsSection.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2109082af4620374436dcd987a1ec9fb675ea4e7c6b9630e7a5312898581d6f5"}},{"ruleId":"D1","level":"warning","message":{"text":"labeled_step.run_labeled_step (cyclomatic 47): labeled_step.run_labeled_step 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":"deeptutor/runtime/agentic/labeled_step.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0606ab9a453de131dd82f4464a29c8b29fb982b0a87f4c6e048cb8c1eed88492"}},{"ruleId":"D1","level":"warning","message":{"text":"local.parse_document_with_mineru_result (cyclomatic 47): local.parse_document_with_mineru_result 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":"deeptutor/services/parsing/engines/mineru/local.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3b84cbf7640da5285060a71a045f0df221c06f8638a3d1093cbb4639d74de3"}},{"ruleId":"D1","level":"warning","message":{"text":"marks.normalize_mark (cyclomatic 47): marks.normalize_mark has cyclomatic complexity 47 (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":"deeptutor/video_learning/marks.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9156016111b61e63e0aa80354f9fefa8f6d28fade715b4b0e20f1de3776df772"}},{"ruleId":"D1","level":"warning","message":{"text":"page.NewPartnerPage (cyclomatic 47): page.NewPartnerPage has cyclomatic complexity 47 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 28 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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a758ff6f863bb95bcb2c474992128e42233185e91332181efbd5535de2bcc3f7"}},{"ruleId":"D1","level":"warning","message":{"text":"StarterSuggestions.StarterSuggestions (cyclomatic 47): StarterSuggestions.StarterSuggestions has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 9 of the 47 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 181, 157, 141, \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":"web/components/chat/home/StarterSuggestions.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ea651036ba0d6c1669fd23454c7149f2e0297d7aee5e6c63ea665047d4d407"}},{"ruleId":"D1","level":"warning","message":{"text":"PracticeSession.PracticeTurn (cyclomatic 47): PracticeSession.PracticeTurn has cyclomatic complexity 47 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 23 belong to 8 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":"web/components/learning/practice/PracticeSession.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4674304232ab75c492c4b9a41d48d39fb67f1551ce2f19af59cbce6b4b45366b"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarShell.SidebarShell (cyclomatic 47): SidebarShell.SidebarShell has cyclomatic complexity 47 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 11 belong to 4 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":"web/components/sidebar/SidebarShell.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecdf86c4d8fb5ff43b0e91cc5540fabb1458206bb39c6843791fcf1c38f7535"}},{"ruleId":"D1","level":"warning","message":{"text":"reading_extensions.run_extension_action (cyclomatic 46): reading_extensions.run_extension_action has cyclomatic complexity 46 (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":"deeptutor/api/routers/reading_extensions.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e573a64aa8719aaa7ed5d957fd1e5bc442a5f93b5c12854ee6bc913039c23f"}},{"ruleId":"D1","level":"warning","message":{"text":"kb_health.detect_kb_drift (cyclomatic 46): kb_health.detect_kb_drift 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":"deeptutor/book/kb_health.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47c2fc264c2718bc163e4424704cf3edd77a46f4609d12e605098f88051893b"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAICompatProvider.chat_stream (cyclomatic 46): OpenAICompatProvider.chat_stream 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":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49c41ff63bdd42e2146aacb7f1932b77148129db74a4e5e6912ae8c7c73a361"}},{"ruleId":"D1","level":"warning","message":{"text":"BlockRenderer.BlockRenderer (cyclomatic 46): BlockRenderer.BlockRenderer has cyclomatic complexity 46 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 2 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":"web/app/(workspace)/learning/books/components/blocks/BlockRenderer.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff1559d03dca7a35c1380306b50e27e0af7df5d4e3134baeffdf8ab932e1ee2"}},{"ruleId":"D1","level":"warning","message":{"text":"MemorySection.MemorySection (cyclomatic 46): MemorySection.MemorySection has cyclomatic complexity 46 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 30 belong to 10 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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"940fbfe2a8cae49e6c2d4fed886441adc7678379f928cfab021b937ef65dcb4d"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerChannels.PartnerChannels (cyclomatic 46): PartnerChannels.PartnerChannels has cyclomatic complexity 46 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 22 belong to 9 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":"web/components/partners/PartnerChannels.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3175ff0a028c87390139830fb5cf72168b663d4772f94bb127fda907aabeedb"}},{"ruleId":"D1","level":"warning","message":{"text":"sessions.update_session_organization (cyclomatic 45): sessions.update_session_organization 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":"deeptutor/api/routers/sessions.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24476d4af8cdec5d3389b4bfbdd88df4ae16e4ba39c314eed554ceafc75c4e3"}},{"ruleId":"D1","level":"warning","message":{"text":"authoring.preview_edit (cyclomatic 45): authoring.preview_edit 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":"deeptutor/book/authoring.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06d9ca6b5a57d256279b4bbc6c14764e831f5c3e93be723f0e5385d91412583"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_probe.probe_provider (cyclomatic 45): provider_probe.probe_provider 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":"deeptutor/services/settings/provider_probe.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c1f9c40ab97330c6943c24e3864f5cfbbaad47a72a6126bc159aad80be125e"}},{"ruleId":"D1","level":"warning","message":{"text":"PersonasSection.PersonasSection (cyclomatic 45): PersonasSection.PersonasSection has cyclomatic complexity 45 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 28 belong to 10 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":"web/components/space/PersonasSection.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3ce92bf396b7de19867a383766fb78b132014eb62368c1510969b745968382"}},{"ruleId":"D1","level":"warning","message":{"text":"turn-event.parseTurnEvent (cyclomatic 45): turn-event.parseTurnEvent has cyclomatic complexity 45 (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":"web/contracts/parse/turn-event.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"07403f32f43914f1939c9a35551f634fe6e0941821ad6ab09819ad6deedabbad"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteEditor.Handles (cyclomatic 45): NoteEditor.Handles has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 11 of the 45 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 399, 587, 426, \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":"web/features/notes/components/NoteEditor.tsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"8931eca417a173f7736b76c2f57b6f4ee3b538dbfea0caa0b33d186a11e4541b"}},{"ruleId":"D1","level":"warning","message":{"text":"book-activity.preparationRows (cyclomatic 45): book-activity.preparationRows 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":"web/lib/book-activity.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6a1c1566c122df3fa4100c76b978e2dac0f7ca52e35a4c25db782721997365"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningService._replace_module_set (cyclomatic 44): LearningService._replace_module_set has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/service.py"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"248c4e0b14d8180b92ac862c0c3eeed196b140fed92dddc537c994ed61edd21d"}},{"ruleId":"D1","level":"warning","message":{"text":"exercise_lookup.lookup_exercises (cyclomatic 44): exercise_lookup.lookup_exercises has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/exercise_lookup.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bc04e486d1e993d0eab0b70c81847f6590851a673964940972d2b546db5295"}},{"ruleId":"D1","level":"warning","message":{"text":"TurnLifecycle.subscribe_turn (cyclomatic 44): TurnLifecycle.subscribe_turn has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/lifecycle.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"98283d44ccd27f79b9fb678ca33a351be18eab6bf69822cc31317a5af517af1f"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-completions.request (cyclomatic 44): chat-completions.request has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (chat-completions.request::ingest) 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":"packages/chat-engine/src/providers/chat-completions.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6d3d7aeb4f7f4c8c41d8daf5b48d33e4294b4f4c61243a6baf415862c408db"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexingModelSelector.IndexingModelSelector (cyclomatic 44): IndexingModelSelector.IndexingModelSelector has cyclomatic complexity 44 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 5 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":"web/components/knowledge/IndexingModelSelector.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"380659b9c86f62f17e2577202fb4c35ff60e1d3525cf6271daa6a65475604d86"}},{"ruleId":"D1","level":"warning","message":{"text":"blocks.blockPreview (cyclomatic 44): blocks.blockPreview has cyclomatic complexity 44 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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":"web/features/notes/model/blocks.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc57ab49ea5129b856b67e8e90003e5248ba62284256b7d904bf75667522a83"}},{"ruleId":"D1","level":"warning","message":{"text":"lesson_evidence.prepare_lesson (cyclomatic 43): lesson_evidence.prepare_lesson has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/lesson_evidence.py"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b38094fdd1d8e7008639d0c5e48f1805be71969195cc4cd7d114c314ba56df"}},{"ruleId":"D1","level":"warning","message":{"text":"topic_generation.materialize_modules (cyclomatic 43): topic_generation.materialize_modules has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/topic_generation.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91092db0cbc3fc3f275f4b0b14644a074d6d642c61fa984aa2057512ae80461"}},{"ruleId":"D1","level":"warning","message":{"text":"blocks.blocks_to_markdown (cyclomatic 43): blocks.blocks_to_markdown has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/notes/blocks.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f5b9e1a6a82527a90eb0d8ffeca52d4e2e9226c2345b0a0ab5b74d307ff806"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingStore.ingest_units (cyclomatic 43): ReadingStore.ingest_units has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/store.py"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6a53dce350ce9ca3b50b0d999f4c90efc36cd5d900a9aa31f29cf12cccc5c2"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelCatalogService._normalize (cyclomatic 43): ModelCatalogService._normalize has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"061ce2be2e9f98b69bf67067916c17cc546a91ca0b383d30f4148117ffca50c7"}},{"ruleId":"D1","level":"warning","message":{"text":"parsing.consume_sse (cyclomatic 43): parsing.consume_sse has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_responses/parsing.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e5bc163d080d1a674c46df7fd0f723109fb05822c0c6cddbe28dda272a5987"}},{"ruleId":"D1","level":"warning","message":{"text":"_turn_runtime_shared._format_followup_question_context (cyclomatic 43): _turn_runtime_shared._format_followup_question_context has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fae246db03ab6dc33887f99f0405f9900a539c50961dd2410d8d1e2657a0f5"}},{"ruleId":"D1","level":"warning","message":{"text":"QuizBlock.QuizQuestionCard (cyclomatic 43): QuizBlock.QuizQuestionCard has cyclomatic complexity 43 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 14 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":"web/app/(workspace)/learning/books/components/blocks/QuizBlock.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f407b4b5c881f7a0e0fc250594dc8866f1679f7c2221f7aab43dc86d3b7c9b71"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarNav.SidebarNav (cyclomatic 43): SidebarNav.SidebarNav has cyclomatic complexity 43 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 26 belong to 13 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":"web/components/sidebar/SidebarNav.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"735d4d619e37ec7e689b7ca735119ce5a2d8feb62a595cc288e2680da0425683"}},{"ruleId":"D1","level":"warning","message":{"text":"partner_groups.partner_group_ws (cyclomatic 42): partner_groups.partner_group_ws has cyclomatic complexity 42 (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":"deeptutor/api/routers/partner_groups.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5819980943179f01ec65ec7f98bae3e99d369918af0c379801e1f09bee2eff"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCallAccumulator.feed (cyclomatic 42): ToolCallAccumulator.feed has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/agentic/tool_call_stream.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b62529a78edacec20af43dd4f8768bb8d586e3601bad28da1e9557f12b2570"}},{"ruleId":"D1","level":"warning","message":{"text":"chat._apply_command (cyclomatic 42): chat._apply_command has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor_cli/chat.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e80ee31c2338ecf1435b104692632902ca2ba503535f0d6a05ea94a43ca487"}},{"ruleId":"D1","level":"warning","message":{"text":"QuestionBankPicker.QuestionBankPicker (cyclomatic 42): QuestionBankPicker.QuestionBankPicker has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 10 of the 42 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 111, a function literal at line 297, a function literal at line 85, \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":"web/components/chat/QuestionBankPicker.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d80e593cc66964f5a49d6f83762bb471e6aaaac6f7991393a30b85272088d29"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingContext.ReadingProvider (cyclomatic 42): ReadingContext.ReadingProvider has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 1 of the 42 points is its own statement and the rest belongs to 16 function literals inside it that branch (lines 260, 151, 346, \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":"web/context/ReadingContext.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cef1341fb89db7fe19cd96f9fd7df19aab3890aec9e689f5e516971558ef06"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteTopBar.NoteTopBar (cyclomatic 42): NoteTopBar.NoteTopBar has cyclomatic complexity 42 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 9 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":"web/features/notes/components/NoteTopBar.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"47867041aac0c30b6112f6f8ffaa7143f9c995247a9c7abcb35e884e5bc003cc"}},{"ruleId":"D1","level":"warning","message":{"text":"exercise_lookup.collect_exercises (cyclomatic 41): exercise_lookup.collect_exercises has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/exercise_lookup.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd2873fd09d4583631b15497388e7a1dc1e232921fa5e59a2be5a3db2092838"}},{"ruleId":"D1","level":"warning","message":{"text":"FilePreviewDrawer.FilePreviewDrawer (cyclomatic 41): FilePreviewDrawer.FilePreviewDrawer has cyclomatic complexity 41 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 20 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":"web/components/chat/preview/FilePreviewDrawer.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"845ba4016374408183a0112dce5e6641676605550537b31dd46034939661e3a7"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatSpaceMenu.ChatSpaceMenu (cyclomatic 41): ChatSpaceMenu.ChatSpaceMenu has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 7 of the 41 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 257, 128, 216, \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":"web/components/chat/space/ChatSpaceMenu.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"41494c247c85e7cb0c5b35f91b45eabb3472b55a2452d192ea491b27c18a2dcf"}},{"ruleId":"D1","level":"warning","message":{"text":"NotebookRecordRow.NotebookRecordRow (cyclomatic 41): NotebookRecordRow.NotebookRecordRow has cyclomatic complexity 41 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 16 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/NotebookRecordRow.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a236055277dafc37c56f7c4685deba475196d0670221f89e2e678767c9e003c9"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_links.resolve_profile_provider (cyclomatic 40): provider_links.resolve_profile_provider has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/provider_links.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc82983d31f131f199b6361139285978bc1caf31cf0e46b279081467059b266"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelOnboardingPanel.ChannelOnboardingPanel (cyclomatic 40): ChannelOnboardingPanel.ChannelOnboardingPanel has cyclomatic complexity 40 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 19 belong to 9 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":"web/components/partners/ChannelOnboardingPanel.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc78baa415353aaac9275035651b25bc21eca86bfcec1d2de1fc2322821faf8"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingExtensionBar.ExtensionToolbar (cyclomatic 40): ReadingExtensionBar.ExtensionToolbar has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 5 of the 40 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 218, run, a function literal at line 131, \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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b75400feb00c45a80d6328ca55782ef2d1b63fc8197100a2936383ec89f620"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkSettingsSection.NetworkSettingsPage (cyclomatic 40): NetworkSettingsSection.NetworkSettingsPage has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 15 of the 40 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 110, 164, 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":"web/features/settings/sections/NetworkSettingsSection.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c563d494b9aab9253f3b125d58d93a3651b4c7435290a7f018acbbc1ff4cbe19"}},{"ruleId":"D1","level":"warning","message":{"text":"AgenticLoopPipeline._augment_tool_kwargs (cyclomatic 39): AgenticLoopPipeline._augment_tool_kwargs 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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c8d9242a44de8963eb75009bf9e9e42358161cd5dbcdc9c9eaf88925858263"}},{"ruleId":"D1","level":"warning","message":{"text":"source_filter.filter_web_search_response (cyclomatic 39): source_filter.filter_web_search_response 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":"deeptutor/services/search/source_filter.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3ff44e12d347bf0b8b60736678ca4ea9914f8da7089b5bb9687b9eeb7fa902"}},{"ruleId":"D1","level":"warning","message":{"text":"KbFilePreview.KbFilePreview (cyclomatic 39): KbFilePreview.KbFilePreview has cyclomatic complexity 39 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 8 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KbFilePreview.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e6578b0fd47501590f2eab45e5ef7e525db227544136341315695f02a3301a"}},{"ruleId":"D1","level":"warning","message":{"text":"MathAnimatorViewer.MathAnimatorViewer (cyclomatic 39): MathAnimatorViewer.MathAnimatorViewer has cyclomatic complexity 39 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 20 belong to 4 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":"web/components/math-animator/MathAnimatorViewer.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba14ed2f6b49daf9a231f30833810296d917f8ae45fb26dd36b20ad1185e442"}},{"ruleId":"D1","level":"warning","message":{"text":"EventEditor.EventEditor (cyclomatic 39): EventEditor.EventEditor has cyclomatic complexity 39 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 19 belong to 9 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":"web/features/calendar/components/EventEditor.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a7e0b844bf2be8fb32aa8f2d12273dd66700bee7f9b8d7f1d5e57798e20f04"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteCompanion.ThreadPanel (cyclomatic 39): NoteCompanion.ThreadPanel has cyclomatic complexity 39 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 17 belong to 11 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":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7707d4426aa1a3f18a0416a2e4564a90d8e94610c3210ff0201c1c9b02571af"}},{"ruleId":"D1","level":"warning","message":{"text":"book-progress.reduceBookEvent (cyclomatic 39): book-progress.reduceBookEvent has cyclomatic complexity 39 (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":"web/lib/book-progress.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b3a99d9bd8b1b65241c1f49f2f9081a6136fcb05c18041bd4f4e013cecd71b"}},{"ruleId":"D1","level":"warning","message":{"text":"readiness.catalog_service_rows (cyclomatic 38): readiness.catalog_service_rows 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":"deeptutor/services/config/readiness.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa061c622efdc6ba3c5e43e6e848feec2fda3b39b03bf05ae2434e73093b746"}},{"ruleId":"D1","level":"warning","message":{"text":"reasoning_params.build_openai_compatible_reasoning_kwargs (cyclomatic 38): reasoning_params.build_openai_compatible_reasoning_kwargs 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":"deeptutor/services/llm/reasoning_params.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"813d38f0aad315d4c91f89639dcc50fa179928d80b503916ca6880fe44327b76"}},{"ruleId":"D1","level":"warning","message":{"text":"model_history.normalize_model_turn (cyclomatic 38): model_history.normalize_model_turn 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":"deeptutor/services/session/model_history.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21f237a230ddb676defb864ae5a916b5174e73a1914de68257a1a30b3379d6c"}},{"ruleId":"D1","level":"warning","message":{"text":"BookLibrary.BookLibrary (cyclomatic 38): BookLibrary.BookLibrary has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 9 of the 38 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 204, 99, 110, \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":"web/app/(workspace)/learning/books/components/BookLibrary.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbc154375b9fa576e1057549233975846bc99213c037373be24582073eaec08"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionViewerPanel.parsePersistedViewerTabs (cyclomatic 38): SessionViewerPanel.parsePersistedViewerTabs has cyclomatic complexity 38 (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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2c9a8736cf37e1a7289fccf8580cfed4d4b3eb8282c0f897e92a60e33d1349"}},{"ruleId":"D1","level":"warning","message":{"text":"LightRagRoleModelsEditor.LightRagRoleModelsEditor (cyclomatic 38): LightRagRoleModelsEditor.LightRagRoleModelsEditor has cyclomatic complexity 38 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 17 belong to 6 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":"web/components/knowledge/LightRagRoleModelsEditor.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8a711a6cd51e83a892ddcecb8b7f99bd102b25523b9ac74f26c65e688a4bdf"}},{"ruleId":"D1","level":"warning","message":{"text":"KbIndexingRun.KbIndexingRun (cyclomatic 38): KbIndexingRun.KbIndexingRun has cyclomatic complexity 38 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 19 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":"web/components/knowledge/KbIndexingRun.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b985a6e057faac8f9be5381ba9c86aebafc8b47819eab51db75262bcdab9c8"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerConfigure.PartnerConfigure (cyclomatic 38): PartnerConfigure.PartnerConfigure has cyclomatic complexity 38 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 22 belong to 12 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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"53098497b4b4e3d77bc3d4c761cfb79b9382e6eea4b01708b937c1368c4ce0b9"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingStore.save_annotation (cyclomatic 37): ReadingStore.save_annotation has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/store.py"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"3979ed0495ea42616e8dec685b5c02eb42903d9266a1b660113f30e66de10d21"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_runtime.resolve_embedding_runtime_config (cyclomatic 37): provider_runtime.resolve_embedding_runtime_config has cyclomatic complexity 37 (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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"390f5bfbaa06950b13b6a155f98c2451657ed5ae00183ec896e481f7fc870024"}},{"ruleId":"D1","level":"warning","message":{"text":"parsing.parse_response_output (cyclomatic 37): parsing.parse_response_output has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_responses/parsing.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5229b0d6dd8e539ce3aff441a33311bb2651072f0b0e23bf0854e094e5eeb3"}},{"ruleId":"D1","level":"warning","message":{"text":"DoubaoProvider.search (cyclomatic 37): DoubaoProvider.search has cyclomatic complexity 37 (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":"deeptutor/services/search/providers/doubao.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad48af91c1fe67c7d9dbbdb6ffb7beb4569d1b89e96bc91740dae4cfac0ade73"}},{"ruleId":"D1","level":"warning","message":{"text":"page.CoWriterHomePage (cyclomatic 37): page.CoWriterHomePage has cyclomatic complexity 37 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 19 belong to 8 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":"web/app/(workspace)/co-writer/page.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"327e38aa8662d27388d6442568f261c68b3e6baf793a9bb5765a11d686e95f29"}},{"ruleId":"D1","level":"warning","message":{"text":"CreationDraftCard.CreationDraftCard (cyclomatic 37): CreationDraftCard.CreationDraftCard has cyclomatic complexity 37 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 12 belong to 4 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":"web/components/chat/home/CreationDraftCard.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a689094604e3511a2e4f5e8fb55ea7e06ce5304cc3f0bbb369841997dc59c859"}},{"ruleId":"D1","level":"warning","message":{"text":"AppShellContext.AppShellProvider (cyclomatic 37): AppShellContext.AppShellProvider has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 1 of the 37 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 203, 118, 282, \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":"web/context/AppShellContext.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ff9ad3a704d4aab847e97008a8a0cd09acfa54ea36557fdebec618c87a6b0f"}},{"ruleId":"D1","level":"warning","message":{"text":"OutputFileActions.OutputFileActions (cyclomatic 37): OutputFileActions.OutputFileActions has cyclomatic complexity 37 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 14 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/files/OutputFileActions.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"914fa3a0ccf465e2e128e3e5843b6718af2eb5bcf6acf38830dc7fca8270fd60"}},{"ruleId":"D1","level":"warning","message":{"text":"PracticePage.PracticeCollectionPage (cyclomatic 37): PracticePage.PracticeCollectionPage has cyclomatic complexity 37 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 18 belong to 5 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":"web/components/learning/practice/PracticePage.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6884d3556e43983c61a30923eba454f13e6f0e3e6af92978d09f304200aff60e"}},{"ruleId":"D1","level":"warning","message":{"text":"QuizFollowupTabBody.QuizFollowupTabBody (cyclomatic 37): QuizFollowupTabBody.QuizFollowupTabBody has cyclomatic complexity 37 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 14 belong to 8 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":"web/components/quiz/QuizFollowupTabBody.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f3198cf1471042825466859068aa9a532cbf1cd27791485ca3099cf509d10e"}},{"ruleId":"D1","level":"warning","message":{"text":"ResearchOutlineEditor.ResearchOutlineEditor (cyclomatic 37): ResearchOutlineEditor.ResearchOutlineEditor has cyclomatic complexity 37 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 10 belong to 6 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":"web/components/research/ResearchOutlineEditor.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9eed619aba967accee3fa296c32000195bf64cd9a220b2c439099ca194fe57"}},{"ruleId":"D1","level":"warning","message":{"text":"SpeechButton.PlayAudioButton (cyclomatic 37): SpeechButton.PlayAudioButton has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 10 of the 37 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 83, 174, 63, \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":"web/components/voice/SpeechButton.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc89f087d8920432e18ec659c6fc13b06b3a8fc7b9636a45be8743ff00b20f8"}},{"ruleId":"D1","level":"warning","message":{"text":"EngineDetail.ModelsSection (cyclomatic 37): EngineDetail.ModelsSection has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 5 of the 37 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 1549, 1496, 1511, \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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f035da09609fb2293ebac4db6be907483e95be98c49b553246a50aaf630f2a"}},{"ruleId":"D1","level":"warning","message":{"text":"DataMigrationSettingsSection.DataMigrationSettingsSection (cyclomatic 37): DataMigrationSettingsSection.DataMigrationSettingsSection has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 13 of the 37 points are its own statements and the rest belongs to 14 function items inside it that branch (run, a function literal at line 250, a function literal at line 376, \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":"web/features/settings/sections/DataMigrationSettingsSection.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7fa7d91440521ac2866d324234c01f93c34fb48391fde02e4696b78dd035b2"}},{"ruleId":"D1","level":"warning","message":{"text":"useKnowledgeProgress.useKnowledgeProgress.subscribeWs (cyclomatic 37): useKnowledgeProgress.useKnowledgeProgress.subscribeWs has cyclomatic complexity 37 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 17 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad11d515455587cf393b150acd112187f5f58f62b1936b239f60191e66f53df6"}},{"ruleId":"D1","level":"warning","message":{"text":"languages.normalizeLanguage (cyclomatic 37): languages.normalizeLanguage has cyclomatic complexity 37 (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":"web/i18n/languages.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f3fd4053adb9ec1192f3aa1baa758f632f23924144027c8e84a844d101a1fc"}},{"ruleId":"D1","level":"warning","message":{"text":"reasoning.supported_reasoning_efforts (cyclomatic 36): reasoning.supported_reasoning_efforts has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/model_selection/reasoning.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"138a79dce54b8503434d00a39aa4d1cb28c3c84fa3ffcd560f5e4fde8b261921"}},{"ruleId":"D1","level":"warning","message":{"text":"html_extractor._element_to_markdown (cyclomatic 36): html_extractor._element_to_markdown has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/web_source/html_extractor.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"373435e417200b34a6999020e1f355ff35adfc70750266c49c0904a6829e9e78"}},{"ruleId":"D1","level":"warning","message":{"text":"KbLinkedFoldersSection.KbLinkedFoldersSection (cyclomatic 36): KbLinkedFoldersSection.KbLinkedFoldersSection has cyclomatic complexity 36 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 17 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":"web/components/knowledge/KbLinkedFoldersSection.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f22cc8f564ad563e16ad826dbe37f509e75eb505c154ddc04951f898126c0e"}},{"ruleId":"D1","level":"warning","message":{"text":"LocationCrumbs.InstanceCrumb (cyclomatic 36): LocationCrumbs.InstanceCrumb has cyclomatic complexity 36 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 17 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/layout/LocationCrumbs.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd48b053b66831d76c5812f71cb088798fc3be68005e5172220db5b7154b38f8"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryGraph.GraphView (cyclomatic 36): MemoryGraph.GraphView has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 2 of the 36 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 595, 373, 424, \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":"web/components/memory/MemoryGraph.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"16148d5bfa2f693515258761e1f05290471ab4a8ce47d9307128ed3d4452528d"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryRunPanel.systemEventDisplay (cyclomatic 36): MemoryRunPanel.systemEventDisplay has cyclomatic complexity 36 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 2 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":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4ac11d8ed24d63905a05a3ecc7a05142629d629837d6d5292ecffe622827c5"}},{"ruleId":"D1","level":"warning","message":{"text":"SoulPicker.SoulPicker (cyclomatic 36): SoulPicker.SoulPicker has cyclomatic complexity 36 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 11 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":"web/components/partners/SoulPicker.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"281983aae8a40fac27a85a0f5b8e0ea1fab12dafababdef2f391ff87e1d61afd"}},{"ruleId":"D1","level":"warning","message":{"text":"schema-form.SchemaField (cyclomatic 36): schema-form.SchemaField has cyclomatic complexity 36 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/schema-form.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee96266517892e0a15d01e2908f2a4cbeed79ae736222729f62d3737e24ad2de"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatStateAdapter.hydrateRequestSnapshot (cyclomatic 36): ChatStateAdapter.hydrateRequestSnapshot has cyclomatic complexity 36 (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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"c313017bef9f080edc52ceeb99c9d7c76d954c3b17037b21b8b9b002ff366e2f"}},{"ruleId":"D1","level":"warning","message":{"text":"book.quiz_attempt (cyclomatic 35): book.quiz_attempt has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ff1e580a095519bf489d0747fc58dd68dd413226ab7ea0e79445ae63a4159e"}},{"ruleId":"D1","level":"warning","message":{"text":"TurnApplicationService.subscribe_turn (cyclomatic 35): TurnApplicationService.subscribe_turn has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/app/service.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ed465e8b1504503d86c83fa4a6deb1dd295f3bcdfc3cede347aa4067cf2e8f"}},{"ruleId":"D1","level":"warning","message":{"text":"tools._revise_points (cyclomatic 35): tools._revise_points has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":3672}}}],"partialFingerprints":{"codehealthFindingId/v1":"55aadcece6ca239e6d0cad47758bd21f385cce7cfc035bbc51f53ccc72a54daa"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingStore.ingest (cyclomatic 35): ReadingStore.ingest has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/store.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43689eaa755fd7ae32e9743596e46fad4b311eb6c4f56b2463a0bf0b5ba9a59"}},{"ruleId":"D1","level":"warning","message":{"text":"CalendarStore.update (cyclomatic 35): CalendarStore.update has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/calendar/store.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57a5b931b1be47189d118affb86a0076d582c9885c5f2ec0df8aac35b7ece1c"}},{"ruleId":"D1","level":"warning","message":{"text":"llm.list_llm_options (cyclomatic 35): llm.list_llm_options has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/model_selection/llm.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1230c18fa3415c43175a582938bef6e00b85f984fd5437db2957fd46c5db63"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextBuilder.build (cyclomatic 35): ContextBuilder.build has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/context_builder.py"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00539bfbb2812f060e299fdecebbb8f87b19cbfa69e6694bca9531a7b5926c6"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryQuestionCard.GroupedMasteryQuestionCard (cyclomatic 35): MasteryQuestionCard.GroupedMasteryQuestionCard has cyclomatic complexity 35 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 11 belong to 5 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":"web/components/chat/home/MasteryQuestionCard.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4398c95c5ff2174fc0313b545516ac49a64c3ac884e3d1dfddbe7ebe658b89f"}},{"ruleId":"D1","level":"warning","message":{"text":"useDragSort.useDragSort.handlePointerDown.\u003Creturned closure\u003E (cyclomatic 35): useDragSort.useDragSort.handlePointerDown.\u003Creturned closure\u003E has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 9 of the 35 points are its own statements and the rest belongs to 10 function items inside it that branch (followEdges, onMove, activate, \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":"web/hooks/useDragSort.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a0903090f24046ebb7b79b7d427c718e3691366e9af297ced075c0bacb8bc4"}},{"ruleId":"D1","level":"warning","message":{"text":"useMasteryStudySession.useMasteryStudySession (cyclomatic 35): useMasteryStudySession.useMasteryStudySession has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 13 of the 35 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 164, 206, 264, \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":"web/hooks/useMasteryStudySession.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fd662b178b2cce34a6858d316d48e050a4077f3fa47c1149aca3c22b9c5e84"}},{"ruleId":"D1","level":"warning","message":{"text":"SpineSynthesizer._coerce_chapters (cyclomatic 34): SpineSynthesizer._coerce_chapters 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":"deeptutor/book/agents/spine_synthesizer.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d6a7ef1fade72f5f4532a4378de56e68cc481d66f7cddc866e60f21f73deb1"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeBaseManager.update_kb_status (cyclomatic 34): KnowledgeBaseManager.update_kb_status 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":"deeptutor/knowledge/manager.py"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a5e05de1b170088d3975f84bdc1164cc673afc85e2fc1dad42f32c141a36f2"}},{"ruleId":"D1","level":"warning","message":{"text":"launcher.start (cyclomatic 34): launcher.start has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/launcher.py"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"571dffa76e3dc7d7e5ead1eddb339dd0ebc7d86bac5ec9beb22b50188b0b55c7"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerManager._outbound_router (cyclomatic 34): PartnerManager._outbound_router 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":"deeptutor/services/partners/manager.py"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e9b837f8d58221f4ae01d0749b10b56268989e4eb621f0da290dcd4d7ab7f2"}},{"ruleId":"D1","level":"warning","message":{"text":"discovery.discover_voices (cyclomatic 34): discovery.discover_voices 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":"deeptutor/services/voice/discovery.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef82c8308c8e1a3c9e6437efdc0b66812af13bede8431db1a4cd2f03e4410f1b"}},{"ruleId":"D1","level":"warning","message":{"text":"data_migration.migrate_data (cyclomatic 34): data_migration.migrate_data 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":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"55539d860cce626a5e294b8f3e346474fb53bd7a89b2250d628767f1e2a00ab7"}},{"ruleId":"D1","level":"warning","message":{"text":"KbIndexVersionsSection.IndexVersionRow (cyclomatic 34): KbIndexVersionsSection.IndexVersionRow 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":"web/components/knowledge/KbIndexVersionsSection.tsx"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6baa0092409f6a322dd22616df4db7ea26694f7ef3cdce46bb23cdc9e67c4e2"}},{"ruleId":"D1","level":"warning","message":{"text":"KbSettingsSection.KbSettingsSection (cyclomatic 34): KbSettingsSection.KbSettingsSection has cyclomatic complexity 34 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 6 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":"web/components/knowledge/KbSettingsSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3a0fc5b13df39ff1d094109e9772fe510ad09f008eecccb13b0d370695f281"}},{"ruleId":"D1","level":"warning","message":{"text":"McpCatalogBrowser.EntryDetail (cyclomatic 34): McpCatalogBrowser.EntryDetail has cyclomatic complexity 34 (threshold 15). Of this number, 29 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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bb3974f1cc166056fd3b49167369a8913bed2a3f10b789ec8b20f58e1c73b5"}},{"ruleId":"D1","level":"warning","message":{"text":"useMemoryRun.useMemoryRun.attach (cyclomatic 34): useMemoryRun.useMemoryRun.attach has cyclomatic complexity 34 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 16 belong to 5 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":"web/components/memory/useMemoryRun.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3351ffe184889a1181348141c50d179f92204e69146e27b9bba7456b3a9140"}},{"ruleId":"D1","level":"warning","message":{"text":"OrganizedSessionList.OrganizedSessionList::renderRow (cyclomatic 34): OrganizedSessionList.OrganizedSessionList::renderRow 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. This shape REPEATS in the file: one other method here (OrganizedSessionList.OrganizedSessionList::renderGroup) 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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5373c8b6ff68d768c0c5542596f092deba79c0c76b60519c6c95e79246ff6b"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteCompanion.ThreadComposer (cyclomatic 34): NoteCompanion.ThreadComposer has cyclomatic complexity 34 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 11 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d2c69c7f6d8588ba2ef1df37fb4162d5e5bdb9bc83897b8976732635c6934c"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceSettingsSection.WorkspaceRow (cyclomatic 34): WorkspaceSettingsSection.WorkspaceRow has cyclomatic complexity 34 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 4 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":"web/features/settings/sections/WorkspaceSettingsSection.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"681510f4a9367ed339711b115821faa9ba4a5a7df99a3b6d3a97f9275b7920be"}},{"ruleId":"D1","level":"warning","message":{"text":"memory-graph.buildGraph (cyclomatic 34): memory-graph.buildGraph has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 8 of the 34 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 619, a function literal at line 579, pushEdge, \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":"web/lib/memory-graph.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"330012ff8870bb533fa84496fe2a38f6b8c54ec3c98bea0b6596251fdbfbf202"}},{"ruleId":"D1","level":"warning","message":{"text":"Tooltip.Tooltip (cyclomatic 34): Tooltip.Tooltip has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 9 of the 34 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 135, 96, 119, \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":"web/shared/ui/Tooltip.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a0cf9b2f36c3c40b36b5c21af2dd12021a6bfb552b0c50eeb7691aebfb9361"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluation.load_cases (cyclomatic 33): evaluation.load_cases 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":"deeptutor/services/memory/evaluation.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9123a7ac43042930f19b64bb7b329b9927c477083f02ed1ad23616a1800d29"}},{"ruleId":"D1","level":"warning","message":{"text":"SQLiteSessionStore._upsert_notebook_entries_in_conn (cyclomatic 33): SQLiteSessionStore._upsert_notebook_entries_in_conn 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":3417}}}],"partialFingerprints":{"codehealthFindingId/v1":"39854cba0cdeed6223d0b4637a84f1e2acd46e4c35671028f8bfac3a744d510b"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesRemoteBackend.consult (cyclomatic 33): HermesRemoteBackend.consult has cyclomatic complexity 33 (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":"deeptutor/services/subagent/hermes_remote.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6b31147f551e9a7504752b1f9a48f32b3b47a90a125e123d1ae2947fafb40f"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionList.SessionList (cyclomatic 33): SessionList.SessionList has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 6 of the 33 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 249, a function literal at line 139, commitEdit, \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":"web/components/SessionList.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae539448a5442da6157e96b2e9eb420beffb41e6439ef9a749377e06926b946"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryWorkbench.MemoryWorkbench (cyclomatic 33): MemoryWorkbench.MemoryWorkbench has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 10 of the 33 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 259, 217, 227, \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":"web/components/memory/MemoryWorkbench.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ae64e6daaffab35a346e593bd1a4895bc456f54068dd7dfcc4d9c3dee9f72a"}},{"ruleId":"D1","level":"warning","message":{"text":"ServicePreviewPanel.Preview (cyclomatic 33): ServicePreviewPanel.Preview 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. This shape REPEATS in the file: one other method here (ServicePreviewPanel.Preview::run) 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":"web/components/settings/ServicePreviewPanel.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"71088a209740eb32adb3e22fa90182080571d68756b54282ff54ac7a7b182da8"}},{"ruleId":"D1","level":"warning","message":{"text":"useQuestionBank.useQuestionBank (cyclomatic 33): useQuestionBank.useQuestionBank has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 1 of the 33 points is its own statement and the rest belongs to 15 function literals inside it that branch (lines 176, 372, 214, \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":"web/components/space/question-bank/useQuestionBank.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5e9be246b522d0644cdfa62d4913d1fc5f6840df197bbb36a2ddf9cd8ebdda"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspacePill.WorkspacePill (cyclomatic 33): WorkspacePill.WorkspacePill has cyclomatic complexity 33 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 13 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":"web/components/workspaces/WorkspacePill.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"54eef3fe86bc4f3051c579ada00c673944c52229d7f9f6e91ce2e1a2570d3724"}},{"ruleId":"D1","level":"warning","message":{"text":"TurnApplicationService.start_turn (cyclomatic 32): TurnApplicationService.start_turn has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/app/service.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e6df7f36e2de554d1cfddba38ca480f515699581f530a8c5aae5170531a091"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningService._grade_group (cyclomatic 32): LearningService._grade_group has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/service.py"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8579d014a64dcd9ba44d06ca3f20ce54649ab5d3806e6c9646a3204de69933"}},{"ruleId":"D1","level":"warning","message":{"text":"visual_practice.prepare_visual (cyclomatic 32): visual_practice.prepare_visual has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/visual_practice.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"583f2193e2e36bf7f10aed750bf422f3537590d1b6df36c81e0015936c5cc487"}},{"ruleId":"D1","level":"warning","message":{"text":"WeixinChannel.send (cyclomatic 32): WeixinChannel.send has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"382fd31ece702cb3cd6c6c67cfd8b7a659e63ca1ff33c503177dea80125a5f7c"}},{"ruleId":"D1","level":"warning","message":{"text":"importing.normalize_question (cyclomatic 32): importing.normalize_question has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/practice/importing.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba30a580a0d7d611f26d7de0fd821e66e5c42b9898a3d59b99c5ee6b78f3ccbd"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeCodeBackend._handle_event (cyclomatic 32): ClaudeCodeBackend._handle_event has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/claude_code.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fffbdec353c73a88d966e92256fb02ae9f48b06ee9695e00327ef8bd69a57c"}},{"ruleId":"D1","level":"warning","message":{"text":"deepseek_harness._sdk_notification_events (cyclomatic 32): deepseek_harness._sdk_notification_events has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/deepseek_harness.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"856dda9851930661287d0f00801d6bfa4f7370b01d4136b9ab510d71da911db1"}},{"ruleId":"D1","level":"warning","message":{"text":"data_migration.preview (cyclomatic 32): data_migration.preview has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"11be44019cecdb963f388b8f02742c739adccb109daf4c8ade0921edb2f74e63"}},{"ruleId":"D1","level":"warning","message":{"text":"BookSidebar.BookSidebar (cyclomatic 32): BookSidebar.BookSidebar has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 15 of the 32 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 241, 113, 84, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookSidebar.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbeed9082b5a374390f0749be0e7866199c4e3115c115989cf23ba64be5fd7f"}},{"ruleId":"D1","level":"warning","message":{"text":"SpineEditor.SpineEditor (cyclomatic 32): SpineEditor.SpineEditor 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 14 function items inside it that branch (a function literal at line 213, a function literal at line 156, a function literal at line 237, \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":"web/app/(workspace)/learning/books/components/SpineEditor.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba0130b7082e73e047db1daabcedbb674d792842303c19caed632fd19b5b4d6"}},{"ruleId":"D1","level":"warning","message":{"text":"AnswerModeMenu.PartnerLinkList (cyclomatic 32): AnswerModeMenu.PartnerLinkList has cyclomatic complexity 32 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 6 belong to 5 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":"web/components/chat/home/AnswerModeMenu.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02f3b0c2cb982b7378c17fe52f174e7eb2df44367e357e874b7f1e9fe9177f1"}},{"ruleId":"D1","level":"warning","message":{"text":"McpServerForm.McpServerForm (cyclomatic 32): McpServerForm.McpServerForm has cyclomatic complexity 32 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 12 belong to 5 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":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6267faa8c6d85ef38440be0a5684748d3b6562bf339b4fc5b5f97c23425934d"}},{"ruleId":"D1","level":"warning","message":{"text":"MemorySection.L1View (cyclomatic 32): MemorySection.L1View has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 11 of the 32 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 756, 776, 716, \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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e038a13a48f25d3a5d2d68e0e03a061fa6c0405e6faed94a926cc4924dcc23"}},{"ruleId":"D1","level":"warning","message":{"text":"useReadingWorkspace.useReadingWorkspace (cyclomatic 32): useReadingWorkspace.useReadingWorkspace has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 2 of the 32 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 179, 453, 191, \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":"web/components/reading/workspace/useReadingWorkspace.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"86013e46680e605ecb91db6ff826a9afdba9a7437ded376662cf717dd93739bb"}},{"ruleId":"D1","level":"warning","message":{"text":"RegistryControls.ProbeForm (cyclomatic 32): RegistryControls.ProbeForm has cyclomatic complexity 32 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, split the body: 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":"web/components/settings/RegistryControls.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"374502dd18fff9dc2df9c155363df5e2d806e7a91bf63db163f2d8a6a3eabd8d"}},{"ruleId":"D1","level":"warning","message":{"text":"VisualizationViewer.sanitizeSvg (cyclomatic 32): VisualizationViewer.sanitizeSvg has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 6 of the 32 points are its own statements and the rest belongs to 5 function items inside it that branch (walk, rescope, a function literal at line 352, \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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9be69db5f39e7af04174f95311777098345d6816d2aa6c104b2148593a8c5a4"}},{"ruleId":"D1","level":"warning","message":{"text":"book-activity.buildBookActivity (cyclomatic 32): book-activity.buildBookActivity has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/book-activity.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d11670c919acaf512678ce033990b18fda1e9c91b8f1fd238a5b833b6beca7f"}},{"ruleId":"D1","level":"warning","message":{"text":"feishu._extract_element_content (cyclomatic 31): feishu._extract_element_content 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":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bc2b8a4095735d2d83895746e5ea625efc7eddb83fbf9e5a9f0d8bbe6106a7"}},{"ruleId":"D1","level":"warning","message":{"text":"readiness.build_settings_readiness (cyclomatic 31): readiness.build_settings_readiness 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":"deeptutor/services/config/readiness.py"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ca8ce5c61fd5a4779e9b65d2751164a048e0c4977338a2a2eb5efa124a16cc"}},{"ruleId":"D1","level":"warning","message":{"text":"GrokBackend._handle_event (cyclomatic 31): GrokBackend._handle_event 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":"deeptutor/services/subagent/grok.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"991504fc264e1bd43a5f5c1ef7c134c153656edda36bdb16dbb63c2c76f4d2e6"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerBackend.consult (cyclomatic 31): PartnerBackend.consult has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/partner.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dbc9b69c427df4e0eb8799838daf3a207d80a679f08bf58d1db32e32e684fb"}},{"ruleId":"D1","level":"warning","message":{"text":"crawler.crawl_docs_site (cyclomatic 31): crawler.crawl_docs_site 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":"deeptutor/services/web_source/crawler.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb85ec4a98968ed84e27f9dda1e7a730ab68c9b5b0d714bebc31a50878c8e6c"}},{"ruleId":"D1","level":"warning","message":{"text":"RAGTool._retrieve (cyclomatic 31): RAGTool._retrieve 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":"deeptutor/tools/builtin/__init__.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c572f686f4c46a2b48c4e9c224f7db564765132d90ccb9fdec7e02d21e17c0"}},{"ruleId":"D1","level":"warning","message":{"text":"setup_config.prepare_profiles (cyclomatic 31): setup_config.prepare_profiles 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":"deeptutor_cli/setup_config.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"533a56234f530ed36d5f7a7fb8ad6ef748613c5df137d774100019b30b464ac9"}},{"ruleId":"D1","level":"warning","message":{"text":"types.validateNativeInput (cyclomatic 31): types.validateNativeInput has cyclomatic complexity 31 (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":"packages/chat-engine/src/native/types.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"092cd6630a8b14439dbfca62bd6e0a8b7bc3c6dbba125fd9fa4a7aeb38c8d7b5"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposerTrayMenu.TrayMenu (cyclomatic 31): ComposerTrayMenu.TrayMenu has cyclomatic complexity 31 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 11 belong to 4 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":"web/components/chat/home/ComposerTrayMenu.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c595b49854b0cde2882de9b5dcc00c8e21a3f512e48a447121d92246522e0fe"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelSelector.ModelSelector (cyclomatic 31): ModelSelector.ModelSelector has cyclomatic complexity 31 (threshold 15). Of this number, 30 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":"web/components/chat/home/ModelSelector.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9370c3f3b12491e318bc8a1223a8346d880bb00cf3577147ad2329ef73b30ef6"}},{"ruleId":"D1","level":"warning","message":{"text":"PracticeInsights.PracticeInsights (cyclomatic 31): PracticeInsights.PracticeInsights has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 14 of the 31 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 55, 119, 136, \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":"web/components/learning/practice/PracticeInsights.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0743d8e3c89bc05798486767812fc533b963402a0af642f7cd5b8f4abac08e4c"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderModelDiscovery.DiscoveryForm (cyclomatic 31): ProviderModelDiscovery.DiscoveryForm has cyclomatic complexity 31 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 9 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":"web/components/settings/ProviderModelDiscovery.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8504bf0108059724ec4081a2650b9b595c7a9e12e055e6b6fabb31a1e18197"}},{"ruleId":"D1","level":"warning","message":{"text":"RegistryControls.RegistryModelIdField (cyclomatic 31): RegistryControls.RegistryModelIdField has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 15 of the 31 points are its own statements and the rest belongs to 4 function items inside it that branch (onKeyDown, a function literal at line 413, a function literal at line 493, \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":"web/components/settings/RegistryControls.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"af42e152bb2c00b6f268e93cc3e34f661a4364803569a253e69b4157831908fb"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandPalette.CommandPalette (cyclomatic 31): CommandPalette.CommandPalette has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 5 of the 31 points are its own statements and the rest belongs to 16 function items inside it that branch (a function literal at line 215, a function literal at line 79, a function literal at line 112, \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":"web/components/sidebar/CommandPalette.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf1e4c06ac075b39a3c6024bfadd4ea7d5c457a0a0ab73d9c12fe317ece3fef"}},{"ruleId":"D1","level":"warning","message":{"text":"DocumentParsingSettingsSection.DocumentParsingSettingsPage (cyclomatic 31): DocumentParsingSettingsSection.DocumentParsingSettingsPage has cyclomatic complexity 31 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 10 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":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb9bb1d5888f4f268b0f4c54b25832497449af11110e8dd9a8bdf7c5bc7a40f"}},{"ruleId":"D1","level":"warning","message":{"text":"DocumentParsingSettingsSection.DoclingPanel (cyclomatic 31): DocumentParsingSettingsSection.DoclingPanel has cyclomatic complexity 31 (threshold 15). 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, 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":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"182b91b6f52fe05ed081a4a2079c0b51ea7d427daa0d569e3cf2e0902c0c8663"}},{"ruleId":"D1","level":"warning","message":{"text":"StartersSettingsSection.StarterSettingsPage (cyclomatic 31): StartersSettingsSection.StarterSettingsPage has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 12 of the 31 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 38, 91, 78, \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":"web/features/settings/sections/StartersSettingsSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc087e63c9e52faf4ee69507babb1d4688cca3bc61702945a9f3161054d5cbef"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-registry.reconcileRegistrySave (cyclomatic 31): provider-registry.reconcileRegistrySave 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":"web/lib/provider-registry.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"9695812e66d12780258ee7285b6d56aa9f68f4407764bdc0c42aa615b8442b4a"}},{"ruleId":"D1","level":"warning","message":{"text":"_rag_helpers.optional_rag_lookup (cyclomatic 30): _rag_helpers.optional_rag_lookup has cyclomatic complexity 30 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/_rag_helpers.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a904863222c4f0b14a7a129070a57d2da9aca56ece10189f6c2c451c66db7783"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningService.grade_interaction_semantic (cyclomatic 30): LearningService.grade_interaction_semantic 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":"deeptutor/learning/service.py"},"region":{"startLine":3181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8278bd344402d0135f77fae8d0936fb1188ab87fc595763656fbba38812fa4e7"}},{"ruleId":"D1","level":"warning","message":{"text":"ingestion._load_bilibili_media (cyclomatic 30): ingestion._load_bilibili_media 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":"deeptutor/reading/ingestion.py"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4086a8570274a5ef3564092b4015ec4a8422f317f095cb811b61b57c38f5e4b"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingStore.refresh_document (cyclomatic 30): ReadingStore.refresh_document 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":"deeptutor/reading/store.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"1822f5ef407dc2facfcedd74431adc6473b6238142cade81c4717cf87d487d8f"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAICompatibleEmbeddingAdapter._extract_embeddings_from_response (cyclomatic 30): OpenAICompatibleEmbeddingAdapter._extract_embeddings_from_response 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":"deeptutor/services/embedding/adapters/openai_compatible.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa79c76dc1b91d66c9bcb0f39970aaba1cd295025ea3a86a247a422973e3d69"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAICompatibleEmbeddingAdapter.embed (cyclomatic 30): OpenAICompatibleEmbeddingAdapter.embed 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":"deeptutor/services/embedding/adapters/openai_compatible.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec39e7740250a003aeeddf20693c3663ea9889dd23eb745be2aed8856170854"}},{"ruleId":"D1","level":"warning","message":{"text":"importing.parse_rows (cyclomatic 30): importing.parse_rows 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":"deeptutor/services/practice/importing.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce41bf392f1bce0394ecf8f4c8e40060be0593c5bbb23649d758b82fae28d68c"}},{"ruleId":"D1","level":"warning","message":{"text":"kb_move.preview_kb_move (cyclomatic 30): kb_move.preview_kb_move has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/kb_move.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a2c358cab554ffde012a7ab57eba2d502095428b8a88b37a505191d3315f74"}},{"ruleId":"D1","level":"warning","message":{"text":"BookStructureEditor.BookStructureEditor (cyclomatic 30): BookStructureEditor.BookStructureEditor has cyclomatic complexity 30 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 14 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":"web/app/(workspace)/learning/books/components/BookStructureEditor.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"be19a09b884b27031f6175966573cba8fb044e4b0d0f3c1d566f234dedfe7e65"}},{"ruleId":"D1","level":"warning","message":{"text":"FileDropZone.FileDropZone (cyclomatic 30): FileDropZone.FileDropZone has cyclomatic complexity 30 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 15 belong to 8 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":"web/components/knowledge/FileDropZone.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cde8688b90319922cb8e94a94eec881b8b4ae016231fd1cae3af8e8614c79ba"}},{"ruleId":"D1","level":"warning","message":{"text":"SaveToNotebookModal.SaveToNotebookModal::handleSave (cyclomatic 30): SaveToNotebookModal.SaveToNotebookModal::handleSave 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. This shape REPEATS in the file: one other method here (SaveToNotebookModal.SaveToNotebookModal) 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":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ef0007123bc33e780dbdcf0f594852fc663b9e5668802a74f999e2dce0c860"}},{"ruleId":"D1","level":"warning","message":{"text":"WeixinQrLogin.WeixinQrLogin (cyclomatic 30): WeixinQrLogin.WeixinQrLogin has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 13 of the 30 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 66, statusLine, a function literal at line 48, \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":"web/components/partners/WeixinQrLogin.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c59e77b86d263758458ee2c1ac90fbd99c71cf690eb9b673c4a762b1158ff5"}},{"ruleId":"D1","level":"warning","message":{"text":"GroupComposer.GroupComposer (cyclomatic 30): GroupComposer.GroupComposer has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 10 of the 30 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 198, submit, a function literal at line 67, \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":"web/components/partners/group/GroupComposer.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"883b7be653022c7de81f526bea44bba7a37fb8849cd54862961bf3d606161ca2"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeBuddyAuthCard.CodeBuddyAuthCard (cyclomatic 30): CodeBuddyAuthCard.CodeBuddyAuthCard has cyclomatic complexity 30 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 12 belong to 5 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":"web/components/settings/CodeBuddyAuthCard.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdcd052f669e02a6ff6a8748ee970afb9f2f6051050ba43d5b4093475b1f493"}},{"ruleId":"D1","level":"warning","message":{"text":"ReviewTrail.ReviewTrail (cyclomatic 30): ReviewTrail.ReviewTrail has cyclomatic complexity 30 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 8 belong to 4 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":"web/components/space/learning/ReviewTrail.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"222f102d169ae83591ec271ba63488d348aef540336e621f3b8d83adc07cb2a6"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageThreadMarker.MessageThreadMarker (cyclomatic 30): MessageThreadMarker.MessageThreadMarker 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 10 function items inside it that branch (a function literal at line 205, a function literal at line 73, a function literal at line 102, \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":"web/features/chat/messages/MessageThreadMarker.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3080346539abc7049862c20a7efebe6ce0e2b726a2d2fa04a7a14dc7d86897f9"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatMessageList.GeneratedFileCards (cyclomatic 30): ChatMessageList.GeneratedFileCards 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 3 function literals inside it that branch (lines 611, 600, 605). 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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"061c15d0564d001434ee35cea7cf9e8eb5341d58c0f3280735b63e216d80270e"}},{"ruleId":"D1","level":"warning","message":{"text":"GuardianRelationshipsEditor.GuardianRelationshipsEditor (cyclomatic 30): GuardianRelationshipsEditor.GuardianRelationshipsEditor has cyclomatic complexity 30 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 15 belong to 9 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":"web/features/multi-user/components/GuardianRelationshipsEditor.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"07466764b81e8e0c2d6904694739d9432e9683d78b846945cab5eb3dd347face"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteFavoriteBlock.NoteFavoriteBlock (cyclomatic 30): NoteFavoriteBlock.NoteFavoriteBlock has cyclomatic complexity 30 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 3 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":"web/features/notes/components/NoteFavoriteBlock.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2f1aff7fddafcd46695944328162d50e56c28d6367ec10df479d13fc9557d4"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepQuestionCapability.run (cyclomatic 29): DeepQuestionCapability.run has cyclomatic complexity 29 (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":"deeptutor/agents/question/capability.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"867ebc2f573a4ce1f4377d24b0dab684b9bfe26461d8f192e8342f8fbf1fe5bb"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge._save_uploaded_files (cyclomatic 29): knowledge._save_uploaded_files 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa718f7ac4319cadf6a0d5d10079d22df99826768b70eaeee81beec721aae0f2"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge._list_knowledge_bases (cyclomatic 29): knowledge._list_knowledge_bases 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2865}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ae1b327e29b9db3f859a3a68ac892f31f0aa37337169849b3344e301bf25b8"}},{"ruleId":"D1","level":"warning","message":{"text":"quiz_judge._build_judge_user_prompt (cyclomatic 29): quiz_judge._build_judge_user_prompt 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":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"68902c945df7d2ffd3430360a5157727c103883ed186f6c3e14817f4eb27e9f2"}},{"ruleId":"D1","level":"warning","message":{"text":"sessions._attach_orphaned_failed_turns (cyclomatic 29): sessions._attach_orphaned_failed_turns has cyclomatic complexity 29 (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":"deeptutor/api/routers/sessions.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a65911e27e68233d83b867bf75683ef66cf6f3d61886565a34ad0e2aaf9a8a5"}},{"ruleId":"D1","level":"warning","message":{"text":"CoWriterStorage.update_document (cyclomatic 29): CoWriterStorage.update_document 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":"deeptutor/co_writer/storage.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"30eb5c33d60db430f6c574bc6c7a54a2bf5325eca6adf991ce1dbaa19f24afd5"}},{"ruleId":"D1","level":"warning","message":{"text":"topic_materials.build_topic_materials (cyclomatic 29): topic_materials.build_topic_materials 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":"deeptutor/learning/topic_materials.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"12966b3277e4ac9ab704dce21d8c7ceadb90945cd424bb57a2bd71ae9b25c743"}},{"ruleId":"D1","level":"warning","message":{"text":"FeishuChannel.send_delta (cyclomatic 29): FeishuChannel.send_delta 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":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ba6b83c735a7bd9dc6ce803c27bdf48e33e8c44efcddfa781272de3b76b838"}},{"ruleId":"D1","level":"warning","message":{"text":"MSTeamsChannel._handle_activity (cyclomatic 29): MSTeamsChannel._handle_activity has cyclomatic complexity 29 (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":"deeptutor/partners/channels/msteams.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"986f06d47e0cf115e736b0e36be1986c76ac07c00bf5cd39984e1909469bae6e"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_runtime.resolve_tts_runtime_config (cyclomatic 29): provider_runtime.resolve_tts_runtime_config has cyclomatic complexity 29 (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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"3473d5017ac2ad798abafb60353df7d9e298ade67771ae040ced1f412f364e7e"}},{"ruleId":"D1","level":"warning","message":{"text":"factory._resolve_call_config (cyclomatic 29): factory._resolve_call_config 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":"deeptutor/services/llm/factory.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddf9e0e7da67312995001187b3aaf05381bd3510c7703979fb4f89f6f647cf8"}},{"ruleId":"D1","level":"warning","message":{"text":"search.web_search (cyclomatic 29): search.web_search has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/__init__.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f4f33e577df19b427456e8da86ee5e65a78319afe1b41a874560d9775fb0dc"}},{"ruleId":"D1","level":"warning","message":{"text":"_turn_runtime_shared._resolve_selection_tutor_context (cyclomatic 29): _turn_runtime_shared._resolve_selection_tutor_context 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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ba8fda7f72131a529833a66a042e0305b584706ba2252dd4253b277c24fd9e"}},{"ruleId":"D1","level":"warning","message":{"text":"ask_user_trace.extract_ask_user_clarification_blocks (cyclomatic 29): ask_user_trace.extract_ask_user_clarification_blocks 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":"deeptutor/services/session/ask_user_trace.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee47a5300e68d941777fc94adc4617d89e41ecefc3d5ec54c1c6fc4b48a9b50"}},{"ruleId":"D1","level":"warning","message":{"text":"attachment_parsing.parse_chat_pdf_attachments (cyclomatic 29): attachment_parsing.parse_chat_pdf_attachments 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":"deeptutor/services/session/attachment_parsing.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f0107ec372dc55fbb36f0bc3d344917f2d63071281f994168ae4d03e46ac04"}},{"ruleId":"D1","level":"warning","message":{"text":"SQLiteSessionStore._delete_turn_by_message_sync (cyclomatic 29): SQLiteSessionStore._delete_turn_by_message_sync 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":2402}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed8c37a124540a9b709c5b565103e849f468a23ad1003677e84ab5c02357de2"}},{"ruleId":"D1","level":"warning","message":{"text":"interface_settings._normalize_language (cyclomatic 29): interface_settings._normalize_language 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":"deeptutor/services/settings/interface_settings.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d427bdc30df76529833906f898befc350fb5c42eb872e1dffa23f0a8cdbe3bc5"}},{"ruleId":"D1","level":"warning","message":{"text":"kb_move.move_kb (cyclomatic 29): kb_move.move_kb 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":"deeptutor/services/workspace/kb_move.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c14c7dbb84fa05124fa0049914240ea9783e331262d03f136ca57e3d3baa85"}},{"ruleId":"D1","level":"warning","message":{"text":"ask_user._build_question (cyclomatic 29): ask_user._build_question 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":"deeptutor/tools/ask_user.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdf91e66b8ecdbcefb49ce46f80a0f3e10471974cbe3f44d43cf9304b6874cc"}},{"ruleId":"D1","level":"warning","message":{"text":"BookCreator.BookCreator (cyclomatic 29): BookCreator.BookCreator has cyclomatic complexity 29 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 11 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookCreator.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df0f1491ede8f2aac56cafa1a7227faa42c083685bed9d6213462e82f58eded"}},{"ruleId":"D1","level":"warning","message":{"text":"BookGenerationActivity.BookGenerationActivity (cyclomatic 29): BookGenerationActivity.BookGenerationActivity has cyclomatic complexity 29 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 9 belong to 8 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":"web/app/(workspace)/learning/books/components/BookGenerationActivity.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54fce517ad970d97856a1c08d435e3bf427e2dfeaabe9527e13a233d3c193f4"}},{"ruleId":"D1","level":"warning","message":{"text":"AskUserOptions.extractAskUserPayload (cyclomatic 29): AskUserOptions.extractAskUserPayload has cyclomatic complexity 29 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b932787a6378bb9a4715465439e9c5a45f23b2753fc45389814ff6bcd0b35bc"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelRuntimeStatus.ChannelRuntimeStatus (cyclomatic 29): ChannelRuntimeStatus.ChannelRuntimeStatus has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 13 of the 29 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 53, 34, 25, \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":"web/components/partners/ChannelRuntimeStatus.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5e00e9399b6899fe4394de3e687d61cd7baa520d3c96e716d1cfe864b27d70"}},{"ruleId":"D1","level":"warning","message":{"text":"WebFetchBackendCard.WebFetchBackendCard (cyclomatic 29): WebFetchBackendCard.WebFetchBackendCard has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 12 of the 29 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 40, 87, 116, \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":"web/components/settings/WebFetchBackendCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5eeeed6e2e2d52278e2acbec283ec1e7fafeaf386b67d17bbb921e46d90dace"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatSessionMenu.ChatSessionMenu (cyclomatic 29): ChatSessionMenu.ChatSessionMenu has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 12 of the 29 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 88, a function literal at line 103, toggle, \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":"web/features/chat/components/ChatSessionMenu.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad69012c9f1d3418fb11956a40d0b120816065946d7793f1b21eb1109cf9e2af"}},{"ruleId":"D1","level":"warning","message":{"text":"TracePresentation.TraceRowBody (cyclomatic 29): TracePresentation.TraceRowBody has cyclomatic complexity 29 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 10 belong to 7 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"181a3890c04b832d5d3fabc774194253284ee43289d97ea1c3289096784ccfe4"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassicLearningDashboard.ClassicLearningDashboard (cyclomatic 29): ClassicLearningDashboard.ClassicLearningDashboard has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 14 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 66, 51, 142). 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":"web/features/ui-layout/classic/ClassicLearningDashboard.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"769195c8a4c5f499ae48f602f883166c95928ec14434b3e8dea44f6081eb4b03"}},{"ruleId":"D1","level":"warning","message":{"text":"pipeline._citation_source_preview (cyclomatic 28): pipeline._citation_source_preview 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":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":2508}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e78cd00204795be9ad517046331a961c36b0f40378f7e19273d1262236b54bf"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.validate_visualization (cyclomatic 28): utils.validate_visualization 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":"deeptutor/agents/visualize/utils.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"52889f67cd5b030042967b2e076b8aaedcde42625fd2a6c71d4b2086e920b154"}},{"ruleId":"D1","level":"warning","message":{"text":"main.lifespan (cyclomatic 28): main.lifespan has cyclomatic complexity 28 (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":"deeptutor/api/main.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e1fabbabeedb77490c95a5c9376c270bcb57573b526c83082429fcd88cdf61"}},{"ruleId":"D1","level":"warning","message":{"text":"question.websocket_question_generate (cyclomatic 28): question.websocket_question_generate 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":"deeptutor/api/routers/question.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8afa9468f60c3640b5e369823968d9b888438206578af5a7a9eb83a99aac4b"}},{"ruleId":"D1","level":"warning","message":{"text":"FeishuChannel._on_message (cyclomatic 28): FeishuChannel._on_message 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":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":2333}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad365aa1946505add36f31152ecf8476bc68996607fabb8869d754b203d74d2"}},{"ruleId":"D1","level":"warning","message":{"text":"embedding_endpoint.normalize_embedding_endpoint_for_display (cyclomatic 28): embedding_endpoint.normalize_embedding_endpoint_for_display 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":"deeptutor/services/config/embedding_endpoint.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd39a49d2a9f4a1194d5c96e9fe4ac212f057ef63b1c08f30d34383b3070d8f"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiEmbeddingAdapter._embed_native (cyclomatic 28): GeminiEmbeddingAdapter._embed_native 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":"deeptutor/services/embedding/adapters/gemini.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0432b66269f01b56406324d6ef80884aa8eca5a6bcd12a9b75682e218211039"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerRunner._build_context (cyclomatic 28): PartnerRunner._build_context 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":"deeptutor/services/partners/runtime.py"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"53744ca4a98e613e933f2f2e952622096d536385754cfd36b4a84e2f3834eb69"}},{"ruleId":"D1","level":"warning","message":{"text":"source_pages.build_pdf_documents (cyclomatic 28): source_pages.build_pdf_documents 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":"deeptutor/services/rag/source_pages.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e86dcc3a9241f3c56f4a1159b477834e2f9000ba833035b1dde0e7faccdbe3"}},{"ruleId":"D1","level":"warning","message":{"text":"bilingual.detect_bilingual_pairings (cyclomatic 28): bilingual.detect_bilingual_pairings 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":"deeptutor/services/web_source/bilingual.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"663f5649974310257204b7a958a208be8a5da4cc4e0ee0b7bb4f572777736abd"}},{"ruleId":"D1","level":"warning","message":{"text":"document_extractor._epub_package_navigation (cyclomatic 28): document_extractor._epub_package_navigation 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":"deeptutor/utils/document_extractor.py"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d64a50c34ee538ec315c1103033080d43b5ebae8c7579b429a804549f22202"}},{"ruleId":"D1","level":"warning","message":{"text":"run-loop.runLoop (cyclomatic 28): run-loop.runLoop 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":"packages/chat-engine/src/core/run-loop.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"da11477a4717cdf82bd701f72f5516fc3fd8d55e0bae7f8809cbca180f160d74"}},{"ruleId":"D1","level":"warning","message":{"text":"KbWebSourcesSection.KbWebSourcesSection (cyclomatic 28): KbWebSourcesSection.KbWebSourcesSection has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 12 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 52, handleAdd, handleRemove, \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":"web/components/knowledge/KbWebSourcesSection.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4ad8d5419df968ad2a404453d87065599b99ec86eaa229923bb74250a0b9a9"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationPopover.AnnotationPopover (cyclomatic 28): AnnotationPopover.AnnotationPopover has cyclomatic complexity 28 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 13 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/AnnotationPopover.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a67b06fafb82f081160c12af36992de2889b5eeabdc668ef4b46140d16a56f"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingCompanion.ReadingCompanion (cyclomatic 28): ReadingCompanion.ReadingCompanion has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 6 of the 28 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 233, 289, 303, \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":"web/components/reading/workspace/ReadingCompanion.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7267c3f28f618218bcb677b1784dcc49cf33438e04ec349319a9de5bcfa69869"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatHistorySection.ChatHistorySection (cyclomatic 28): ChatHistorySection.ChatHistorySection has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 158, 137, 84, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/ChatHistorySection.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ed4378e51dc6dc251ff24f81154e0d79224e3acb0232193b8b50f62a4067a9"}},{"ruleId":"D1","level":"warning","message":{"text":"MyAgentsSection.MyAgentsSection (cyclomatic 28): MyAgentsSection.MyAgentsSection has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 7 of the 28 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 207, 122, 124, \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":"web/components/space/MyAgentsSection.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e17576f814028a8411d827f3a793499d1233a10c78cd823ec5ab0fb7a763d7"}},{"ruleId":"D1","level":"warning","message":{"text":"TracePresentation.getTraceHeader (cyclomatic 28): TracePresentation.getTraceHeader 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebde91861526958cacc0286505bbec3b0aa6a3054e58d004bf0e140155af69cb"}},{"ruleId":"D1","level":"warning","message":{"text":"reading-citations.linkifyLocatorCitations (cyclomatic 28): reading-citations.linkifyLocatorCitations has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 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":"web/lib/reading-citations.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e05f51b3f414d168cf7b7488614a755cff247ccec776d53daf90a1dcc51f9e"}},{"ruleId":"D1","level":"warning","message":{"text":"reasoning-effort.tableReasoningEffortOptions (cyclomatic 28): reasoning-effort.tableReasoningEffortOptions 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":"web/lib/reasoning-effort.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff78890369f033d713448a9ecd2797cf2d5906bef89a46cadf2bb2f647ffa77"}},{"ruleId":"D1","level":"warning","message":{"text":"python_scheduler.run_loop (cyclomatic 27): python_scheduler.run_loop 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":"deeptutor/agents/loop/python_scheduler.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"009b23592c888986595bc33ec414163d469ce4721d37647d291bceb35fc95759"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge._create_knowledge_base_owned (cyclomatic 27): knowledge._create_knowledge_base_owned 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":3659}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb908c78ede761df810a31d191e57991dd2492c3405a3aec25fd610c8be107c7"}},{"ruleId":"D1","level":"warning","message":{"text":"reading_extensions.submit_quiz_answers (cyclomatic 27): reading_extensions.submit_quiz_answers 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":"deeptutor/api/routers/reading_extensions.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6136d35b9d94e9def7de4bb85e4a195439df1474b29b159737bcffaef6d769"}},{"ruleId":"D1","level":"warning","message":{"text":"SpineSynthesizer._coerce_graph (cyclomatic 27): SpineSynthesizer._coerce_graph 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":"deeptutor/book/agents/spine_synthesizer.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d2c4c59568c173cd89b71b0f75481b55d217c2d4827f3bda1fc4bf573923a0"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryLoopCapability.augment_kwargs (cyclomatic 27): MasteryLoopCapability.augment_kwargs 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":"deeptutor/capabilities/mastery/loop.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"59783fd333c3479a80b268d4dcbe8b6a53fdabb97268923fb4f8da068f91c88e"}},{"ruleId":"D1","level":"warning","message":{"text":"FeishuChannel._on_card_action_sync (cyclomatic 27): FeishuChannel._on_card_action_sync has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"f678e652a39cfd2dd0c0964c8a130f0fea612c1fdc938e9c0aef8d4d490833c9"}},{"ruleId":"D1","level":"warning","message":{"text":"service.reconcile_codex_catalog_update (cyclomatic 27): service.reconcile_codex_catalog_update has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/codex_auth/service.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0d6e02be3305b203d0a464ab0f0fd05c01103664cbd5a402babcab0157c1c5"}},{"ruleId":"D1","level":"warning","message":{"text":"CallMeasurement.finish (cyclomatic 27): CallMeasurement.finish has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/metrics.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"281cf744c46fcac87d77a78bd3226ad9e72d0864cfcbd49ef9f2ed2950ec6f2f"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_factory._build_runtime_provider (cyclomatic 27): provider_factory._build_runtime_provider has cyclomatic complexity 27 (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":"deeptutor/services/llm/provider_factory.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb1aff1590a08339e24e047e4329921506dfec42b7fc1c7a9a8e3b482f72424"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionTitleService._maybe_generate_session_title (cyclomatic 27): SessionTitleService._maybe_generate_session_title has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/title_service.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9bddc3eece092aafd050bb079ce195fea5e646021495c95670f00074842650"}},{"ruleId":"D1","level":"warning","message":{"text":"model-round.modelRound (cyclomatic 27): model-round.modelRound has cyclomatic complexity 27 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 10 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":"packages/chat-engine/src/native/model-round.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8bd3887471eb889586e387e630c0bd5a39504d11ce93a1dfa590a6e25cb4ec"}},{"ruleId":"D1","level":"warning","message":{"text":"PageOutlineNav.PageOutlineNav (cyclomatic 27): PageOutlineNav.PageOutlineNav has cyclomatic complexity 27 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 12 belong to 4 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":"web/app/(workspace)/learning/books/components/PageOutlineNav.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"abac6a597251281218e157a37bc1f1642623c7551106f2083cbb854cf89a9117"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentTabBody.SubagentTabBody (cyclomatic 27): SubagentTabBody.SubagentTabBody 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 6 function literals inside it that branch (lines 81, 46, 148, \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":"web/components/chat/home/SubagentTabBody.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f5ca93a5460db4c07300dfb4a5d74057ecfa0f57c46514096a398815d256cb"}},{"ruleId":"D1","level":"warning","message":{"text":"CategoryNavigation.CategoryTabs (cyclomatic 27): CategoryNavigation.CategoryTabs has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 10 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (tab, a function literal at line 134, select, \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":"web/components/sidebar/CategoryNavigation.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd83db75617f4b2f9ca422e1b75da80e59d649b551a40f586ee9dd6c4bd402fe"}},{"ruleId":"D1","level":"warning","message":{"text":"CalendarRuntime.CalendarRuntime (cyclomatic 27): CalendarRuntime.CalendarRuntime 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 4 function literals inside it that branch (lines 31, 51, 24, \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":"web/features/calendar/components/CalendarRuntime.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bced64850d337405a9ddf513cf25f8df5f2a6bc60c4bb3c509d60f048ab3ca"}},{"ruleId":"D1","level":"warning","message":{"text":"AttachmentsSettingsSection.AttachmentSettingsPage (cyclomatic 27): AttachmentsSettingsSection.AttachmentSettingsPage 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 4 function literals inside it that branch (lines 60, 112, 98, \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":"web/features/settings/sections/AttachmentsSettingsSection.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"638ef12947f8318f3df4e9880eca9de9f1617f396e29bed19d60a10e76b08cf7"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassicSidebarShell.ClassicSidebarShell (cyclomatic 27): ClassicSidebarShell.ClassicSidebarShell has cyclomatic complexity 27 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 13 belong to 5 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":"web/features/ui-layout/classic/ClassicSidebarShell.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"737553ad37e87fda5d3dc29826f2bff64328f50bb120a14912f06d22f59a0d08"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoLessonCapability.run (cyclomatic 26): VideoLessonCapability.run 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":"deeptutor/agents/video_lesson/capability.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"024a65424fc551f874ab55affdaad4f868b5b2c01c86e005b77de62be547bd46"}},{"ruleId":"D1","level":"warning","message":{"text":"auth._install_request_workspace (cyclomatic 26): auth._install_request_workspace has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"f405b17f382ef7406bb1e8ac00fea154a2b98bf39a573bd4ecf8bea5844b2b4e"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryContextBuilder._summarize (cyclomatic 26): MasteryContextBuilder._summarize 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":"deeptutor/capabilities/mastery/memory.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25855ba47fe025c6eb1f94f1d2fa4021364d0490984e6e593b97d7e86c30ffa"}},{"ruleId":"D1","level":"warning","message":{"text":"ViewFigureTool.execute (cyclomatic 26): ViewFigureTool.execute has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/reading/figure_view.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"337549c0999caf5558b5be136a38451b93b3de3fb2305b7e3fb9284480b7bf1f"}},{"ruleId":"D1","level":"warning","message":{"text":"policy.next_objective (cyclomatic 26): policy.next_objective 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":"deeptutor/learning/policy.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"4194caccadb7c99757c4755ea8c995d2c9ba0c21f47f2a50760c10de022df619"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningService._apply_grade (cyclomatic 26): LearningService._apply_grade 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":"deeptutor/learning/service.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc344dccd9935d94f24235cc4310979abda910f98ac7490b03b7b241995fa7b"}},{"ruleId":"D1","level":"warning","message":{"text":"lifecycle.change (cyclomatic 26): lifecycle.change 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":"deeptutor/modules/lifecycle.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfefc7f2d91a8a3d4f01341e2fb97b6d92954638fedb7293be7a013627552ab"}},{"ruleId":"D1","level":"warning","message":{"text":"device_credentials._canonical_record (cyclomatic 26): device_credentials._canonical_record has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/multi_user/device_credentials.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4382efe9a10a61715690b4cb442cceef95b7c9816b92e6e91f4f15166fa361bd"}},{"ruleId":"D1","level":"warning","message":{"text":"model_access.redacted_model_access (cyclomatic 26): model_access.redacted_model_access has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/multi_user/model_access.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"187ce9bdc12a1c0656e6f4f9c1df4fd70768288ba097c013f905bd07a159a9d0"}},{"ruleId":"D1","level":"warning","message":{"text":"TelegramChannel.send_delta (cyclomatic 26): TelegramChannel.send_delta 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":"deeptutor/partners/channels/telegram.py"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"a355ce32ceb8c88a0095247dc403e8f330df5ddc645ee62e8a19b9f07d44d32b"}},{"ruleId":"D1","level":"warning","message":{"text":"WecomChannel._process_message (cyclomatic 26): WecomChannel._process_message 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":"deeptutor/partners/channels/wecom.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb164ef0d26b01bf1180c772bde3be08061dacd66262d7e6086908b02b0a1468"}},{"ruleId":"D1","level":"warning","message":{"text":"WeixinChannel._download_media_item (cyclomatic 26): WeixinChannel._download_media_item has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aea81034e223be73d026638e476b71915acd0d9972f2d3b178e663074bbdb9e"}},{"ruleId":"D1","level":"warning","message":{"text":"loop.run_agentic_loop (cyclomatic 26): loop.run_agentic_loop 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":"deeptutor/runtime/agentic/loop.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"955caf593303331555033f3ee07aef2b29215d430b98e9ce8daf2856edaa3fb9"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexModelCatalog._fetch (cyclomatic 26): CodexModelCatalog._fetch 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":"deeptutor/services/codex_auth/catalog.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f9b261e1017fc084959df44538e44661c114b1dcd84a9a9fd33c5d9ee061e0"}},{"ruleId":"D1","level":"warning","message":{"text":"launch_settings._normalize_language (cyclomatic 26): launch_settings._normalize_language has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/launch_settings.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6df5c8b19cbf394901b82ae574806739e40ae07a87b0d5ada1deae5d179b663"}},{"ruleId":"D1","level":"warning","message":{"text":"content_list.build_content_list (cyclomatic 26): content_list.build_content_list 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":"deeptutor/services/parsing/engines/docling/content_list.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dc5dc7d922e89f9aa7f1f96efe0ae032cb68b654ab1e229d0ca5a0d11593bc"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerManager._migrate_legacy_tutorbot (cyclomatic 26): PartnerManager._migrate_legacy_tutorbot 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":"deeptutor/services/partners/manager.py"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"494648b9fe7f23cd8e6e5e7912d7e4717514243e9a14fc1c72f56a634e27e015"}},{"ruleId":"D1","level":"warning","message":{"text":"artifact_attachments.artifact_attachments (cyclomatic 26): artifact_attachments.artifact_attachments 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":"deeptutor/services/session/artifact_attachments.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d180234936b35267e72cedc9a05fe02a8e8ae7669b07a7addd7c02c57816a49a"}},{"ruleId":"D1","level":"warning","message":{"text":"SQLiteSessionStore._question_bank_filters (cyclomatic 26): SQLiteSessionStore._question_bank_filters has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":4175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a07e702f7ef9b4c77f7820136f70720699eb0507e35a97cc5d6961aeabf8794"}},{"ruleId":"D1","level":"warning","message":{"text":"TurnLifecycle._coordinate_execution (cyclomatic 26): TurnLifecycle._coordinate_execution 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":"deeptutor/services/session/turns/lifecycle.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba269077f3fa4133145a7db7721313e00a4b304c6af56ac0059dcbe93869c75"}},{"ruleId":"D1","level":"warning","message":{"text":"KimiBackend._handle_event (cyclomatic 26): KimiBackend._handle_event 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":"deeptutor/services/subagent/kimi.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"113861a97384442236522a17d432ff28a4794f1a91d3d3bfdd3ff4a992252f82"}},{"ruleId":"D1","level":"warning","message":{"text":"data_migration._selected_artifact_files (cyclomatic 26): data_migration._selected_artifact_files 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":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"99608a565df5a04aea0a0242a0012ef56b4be7fb50ee92b827965255a84a911c"}},{"ruleId":"D1","level":"warning","message":{"text":"session_transfer.transfer_sessions (cyclomatic 26): session_transfer.transfer_sessions 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":"deeptutor/services/workspace/session_transfer.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fab9886079cbf44af7e66b4332aa8dda3488e23ed66df1cd50c2a8ac7ecfa1f"}},{"ruleId":"D1","level":"warning","message":{"text":"web_fetch.fetch_url_as_markdown (cyclomatic 26): web_fetch.fetch_url_as_markdown 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":"deeptutor/tools/web_fetch.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d8f75cb472d9cbfa94cfa635b74f92a60a57c352b7aac6989aa90fd573ad82"}},{"ruleId":"D1","level":"warning","message":{"text":"bibtex_converter._scan_entry (cyclomatic 26): bibtex_converter._scan_entry 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":"deeptutor/utils/bibtex_converter.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadde3536b59ba40bc84fd05daec5fdf9047001e87c85d77b845e9dc92ddb161"}},{"ruleId":"D1","level":"warning","message":{"text":"Modal.Modal (cyclomatic 26): Modal.Modal has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 6 function items inside it that branch (handleKeyDown, a function literal at line 84, handleBackdropMouseDown, \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":"web/components/common/Modal.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57a72a1d8a11bce4cc9fd06e08613df9fe04b9b646108bb045132ef3ec45596"}},{"ruleId":"D1","level":"warning","message":{"text":"ImaConnectionFields.ImaConnectionFields (cyclomatic 26): ImaConnectionFields.ImaConnectionFields has cyclomatic complexity 26 (threshold 15). Of this number, 25 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":"web/components/knowledge/ImaConnectionFields.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"698d679120b5122402e5da1d4db3ca2c887fd3af6db76fce092c11b3c93bf0f7"}},{"ruleId":"D1","level":"warning","message":{"text":"KbWebSourcesSection.WebSourceCard (cyclomatic 26): KbWebSourcesSection.WebSourceCard has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 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":"web/components/knowledge/KbWebSourcesSection.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e0c81eb6915fc4a6943ca20408acfcae6055bcefa69ca0d2bed915449484f3"}},{"ruleId":"D1","level":"warning","message":{"text":"useNotebookLibrary.useNotebookLibrary (cyclomatic 26): useNotebookLibrary.useNotebookLibrary has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 17 function literals inside it that branch (lines 82, 105, 153, \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":"web/components/notebook/useNotebookLibrary.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49d71cdbd005e7c2c893dd9b3425093b53fade192ed4bad31f7d56d0a6023b0"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingExtensionBar.ExtensionResult (cyclomatic 26): ReadingExtensionBar.ExtensionResult has cyclomatic complexity 26 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 5 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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88c1b2ae5a80e3bf83b3a7d001c321a23354aa2b8c79c3fed1ec59f5ce2a134"}},{"ruleId":"D1","level":"warning","message":{"text":"AddProviderPanel.AddProviderPanel (cyclomatic 26): AddProviderPanel.AddProviderPanel has cyclomatic complexity 26 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 13 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":"web/components/settings/AddProviderPanel.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f727851def1d51f3dac58b3423944cc5032a2dfda89c4a1da8bf2ee76caadcd5"}},{"ruleId":"D1","level":"warning","message":{"text":"ServicePreviewPanel.Preview::run (cyclomatic 26): ServicePreviewPanel.Preview::run 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. This shape REPEATS in the file: one other method here (ServicePreviewPanel.Preview) 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":"web/components/settings/ServicePreviewPanel.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9cc7bbd1edb4c0b7390aeb0f270eed1c0032da5946ca94afebcd7183699caa"}},{"ruleId":"D1","level":"warning","message":{"text":"MonthView.MonthWeek (cyclomatic 26): MonthView.MonthWeek 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 10 function literals inside it that branch (lines 338, 318, 398, \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":"web/features/calendar/components/MonthView.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"451953ef58bd2a516ef66d45d4b924efceb9e0e103aea75d5b8c16207ab97e7f"}},{"ruleId":"D1","level":"warning","message":{"text":"EngineDetail.LightRagServerForm (cyclomatic 26): EngineDetail.LightRagServerForm has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 10 belong to 4 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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4751fba2f875d1ab884f86ec1db44c3e507058ccad4d33557a67fee508698e"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeRetryManager.render_with_retries (cyclomatic 25): CodeRetryManager.render_with_retries 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":"deeptutor/agents/math_animator/retry_manager.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ed760564a5accc21ac6544b3d2450a4c82b01dc064bfe3f2e1e00af012f478"}},{"ruleId":"D1","level":"warning","message":{"text":"ResearchPipeline._parse_report_outline (cyclomatic 25): ResearchPipeline._parse_report_outline 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":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"01997a0be57b15e44a7f194585910f3f8c0f78b2abe3476b2a058fd28924a79e"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge.reindex_knowledge_base (cyclomatic 25): knowledge.reindex_knowledge_base 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":4168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cf74d27bdc8de175b013f7ab8705a58581c685f0b381ea8d1a15110549753e"}},{"ruleId":"D1","level":"warning","message":{"text":"question.websocket_mimic_generate (cyclomatic 25): question.websocket_mimic_generate has cyclomatic complexity 25 (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":"deeptutor/api/routers/question.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac1d7d910d27f4217d2cbabb0c6f0bc272e9b91fb255705bfe762a536b63872"}},{"ruleId":"D1","level":"warning","message":{"text":"spine_synthesizer._build_chapter_map (cyclomatic 25): spine_synthesizer._build_chapter_map has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/spine_synthesizer.py"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ee563143c2e2e327406e13a812cb3ef8b601180ef1423a33d3442620276a57"}},{"ruleId":"D1","level":"warning","message":{"text":"HandoffCapability._partner (cyclomatic 25): HandoffCapability._partner 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":"deeptutor/capabilities/handoff/capability.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f40b41868929ef4e5af0923683703db156e934b0702ca8455efbf9974f392f"}},{"ruleId":"D1","level":"warning","message":{"text":"SlackChannel._on_socket_request (cyclomatic 25): SlackChannel._on_socket_request has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/slack.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e50a07494af8e552dc97642709d6ae6115bd00bec0391b2c47fb17c20b1657"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginRegistry._installed_records (cyclomatic 25): PluginRegistry._installed_records 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":"deeptutor/plugins/registry.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db091d8b82abafc061f266e05bd85502ca603c007ff0f12c7bda46688c6a374"}},{"ruleId":"D1","level":"warning","message":{"text":"tool_dispatch._collect_outcome (cyclomatic 25): tool_dispatch._collect_outcome 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":"deeptutor/runtime/agentic/tool_dispatch.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"62349d1b352e6ccf324a9a99e4b8ff7c60cbc192cf245a40c2b78986d11b7946"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_runtime._choose_resolved_provider (cyclomatic 25): provider_runtime._choose_resolved_provider 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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"51345618386a4034cc915cff331b7aa292cc2bb426c74c2b788489bab67a0575"}},{"ruleId":"D1","level":"warning","message":{"text":"CohereEmbeddingAdapter.embed (cyclomatic 25): CohereEmbeddingAdapter.embed 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":"deeptutor/services/embedding/adapters/cohere.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"54dc21110b5e527a6ba7e2820cbe5c0122a0d204b5454fd7acd6bf258e4af6e2"}},{"ruleId":"D1","level":"warning","message":{"text":"factory.stream (cyclomatic 25): factory.stream 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":"deeptutor/services/llm/factory.py"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9c72113590bc593f12f2ba797b7ef6745bec3fe2fb6da8fdadb9d3cc91f25a"}},{"ruleId":"D1","level":"warning","message":{"text":"_turn_runtime_shared._request_snapshot_metadata (cyclomatic 25): _turn_runtime_shared._request_snapshot_metadata 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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d18eeb68818b79cfad8afe61d9f8ccdeb01783ea0c7a569302928a65e852e9a"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexBackend._handle_event (cyclomatic 25): CodexBackend._handle_event 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":"deeptutor/services/subagent/codex.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c15422498979e71f4fc0f64ae7ed8ec0341601d9c770c21e42d9c8e2984ea56"}},{"ruleId":"D1","level":"warning","message":{"text":"HermesRemoteEventMapper.handle (cyclomatic 25): HermesRemoteEventMapper.handle 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":"deeptutor/services/subagent/hermes_remote_events.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d1145cb7839fc69badac8f5ac75ecdee9d7f8c48d29a27dcc8ef190e7c0ba2"}},{"ruleId":"D1","level":"warning","message":{"text":"VolcengineTTSAdapter.synthesize (cyclomatic 25): VolcengineTTSAdapter.synthesize 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":"deeptutor/services/voice/adapters/volcengine.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cb0c14c558dbe9952295ec2e0965ae6379290b62d4119de06783e1c215cbe7"}},{"ruleId":"D1","level":"warning","message":{"text":"speech_text.verbalize_latex_for_speech (cyclomatic 25): speech_text.verbalize_latex_for_speech 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":"deeptutor/services/voice/speech_text.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"d826f5288694340e6b251809879276fa9db6eee1f443beb2fc6c0357c97de35d"}},{"ruleId":"D1","level":"warning","message":{"text":"document_images._render_omml (cyclomatic 25): document_images._render_omml 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":"deeptutor/utils/document_images.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a948b75e215e45eff30d621dade76a2da8935557f092854b11c16875ac11f8"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextBudgetChip.ContextBudgetChip (cyclomatic 25): ContextBudgetChip.ContextBudgetChip 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, 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":"web/components/chat/home/ContextBudgetChip.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd69dbc0db20cf1f19b7b94c9db6e6a2a58fed619acb990f947481d5a64fc537"}},{"ruleId":"D1","level":"warning","message":{"text":"KbMarginNoteDevicesSection.KbMarginNoteDevicesSection (cyclomatic 25): KbMarginNoteDevicesSection.KbMarginNoteDevicesSection has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 222, handlePair, handleRevoke, \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":"web/components/knowledge/KbMarginNoteDevicesSection.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1d820d1b656621cc58ccf432c70490e3eb99a8a120852393c51849c3618d90"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningDashboard.LearningDashboard (cyclomatic 25): LearningDashboard.LearningDashboard has cyclomatic complexity 25 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 7 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":"web/components/learning/LearningDashboard.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a80466aeccca7f2dbd9a33c9b961e20ce375c6a99c3ea2c6ae33f6841f522a0"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerModelSelect.PartnerModelSelect (cyclomatic 25): PartnerModelSelect.PartnerModelSelect has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerModelSelect.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6659b789f56daf45077bbbd0506799864a895c898abbec23e0f535e0e8081b1e"}},{"ruleId":"D1","level":"warning","message":{"text":"MaterialLibrary.MaterialRow (cyclomatic 25): MaterialLibrary.MaterialRow has cyclomatic complexity 25 (threshold 15). Of this number, 23 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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d4e6d52e1daea97ca2b81febdaa97b88b9920c75ad3501da8a2fd53617f491"}},{"ruleId":"D1","level":"warning","message":{"text":"DimensionField.DimensionField (cyclomatic 25): DimensionField.DimensionField has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 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":"web/components/settings/DimensionField.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2982294ffb04e20f746bacd0cbd075870a941f4f5d602d19e053f5d988ef7478"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerRoster.PartnerRoster (cyclomatic 25): PartnerRoster.PartnerRoster has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 11 function items inside it that branch (a function literal at line 34, a function literal at line 63, 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":"web/components/sidebar/PartnerRoster.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0612a50775c01811efa938d14d1b2163f1fae72ca3ab09b4fe851b8ef3f2668"}},{"ruleId":"D1","level":"warning","message":{"text":"ImportWizard.ImportWizard (cyclomatic 25): ImportWizard.ImportWizard has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 160, 93, 114, \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":"web/components/space/ImportWizard.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cd05c323fbc7f27609203fd9f8d28c0ae90a6c4f1831482aacc173271ba99b"}},{"ruleId":"D1","level":"warning","message":{"text":"ObjectiveDetail.ObjectiveDetail (cyclomatic 25): ObjectiveDetail.ObjectiveDetail has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 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":"web/components/space/learning/ObjectiveDetail.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bc0e5e86693bb89f696f3f3265175483939d0413205c64e54602b4a82164f1"}},{"ruleId":"D1","level":"warning","message":{"text":"CategoryMenu.CategoryMenu (cyclomatic 25): CategoryMenu.CategoryMenu has cyclomatic complexity 25 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 11 belong to 9 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":"web/components/space/question-bank/CategoryMenu.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5685f4ccd69254840e2c18abb69556973c27fd10482572f377d36c2c0f15a77"}},{"ruleId":"D1","level":"warning","message":{"text":"QuestionBankSection.QuestionBankSection (cyclomatic 25): QuestionBankSection.QuestionBankSection has cyclomatic complexity 25 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 6 belong to 5 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":"web/components/space/question-bank/QuestionBankSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a7a29872aa6a977d8a19a7bdcf070d840d800e5f766d1392665150375d23e5"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchivedChatsSettingsSection.ArchivedChatsSettingsSection (cyclomatic 25): ArchivedChatsSettingsSection.ArchivedChatsSettingsSection has cyclomatic complexity 25 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 12 belong to 8 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":"web/features/settings/sections/ArchivedChatsSettingsSection.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"860023d5f9092ba165aacbffec3e0b17fd7d617e1d07f6ba23995caf4cc47dd6"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageSettingsSection.UsageSettingsSection (cyclomatic 25): UsageSettingsSection.UsageSettingsSection has cyclomatic complexity 25 (threshold 15). Of this number, 15 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":"web/features/settings/sections/UsageSettingsSection.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bafb6bbba45a21d698d89264f276cd17c741999c7ccc7ba26b936057476ec7"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeAdapter.invoke (cyclomatic 24): NativeAdapter.invoke 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":"deeptutor/agents/loop/native_adapter.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"914978d2780e19f742b3b3533c879f0c8709f5baa3486f82b1b773a4ac452bad"}},{"ruleId":"D1","level":"warning","message":{"text":"QuestionPipeline._collect_quiz_issues (cyclomatic 24): QuestionPipeline._collect_quiz_issues 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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ed374fa1e076bf21cc153244512f355b6068954f7bebc740051e216188be4d"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryReviseTool.execute (cyclomatic 24): MasteryReviseTool.execute has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":3101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed683336f3a2bdb84c862ca7a313e72993e2762b49898d73bcbd2fd8217dc24"}},{"ruleId":"D1","level":"warning","message":{"text":"ProgressTracker.update (cyclomatic 24): ProgressTracker.update has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/progress_tracker.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c2b274a5521e963aa910815f33c8aa375ca459c8fd6518b6633a308beafad1"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningService._evaluate_question (cyclomatic 24): LearningService._evaluate_question 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":"deeptutor/learning/service.py"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0bf29f30328499e99c544e672852f45b4b533ea6fe7628056bc7fd96d343d6"}},{"ruleId":"D1","level":"warning","message":{"text":"MattermostChannel._handle_posted (cyclomatic 24): MattermostChannel._handle_posted has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/mattermost.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"29de49db0853551f41a674bec395a13f2a144a943da5fa935773c32c72011e7b"}},{"ruleId":"D1","level":"warning","message":{"text":"WhatsAppChannel._handle_bridge_message (cyclomatic 24): WhatsAppChannel._handle_bridge_message 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":"deeptutor/partners/channels/whatsapp.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c34a64cca4b02eeb74c27bc5e4757f0d16cf1680d7b064521daa61d36ea0dc2"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexOAuthService.public_status (cyclomatic 24): CodexOAuthService.public_status has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/codex_auth/service.py"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f61dbdd6db87b0e59528ba2c4b2dd5218b25381c096b137d0aa53c342480846"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeSettingsService._apply_system_process_overrides (cyclomatic 24): RuntimeSettingsService._apply_system_process_overrides has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/runtime_settings.py"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"d724a30520f148049b1ce1ddefbd4ddaceff087723ad4d621fd1a7105ba4c7ad"}},{"ruleId":"D1","level":"warning","message":{"text":"ops._validate (cyclomatic 24): ops._validate 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":"deeptutor/services/memory/ops.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4eb1ecadfa0a55732eedff1b98ac877a0c156f24ea59a1a0f1f75c8fe50bd1"}},{"ruleId":"D1","level":"warning","message":{"text":"PathService.resolve_public_output_path (cyclomatic 24): PathService.resolve_public_output_path has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/path_service.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6ea275780f07c9a2ad4ae5be83883b73a63846ec4f53bcd6078720eec4c2fb"}},{"ruleId":"D1","level":"warning","message":{"text":"client.parse_catalog_xml (cyclomatic 24): client.parse_catalog_xml 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":"deeptutor/services/rag/pipelines/kiwix/client.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbcb8670115b105c14ee15807e92bad68d00cfcbb562e722c9e8f4b80208e83"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaIndexDocumentLoader.load (cyclomatic 24): LlamaIndexDocumentLoader.load 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":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ad067c07c6868950c6594fbff6abdf5598a585c43f5d585cb812aeaf52e8d2"}},{"ruleId":"D1","level":"warning","message":{"text":"model_history.replay_group (cyclomatic 24): model_history.replay_group 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":"deeptutor/services/session/model_history.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a538443aa839376adb579fa062f214e2c086fc0418ae6e9243d334e51574226d"}},{"ruleId":"D1","level":"warning","message":{"text":"SQLiteSessionStore._record_assessment_sync (cyclomatic 24): SQLiteSessionStore._record_assessment_sync 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":3637}}}],"partialFingerprints":{"codehealthFindingId/v1":"91eda314cb5979727d16aea0ea3e72b977a867985447cd03a5e573d4c84d0e07"}},{"ruleId":"D1","level":"warning","message":{"text":"claude_models._capture_model_screen (cyclomatic 24): claude_models._capture_model_screen 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":"deeptutor/services/subagent/claude_models.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ca05ae0586eef01d1a552ee14f7e7083bb24b8cbb8ecf5a44becd0f5652b37"}},{"ruleId":"D1","level":"warning","message":{"text":"MiniMaxTTSAdapter.synthesize (cyclomatic 24): MiniMaxTTSAdapter.synthesize has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/adapters/minimax.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd2559934f770fca6556edd5a0469053c17173378096103cf395deb75419669"}},{"ruleId":"D1","level":"warning","message":{"text":"folders.browse_folders (cyclomatic 24): folders.browse_folders 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":"deeptutor/services/workspace/folders.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d18678a34db3ecff854b63c46dd7fdae361e93bb229f2c75062707328848810"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.workspaceTool (cyclomatic 24): workspace.workspaceTool 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":"packages/chat-engine/src/tools/workspace.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b937b860d0fcc110bedf2d042992b76bd785a688b7f04249f8613c108f38053"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimationBlock.AnimationBlock (cyclomatic 24): AnimationBlock.AnimationBlock has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/blocks/AnimationBlock.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c93a582519c6031a8aefe2193c50e2a5d74ddfc83ae23832b2f0236329e402"}},{"ruleId":"D1","level":"warning","message":{"text":"Geogebra.Geogebra (cyclomatic 24): Geogebra.Geogebra 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 157, 124, 204). 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":"web/components/Geogebra.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65aa057924783a3a774b6dd72f9e0e2d554331eaf6ab768377d4b413f84228c"}},{"ruleId":"D1","level":"warning","message":{"text":"AnswerModeMenu.AnswerList (cyclomatic 24): AnswerModeMenu.AnswerList has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 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":"web/components/chat/home/AnswerModeMenu.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1969b84b2f88cf7ef28eb2175c5b4a19b72dd4d00c2262a8c17a9f5eb46c03e3"}},{"ruleId":"D1","level":"warning","message":{"text":"CliAppsSection.EntryDetail (cyclomatic 24): CliAppsSection.EntryDetail has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0831b080b0f5a4c2d2a13c10742b347cf4d1a6c4e335dc8ceded9d703bef54"}},{"ruleId":"D1","level":"warning","message":{"text":"PageCustomizeDialog.PageCustomizeDialog (cyclomatic 24): PageCustomizeDialog.PageCustomizeDialog has cyclomatic complexity 24 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 7 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":"web/components/customization/PageCustomizeDialog.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd38df053ba46f1f5e3068c07fd52cd0aafc69a25914995d54857c512f86f22"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateKbModal.LinkModeFields (cyclomatic 24): CreateKbModal.LinkModeFields has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"2014479cf8470574c5fe88dc419caf58b82f9eb7d012afe75cb69437ba2dd4b4"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryGraph.MemoryGraph (cyclomatic 24): MemoryGraph.MemoryGraph has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 8 of the 24 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 108, 165, 189, \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":"web/components/memory/MemoryGraph.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49e09d9c2d313231bf0c02401907d496b0a634134e6bb976ffad19441f56eb0"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerSeat.PartnerSeat (cyclomatic 24): PartnerSeat.PartnerSeat has cyclomatic complexity 24 (threshold 15). Of this number, 23 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":"web/components/partners/group/PartnerSeat.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"24690899b628200138ec6234f21d48b63c43acc3ddbb0213727abd1a19c079ef"}},{"ruleId":"D1","level":"warning","message":{"text":"QuizConfigPanel.TypeMultiSelect (cyclomatic 24): QuizConfigPanel.TypeMultiSelect has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 7 of the 24 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 403, a function literal at line 452, toggle, \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":"web/components/quiz/QuizConfigPanel.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca47aacde3ba3b66ce6c93ee5d345929a65903b0610dbed24a0cb117708ffdaf"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionsEditor.AddConnectionPanel (cyclomatic 24): ConnectionsEditor.AddConnectionPanel has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 4 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":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"a449fa6b08f7be0d36f51c98bc10cd5a9d0ae8956f27f6ab4ece75d2c97c56ab"}},{"ruleId":"D1","level":"warning","message":{"text":"VoiceDiscoveryField.VoiceLookup (cyclomatic 24): VoiceDiscoveryField.VoiceLookup has cyclomatic complexity 24 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/VoiceDiscoveryField.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d03fc4c7e8a8dd15305c53d4c9aa62914f1444e375b953bee595046feae07b2"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsReadinessPanel.SettingsReadinessPanel (cyclomatic 24): SettingsReadinessPanel.SettingsReadinessPanel has cyclomatic complexity 24 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/SettingsReadinessPanel.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"083f475eafc941e7b40fb4c8d5ca01d0aee44a71114e9b54adf23011ed511c88"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsTourOverlay.SettingsTourOverlay (cyclomatic 24): SettingsTourOverlay.SettingsTourOverlay has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 112, 70, 65, \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":"web/components/settings/SettingsTourOverlay.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e68b8eddce41ba445c10e7389638be5ffa7c946896d30b9ae622c4e385f22f7"}},{"ruleId":"D1","level":"warning","message":{"text":"RouteDraftEditor.RouteDraftEditor (cyclomatic 24): RouteDraftEditor.RouteDraftEditor has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 8 of the 24 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 137, 197, 88, \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":"web/components/space/learning/RouteDraftEditor.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf66b821bd74022ba3a158e0538aa3e647253302fa61a653be9c8235f70ee1a"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerFolderPicker.ServerFolderPicker (cyclomatic 24): ServerFolderPicker.ServerFolderPicker has cyclomatic complexity 24 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 9 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":"web/components/workspaces/ServerFolderPicker.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6fb3a737213ada07acb8fb75e0c6e0318ffca00166044241412ea3f9205d27"}},{"ruleId":"D1","level":"warning","message":{"text":"TracePresentation.getDeepResearchStatusLabel (cyclomatic 24): TracePresentation.getDeepResearchStatusLabel 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b11183ee88a816f56698b771b3d2eef4d281103fe5963f10a4fd52dcdea395c"}},{"ruleId":"D1","level":"warning","message":{"text":"reading-selection.selectionTextWithoutLineNumbers (cyclomatic 24): reading-selection.selectionTextWithoutLineNumbers has cyclomatic complexity 24 (threshold 15). Of this number, 23 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":"web/lib/reading-selection.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75a9e0ba37889c23533879fb9c89cb50bdec75a9d167f77eefc951eb0e07f8b"}},{"ruleId":"D1","level":"warning","message":{"text":"turn-reconcile.reconcileTurnIds (cyclomatic 24): turn-reconcile.reconcileTurnIds 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":"web/lib/turn-reconcile.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb9bd00a1a6897fc0fb2f9f34fc088b44ba5b298c2c3937f0307d79b8d744cc"}},{"ruleId":"D1","level":"warning","message":{"text":"i18n_audit.reportUntranslatedKeys (cyclomatic 24): i18n_audit.reportUntranslatedKeys 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":"web/scripts/i18n_audit.mjs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30d5c8f3e3b8f3e98ef9245337ba6a37c7da859300d0a43c38c41767ec06554"}},{"ruleId":"D1","level":"warning","message":{"text":"LoopPromptAssembler.blocks (cyclomatic 23): LoopPromptAssembler.blocks 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":"deeptutor/agents/loop/prompt_blocks.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b0c62e23166b17d56547c27761287869115a1d753f829f43d1e73aceab4319"}},{"ruleId":"D1","level":"warning","message":{"text":"QuestionPipeline._render_exploration_trace (cyclomatic 23): QuestionPipeline._render_exploration_trace 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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a39652ba7b7e7553078c2d5b06c96b6e0d3b2ef3e19137e4c1331adcb4956db"}},{"ruleId":"D1","level":"warning","message":{"text":"ResearchPipeline.__init__ (cyclomatic 23): ResearchPipeline.__init__ has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46d4ba6326267523c3b5379649f4ca3581158c7ae8f7c4375ea6bd3bf0bf5ba"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeGeneratorAgent.process (cyclomatic 23): CodeGeneratorAgent.process 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":"deeptutor/agents/visualize/agents/code_generator_agent.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d32de218f2b402b05fe956e787eb954ee3d85641cc0b50a9b55b70425689481"}},{"ruleId":"D1","level":"warning","message":{"text":"spine_synthesizer._ensure_full_coverage (cyclomatic 23): spine_synthesizer._ensure_full_coverage 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":"deeptutor/book/agents/spine_synthesizer.py"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"49821915fe2c0e68f2ab487179cef607f0c5487012afc7a0b8a9f660c2fb165e"}},{"ruleId":"D1","level":"warning","message":{"text":"SectionGenerator._generate (cyclomatic 23): SectionGenerator._generate has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/section.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c907197315011954c74ae575afb1906b0f5b76f177cfd291b082826cc8a31f8"}},{"ruleId":"D1","level":"warning","message":{"text":"choices.recover_options_from_turn (cyclomatic 23): choices.recover_options_from_turn 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":"deeptutor/capabilities/mastery/choices.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f55176765341d8cac97b9433a44120c2d7262441948c70f584fc3283c2d64f7"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryGradeTool._grade_group (cyclomatic 23): MasteryGradeTool._grade_group 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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c70b3a3f842cc6cbedeee75d1db6430b08728712e2a85fe6d9c4e479be110b4"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningService.replace_modules (cyclomatic 23): LearningService.replace_modules 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":"deeptutor/learning/service.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a91c33e21fcbe287d8dd739a7cdb6ee3bbd0b043db6fc38dc938dff6891aba"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningService.repair_question_semantic (cyclomatic 23): LearningService.repair_question_semantic 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":"deeptutor/learning/service.py"},"region":{"startLine":3316}}}],"partialFingerprints":{"codehealthFindingId/v1":"11252420fa618e124080179077096af6df0c1073deffdfbc8423b2e276961f46"}},{"ruleId":"D1","level":"warning","message":{"text":"launcher._terminate_all (cyclomatic 23): launcher._terminate_all has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/launcher.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fa0cb16cf23b024fdaef9ccc557d6d6b4f3d37544b2394e759b64471db5dd0"}},{"ruleId":"D1","level":"warning","message":{"text":"multimodal._inject_images (cyclomatic 23): multimodal._inject_images 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":"deeptutor/services/llm/multimodal.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5afb84da013b2733592f3d54aaff309e922335c41c65420ccf7d6cfea4f526"}},{"ruleId":"D1","level":"warning","message":{"text":"adapters.read_notebook_entities (cyclomatic 23): adapters.read_notebook_entities 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":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"533853ef2afec466597c44c94182b25613bf78460d4824f5610639fa917066db"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerManager.list_partners (cyclomatic 23): PartnerManager.list_partners 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":"deeptutor/services/partners/manager.py"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"683332650bdabc93d57a27b39df243e6e3c8d2c84e3aaa211c8d44203bc805fa"}},{"ruleId":"D1","level":"warning","message":{"text":"LightRagPipeline._reconcile (cyclomatic 23): LightRagPipeline._reconcile 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":"deeptutor/services/rag/pipelines/lightrag/pipeline.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"611d0120bca5fcfb33cf4c580c844bf56f07a907511d2329159d191384bcd1d9"}},{"ruleId":"D1","level":"warning","message":{"text":"visual_assets._block_details (cyclomatic 23): visual_assets._block_details 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":"deeptutor/services/rag/visual_assets.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0a6e1f8acefc15bb58e3a2b690a6fa00d509474d15d2f9a429f25581223364"}},{"ruleId":"D1","level":"warning","message":{"text":"visual_coverage.record_coverage (cyclomatic 23): visual_coverage.record_coverage 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":"deeptutor/services/rag/visual_coverage.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31c11df7b834ecc598d048b39093a195001d75760934c876f5d2d8d0dca3284"}},{"ruleId":"D1","level":"warning","message":{"text":"usage_statistics.aggregate_usage (cyclomatic 23): usage_statistics.aggregate_usage 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":"deeptutor/services/session/usage_statistics.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbbbf050aa65e38ca9f0bd95729070a45d8a121a54d1498105b2083bcd1691f"}},{"ruleId":"D1","level":"warning","message":{"text":"acp._handle_update (cyclomatic 23): acp._handle_update 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":"deeptutor/services/subagent/acp.py"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f744030584597117d507f0a5940f5d5560ab741025cacb86f3f1b0197107f6"}},{"ruleId":"D1","level":"warning","message":{"text":"OpencodeFamilyBackend._handle_bus_event (cyclomatic 23): OpencodeFamilyBackend._handle_bus_event 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":"deeptutor/services/subagent/opencode_family.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8c0a9e049d678f01458ef755ddc0c5b9c45c3065a3b1f6b384b23c7f15512c"}},{"ruleId":"D1","level":"warning","message":{"text":"init_wizard.fetch_embedding_models (cyclomatic 23): init_wizard.fetch_embedding_models 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":"deeptutor_cli/init_wizard.py"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab17c84b65dbd35f41c3240b5e0f9974a35531544cd4dd84deb650c1ea2674a0"}},{"ruleId":"D1","level":"warning","message":{"text":"page.NewPartnerGroupPage (cyclomatic 23): page.NewPartnerGroupPage has cyclomatic complexity 23 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 9 belong to 4 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":"web/app/(workspace)/partners/groups/new/page.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f77af2f95f246d1ed1bd4305d4719d1f791d2a3032603d5668d82c61740e19"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectKiwixModal.ConnectKiwixModal (cyclomatic 23): ConnectKiwixModal.ConnectKiwixModal has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 6 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":"web/components/knowledge/ConnectKiwixModal.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0119d26d32bb5b59863b0991cbe3e549780a3a5c4a817a8300f7fef767c975ff"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateKbModal.NewModeFields (cyclomatic 23): CreateKbModal.NewModeFields has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 7 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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fc82fb84a058ab8fa3e08e822f518530c62259ae5da7cd7e856e5fa08a161b"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerArchives.conversationPreview (cyclomatic 23): PartnerArchives.conversationPreview has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (tableCells, a function literal at line 84, a function literal at line 123). 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":"web/components/partners/PartnerArchives.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a7f413aad64d3c544b54307f6db438e1b12d78b38a26019dcc83e52b3b2f09"}},{"ruleId":"D1","level":"warning","message":{"text":"MaterialLibrary.MaterialLibraryPage (cyclomatic 23): MaterialLibrary.MaterialLibraryPage has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 129, 80, 115, \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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4911a05315620474381463c1031de092e8c20fdba8114e8a189db9a227fad6"}},{"ruleId":"D1","level":"warning","message":{"text":"TopicWizardSteps.SourcesStep (cyclomatic 23): TopicWizardSteps.SourcesStep has cyclomatic complexity 23 (threshold 15). Of this number, 13 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":"web/components/space/learning/TopicWizardSteps.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"17efc2e17614c2c9583c6d3c3761a1536ad8cbf4b957bb66da31e3e144a1a403"}},{"ruleId":"D1","level":"warning","message":{"text":"LevelUpCelebration.LevelUpCelebration (cyclomatic 23): LevelUpCelebration.LevelUpCelebration has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 224, 154, 231). 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":"web/components/space/learning/LevelUpCelebration.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acd5b7db1e4d41d862d2629badcdc42a8677f94b22c06cac6160354bb352880"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteInlineReviews.NoteInlineReviews (cyclomatic 23): NoteInlineReviews.NoteInlineReviews has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 112, 62, 53, \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":"web/features/notes/components/NoteInlineReviews.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c15e879bdaa786c079bc33d4fa3afa5cece667cc1dfc037cf79a564e9a085dd"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteInsertMenu.NoteInsertMenu (cyclomatic 23): NoteInsertMenu.NoteInsertMenu has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 98, 46, 58, \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":"web/features/notes/components/NoteInsertMenu.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aaee27c9656eb3bffb1374d39aab662d4b81a42f6f9e375d04eaa4b6ec91c46"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteThreadMarkers.NoteThreadMarkers (cyclomatic 23): NoteThreadMarkers.NoteThreadMarkers has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 74, 120, 72, \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":"web/features/notes/components/NoteThreadMarkers.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a7a4ce7572c277054b7a93512686854c2b2a29558f09a6de19443dcb5ff60d"}},{"ruleId":"D1","level":"warning","message":{"text":"useKnowledgeProgress.useKnowledgeProgress.openTaskStream (cyclomatic 23): useKnowledgeProgress.useKnowledgeProgress.openTaskStream has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 306, 313, 331, \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":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"85374337cab8dbaac48a43686cdc222d2eb192f94c8e5c640d299120d4770c3b"}},{"ruleId":"D1","level":"warning","message":{"text":"useTopicSourceLibrary.useTopicSourceLibrary (cyclomatic 23): useTopicSourceLibrary.useTopicSourceLibrary has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 215, 271, 198, \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":"web/hooks/useTopicSourceLibrary.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31578ff51606207ca7abc2b8da217e43310a004d5e92a01be4f4c3afe0017ea"}},{"ruleId":"D1","level":"warning","message":{"text":"latex-normalize.scanFragmentEnd (cyclomatic 23): latex-normalize.scanFragmentEnd 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":"web/lib/latex-normalize.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"207e82b7b918e84c20240cc9333fa2de162fa45e74c6d3d24ac6ef76b90b69d2"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-registry.stageRegistryAction (cyclomatic 23): provider-registry.stageRegistryAction has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/provider-registry.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"4987edef9613b95ed718a56b8d5140dd1be0d125a4894bcf70e5d8f61e4a1f83"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialog.Dialog (cyclomatic 23): Dialog.Dialog has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (handleKeyDown, a function literal at line 81, handleBackdrop, \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":"web/shared/ui/Dialog.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"77431807b31b86487b08b25da1b185637100fdea4b0059d77f54dd28b4d7e35c"}},{"ruleId":"D1","level":"warning","message":{"text":"auth.admin_import_users (cyclomatic 22): auth.admin_import_users has cyclomatic complexity 22 (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":"deeptutor/api/routers/auth.py"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03db6a82ca45695e5937a9328ab26370d1ef66ed716cc33746487eca35b4425"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimationGenerator._generate (cyclomatic 22): AnimationGenerator._generate 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":"deeptutor/book/blocks/animation.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"77445a4155f1e3eadef394779537b0f9e613f0de7c326b5f6038d7a70d125421"}},{"ruleId":"D1","level":"warning","message":{"text":"history.reference_history_reads (cyclomatic 22): history.reference_history_reads 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":"deeptutor/capabilities/mastery/history.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e494b3ad78b85b31a7d37ac31fc63349c205149859e22f561eae6a87484c689"}},{"ruleId":"D1","level":"warning","message":{"text":"history.share_mastery_history (cyclomatic 22): history.share_mastery_history 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":"deeptutor/capabilities/mastery/history.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"486c3b59ed90e3bc7463d20e197147f3dc2553662cae5d91ddeb2b6506ae2b6c"}},{"ruleId":"D1","level":"warning","message":{"text":"generation.propose_generated_block (cyclomatic 22): generation.propose_generated_block 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":"deeptutor/capabilities/notes/generation.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e74fc5650537a3ed0e2f0436c8cbb3958a4441967db3a4903b89e11a570ded"}},{"ruleId":"D1","level":"warning","message":{"text":"InvokeOtherTool.execute (cyclomatic 22): InvokeOtherTool.execute 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":"deeptutor/capabilities/partner_group/tools.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd3f7c43de338b37c71b494d3357ca885fae868e64e7c9985ee38c25847b612"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsultSubagentTool.execute (cyclomatic 22): ConsultSubagentTool.execute 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":"deeptutor/capabilities/subagent/tools.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a4b36a632f2d2dfb7386979b8e03f073940ef2a9e4d83a18e148b3f221fef8"}},{"ruleId":"D1","level":"warning","message":{"text":"proposals.propose (cyclomatic 22): proposals.propose 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":"deeptutor/notes/proposals.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe009cbec1d085943ecfada640769f65eb5de357bc7a8ec9c8b045699983606"}},{"ruleId":"D1","level":"warning","message":{"text":"proposals.review (cyclomatic 22): proposals.review 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":"deeptutor/notes/proposals.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f6f565ed2b87f95c71d305de4ab5f4b712226452d6d48fd86ddf3faa51bd29"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscordChannel.send_delta (cyclomatic 22): DiscordChannel.send_delta 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":"deeptutor/partners/channels/discord.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d9e1c55a0d99c61c349228bd02c5ca3f3ffde5df794170d79ff19a5b91758c"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscordChannel._handle_message_create (cyclomatic 22): DiscordChannel._handle_message_create 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":"deeptutor/partners/channels/discord.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"95edae75006d81e56ca5f7f8c9ae272f12a36c5766f3dbafc88908720053e101"}},{"ruleId":"D1","level":"warning","message":{"text":"MaterialManifest.from_dict (cyclomatic 22): MaterialManifest.from_dict 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":"deeptutor/reading/models.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e7d7e8fa29fb6f776e32a05bdd7ceafb6874157584674ddd9c6b4af1bf4726"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingStore._reanchor_annotations (cyclomatic 22): ReadingStore._reanchor_annotations 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":"deeptutor/reading/store.py"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efdcf461af61ce9b215e6b942473c8bfd4628859d53be1f283fa6e4edfc5882"}},{"ruleId":"D1","level":"warning","message":{"text":"tool_call_stream._reject_ambiguous_arguments (cyclomatic 22): tool_call_stream._reject_ambiguous_arguments 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":"deeptutor/runtime/agentic/tool_call_stream.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6853133bed024b166bb6bab24f245e5af52b9a63414107b01541d91d52c18f2e"}},{"ruleId":"D1","level":"warning","message":{"text":"recurrence.parse_rule (cyclomatic 22): recurrence.parse_rule 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":"deeptutor/services/calendar/recurrence.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe757b262f2118889d0deb9e7b4a9fe02213d2f13e579118cbd02923d86c3508"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_runtime._resolve_embedding_provider (cyclomatic 22): provider_runtime._resolve_embedding_provider 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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6551a43dca8ae8a4491635914dd2e9248a18822d2b4311906598cb685047d7"}},{"ruleId":"D1","level":"warning","message":{"text":"converters.convert_messages (cyclomatic 22): converters.convert_messages 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":"deeptutor/services/llm/provider_core/openai_responses/converters.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d82d9d01e70d665b4c8f9b8e1616b0f8a38aad7d8e9e684cde7373ec9fd7234"}},{"ruleId":"D1","level":"warning","message":{"text":"LightRagPipeline._add_documents_owned (cyclomatic 22): LightRagPipeline._add_documents_owned 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":"deeptutor/services/rag/pipelines/lightrag/pipeline.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"d194ddb30b96003045f5b711f61a6ad11a8fda71f7dae182341ac0cbdd23d4a8"}},{"ruleId":"D1","level":"warning","message":{"text":"PerplexityProvider.search (cyclomatic 22): PerplexityProvider.search 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":"deeptutor/services/search/providers/perplexity.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b837c7f794d1a6bad0b15b57b8216ecc62e4b88b5ce142904832d005eec0d7fc"}},{"ruleId":"D1","level":"warning","message":{"text":"QianfanProvider.search (cyclomatic 22): QianfanProvider.search 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":"deeptutor/services/search/providers/qianfan.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"de62cb29a1c4ae76e34ca3f5da119ee4cd440a862c51602f5b760dc0e1a285d2"}},{"ruleId":"D1","level":"warning","message":{"text":"source_filter._rejection_reason (cyclomatic 22): source_filter._rejection_reason 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":"deeptutor/services/search/source_filter.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73786486a69bdfd3d001dbf166cc3e94383ba3d477c7c89db04ccb49a851fa0"}},{"ruleId":"D1","level":"warning","message":{"text":"SQLiteSessionStore._replace_submission_sync (cyclomatic 22): SQLiteSessionStore._replace_submission_sync 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"95985d5d3ef1ee98bec55a592c818e9e49f79c6db535f414468e3453762b463c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex._render_item (cyclomatic 22): codex._render_item 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":"deeptutor/services/subagent/codex.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"5398afcc2a9d7ccb74771f5a903bd810b27386f1bf45ef474442e230760c2e17"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerGroupBackend.consult (cyclomatic 22): PartnerGroupBackend.consult 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":"deeptutor/services/subagent/partner_group.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"41026f1a4b50c9413f24d7c722588b9d40689beafd459504bd1660460da6fb47"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiTTSAdapter.synthesize (cyclomatic 22): GeminiTTSAdapter.synthesize 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":"deeptutor/services/voice/adapters/gemini.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2520c1c2dbc718a16e9378bd6d9745cfad0ff734b6da9e0551b0597c5c03cf20"}},{"ruleId":"D1","level":"warning","message":{"text":"write_note._do_append (cyclomatic 22): write_note._do_append 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":"deeptutor/tools/write_note.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"449209d279662cd0232e4ab6167325a016932a7f9f877c4aede511fee54e3c82"}},{"ruleId":"D1","level":"warning","message":{"text":"write_note._do_edit (cyclomatic 22): write_note._do_edit 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":"deeptutor/tools/write_note.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7ecf652d9f53f7444706282d0e4b749c8cb6500c5e3949f03cb11d71480268"}},{"ruleId":"D1","level":"warning","message":{"text":"document_extractor.extract_documents_from_records (cyclomatic 22): document_extractor.extract_documents_from_records 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":"deeptutor/utils/document_extractor.py"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f26211305a217e958abce35ead6e6967ae2110d49b2e82848e242093f00ba3b"}},{"ruleId":"D1","level":"warning","message":{"text":"document_images.extract_pdf_images (cyclomatic 22): document_images.extract_pdf_images has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/document_images.py"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"6151ceaf8d1a1e160eb478f4521b02eeddba302d1b0193aa0d673cda95d655e2"}},{"ruleId":"D1","level":"warning","message":{"text":"json_parser.parse_json_response (cyclomatic 22): json_parser.parse_json_response 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":"deeptutor/utils/json_parser.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca3135601282385ed9edbd731e8217130b1d0b27a02392083289eb07b73e10d"}},{"ruleId":"D1","level":"warning","message":{"text":"builtin._geogebra_validator (cyclomatic 22): builtin._geogebra_validator 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":"deeptutor/visualizers/builtin.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acea40960846ffc6e3a9391c85de4b3633a293355691c583db41af8283bb12a"}},{"ruleId":"D1","level":"warning","message":{"text":"chat._chat_repl (cyclomatic 22): chat._chat_repl 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":"deeptutor_cli/chat.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded5e8861fe7b3c461c392ecc92b81eba3e8a854dc8ac2e49db61fee1595df70"}},{"ruleId":"D1","level":"warning","message":{"text":"Conversation.project (cyclomatic 22): Conversation.project has cyclomatic complexity 22 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own 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/chat-engine/src/context/conversation.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f8decf3ea883ec751f8b820459af603876c8ddc01ac90e3f970c07445b5539"}},{"ruleId":"D1","level":"warning","message":{"text":"sse.sse (cyclomatic 22): sse.sse has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/chat-engine/src/providers/sse.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcf114e797330286692cfc01c702cc0c51212ef7f9f88a9c436a694ddd800bd"}},{"ruleId":"D1","level":"warning","message":{"text":"history.planHistory (cyclomatic 22): history.planHistory has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 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":"packages/chat-engine/src/context/history.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf4ab93832e305406a846e492216f23d13a62a8ed774ee5f03ef0b2fa07752d"}},{"ruleId":"D1","level":"warning","message":{"text":"AskUserOptions.normaliseAskUserPayload (cyclomatic 22): AskUserOptions.normaliseAskUserPayload 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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffe89a51d04bd6dd5289ddb109d849c22905b6987bddddafe2c7fbf534ccc1a"}},{"ruleId":"D1","level":"warning","message":{"text":"previewerFor.previewKindFor (cyclomatic 22): previewerFor.previewKindFor 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":"web/components/chat/preview/previewerFor.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"282189299278d2e4ba70c6569f0390553a75b16b99280814d7f66f9923223ac2"}},{"ruleId":"D1","level":"warning","message":{"text":"KbGitHubSourcesSection.KbGitHubSourcesSection (cyclomatic 22): KbGitHubSourcesSection.KbGitHubSourcesSection has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 4 function items inside it that branch (handleAdd, handleSync, a function literal at line 38, \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":"web/components/knowledge/KbGitHubSourcesSection.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d692832cf633aa7b3b2463f85ca7d01d60a70f857417cc786983f7473078213"}},{"ruleId":"D1","level":"warning","message":{"text":"useGroupSession.useGroupSession.handleFrame (cyclomatic 22): useGroupSession.useGroupSession.handleFrame has cyclomatic complexity 22 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 8 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/group/useGroupSession.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3482547cf872317045eb44c9fd43cdfb4f68e10d1a6a5f57758f97c03a5fad9d"}},{"ruleId":"D1","level":"warning","message":{"text":"PdfImageZoomOverlay.PdfImageZoomOverlay (cyclomatic 22): PdfImageZoomOverlay.PdfImageZoomOverlay has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 139, 330, 310, \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":"web/components/reading/PdfImageZoomOverlay.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f93cd79f6ef9bf7248ba07125cb9c7794d266cc6e6270d6ce702169362dcbc9"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingActionsProvider.ReadingActionsProvider (cyclomatic 22): ReadingActionsProvider.ReadingActionsProvider has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 145, 77, 124, \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":"web/components/reading/ReadingActionsProvider.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b761447863a8ed6811225875c4cb21703b7e5934f94a251653afee78e423281"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionsEditor.ConnectionsEditor (cyclomatic 22): ConnectionsEditor.ConnectionsEditor has cyclomatic complexity 22 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 11 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0772bac71518427430473fbebd589df1653a9dc7cb6b88d79d87fe99a66d25"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningNavigation.RecordNode (cyclomatic 22): LearningNavigation.RecordNode has cyclomatic complexity 22 (threshold 15). Of this number, 19 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":"web/components/sidebar/LearningNavigation.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c075e635b19327a91a689ddbb3f3feb23d5582dd16bc8fff68351a57c797451e"}},{"ruleId":"D1","level":"warning","message":{"text":"MonthView.MonthView (cyclomatic 22): MonthView.MonthView has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 13 function items inside it that branch (a function literal at line 112, a function literal at line 128, a function literal at line 137, \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":"web/features/calendar/components/MonthView.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a85af80647feb0a771a6607e19e78d977dc08b89d84d9cb9abd32fa4b8b286"}},{"ruleId":"D1","level":"warning","message":{"text":"markdown.parseNoteMarkdown (cyclomatic 22): markdown.parseNoteMarkdown has cyclomatic complexity 22 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 11 belong to 4 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":"web/features/notes/model/markdown.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"348417a983ece562b4c4915f7c452a83a1559a65c0e21a9b30ac4f6d5e94e329"}},{"ruleId":"D1","level":"warning","message":{"text":"math-animator-types.extractMathAnimatorResult (cyclomatic 22): math-animator-types.extractMathAnimatorResult has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 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":"web/lib/math-animator-types.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"942f666f50dd46548fef6abf7b69d60ecef0811d47217f2fef7718a2e804eaa5"}},{"ruleId":"D1","level":"warning","message":{"text":"start (cyclomatic 22): start has cyclomatic complexity 22 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/runtime.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"354c2290532bb1afc5ec0503502da58509f10e5d16c5c6944d5c37fa97f5759e"}},{"ruleId":"D1","level":"warning","message":{"text":"AgenticLoopPipeline._resolve_workspace_export (cyclomatic 21): AgenticLoopPipeline._resolve_workspace_export 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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11c03641af2113c7116a015f3ac641eb5d0b35c05f5a4e827603ccd37b29fa4"}},{"ruleId":"D1","level":"warning","message":{"text":"QuestionPipeline._normalize_quiz_payload (cyclomatic 21): QuestionPipeline._normalize_quiz_payload 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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a28c2daeb8bfa0ac030bde5f713a0061e3b31f2c6a244a7eb99eedea6fd6d1d"}},{"ruleId":"D1","level":"warning","message":{"text":"file_preview._source_path (cyclomatic 21): file_preview._source_path 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":"deeptutor/api/routers/file_preview.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe44d7ecc47fbc32c5104c4183a427bed4e3b1693fa5bd06d19e380de27834b"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.fetch_models_from_provider (cyclomatic 21): settings.fetch_models_from_provider 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":"deeptutor/api/routers/settings.py"},"region":{"startLine":2113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b1065ab31824c24c509d3ffb319f2e04c7955d0a09a3194f9d9e5c896a04c1"}},{"ruleId":"D1","level":"warning","message":{"text":"SectionGenerator._fill_subsection (cyclomatic 21): SectionGenerator._fill_subsection 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":"deeptutor/book/blocks/section.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0726a6c9c15c9d5aa30179e5ccb6a987e575c76e656ce5fe4b9a2735cfa989"}},{"ruleId":"D1","level":"warning","message":{"text":"BookEngine._materialize_overview_page (cyclomatic 21): BookEngine._materialize_overview_page 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":"deeptutor/book/engine.py"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f7f8e5f24262579d4407be30cd899c01a1b2dcb23b9b21343ff4968c1ef59a"}},{"ruleId":"D1","level":"warning","message":{"text":"engine._source_quality_summary (cyclomatic 21): engine._source_quality_summary 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":"deeptutor/book/engine.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"390ed677e2d55c2daa9741507b8c908b771e647eb0623e4fe0acb633ab561290"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryRepairQuestionTool.execute (cyclomatic 21): MasteryRepairQuestionTool.execute has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":2307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f94615f037515578e23dec4d7b935f0eb7f08ed8f9008b4d007f11dea26c7e5"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeBaseManager._read_and_reconcile_config (cyclomatic 21): KnowledgeBaseManager._read_and_reconcile_config 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":"deeptutor/knowledge/manager.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a281b379c1b2e774b986f32436c399113bc53bd06a81d855600d752db3a3655"}},{"ruleId":"D1","level":"warning","message":{"text":"lesson_evidence.selected_scope (cyclomatic 21): lesson_evidence.selected_scope 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":"deeptutor/learning/lesson_evidence.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65b198fe33fa8cd94f44153d8fba5839d36260f2e8bf2cf885a521faddbe099"}},{"ruleId":"D1","level":"warning","message":{"text":"semantic_assessment._support_contract (cyclomatic 21): semantic_assessment._support_contract 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":"deeptutor/learning/semantic_assessment.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f119b8e4d39fe562dc1db6955018c1b9be68366387538d65d1da4a1b25ada82"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningService.record_learner_profile (cyclomatic 21): LearningService.record_learner_profile 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":"deeptutor/learning/service.py"},"region":{"startLine":2122}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bb68c90592e81d576d885f35fcc4967eb7b9699c999100215c498a8bef659f"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog.manifests (cyclomatic 21): catalog.manifests has cyclomatic complexity 21 (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":"deeptutor/modules/catalog.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af6b5b933049b6ceda0bdc798e41541897f39bba982d5f747cc651fc822248c"}},{"ruleId":"D1","level":"warning","message":{"text":"book_permission.normalize_book_permission (cyclomatic 21): book_permission.normalize_book_permission 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":"deeptutor/multi_user/book_permission.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba191141b86aa563644ea5486d3cf6f13a547f46cefa0f4b3a79f3e0a114cc37"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailChannel._fetch_messages (cyclomatic 21): EmailChannel._fetch_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":"deeptutor/partners/channels/email.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"40814efcd21955d94110ff3df2836343ad2d0e90633b0e9ff650682e9b16f1a8"}},{"ruleId":"D1","level":"warning","message":{"text":"MSTeamsChannel._normalize_teams_reply_quote (cyclomatic 21): MSTeamsChannel._normalize_teams_reply_quote 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":"deeptutor/partners/channels/msteams.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"942f55b2a5884ccdc0709a24da74c103c89b4f543512347e1f7f970ec35eebad"}},{"ruleId":"D1","level":"warning","message":{"text":"tool_dispatch.dispatch_tool_calls (cyclomatic 21): tool_dispatch.dispatch_tool_calls 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":"deeptutor/runtime/agentic/tool_dispatch.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a4adb4017fdcbdce765b20c79869a2cd90d15838cfba47b15d3a51b36d357b"}},{"ruleId":"D1","level":"warning","message":{"text":"layers.read_layers (cyclomatic 21): layers.read_layers 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":"deeptutor/services/calendar/layers.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c7f43094c44422b173ca6f84d1076731d091e3a65b17a3bf2bd1f55a507785"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelCatalogService._apply_connection (cyclomatic 21): ModelCatalogService._apply_connection 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":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"41776662cf996c4bb5971dc52fe265c846a26b15d0a39c89462381b6078db325"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatCompletionsImagegenAdapter._extract_sources (cyclomatic 21): ChatCompletionsImagegenAdapter._extract_sources 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":"deeptutor/services/imagegen/adapters/chat_completions.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"775b165a22d487182001ae70d3497f0bf103b99d75dcacb17b640801864fa3b1"}},{"ruleId":"D1","level":"warning","message":{"text":"office_preview._render_sync (cyclomatic 21): office_preview._render_sync 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":"deeptutor/services/office_preview.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ccde6f7523310e5f088cadc0d422caa56ccd17989e578bead14138aec2d1a7"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud._poll_for_zip (cyclomatic 21): cloud._poll_for_zip 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":"deeptutor/services/parsing/engines/mineru/cloud.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab41010e844fb1a4cc7772ad2c6a1b43e147ef65a13151500b501b4b877dfe38"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerRunner._attachments_from_media (cyclomatic 21): PartnerRunner._attachments_from_media 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":"deeptutor/services/partners/runtime.py"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6489f43d2568f503a6fd3e61e25978e0cb9da350e73874c5a896f5fb674fb98"}},{"ruleId":"D1","level":"warning","message":{"text":"ingress.freeze_document (cyclomatic 21): ingress.freeze_document 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":"deeptutor/services/rag/pipelines/lightrag/ingress.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"84663b9551a39a90f2cdd991b12e3eca870f3ec3682e9fa4f6dcfdd7a2dd9829"}},{"ruleId":"D1","level":"warning","message":{"text":"LlamaIndexPipeline.search (cyclomatic 21): LlamaIndexPipeline.search 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":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"504e2a108613ebd6def99b3538ad1c2f03a3fefe2d385f1ae707d8d9e5e44831"}},{"ruleId":"D1","level":"warning","message":{"text":"client.resolve_oss_sdk_config (cyclomatic 21): client.resolve_oss_sdk_config 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":"deeptutor/services/rag/pipelines/pageindex/client.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afe341d70a65d721ed6b0a3e2e17f609cb666e92e23c163c6ae9fb23cda82cf"}},{"ruleId":"D1","level":"warning","message":{"text":"source_pages.legacy_page_index (cyclomatic 21): source_pages.legacy_page_index 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":"deeptutor/services/rag/source_pages.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64b818e6559ab6453dbef2a5346d1569e043e8a2d13a890abc1268b949e3230"}},{"ruleId":"D1","level":"warning","message":{"text":"visual_assets.collect_visual_assets (cyclomatic 21): visual_assets.collect_visual_assets 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":"deeptutor/services/rag/visual_assets.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"412a771cd53b2f799773cce28daed2e7bf93718a0350e764377ee10a4fbbc51f"}},{"ruleId":"D1","level":"warning","message":{"text":"AliyunIQSProvider.search (cyclomatic 21): AliyunIQSProvider.search 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":"deeptutor/services/search/providers/aliyun_iqs.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd53b0faff7801f9430348f91151a737f295e38529b664b4698ee594080d4fab"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleBrowserScraperProvider.search (cyclomatic 21): GoogleBrowserScraperProvider.search 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":"deeptutor/services/search/providers/google_browser_scraper.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1945ed014f40d1b5708dba068d964dc92ac1ad6d225d51441e6e797af3f4cc"}},{"ruleId":"D1","level":"warning","message":{"text":"searchapi._parse_row (cyclomatic 21): searchapi._parse_row has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/providers/searchapi.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5429459ad734f84c22d5820fe22c4ec771daf1394960fb3522c46c0adb163d"}},{"ruleId":"D1","level":"warning","message":{"text":"SerperProvider.search (cyclomatic 21): SerperProvider.search 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":"deeptutor/services/search/providers/serper.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"74458c41cb990e8a1650e9fdec9babb43abdb6a1b14e2b02a2bf13554bc28026"}},{"ruleId":"D1","level":"warning","message":{"text":"SpecStreamProvider.search (cyclomatic 21): SpecStreamProvider.search 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":"deeptutor/services/search/providers/specstream.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d23f7a4ff018b11607668fd4e7602469192526b8d855adb07750d8d08f76a0d"}},{"ruleId":"D1","level":"warning","message":{"text":"event_preview.compact_trace_preview (cyclomatic 21): event_preview.compact_trace_preview 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":"deeptutor/services/session/event_preview.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"be82b1a6f3ebe4b20cb5cef2b02d527b90b9ba1d7c5e69c046f626b10a6a33bb"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy_migration._normalize_session (cyclomatic 21): legacy_migration._normalize_session 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":"deeptutor/services/session/legacy_migration.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4b5f1d50415416e230b3458aded2da0b63db70b89c95a4b37310bca5cf00f5"}},{"ruleId":"D1","level":"warning","message":{"text":"QuestionBankQuery.normalized (cyclomatic 21): QuestionBankQuery.normalized 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"51effa2b2c23add1c47120e4764eae9de699b24b965e5ad0ed09423586ace995"}},{"ruleId":"D1","level":"warning","message":{"text":"usage_recovery.model_evidence (cyclomatic 21): usage_recovery.model_evidence 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":"deeptutor/services/session/usage_recovery.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1858f9f109e79e8e0a9fd31cd31a7de13f991a99f15b9f9b12a1cbde3f0972af"}},{"ruleId":"D1","level":"warning","message":{"text":"list_notebook.read_favorite_record (cyclomatic 21): list_notebook.read_favorite_record 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":"deeptutor/tools/list_notebook.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d889c4a7666f7ca52303824a44e0e6e9fb75c004ca0ba0089da2d3937ae6b195"}},{"ruleId":"D1","level":"warning","message":{"text":"list_notebook._render_records (cyclomatic 21): list_notebook._render_records 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":"deeptutor/tools/list_notebook.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b77c5ac4d9d3ced5aa8a71c7591979a0f05c7a0957c6938d3f7923c718a7398"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerSearchTool.execute (cyclomatic 21): PartnerSearchTool.execute has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/partner_memory.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7e579a178474f433753d13dce95aad55060da04db3abf4c62c685d7f253bcf"}},{"ruleId":"D1","level":"warning","message":{"text":"ZoteroSearchClient._normalize (cyclomatic 21): ZoteroSearchClient._normalize 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":"deeptutor/tools/zotero_search.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"84965bf6ac49769636855e07b8f44eea2b0bbd0a62542f5f3f251fefec6ad6dc"}},{"ruleId":"D1","level":"warning","message":{"text":"document_extractor._extract_pdf (cyclomatic 21): document_extractor._extract_pdf 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":"deeptutor/utils/document_extractor.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4519fc95ee3af61fd9e705a4fff1f343374c2c0574397215fb45da214ae992a0"}},{"ruleId":"D1","level":"warning","message":{"text":"document_images._extract_pptx_rich_ooxml (cyclomatic 21): document_images._extract_pptx_rich_ooxml 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":"deeptutor/utils/document_images.py"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"63233f62dbc3d9ab4f14877c6fd352e6404e3f9e374578dcbb34484d7d272ca2"}},{"ruleId":"D1","level":"warning","message":{"text":"init_cmd._embedding_step (cyclomatic 21): init_cmd._embedding_step 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":"deeptutor_cli/init_cmd.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b479457eb32e2f146cfca170807d120e0e249f2c76a715efa5f836b9c58ced90"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-completions.request::ingest (cyclomatic 21): chat-completions.request::ingest 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 (chat-completions.request) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/providers/chat-completions.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79d674b056145f075a59f05f0856b64245b02af2b745c2a63fe8b807b637b00"}},{"ruleId":"D1","level":"warning","message":{"text":"ask-user.askPayload.questions (cyclomatic 21): ask-user.askPayload.questions 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":"packages/chat-engine/src/tools/ask-user.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6d909c35b5a4b2c43c393fcb52b71739cb9b167b4db731c518d23358949efd"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepDiveBlock.DeepDiveBlock (cyclomatic 21): DeepDiveBlock.DeepDiveBlock 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 3 function items inside it that branch (a function literal at line 58, pageFor, a function literal at line 75). 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":"web/app/(workspace)/learning/books/components/blocks/DeepDiveBlock.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d7184745d935fb865fb1a621000434cbc70b00b7e41e6efa0030ccd196a1f5"}},{"ruleId":"D1","level":"warning","message":{"text":"page.PartnersPage (cyclomatic 21): page.PartnersPage has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 124, 221, 65, \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":"web/app/(workspace)/partners/page.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"898e7ff73c838a9ecfea41723f12064ea7b74205bb9c19a31a5d7c765f7fbaef"}},{"ruleId":"D1","level":"warning","message":{"text":"PersonaPicker.PersonaPicker (cyclomatic 21): PersonaPicker.PersonaPicker has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 40, 139, 59, \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":"web/components/chat/PersonaPicker.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"969f71a2c9eb8bd2d585dcc166bab9720bdbc37ba589d5d5e38c7b7dd55a64d8"}},{"ruleId":"D1","level":"warning","message":{"text":"McpCatalogBrowser.McpCatalogBrowser (cyclomatic 21): McpCatalogBrowser.McpCatalogBrowser has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a4c75b1c09d9fb24e3d130d018e0f7fa3d038ef560370725ac864cfeb75415"}},{"ruleId":"D1","level":"warning","message":{"text":"SaveToNotebookModal.SaveToNotebookModal (cyclomatic 21): SaveToNotebookModal.SaveToNotebookModal 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 (SaveToNotebookModal.SaveToNotebookModal::handleSave) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9b71f752d8d8c220b7180089ffb5d6f3562e00fc3a18b9e239360cba2bbc7c"}},{"ruleId":"D1","level":"warning","message":{"text":"AddMaterialsDialog.AddMaterialsDialog::submit (cyclomatic 21): AddMaterialsDialog.AddMaterialsDialog::submit 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 (AddMaterialsDialog.AddMaterialsDialog) 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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b127f842a2914ea0be5765666c50b9c30f3ff733102bd358fb1aa155d214246d"}},{"ruleId":"D1","level":"warning","message":{"text":"VoicePreviewPanel.PreviewRequest (cyclomatic 21): VoicePreviewPanel.PreviewRequest has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 3 function items inside it that branch (preview, a function literal at line 45, a function literal at line 57). 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":"web/components/settings/VoicePreviewPanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0001f329e71ddb304f3cf6186dc5b07b2d56a64a91b72c82bc65a7f37f84ca"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsWorkspace.ModelParameters (cyclomatic 21): ModelsWorkspace.ModelParameters has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd01282ad1f598155ccfa98d16944fcbf10d6f04dfa23e428a5f294f5e7047e"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectionSpeechToolbar.SelectionSpeechToolbar (cyclomatic 21): SelectionSpeechToolbar.SelectionSpeechToolbar has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 19, 56, 16, \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":"web/components/voice/SelectionSpeechToolbar.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e70cfeca38fa501fa952c043fe094429a8fb289764076d934f59ef9225a0503"}},{"ruleId":"D1","level":"warning","message":{"text":"buildStartTurnInput.buildStartTurnInput (cyclomatic 21): buildStartTurnInput.buildStartTurnInput 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":"web/features/chat/controllers/buildStartTurnInput.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fad7e8cf068b6d60786f65c707423b0d4ccc497364f1f120e04f1947b457ec"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageFooter.UsageFooter (cyclomatic 21): UsageFooter.UsageFooter has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 41, a function literal at line 65, a function literal at line 151, \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":"web/features/chat/messages/UsageFooter.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"966be1b2d8601ec4c8dc47ed425df1530e9160bc2fd5a0c0af7115989726018f"}},{"ruleId":"D1","level":"warning","message":{"text":"selectors.detectStreamingMode (cyclomatic 21): selectors.detectStreamingMode 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":"web/features/chat/trace/selectors.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"394a0405c37afa7cca2ed0fb45a95085ea1dc87f9632732c76dbb1a184937291"}},{"ruleId":"D1","level":"warning","message":{"text":"TracePresentation.detectStreamingMode (cyclomatic 21): TracePresentation.detectStreamingMode 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d37940eaa2173f8017a652c69934bcce3179a031633f516b1c72e18d576e053"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilitiesSettingsSection.CapabilitiesSettingsPage (cyclomatic 21): CapabilitiesSettingsSection.CapabilitiesSettingsPage has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 99, a function literal at line 152, patchChat, \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":"web/features/settings/sections/CapabilitiesSettingsSection.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1eb35b9388f54bc7a0252203a85ab20f144dc9dfd9fa179cceba170443a883"}},{"ruleId":"D1","level":"warning","message":{"text":"useChatAutoScroll.useChatAutoScroll (cyclomatic 21): useChatAutoScroll.useChatAutoScroll 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 10 function literals inside it that branch (lines 108, 84, 43, \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":"web/hooks/useChatAutoScroll.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"205c580f3beba7a503901d2f09d0f99988c2687fe35fbd570a8b607a35794808"}},{"ruleId":"D1","level":"warning","message":{"text":"book-activity.chapterRows (cyclomatic 21): book-activity.chapterRows 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 3 function literals inside it that branch (lines 303, 338, 300). 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":"web/lib/book-activity.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6f2ee00f6c64b0aabeb8cda29f1ad0c8cb68847b8efd0ef570aa84c39c4f18"}},{"ruleId":"D1","level":"warning","message":{"text":"mastery-question.parseQuestion (cyclomatic 21): mastery-question.parseQuestion has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/mastery-question.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"285aa20edaadd0abb6cab8e7b6a386731073c8bdca7da6a4dc1200caad3c228a"}},{"ruleId":"D1","level":"warning","message":{"text":"reading-location-history.normalizeEntry (cyclomatic 21): reading-location-history.normalizeEntry 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":"web/lib/reading-location-history.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"001665b52762b6835e35d5b5870d00fac39f9a7719d64821a3999474fa17c93d"}},{"ruleId":"D1","level":"warning","message":{"text":"reading-references.normalizeReadingReferences (cyclomatic 21): reading-references.normalizeReadingReferences 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":"web/lib/reading-references.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e7a625e49d0e5c7e89362b7909fd5669356b7c2f49f9140fd5e6494b9efb56"}},{"ruleId":"D1","level":"warning","message":{"text":"partners.partner_chat_ws (cyclomatic 20): partners.partner_chat_ws 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":"deeptutor/api/routers/partners.py"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"772bdce3d08b0d9627fa75c8f6ad252a72a72c8650da98ab87f63bf9cd824c29"}},{"ruleId":"D1","level":"warning","message":{"text":"video_learning._live_stream_url (cyclomatic 20): video_learning._live_stream_url has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/video_learning.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55752eca7d3507d00855b753713afca2f00e9715b9081d6d3a2ed388fe04850"}},{"ruleId":"D1","level":"warning","message":{"text":"export.render_block (cyclomatic 20): export.render_block 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":"deeptutor/book/export.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"700e6ff1c6aa510881032cd55240619a8a97a4aaf41103edadd7c6a2978905e4"}},{"ruleId":"D1","level":"warning","message":{"text":"inputs._resolve_chat_selections (cyclomatic 20): inputs._resolve_chat_selections 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":"deeptutor/book/inputs.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5e29938ed35d60cb9ae18a0f6ccb9b1d4331839129441e46ba072c5fedaa34"}},{"ruleId":"D1","level":"warning","message":{"text":"HandoffCapability._subagent (cyclomatic 20): HandoffCapability._subagent has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/handoff/capability.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30a4f62345aef13d2ed2e0d0fae3b75108a81777064296db891500d112bbcd2"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryNoteExplainedTool.execute (cyclomatic 20): MasteryNoteExplainedTool.execute 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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"397fe6512eea49e269ff8028a61a15f2ef4e919b70d9f5df8e1b8b1aa1f43018"}},{"ruleId":"D1","level":"warning","message":{"text":"generation.result_learning_block (cyclomatic 20): generation.result_learning_block 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":"deeptutor/capabilities/notes/generation.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f332d7d0d7106fef3fe164b464fcbdde6706d8fd9b3f3b55c27e1c565d41a0bf"}},{"ruleId":"D1","level":"warning","message":{"text":"binding._resolve (cyclomatic 20): binding._resolve has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/subagent/binding.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"de710efa1a144ee5d696c482f7d0f461db75dfcf9dbb53b6f541b9e1f95c42f4"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeBaseManager._list_knowledge_bases (cyclomatic 20): KnowledgeBaseManager._list_knowledge_bases 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":"deeptutor/knowledge/manager.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"607bde20e6027a381e0a194899ac1d29d9ebc3fb45c8ebad86433a0a93ac6af2"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeBaseManager._auto_register_kb (cyclomatic 20): KnowledgeBaseManager._auto_register_kb 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":"deeptutor/knowledge/manager.py"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"4890af5984c3c781c5328dcfe1aad6160ee57fa410fb66df2095836709096f6d"}},{"ruleId":"D1","level":"warning","message":{"text":"manager.main (cyclomatic 20): manager.main 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":"deeptutor/knowledge/manager.py"},"region":{"startLine":2477}}}],"partialFingerprints":{"codehealthFindingId/v1":"87af20d117f4b7619150c3075bdd8ca6f82b6aceb9be9d1740733f5c262e99f0"}},{"ruleId":"D1","level":"warning","message":{"text":"lesson_evidence.validate_evidence (cyclomatic 20): lesson_evidence.validate_evidence 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":"deeptutor/learning/lesson_evidence.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9430f48fae120a220870ea9da54333907b64708ab50de898bb5f40ebe3172c"}},{"ruleId":"D1","level":"warning","message":{"text":"migration._prepare_mastery_v2_root (cyclomatic 20): migration._prepare_mastery_v2_root 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":"deeptutor/learning/migration.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b1fc798cb61ad68dc7b70c43d6e338acbf2cc1012ff2bb83a9458b0888feba"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningService.assess_qualitative_semantic (cyclomatic 20): LearningService.assess_qualitative_semantic 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":"deeptutor/learning/service.py"},"region":{"startLine":3067}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ed5179493ff7030215ba75f65a77dbad6383d0acb896f10b0aee43063056c6"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog.module_statuses (cyclomatic 20): catalog.module_statuses 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":"deeptutor/modules/catalog.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c2ddffa71cbfffd2a26fb725e149e7e516cd1d002be8d89d4e0a41e0b2cca4"}},{"ruleId":"D1","level":"warning","message":{"text":"MatrixChannel._upload_and_send_attachment (cyclomatic 20): MatrixChannel._upload_and_send_attachment 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":"deeptutor/partners/channels/matrix.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e33a1586ed48c9abcc8222d19ec8763ab602481b92e9f32946271e202235f5c"}},{"ruleId":"D1","level":"warning","message":{"text":"TelegramChannel._on_message (cyclomatic 20): TelegramChannel._on_message 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":"deeptutor/partners/channels/telegram.py"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b10611257948a58cb929613f6d7ec63898f2587763adc3eccaca881edfa086e"}},{"ruleId":"D1","level":"warning","message":{"text":"references.resolve_reading_sources (cyclomatic 20): references.resolve_reading_sources 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":"deeptutor/reading/references.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59aeb5a307cfdfa797f8cfd80ddf7421671ed2a60f3e06aab4b8e634b4bcb25"}},{"ruleId":"D1","level":"warning","message":{"text":"doctor._rag_check (cyclomatic 20): doctor._rag_check has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/doctor.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"922fd7ac18886fce37728e58c96ad25541528da5531c0893ec6709af23e98aa6"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAICompatProvider._parse (cyclomatic 20): OpenAICompatProvider._parse 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":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee2420827a45471c94f93ea1f26a70c44ff68435ee7dcd7eee0054e4291860d"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAICompatProvider._parse_chunks (cyclomatic 20): OpenAICompatProvider._parse_chunks 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":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8037061899c0f589e6d9fd9cb395cab02231581462292f08942514cd324b4bc"}},{"ruleId":"D1","level":"warning","message":{"text":"usage_frame.usage_breakdown (cyclomatic 20): usage_frame.usage_breakdown 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":"deeptutor/services/llm/usage_frame.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56ac80b3910bf66d273629b6d48bed3ee6a3245ff4b71421b2a568c483f8e1b"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluation.evaluate (cyclomatic 20): evaluation.evaluate 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":"deeptutor/services/memory/evaluation.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c6a089e88b431992e912d4e965add4d28cdc83c4538b18ee8458249435889d"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelOnboardingManager.apply (cyclomatic 20): ChannelOnboardingManager.apply 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":"deeptutor/services/partners/channel_onboarding.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ae3d2c1ff70599d341f9d6ce258f04ff9104254c9201c9b0eb2f531352cde0"}},{"ruleId":"D1","level":"warning","message":{"text":"source_visuals.page_image (cyclomatic 20): source_visuals.page_image 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":"deeptutor/services/rag/source_visuals.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"20769ff50485954c24184e9e51ea0f306abbb5391a35e69de6b7f69d24b2d9a7"}},{"ruleId":"D1","level":"warning","message":{"text":"serply._parse_row (cyclomatic 20): serply._parse_row has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/providers/serply.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"136a762528acabf50d64b5fd5b0488432a959a70edc181c84f7b0777c1011c9e"}},{"ruleId":"D1","level":"warning","message":{"text":"reading_quiz_help.update_help (cyclomatic 20): reading_quiz_help.update_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":"deeptutor/services/session/reading_quiz_help.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db054be6a4a11582f15dd99fe7b6da94fd2b03e4bcd87a8e649110587a705c3"}},{"ruleId":"D1","level":"warning","message":{"text":"source_inventory._add_fresh (cyclomatic 20): source_inventory._add_fresh 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":"deeptutor/services/session/source_inventory.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7a2f0a9e88c132e395976ca961b8ff08de6f3ddbe7f7c74bb3ec2b3bae877a"}},{"ruleId":"D1","level":"warning","message":{"text":"data_migration.recover_operation (cyclomatic 20): data_migration.recover_operation 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":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8b29dcfa420ffca63c985e8abb1e10d8fa32ef7c05503a3c2062f5de9caafd"}},{"ruleId":"D1","level":"warning","message":{"text":"init_wizard.fetch_models (cyclomatic 20): init_wizard.fetch_models 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":"deeptutor_cli/init_wizard.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d2798db788ca6df1483622710b691ccc9e97f589f7f68b60e186da5a36f4f3"}},{"ruleId":"D1","level":"warning","message":{"text":"contracts.validateOutput (cyclomatic 20): contracts.validateOutput 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":"packages/chat-engine/src/core/contracts.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"508468bfc6b64f54b217f859cb88e0fdda095f6abafb64968b9a3bb490554b71"}},{"ruleId":"D1","level":"warning","message":{"text":"http.post (cyclomatic 20): http.post has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 46, 36). 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":"packages/chat-engine/src/providers/http.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ceef75072c1e88296ef3a099cc90e0a77a92c369b1b91643046e5927380658"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolDispatcher.run::execute (cyclomatic 20): ToolDispatcher.run::execute has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ToolDispatcher.run) 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":"packages/chat-engine/src/tools/dispatcher.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49faab6d58eee6755de2faa742af9aaae54d6260183edd41b9723e817663a2d"}},{"ruleId":"D1","level":"warning","message":{"text":"stdio.lines.on(\u0022line\u0022) (cyclomatic 20): stdio.lines.on(\u0022line\u0022) 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":"packages/chat-engine/src/transport/stdio.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"544467e8853972f217b2419b0e1a0453434adc8ea644390e2d551c4e00258d64"}},{"ruleId":"D1","level":"warning","message":{"text":"page.PageCard (cyclomatic 20): page.PageCard has cyclomatic complexity 20 (threshold 15). 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: 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":"web/app/(workspace)/co-writer/page.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4d83a2ce00ec74541be575d455ff5e139f870a026b6bddbee052fbc230a621"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeSelector.KnowledgeSelector (cyclomatic 20): KnowledgeSelector.KnowledgeSelector has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 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":"web/components/chat/home/KnowledgeSelector.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1bbc7d54e853d64e6e5e012f2555bc04c3fc5ee77582a0a3f95c50ba4ca5f9"}},{"ruleId":"D1","level":"warning","message":{"text":"XlsxPreview.XlsxPreview (cyclomatic 20): XlsxPreview.XlsxPreview has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 42, 56, 32, \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":"web/components/chat/preview/previewers/XlsxPreview.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5101f3450fb88af9e2251fe94c7bcf37a315ad78b7972217fedbcf65e51c419"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryRunPanel.groupByTurn (cyclomatic 20): MemoryRunPanel.groupByTurn 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":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a1fa870b47e871b82c2db1f42e1e2572ff78f7d5f6bf515cb297e1e14f8470"}},{"ruleId":"D1","level":"warning","message":{"text":"QuizConfigPanel.QuizConfigPanel (cyclomatic 20): QuizConfigPanel.QuizConfigPanel 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 6 function literals inside it that branch (lines 124, 171, 196, \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":"web/components/quiz/QuizConfigPanel.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e459f8590697a0840f0dfe434a091ceaf7a30166c03a327f57dca3b752d012d"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingFolder.ReadingFolderPage (cyclomatic 20): ReadingFolder.ReadingFolderPage has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 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":"web/components/reading/library/ReadingFolder.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf720fa410b68fcdc7687145c92217e507e2ed8ec05414c73476e2c575919c7"}},{"ruleId":"D1","level":"warning","message":{"text":"VoiceModelFields.VoiceModelFields (cyclomatic 20): VoiceModelFields.VoiceModelFields has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/VoiceModelFields.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19b039ca585803407c91243014a404e8556bc683b6930bab94aed0b7bcd4b33"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceSidebar.WorkspaceSidebar (cyclomatic 20): WorkspaceSidebar.WorkspaceSidebar 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 9 function literals inside it that branch (lines 180, 205, 54, \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":"web/components/sidebar/WorkspaceSidebar.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd04cb1d1a227a03cdcdc4bbdd05925ec270d751b6a86cf517cb75be15b4364"}},{"ruleId":"D1","level":"warning","message":{"text":"VisualizeConfigPanel.VisualizeConfigPanel (cyclomatic 20): VisualizeConfigPanel.VisualizeConfigPanel has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 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":"web/components/visualize/VisualizeConfigPanel.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"688c5fa29501e7ba918c2dcc3d550a7f5d832c209aa24009360511a8bb4c7773"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteTaskBlock.NoteTaskBlock (cyclomatic 20): NoteTaskBlock.NoteTaskBlock has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 39, create, a function literal at line 35, \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":"web/features/notes/components/NoteTaskBlock.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7831fdf8602754aa88a9391e8c083b9b43f75a66fb4aae7e4766124df1489411"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceSettingsSection.WorkspaceSettingsSection (cyclomatic 20): WorkspaceSettingsSection.WorkspaceSettingsSection has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to 4 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":"web/features/settings/sections/WorkspaceSettingsSection.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3636ac3aa4e9a24f79f5feecf14832587e222758a2c7c6ee14b81a5f6eb0e36"}},{"ruleId":"D1","level":"warning","message":{"text":"useMasteryPathActivity.useMasteryPathActivity (cyclomatic 20): useMasteryPathActivity.useMasteryPathActivity has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 181, 155, 164, \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":"web/hooks/useMasteryPathActivity.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9448bb578a637e05e1f89b812080074a409e7f0bddbad721084fce92226475c"}},{"ruleId":"D1","level":"warning","message":{"text":"notebook-api.listNotebookEntries (cyclomatic 20): notebook-api.listNotebookEntries 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":"web/lib/notebook-api.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"825384166a22aa1458d3c01ac973e914840a503657b54d865a7544244610380a"}},{"ruleId":"D1","level":"warning","message":{"text":"latex.normalizeEditorMdInlineMathInProse (cyclomatic 20): latex.normalizeEditorMdInlineMathInProse 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":"web/lib/latex.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4a8664cc4c8050916e52084641ccc9d66fd12a1b28546a52bedeefa5933d0f"}},{"ruleId":"D1","level":"warning","message":{"text":"visualize-types.extractVisualizeResult (cyclomatic 20): visualize-types.extractVisualizeResult 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":"web/lib/visualize-types.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a22b797578341e11a0afdd5b41df99389e825c99fbbdbeb2e99b4926b88082"}},{"ruleId":"D1","level":"warning","message":{"text":"FollowupAgent._render_question_context (cyclomatic 19): FollowupAgent._render_question_context 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":"deeptutor/agents/question/agents/followup_agent.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b2816bb91a763ecd434204d44836b0c56f5597e290ed53fc655ad6224b1858"}},{"ruleId":"D1","level":"warning","message":{"text":"SectionArchitect.plan_blocks_async (cyclomatic 19): SectionArchitect.plan_blocks_async 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":"deeptutor/book/agents/page_planner.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b645964eac95da357e63f7b0ed6cff68dc481bb92cf9c2e0dbc3ea1619ba1e"}},{"ruleId":"D1","level":"warning","message":{"text":"SourceExplorer._design_queries (cyclomatic 19): SourceExplorer._design_queries 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":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c710ed4c5017bc8ae38eeb0ff2e08915fcf722161af4cd086f584e11dbaac1a3"}},{"ruleId":"D1","level":"warning","message":{"text":"authoring.apply_edit (cyclomatic 19): authoring.apply_edit 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":"deeptutor/book/authoring.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ab80615fb865fecc4b5182b9079a61beea8e6b1540304908709c827a7b8796"}},{"ruleId":"D1","level":"warning","message":{"text":"SectionGenerator._make_outline (cyclomatic 19): SectionGenerator._make_outline has cyclomatic complexity 19 (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":"deeptutor/book/blocks/section.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b083f1ef99403cd8a2816bbceb1d919a411048cc0b0e4786c768a85dc428dc"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioOverviewCapability.run (cyclomatic 19): AudioOverviewCapability.run 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":"deeptutor/capabilities/audio_overview/capability.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8f473866a61c1d2bf5c0a4ceec4ecaf0bcfc8ed012eee502a83da7d56c9008"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryStatusTool.execute (cyclomatic 19): MasteryStatusTool.execute 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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1015667317c46cff6c138b0eafa895200426fbac533e5c7433961b9c4df8b2"}},{"ruleId":"D1","level":"warning","message":{"text":"jobs.run_job (cyclomatic 19): jobs.run_job 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":"deeptutor/capabilities/setup/jobs.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73eb5715d18f80cbd076ed5f049444c02d8ca2e8b012b4f0efc65d1da59eabd"}},{"ruleId":"D1","level":"warning","message":{"text":"semantic_assessment.bind_questions (cyclomatic 19): semantic_assessment.bind_questions 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":"deeptutor/learning/semantic_assessment.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b93e4e133d70fc1dc8e1abc9a591a77452dad158374ba7d11e3c380a66f166"}},{"ruleId":"D1","level":"warning","message":{"text":"lifecycle.plan (cyclomatic 19): lifecycle.plan 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":"deeptutor/modules/lifecycle.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab700689fb8a8a2f49281ffebb2d469c25865bb82fd2885e7ebc487a3d35917b"}},{"ruleId":"D1","level":"warning","message":{"text":"grants.load_grant (cyclomatic 19): grants.load_grant 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":"deeptutor/multi_user/grants.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"336003dfdd29ac645929dfec6c4542a15e8f9966cc034b744d98cc18dc931c7f"}},{"ruleId":"D1","level":"warning","message":{"text":"WeixinChannel._send_media_file (cyclomatic 19): WeixinChannel._send_media_file 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":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e832edf9b7fdf9a1f5b47b13e2d1a56395354c449ed729d0f742259efc9016b"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginLifecycleManager.install (cyclomatic 19): PluginLifecycleManager.install 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":"deeptutor/plugins/lifecycle.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33d9bffc8393f91224e5f9a7aab889559cef79f7e704cbf332fe21cfd1bedd5"}},{"ruleId":"D1","level":"warning","message":{"text":"manifest._extensions (cyclomatic 19): manifest._extensions 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":"deeptutor/plugins/manifest.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e60b3a8845044addb18f7967c3c735523e267640a1696976c83c4be42c0856"}},{"ruleId":"D1","level":"warning","message":{"text":"launcher._owned_orphan_started_at (cyclomatic 19): launcher._owned_orphan_started_at 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":"deeptutor/runtime/launcher.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8565fe220e99e2e9e7666f12c44f9338c3a621645fc086468c62cbdcf0fcd21"}},{"ruleId":"D1","level":"warning","message":{"text":"view._build (cyclomatic 19): view._build 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":"deeptutor/runtime/providers/view.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f87c6f145e886ca2588c451d770827da9eed74970bbf53adf185eca575fe523"}},{"ruleId":"D1","level":"warning","message":{"text":"doctor._credentials_check (cyclomatic 19): doctor._credentials_check 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":"deeptutor/services/doctor.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd21dc73bf6298d8a79005dabed203ad857e8f5c0a86737ffdd2d7aa936c30e"}},{"ruleId":"D1","level":"warning","message":{"text":"github_copilot_auth.login_github_copilot (cyclomatic 19): github_copilot_auth.login_github_copilot 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":"deeptutor/services/github_copilot_auth.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed55da0604d99e3d1b0c832a4556b133ebd478bdb865d07b4d785f14836ea153"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicProvider.chat_stream (cyclomatic 19): AnthropicProvider.chat_stream 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":"deeptutor/services/llm/provider_core/anthropic_provider.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8de1a90bd0362fc8bcc9b95a92a2de28e1bf5a34ce46faba54d46990444242"}},{"ruleId":"D1","level":"warning","message":{"text":"claude_code_provider._prompt_input (cyclomatic 19): claude_code_provider._prompt_input 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":"deeptutor/services/llm/provider_core/claude_code_provider.py"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcad77fad37a64694b27a807546f4ffb46abd97f708ea39573746ab8058196c"}},{"ruleId":"D1","level":"warning","message":{"text":"sdk_bridge._assistant_tool_calls (cyclomatic 19): sdk_bridge._assistant_tool_calls 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":"deeptutor/services/llm/provider_core/sdk_bridge.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"592f56b4d72386b63352a2779890bd79ba0b1e06bc223a7c5139222e374ba481"}},{"ruleId":"D1","level":"warning","message":{"text":"McpCatalogEntry.__post_init__ (cyclomatic 19): McpCatalogEntry.__post_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":"deeptutor/services/mcp/catalog/models.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4a7ff784a911979a6e3987563cce592c3a889ba786d9848c4a6c3d9e0be3f1"}},{"ruleId":"D1","level":"warning","message":{"text":"adapters.read_quiz_entities (cyclomatic 19): adapters.read_quiz_entities has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb7702591191509c570c137cee84b1a628c2662c137942dacab64e7369a149b"}},{"ruleId":"D1","level":"warning","message":{"text":"_process.cli_process (cyclomatic 19): _process.cli_process 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":"deeptutor/services/parsing/engines/mineru/_process.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d389c101f0c68f3b66a89c4863e53cd624a8cb5e5661ee4081cff529f974c3"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerRunner.process_message (cyclomatic 19): PartnerRunner.process_message 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":"deeptutor/services/partners/runtime.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f1c8a3ae19ca32eb7dae89e53ed5fb61d7f98ac8cd242abb35660d6ff37ada"}},{"ruleId":"D1","level":"warning","message":{"text":"embedding_binding.migrate_binding (cyclomatic 19): embedding_binding.migrate_binding 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":"deeptutor/services/rag/embedding_binding.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a37c70ed9180363317a2680c41d5bcb626223db3ffb3ec7087222d1e62fbf1"}},{"ruleId":"D1","level":"warning","message":{"text":"cache_reuse.inherit_index_cache (cyclomatic 19): cache_reuse.inherit_index_cache 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":"deeptutor/services/rag/pipelines/lightrag/cache_reuse.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"81044130c4fd14755652535f48dbaa1db1834342a9bd37856936748743fc96c1"}},{"ruleId":"D1","level":"warning","message":{"text":"exercise_lookup.requested_exercises (cyclomatic 19): exercise_lookup.requested_exercises 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":"deeptutor/services/rag/pipelines/llamaindex/exercise_lookup.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f8f5626965d9b2f6ca36eb6c1fe1141b3363851cbeead1f5d80a20d4ccd55f"}},{"ruleId":"D1","level":"warning","message":{"text":"storage.resolve_resumable_rebuild_dir (cyclomatic 19): storage.resolve_resumable_rebuild_dir 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":"deeptutor/services/rag/pipelines/llamaindex/storage.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a438c43110ea74ace09527fe9968fd8a31d82740faee842cf9d96efa530926dc"}},{"ruleId":"D1","level":"warning","message":{"text":"reading_hints._sanitize (cyclomatic 19): reading_hints._sanitize 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":"deeptutor/services/reading_hints.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b2a5017a81c1252ba2ea0b759ff21b6334d07ad41a7a87ef3c0fbc70dbbeae"}},{"ruleId":"D1","level":"warning","message":{"text":"primitives.read_pdf (cyclomatic 19): primitives.read_pdf 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":"deeptutor/services/research/primitives.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed6df7369a217f94924c1dfa729d6148df3578c0e36146df0d203e2d2bb37ff"}},{"ruleId":"D1","level":"warning","message":{"text":"FirecrawlProvider.search (cyclomatic 19): FirecrawlProvider.search 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":"deeptutor/services/search/providers/firecrawl.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"252e2be6494fc16a982191dda1fc3d4f2662b1ed441eb88ee1c85b9cd22aff6c"}},{"ruleId":"D1","level":"warning","message":{"text":"_turn_runtime_shared._extract_followup_question_context (cyclomatic 19): _turn_runtime_shared._extract_followup_question_context 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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac5977c1bbb103c44f62519bc5c277dcc4605687d57cb13ab8b4b957404d23f"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_probe.model_services (cyclomatic 19): provider_probe.model_services 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":"deeptutor/services/settings/provider_probe.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4054eb6c08d7197df1400d4d0c4a232d046f03b064ddb2a1222be449404f91f9"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillService.install_tree (cyclomatic 19): SkillService.install_tree 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":"deeptutor/services/skill/service.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"927ef9a7af35d9da613a1a9da897a0d4b4df966cca65df302c2b0dc2e24ba5a8"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenClawBackend.consult (cyclomatic 19): OpenClawBackend.consult 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":"deeptutor/services/subagent/openclaw.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"97db0ccde0806eae17c781346f7b091e902d76f2f4cdc03575b00642d7a010c9"}},{"ruleId":"D1","level":"warning","message":{"text":"OpencodeFamilyBackend._handle_part (cyclomatic 19): OpencodeFamilyBackend._handle_part 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":"deeptutor/services/subagent/opencode_family.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"414c82e61127addeb2f2ee2e9d309ed3907922af8dd3d8f89850f0d483f1f3c6"}},{"ruleId":"D1","level":"warning","message":{"text":"partner._to_subagent_events (cyclomatic 19): partner._to_subagent_events 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":"deeptutor/services/subagent/partner.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ae2ed7ce73ac1340e598b436610cc4eb137f28b90e2efd5a791e7579edc4a2"}},{"ruleId":"D1","level":"warning","message":{"text":"speech_text._replace_limits_once (cyclomatic 19): speech_text._replace_limits_once 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":"deeptutor/services/voice/speech_text.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1d2e849527aa079b9ec40ef6b3fb646fa6dac5623ea193ad358cf04e9556a5"}},{"ruleId":"D1","level":"warning","message":{"text":"crawler._fetch_page (cyclomatic 19): crawler._fetch_page 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":"deeptutor/services/web_source/crawler.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4b3105e135f83cf68a8323eeb8ebe6eae20d1663cc22b2486078b9863b1c7a"}},{"ruleId":"D1","level":"warning","message":{"text":"snapshot.build_snapshot (cyclomatic 19): snapshot.build_snapshot has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/snapshot.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"116e8e1a87d9a63ac90e7896ef1110732275637a86dee83ec8ae390ef1b7c50f"}},{"ruleId":"D1","level":"warning","message":{"text":"cron_tool.run_cron_action (cyclomatic 19): cron_tool.run_cron_action 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":"deeptutor/tools/cron_tool.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac62a19216382e9be914ccf5eb1c6df3d097af5dfd6d185dac9fbe8870bd5e3"}},{"ruleId":"D1","level":"warning","message":{"text":"archive_extractor.safe_extract_zip (cyclomatic 19): archive_extractor.safe_extract_zip 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":"deeptutor/utils/archive_extractor.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6147bcf9dea40fb183055e5b63fcda604df49ebe596443343d5ead125b7dd4ee"}},{"ruleId":"D1","level":"warning","message":{"text":"kit.Timeline (cyclomatic 19): kit.Timeline 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 2 function literals inside it that branch (lines 321, 311). 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":"deeptutor/agents/video_lesson/remotion/kit.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d808c05b2ee3fe9d78a6b4588903e2662bf4ed75bf3d98b6b79f2dbf659d656"}},{"ruleId":"D1","level":"warning","message":{"text":"UserNoteBlock.UserNoteBlock (cyclomatic 19): UserNoteBlock.UserNoteBlock has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 97, a function literal at line 45, commit, \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":"web/app/(workspace)/learning/books/components/blocks/UserNoteBlock.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40181375d7c67ae8a2fcc45a5883f44cee65657e3a9b02b8409c20a92ce567f"}},{"ruleId":"D1","level":"warning","message":{"text":"page.PartnerGroupPage (cyclomatic 19): page.PartnerGroupPage has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6073e26a17025833028b54e7f9d2acff5161c1056a2726eb44e1fcf5bcb066"}},{"ruleId":"D1","level":"warning","message":{"text":"AskUserOptions.QuestionBody (cyclomatic 19): AskUserOptions.QuestionBody has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1481, 1457, 1489, \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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf880669a88df9b63423282a27e9dd9b01ec10ff1b2d1f97d3afda8aef591199"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryHandoffCard.MasteryHandoff (cyclomatic 19): MasteryHandoffCard.MasteryHandoff has cyclomatic complexity 19 (threshold 15). Of this number, 18 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":"web/components/chat/home/MasteryHandoffCard.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f93f4cf8ee42fcff759760b87599f6f4e69461ffd018ef38cdcc4dd1cd97197"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerDraftCard.PartnerDraftCard (cyclomatic 19): PartnerDraftCard.PartnerDraftCard has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 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":"web/components/chat/home/PartnerDraftCard.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40a2767d3290be2a13a34b42d2a0c04a5aa438524afbd62dc6c16559d680c32"}},{"ruleId":"D1","level":"warning","message":{"text":"CliAppsSection.Store (cyclomatic 19): CliAppsSection.Store has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 9 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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d723ea57f39cd0e32eaf87d8a00b0884f9c6a4acf9c992062807dc7de26571"}},{"ruleId":"D1","level":"warning","message":{"text":"LightRagRoleModelsEditor.roleModelsValidationError (cyclomatic 19): LightRagRoleModelsEditor.roleModelsValidationError has cyclomatic complexity 19 (threshold 15). Of this number, 18 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":"web/components/knowledge/LightRagRoleModelsEditor.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e054b32271a374389ac21ebb6ae6b41ec62b309d1bc60fcb1b145721cb7e742"}},{"ruleId":"D1","level":"warning","message":{"text":"McpServerRow.McpServerRow (cyclomatic 19): McpServerRow.McpServerRow 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":"web/components/mcp/McpServerRow.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de9d6f23c71ef1ee8b275950b7a9d90d7e40064aac1ee44524f9d996dcba8b4"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerChat.normalizeHistoryAttachments (cyclomatic 19): PartnerChat.normalizeHistoryAttachments 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 one function literal inside it that branches (line 125). 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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0a7bbe67d03cb40f785248b55592e194d3afaa0766eced7e8a7c4b04459a1e"}},{"ruleId":"D1","level":"warning","message":{"text":"useReadingPanelLayout.useReadingPanelLayout (cyclomatic 19): useReadingPanelLayout.useReadingPanelLayout has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, 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":"web/components/reading/workspace/useReadingPanelLayout.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad578e1ccdc75f9d4fecf1daf4ba96778ac4b3130a8e421b8f5b2275fe6a7fd9"}},{"ruleId":"D1","level":"warning","message":{"text":"OrganizedSessionList.OrganizedSessionList::renderGroup (cyclomatic 19): OrganizedSessionList.OrganizedSessionList::renderGroup 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. This shape REPEATS in the file: one other method here (OrganizedSessionList.OrganizedSessionList::renderRow) 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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"d556bebf8d4cc485c6e613eb05fd61f483f25c6d95bbadf238234cae8458b079"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionsEditor.ConnectionRow (cyclomatic 19): ConnectionsEditor.ConnectionRow has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 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":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3537db0d651cf3c42672d1f715cce85b4e8550f9544a071fd58792e96dbe5020"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsWorkspace.AddModelPanel (cyclomatic 19): ModelsWorkspace.AddModelPanel has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f7d68c734dd2f32fd2b0aad9c161a0f6e19b555f5c700991781d7db06c81e1"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskModelsWorkspace.TaskModelsWorkspace (cyclomatic 19): TaskModelsWorkspace.TaskModelsWorkspace 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 5 function items inside it that branch (choiceFor, modelSelect, save, \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":"web/components/settings/TaskModelsWorkspace.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d466b407ca4648e5b646f7d62a51ab652121993e2a2fb3f3f9d09e7dff9c439"}},{"ruleId":"D1","level":"warning","message":{"text":"ScopeEditorModal.ScopeEditorModal (cyclomatic 19): ScopeEditorModal.ScopeEditorModal 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 5 function literals inside it that branch (lines 63, 99, 86, \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":"web/components/space/ScopeEditorModal.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0d01a85fb7031109fd9905c7e58072a6975dc6ee7297f179d3c6703399d86f"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceResourcePicker.WorkspaceResourcePicker (cyclomatic 19): WorkspaceResourcePicker.WorkspaceResourcePicker 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 6 function literals inside it that branch (lines 72, 117, 34, \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":"web/components/workspaces/WorkspaceResourcePicker.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d0537cd03a83d40192ef8dc156fbb9c3f135f2cf81ed9f8dae6987dc9203df"}},{"ruleId":"D1","level":"warning","message":{"text":"TracePresentation.hasExpandableContent (cyclomatic 19): TracePresentation.hasExpandableContent has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 5 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb33d2b0472ea2f6535dceac56bd7c446aabb095190fb327aae27460685c841"}},{"ruleId":"D1","level":"warning","message":{"text":"TracePresentation.StreamingStatus (cyclomatic 19): TracePresentation.StreamingStatus has cyclomatic complexity 19 (threshold 15). Of this number, 18 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d55b387c2f4402fa3eeb2cc93c6109c53a8f67a5db543924b2143ad607c27ff"}},{"ruleId":"D1","level":"warning","message":{"text":"EngineDetail.LlamaIndexForm (cyclomatic 19): EngineDetail.LlamaIndexForm 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 7 function items inside it that branch (save, a function literal at line 430, a function literal at line 514, \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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c43b39f26636ed29511b05c1b425f8eaeec9bc4e351fe25eadd9136ac445598"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteOutline.NoteOutline (cyclomatic 19): NoteOutline.NoteOutline has cyclomatic complexity 19 (threshold 15). Of this number, 11 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":"web/features/notes/components/NoteOutline.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f619ae5ba7207942ae1a716c890b510d4773c794022a28038653f3a16e095b1"}},{"ruleId":"D1","level":"warning","message":{"text":"failed-submissions.clearFailedSubmission (cyclomatic 19): failed-submissions.clearFailedSubmission has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/failed-submissions.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfae83df35bafcf65f03b6203029073108828e70650e03f4fe35279c3a1ebad"}},{"ruleId":"D1","level":"warning","message":{"text":"memory-graph.parseDoc (cyclomatic 19): memory-graph.parseDoc 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":"web/lib/memory-graph.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7797cd43c2eaff99b160cad6e43d4aa9bca7685ae9157f2b16b54b1ea339349b"}},{"ruleId":"D1","level":"warning","message":{"text":"session-activity.buildSessionActivity (cyclomatic 19): session-activity.buildSessionActivity has cyclomatic complexity 19 (threshold 15). Of this number, 10 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":"web/lib/session-activity.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d898e89c2f9e95c0bf89698e49d2dde3d8e10e52240d6ad96782ca07c916f54"}},{"ruleId":"D1","level":"warning","message":{"text":"QuestionPipeline._parse_plan (cyclomatic 18): QuestionPipeline._parse_plan 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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cb2bbb3ce53c94a4a1e4d2f8bfe0c5945792d5a876ae350b0a56c16dad16e0"}},{"ruleId":"D1","level":"warning","message":{"text":"QuestionPipeline._build_llm_tool_schemas (cyclomatic 18): QuestionPipeline._build_llm_tool_schemas 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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"a196d7e9b1933c6fb6caa821995ba101bec483e9861cbb18888fc35df6bd096e"}},{"ruleId":"D1","level":"warning","message":{"text":"ResearchPipeline._render_section_evidence (cyclomatic 18): ResearchPipeline._render_section_evidence 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":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":2008}}}],"partialFingerprints":{"codehealthFindingId/v1":"621ac4729d6d4d5f94a7ac9c1a34226eb2f090d41d08b86fd832574cb68e9cb6"}},{"ruleId":"D1","level":"warning","message":{"text":"_BlockLoopHost._summarise_and_record (cyclomatic 18): _BlockLoopHost._summarise_and_record 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":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":2829}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5a23ceb05e79afebe92bb09cdab48d816829617f516a4f070a7a8cb52c450c"}},{"ruleId":"D1","level":"warning","message":{"text":"CitationManager._format_one_apa (cyclomatic 18): CitationManager._format_one_apa 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":"deeptutor/agents/research/utils/citation_manager.py"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb3d16cab19f9b2ad600d52a05d670f4e0c67aef175eb6dde8d21e90199c956"}},{"ruleId":"D1","level":"warning","message":{"text":"auth._create_admin_user (cyclomatic 18): auth._create_admin_user 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":"deeptutor/api/routers/auth.py"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d1a11a1bc0618b05fc985e7b126c8d7c62bf194ea206e3d1f4fed34b92d06c"}},{"ruleId":"D1","level":"warning","message":{"text":"SourceExplorer._collect_non_kb_chunks (cyclomatic 18): SourceExplorer._collect_non_kb_chunks 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":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"132aad5963badef9670293666606c95356f28cece35764b2fcc37e4d2ad33033"}},{"ruleId":"D1","level":"warning","message":{"text":"context.normalize_book_references (cyclomatic 18): context.normalize_book_references 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":"deeptutor/book/context.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8392a4c44be030e358aa2a410a1dcabf3ceee846460ba4462fe78b9f61c69c6"}},{"ruleId":"D1","level":"warning","message":{"text":"inputs._resolve_question_notebook (cyclomatic 18): inputs._resolve_question_notebook 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":"deeptutor/book/inputs.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f1e77e9bb4dea94c999bddfcf4f81fe11d04363708b0c9d84b566f67dd4688"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextExplorer._call_llm (cyclomatic 18): ContextExplorer._call_llm 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":"deeptutor/capabilities/explore_context/explorer.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"2470823e8732fb38041938cf1ea26be317edaaca84fa288a9be97a14e582b7da"}},{"ruleId":"D1","level":"warning","message":{"text":"native.investigate_native (cyclomatic 18): native.investigate_native 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":"deeptutor/capabilities/explore_context/native.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3712772886ad1cba915a6ecf79b58e258e96fcdb068b1e065baedd9b088aa0e"}},{"ruleId":"D1","level":"warning","message":{"text":"_AgentRelay.__call__ (cyclomatic 18): _AgentRelay.__call__ 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":"deeptutor/capabilities/handoff/capability.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e81c0649390f09bf0f0cee7f2156273a87b7877335a4dfe6b12685228c61554"}},{"ruleId":"D1","level":"warning","message":{"text":"grants.validate_grant (cyclomatic 18): grants.validate_grant 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":"deeptutor/multi_user/grants.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"b405611bd69c9f7056a3b13d515d43e137b2e636f1e0d08a66572a621bc9ab14"}},{"ruleId":"D1","level":"warning","message":{"text":"guardian_reading._read_report (cyclomatic 18): guardian_reading._read_report 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":"deeptutor/multi_user/guardian_reading.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"427df0e84eecfbc0287bbefd953c2fdc47627e5fbb1ed1d4c2c6733a43a860df"}},{"ruleId":"D1","level":"warning","message":{"text":"feishu._extract_interactive_content (cyclomatic 18): feishu._extract_interactive_content 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":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce40b7e2fbe323fd33e2fe6396569d00969f6f599153bc67c000f938bd689776"}},{"ruleId":"D1","level":"warning","message":{"text":"feishu._extract_post_content (cyclomatic 18): feishu._extract_post_content 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":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"36beecb9fd99d6515584115f44cbc24b29aa8f10c6f07223ab954657cdbc9546"}},{"ruleId":"D1","level":"warning","message":{"text":"TelegramChannel.send (cyclomatic 18): TelegramChannel.send 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":"deeptutor/partners/channels/telegram.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"8faf3ccb8eb34f981c9330956adf48cea73b4d2ee8675a396e84f1759c4d7cf9"}},{"ruleId":"D1","level":"warning","message":{"text":"lifecycle._manifest_from_wheel (cyclomatic 18): lifecycle._manifest_from_wheel 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":"deeptutor/plugins/lifecycle.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92661a61a7c9d55d112626dd7f65bccc7f6f711bb3ee1d5f4d65424385cc686"}},{"ruleId":"D1","level":"warning","message":{"text":"Annotation.from_dict (cyclomatic 18): Annotation.from_dict has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/models.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c138f4f038b11a38cee56bfc085aafab80c4dc845d20dce89fd2c95b259f06d"}},{"ruleId":"D1","level":"warning","message":{"text":"references.normalize_reading_references (cyclomatic 18): references.normalize_reading_references 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":"deeptutor/reading/references.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5eb6b284873270d3c00c2da7e2e1d83d635444283a5a838cd484022a79dd36"}},{"ruleId":"D1","level":"warning","message":{"text":"tool_dispatch.execute_tool_call (cyclomatic 18): tool_dispatch.execute_tool_call 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":"deeptutor/runtime/agentic/tool_dispatch.py"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dbc9df1920a2def49ca300a1477e7799790174c1bfad23207a272efa8e67f5"}},{"ruleId":"D1","level":"warning","message":{"text":"EngineClient.run_native (cyclomatic 18): EngineClient.run_native 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":"deeptutor/runtime/ts_engine/client.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b95a4ec9142df6209ddad468fab037d36d0d32a33038c2c71d33c84e950410e"}},{"ruleId":"D1","level":"warning","message":{"text":"CalendarStore.delete (cyclomatic 18): CalendarStore.delete 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":"deeptutor/services/calendar/store.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"280b33aa7c645bfd4c26d34465f57dba1ecbf3be0c16557826002b78a63b81b8"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexOAuthService._credentials_from_payload (cyclomatic 18): CodexOAuthService._credentials_from_payload 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":"deeptutor/services/codex_auth/service.py"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0607647ce6e9ac5a996e14394a42a3b5923d5fae33580817210fe33a6024b15"}},{"ruleId":"D1","level":"warning","message":{"text":"readiness.document_parser_rows (cyclomatic 18): readiness.document_parser_rows 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":"deeptutor/services/config/readiness.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ad0dbaf79ac0298207171b999fb7084fd991cde64483e2388efc23af36fd6d"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAICompatProvider.chat (cyclomatic 18): OpenAICompatProvider.chat 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":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a217d8d070aa174a85be4a50d4ffbc4205ee3098fb62b4dedd95d6662eec06ed"}},{"ruleId":"D1","level":"warning","message":{"text":"network.validate_mcp_url (cyclomatic 18): network.validate_mcp_url 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":"deeptutor/services/mcp/network.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d308f4111c87a3006d818cedc089e7c70f4ea1cb2be0cef485007617c281e1"}},{"ruleId":"D1","level":"warning","message":{"text":"document.parse (cyclomatic 18): document.parse 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":"deeptutor/services/memory/document.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10b79e5b8b83f536b5d4a194793d48c8fae0c64cb0137c5b8a8c7f465c35c4d"}},{"ruleId":"D1","level":"warning","message":{"text":"adapters.read_book_entities (cyclomatic 18): adapters.read_book_entities 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":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"973e62294bd67dfbd395cd7eece09224a3eb225fc4edc1d523b16fd8109bdb82"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.remove_asset (cyclomatic 18): workspace.remove_asset 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":"deeptutor/services/partners/workspace.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd3028b93d0922032bfaa683180a8a858a57d9f9c0a0ef5ba772a0c4914482f"}},{"ruleId":"D1","level":"warning","message":{"text":"BochaProvider.search (cyclomatic 18): BochaProvider.search has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/providers/bocha.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"689fd9b95f75ea62a96d12223e615738a458468b4789d27c634a8cb3f9d9736d"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchApiProvider.search (cyclomatic 18): SearchApiProvider.search 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":"deeptutor/services/search/providers/searchapi.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a20e03ea0ee585b9d772773116656357931af23233ab84410cec26cdeb74839"}},{"ruleId":"D1","level":"warning","message":{"text":"_turn_runtime_shared._format_question_bank_entry (cyclomatic 18): _turn_runtime_shared._format_question_bank_entry has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cc9fad841fd7e45af10f34f8b9d8af2c11fbbb509262fcfd0d3399b8450d91"}},{"ruleId":"D1","level":"warning","message":{"text":"LegacyChatSessionMigrator._migrate_locked (cyclomatic 18): LegacyChatSessionMigrator._migrate_locked 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":"deeptutor/services/session/legacy_migration.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"038a93ae03bba343c09e70ee35ad5d6d7651cc3d4eb2d6c062dadd3f95e2b7e9"}},{"ruleId":"D1","level":"warning","message":{"text":"SQLiteSessionStore._begin_turn_sync (cyclomatic 18): SQLiteSessionStore._begin_turn_sync 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"380a69975c1f9c4e8cc1159143eebb87f0302f35ee1fa8140f715721c2baf9a9"}},{"ruleId":"D1","level":"warning","message":{"text":"thread_attribution.backfill_thread_sources (cyclomatic 18): thread_attribution.backfill_thread_sources 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":"deeptutor/services/session/thread_attribution.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"0627077e938ae902f0f657591e7c3eec9020d0b2c8b56fbe05aa8bc9205ffd00"}},{"ruleId":"D1","level":"warning","message":{"text":"MistralSTTAdapter.transcribe (cyclomatic 18): MistralSTTAdapter.transcribe 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":"deeptutor/services/voice/adapters/mistral.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"603079e4c86d1dbdcf6c6ed19241f4769a9d467f587fdb625444531a3d46c313"}},{"ruleId":"D1","level":"warning","message":{"text":"html_extractor.extract_page_language_and_alternates (cyclomatic 18): html_extractor.extract_page_language_and_alternates 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":"deeptutor/services/web_source/html_extractor.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"78995f54ac178b8e8609ce6b6cc5b5465edf7d691b3bc216013504e6ed2379c0"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceCatalogMixin.update_workspace (cyclomatic 18): WorkspaceCatalogMixin.update_workspace 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":"deeptutor/services/workspace/catalog.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e47af1bcee5fb51256dc205901654f6aae7201187517782be9b24ca4ecaadd"}},{"ruleId":"D1","level":"warning","message":{"text":"dependencies._with_historical_references (cyclomatic 18): dependencies._with_historical_references 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":"deeptutor/services/workspace/dependencies.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4778b3e0d8983344cce64b8e08d5f9ecdc1ce971c256a68de257391e876ee2a7"}},{"ruleId":"D1","level":"warning","message":{"text":"bibtex_converter._read_fields (cyclomatic 18): bibtex_converter._read_fields 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":"deeptutor/utils/bibtex_converter.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2cab208cf6cc253ea51b931a4a4be4e016e0a919ff28192ffc9e784e92f283"}},{"ruleId":"D1","level":"warning","message":{"text":"model-tool.modelTool (cyclomatic 18): model-tool.modelTool 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":"packages/chat-engine/src/tools/model-tool.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4646a7b38d981f4de9c8d5b83cd43ba86595c4d38806e733d68eb16783bfa53f"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatMarkdownNoteTab.ChatMarkdownNoteTab (cyclomatic 18): ChatMarkdownNoteTab.ChatMarkdownNoteTab has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 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":"web/components/chat/home/ChatMarkdownNoteTab.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c50f1f3d25a182e82d88f7daa55483e9732b96e4c5503c04bb83f51db9460b9"}},{"ruleId":"D1","level":"warning","message":{"text":"CliAppsSection.Installed (cyclomatic 18): CliAppsSection.Installed 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 3 function literals inside it that branch (lines 215, 164, 284). 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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab66856bfa24d5ab0325cb3e6dda37b1dddb05876c3ca90361ba95d5608e321"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeHome.KnowledgeHome (cyclomatic 18): KnowledgeHome.KnowledgeHome has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 6 function items inside it that branch (renderProvider, a function literal at line 361, a function literal at line 271, \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":"web/components/knowledge/KnowledgeHome.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3499b105161c93a57c1954d5aedf7619731b90e6be407e061885d8c001948c3e"}},{"ruleId":"D1","level":"warning","message":{"text":"PageIndexSettingsModal.PageIndexConfigForm (cyclomatic 18): PageIndexSettingsModal.PageIndexConfigForm has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 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":"web/components/knowledge/PageIndexSettingsModal.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b251993f32fd3cb5f50be45eb67368f34c38a265a14af48d45eea950f616025"}},{"ruleId":"D1","level":"warning","message":{"text":"NotebookFavoriteContent.NotebookFavoriteContent (cyclomatic 18): NotebookFavoriteContent.NotebookFavoriteContent has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/NotebookFavoriteContent.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"02397a6d6dd94be7a59f9fab234f4dcc86139d9983bbf098e77daded564ef4a3"}},{"ruleId":"D1","level":"warning","message":{"text":"NotebookSelector.NotebookSelector (cyclomatic 18): NotebookSelector.NotebookSelector 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 2 function literals inside it that branch (lines 89, 166). 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":"web/components/notebook/NotebookSelector.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"50155265eba9e7dfb4e22093a4d40b1da9ac40cfcde389dad1368bfc35c2a6d6"}},{"ruleId":"D1","level":"warning","message":{"text":"GroupSidePanel.GroupSidePanel (cyclomatic 18): GroupSidePanel.GroupSidePanel 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 literals inside it that branch (lines 60, 127, 157, \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":"web/components/partners/group/GroupSidePanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bf5de6a0bc3829639699d47d53021ecee40b051dcf52e7cef7b1f3a3170bca"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerGroupChat.PartnerGroupChat (cyclomatic 18): PartnerGroupChat.PartnerGroupChat 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 10 function literals inside it that branch (lines 89, 99, 135, \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":"web/components/partners/group/PartnerGroupChat.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"88277c6b71ebfa8b1a4edfa7bb54bcaaf3c062a05806cea7107c7f23c27a0b2b"}},{"ruleId":"D1","level":"warning","message":{"text":"PdfZoomControls.PdfZoomControls (cyclomatic 18): PdfZoomControls.PdfZoomControls 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 literals inside it that branch (lines 133, 67, 65, \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":"web/components/reading/PdfZoomControls.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cb3cd039932329827ee41808371b84c175382f30edc82053829e751b06580b"}},{"ruleId":"D1","level":"warning","message":{"text":"AddMaterialsDialog.AddMaterialsDialog (cyclomatic 18): AddMaterialsDialog.AddMaterialsDialog 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. This shape REPEATS in the file: one other method here (AddMaterialsDialog.AddMaterialsDialog::submit) 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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1db3aece6a919fcea6ca4dc17a889eb2c4a3a04822fbf031dbc4b3f6b567993"}},{"ruleId":"D1","level":"warning","message":{"text":"TimeGrid.TimedBlock (cyclomatic 18): TimeGrid.TimedBlock 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, 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":"web/features/calendar/components/TimeGrid.tsx"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12dd70263048eb1c37bbe5955ff688729912ba3b627bd3973da15e707c48e6e"}},{"ruleId":"D1","level":"warning","message":{"text":"recurrence.parseRule (cyclomatic 18): recurrence.parseRule 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":"web/features/calendar/model/recurrence.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c54e6ea34e815f830860dce1459527b19f6cd292cc603996eac3fe2633919df"}},{"ruleId":"D1","level":"warning","message":{"text":"recurrence.describeRule (cyclomatic 18): recurrence.describeRule has cyclomatic complexity 18 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/model/recurrence.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0ec067af490982f69e5cc15c544da29ff9550d6eea7e1c23021bc094e718eb"}},{"ruleId":"D1","level":"warning","message":{"text":"TracePresentation.ToolExchangeDetail (cyclomatic 18): TracePresentation.ToolExchangeDetail 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc05928e8796ebf97a855669059f27f807c85894b49221be2333cc9881966b1"}},{"ruleId":"D1","level":"warning","message":{"text":"TracePresentation.getResearchStageId (cyclomatic 18): TracePresentation.getResearchStageId has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bb31e48a8a97d0deaea240417b9dc2e7167f16e25ec9e6f7bd5800026e0974"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteTaskView.NoteTaskView (cyclomatic 18): NoteTaskView.NoteTaskView 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 10 function items inside it that branch (a function literal at line 37, a function literal at line 174, a function literal at line 30, \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":"web/features/notes/components/NoteTaskView.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"703e9b297c676f92d8b738322738c81e60c06b0a42e34b889383fc465090ba79"}},{"ruleId":"D1","level":"warning","message":{"text":"useWorkspaceChatActions.useWorkspaceChatActions (cyclomatic 18): useWorkspaceChatActions.useWorkspaceChatActions 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 5 function literals inside it that branch (lines 60, 95, 51, \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":"web/hooks/useWorkspaceChatActions.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fc3c4e83c90dddc53ccd506b063c4fc89b1600d6529b50b0ce692e5aba647e"}},{"ruleId":"D1","level":"warning","message":{"text":"message-branches.buildVisiblePath (cyclomatic 18): message-branches.buildVisiblePath 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":"web/lib/message-branches.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7498b9f0ed77e4379715e1ff9e10171c2986adaf32e5ee9466e5cb6f3d3d103f"}},{"ruleId":"D1","level":"warning","message":{"text":"latex.convertFlowFenceToMermaid (cyclomatic 18): latex.convertFlowFenceToMermaid has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 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":"web/lib/latex.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"624769f3ea659f3e9fc562e695d093c5d69645942baf8f4389256f264aa7a03c"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseAgent.call_llm (cyclomatic 17): BaseAgent.call_llm 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":"deeptutor/agents/base_agent.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"410579e3846e6e0c1520ffa60a79d2d080da3d804881a35b2842250439ead676"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseAgent.stream_llm (cyclomatic 17): BaseAgent.stream_llm 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":"deeptutor/agents/base_agent.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"083eeb71a907cdb46c1c87bf8a5f9b141429c6171edcebcb763c61d5ed0e3269"}},{"ruleId":"D1","level":"warning","message":{"text":"native_tools.tool_runtime (cyclomatic 17): native_tools.tool_runtime 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":"deeptutor/agents/loop/native_tools.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a54fd8603d0c36342383e480afc7091cd3da34650ca6a416922e3be7fde21b"}},{"ruleId":"D1","level":"warning","message":{"text":"AgenticLoopPipeline.run (cyclomatic 17): AgenticLoopPipeline.run 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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c2261e26012f79128b0b4a116db056bc2b21a871e43e55f80d35ee8baa0047"}},{"ruleId":"D1","level":"warning","message":{"text":"AgenticLoopPipeline._build_loop_messages (cyclomatic 17): AgenticLoopPipeline._build_loop_messages 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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"536f6a9db24dd40917af82be1656bb55fb0bfa782fc9f00e9e2a35a1bcd221a6"}},{"ruleId":"D1","level":"warning","message":{"text":"QuestionPipeline.__init__ (cyclomatic 17): QuestionPipeline.__init__ 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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf52ec8ea0c3d34ef11a3fa2c4fa44b0dc44a5fe4f3a07569bea651d4e0f9a25"}},{"ruleId":"D1","level":"warning","message":{"text":"CitationManager._extract_web_citation (cyclomatic 17): CitationManager._extract_web_citation 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":"deeptutor/agents/research/utils/citation_manager.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee803850b78ab5edb46452c94323971d575314cc19545cabd5bb7ad0cd3537d9"}},{"ruleId":"D1","level":"warning","message":{"text":"VisualizeCapability.run (cyclomatic 17): VisualizeCapability.run 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":"deeptutor/agents/visualize/capability.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"def61798abd86621e6aaf88a5a77a833dbad71ebbe74cd8cdaca5eac1f0ed35f"}},{"ruleId":"D1","level":"warning","message":{"text":"auth.complete_session_handoff (cyclomatic 17): auth.complete_session_handoff 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":"deeptutor/api/routers/auth.py"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b22a3963545a43ad847598ac22fa30f7481fcd60d6b6505850a873b1aa67d68"}},{"ruleId":"D1","level":"warning","message":{"text":"co_writer._run_react_edit (cyclomatic 17): co_writer._run_react_edit 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":"deeptutor/api/routers/co_writer.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fbc891b8b14dc8de2af308d007cbc180bcaef5b58aa92058e198c4c3b43098"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge.run_upload_processing_task (cyclomatic 17): knowledge.run_upload_processing_task 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c099493a34661b34fdde38fb09ebb00f7f775e80ffc3a77ea07963a9692c6e34"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge.connect_lightrag_server_route (cyclomatic 17): knowledge.connect_lightrag_server_route 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2439}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71b77b5cf33c2bcc2e2fad5bc594ce904a10c54fe626a671672a0be25724123"}},{"ruleId":"D1","level":"warning","message":{"text":"sessions._normalize_legacy_watching_session (cyclomatic 17): sessions._normalize_legacy_watching_session 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":"deeptutor/api/routers/sessions.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3daf9054e59df30dad3d2a7234e253f251ee455b0a61693f704e4c53c61791f1"}},{"ruleId":"D1","level":"warning","message":{"text":"tool_options.build_tool_options (cyclomatic 17): tool_options.build_tool_options 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":"deeptutor/api/utils/tool_options.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30ebfdebced123cb910de32240f835231386a155e8adb7848a27a62ae3f04af"}},{"ruleId":"D1","level":"warning","message":{"text":"spine_synthesizer._topological_sort (cyclomatic 17): spine_synthesizer._topological_sort 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":"deeptutor/book/agents/spine_synthesizer.py"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9287111b15d05169f073274ef08653769989641baead26c1c17addcf4b54b7"}},{"ruleId":"D1","level":"warning","message":{"text":"FlashCardsGenerator._generate (cyclomatic 17): FlashCardsGenerator._generate 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":"deeptutor/book/blocks/flash_cards.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d219c0f75d5a75d0357688c99ad81348050c69fc7b672f68d811b0942e46c390"}},{"ruleId":"D1","level":"warning","message":{"text":"BookEngine.confirm_spine (cyclomatic 17): BookEngine.confirm_spine 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":"deeptutor/book/engine.py"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e78255dde4aef17a3f2605dc8102c9bd56cc127d9fa34edaf2418ab287a969"}},{"ruleId":"D1","level":"warning","message":{"text":"BookEngine._compile_page_now (cyclomatic 17): BookEngine._compile_page_now 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":"deeptutor/book/engine.py"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d2ae4706592e95bc849a9c3175d714e482ba54138576ad20d45797ac61d97a"}},{"ruleId":"D1","level":"warning","message":{"text":"inputs.build_book_inputs (cyclomatic 17): inputs.build_book_inputs 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":"deeptutor/book/inputs.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c723b196a1a6adc9d1d5180f969e382cd2d4732ca080b69624327c98294c5c6e"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryLoopCapability._grade_seed (cyclomatic 17): MasteryLoopCapability._grade_seed 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":"deeptutor/capabilities/mastery/loop.py"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e38941261fe99c7d8a7fa3901b8f7a8c88c255521f5ff8582142df0e05f6cd5"}},{"ruleId":"D1","level":"warning","message":{"text":"MasteryLoopPipeline.prepare_model_request (cyclomatic 17): MasteryLoopPipeline.prepare_model_request 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":"deeptutor/capabilities/mastery/pipeline.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb773a57d7436ff8248eaf70903498112aa955178ba21ae6e3f2e38936ee0e7f"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexingRun._start (cyclomatic 17): IndexingRun._start has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/indexing_run.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"52350505f88be39ba8e6329fe47315bfb1591400b9d27e868546e64e6d4d55de"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningService.record_qualitative_in_memory (cyclomatic 17): LearningService.record_qualitative_in_memory 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":"deeptutor/learning/service.py"},"region":{"startLine":2919}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d1943026ac598da48bca57b967b4a356d7a6f6ee73605f17eb6da9a9875a03"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailChannel._extract_text_body (cyclomatic 17): EmailChannel._extract_text_body 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":"deeptutor/partners/channels/email.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"6544eb9a467341837c5aa6421a615eb442c483dd72311bcd221570e03d82715e"}},{"ruleId":"D1","level":"warning","message":{"text":"NapcatChannel._parse_segments (cyclomatic 17): NapcatChannel._parse_segments 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":"deeptutor/partners/channels/napcat.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94d5211416cc83ed89a3e3786d5fecd13758207ab51603434d34ffb3e3501a7"}},{"ruleId":"D1","level":"warning","message":{"text":"registry._validate_state (cyclomatic 17): registry._validate_state 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":"deeptutor/plugins/registry.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c7eeb86c9aa8a05bd3a5303685895fb79a5e0462cce54cae869dadcfc5eaeb"}},{"ruleId":"D1","level":"warning","message":{"text":"extract.split_markdown_by_headings (cyclomatic 17): extract.split_markdown_by_headings 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":"deeptutor/reading/extract.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b225f4a47742410cb1446de2618b670a799b02b5a15d034c10a28d83361cc3"}},{"ruleId":"D1","level":"warning","message":{"text":"launcher._port_listeners_windows (cyclomatic 17): launcher._port_listeners_windows 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":"deeptutor/runtime/launcher.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f167670010d8c1c1d5548578ba8076470363a286f9b41bbd6848b959b2968b"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog._parse (cyclomatic 17): catalog._parse 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":"deeptutor/services/cli_apps/catalog.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd465b499869c1cc3410a8cec7a05addc5b527c1956cf4866a8cba0f9f9dcd6"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_runtime.resolve_stt_runtime_config (cyclomatic 17): provider_runtime.resolve_stt_runtime_config 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. This shape REPEATS in the file: one other method here (provider_runtime.resolve_imagegen_runtime_config) 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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e6dc9c6ed2146d902df2f2a42edf06b262989de95c48e029852417bbf3fae6"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_runtime.resolve_imagegen_runtime_config (cyclomatic 17): provider_runtime.resolve_imagegen_runtime_config 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. This shape REPEATS in the file: one other method here (provider_runtime.resolve_stt_runtime_config) 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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e50f9391c5d9d489ee5f2c8e305c2183a30b97ffeba1ebed6cea5a640adb72f"}},{"ruleId":"D1","level":"warning","message":{"text":"readiness.coordination_rows (cyclomatic 17): readiness.coordination_rows 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":"deeptutor/services/config/readiness.py"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"349052d3e536d2c7c91a6222fbd11801fee09a83f2613a580dbdc971fee0c6f3"}},{"ruleId":"D1","level":"warning","message":{"text":"OllamaEmbeddingAdapter.embed (cyclomatic 17): OllamaEmbeddingAdapter.embed 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":"deeptutor/services/embedding/adapters/ollama.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0101c5671eaaa1fb80bc73f7760e6db1d1e7f1bd47ea355f6bd67a8a13a9f50"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAISDKEmbeddingAdapter.embed (cyclomatic 17): OpenAISDKEmbeddingAdapter.embed 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":"deeptutor/services/embedding/adapters/openai_sdk.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1895a1cbb435144024a7f38d919653e2933fbbedd4df7a8ad66aeaa4c82a69"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepSeekFetchProvider.fetch (cyclomatic 17): DeepSeekFetchProvider.fetch 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":"deeptutor/services/fetch/providers/deepseek.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4223abe83637c65092572063b7ebf32713efc080f8214a8a527bc34f4d4943a6"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.sync_source (cyclomatic 17): sync.sync_source 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":"deeptutor/services/github_source/sync.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b458527005ceced3110295ee1f86bace14e52c57cf2143042b9e227b6bba05"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicProvider._assistant_blocks (cyclomatic 17): AnthropicProvider._assistant_blocks 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":"deeptutor/services/llm/provider_core/anthropic_provider.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"47efc7e539c0e8289a27f060159e6956bc46cbe648297aaa93a7fd664c2cf876"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicProvider._parse_response (cyclomatic 17): AnthropicProvider._parse_response 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":"deeptutor/services/llm/provider_core/anthropic_provider.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f40a422461a5b668b70479efcd3c3e463bad1a7d1c77cc41554e63a519f14b4"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAICodexProvider._call_codex (cyclomatic 17): OpenAICodexProvider._call_codex 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":"deeptutor/services/llm/provider_core/openai_codex_provider.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c40204c3acd03185e1c41a11807657c9c08f87b57c39431fb82868e02ae90f"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAICompatProvider.__init__ (cyclomatic 17): OpenAICompatProvider.__init__ 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":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f558cf495fee928c8af0a8b5df3cd64bee26ac305d87294b5db325cac4213ef"}},{"ruleId":"D1","level":"warning","message":{"text":"response_recovery.guarded_responses (cyclomatic 17): response_recovery.guarded_responses 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":"deeptutor/services/llm/provider_core/response_recovery.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"992821ca93f09a5c21ef77602661a71b86829ce306042806aa48c1d45ff3c428"}},{"ruleId":"D1","level":"warning","message":{"text":"LiteParseParser.parse (cyclomatic 17): LiteParseParser.parse 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":"deeptutor/services/parsing/engines/liteparse/engine.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2654e5c8041d4fbd94d455175112066b4e2335f516895a721bbf6fba50cbdb51"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseService._parse (cyclomatic 17): ParseService._parse 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":"deeptutor/services/parsing/service.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a2bea03dd008d9438c3cf764d22afd42d934e7d66ad5edccc6a8ce37670fc2"}},{"ruleId":"D1","level":"warning","message":{"text":"provider.resolve_persisted_completion_provider (cyclomatic 17): provider.resolve_persisted_completion_provider 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":"deeptutor/services/rag/pipelines/graphrag/provider.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c434e05cb8818c58cd118e74b3997365191e7013b89c7cce173bbb7b91cfacd"}},{"ruleId":"D1","level":"warning","message":{"text":"ingress.load_verified_bundle (cyclomatic 17): ingress.load_verified_bundle 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":"deeptutor/services/rag/pipelines/lightrag/ingress.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36ededf059a99bd2c5a0b6a6ba1ff69bcd060a2ee5d0418234b2f2f6ace98ab"}},{"ruleId":"D1","level":"warning","message":{"text":"source_filter._web_risk_rejections (cyclomatic 17): source_filter._web_risk_rejections 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":"deeptutor/services/search/source_filter.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7cc18812816b2d4017df241e4edbfcbfd12d451677d44cb287a76fb34ef422"}},{"ruleId":"D1","level":"warning","message":{"text":"_turn_runtime_shared._extract_selection_tutor_context (cyclomatic 17): _turn_runtime_shared._extract_selection_tutor_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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cef351c1ca57940dd2198a27dbd86e7f017ad1f15c17d3d6f083f99b8f4868"}},{"ruleId":"D1","level":"warning","message":{"text":"source_inventory.collect_prior_image_attachments (cyclomatic 17): source_inventory.collect_prior_image_attachments 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":"deeptutor/services/session/source_inventory.py"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b4ef9c4dfca65c3266197492e548cdb7dcbb0980b84d7f7aaf998c3bcd22b2"}},{"ruleId":"D1","level":"warning","message":{"text":"TurnLifecycle._publish_live_event (cyclomatic 17): TurnLifecycle._publish_live_event 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":"deeptutor/services/session/turns/lifecycle.py"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5567edc0608b0ca9e59dc17b6d266193701549bd4c70a8176f462ed3abb0b33"}},{"ruleId":"D1","level":"warning","message":{"text":"usage_recovery.recover_summary (cyclomatic 17): usage_recovery.recover_summary has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/usage_recovery.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab73b8577281a77090e50c3d4138deee4090a6b14a8bf7436f84886045b06c6"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_edit.merge_provider_edit (cyclomatic 17): provider_edit.merge_provider_edit 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":"deeptutor/services/settings/provider_edit.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dcb8c43654b1741ade9b59bc6190a841516f3208965821248202681292278d"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_probe.probe_search_provider (cyclomatic 17): provider_probe.probe_search_provider 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":"deeptutor/services/settings/provider_probe.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"541b0c5e902e5095c55db5259204617caeb08014fa8f1473315872cf4e4ebbe6"}},{"ruleId":"D1","level":"warning","message":{"text":"hub.preflight_skill_dir (cyclomatic 17): hub.preflight_skill_dir 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":"deeptutor/services/skill/hub.py"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff9adb55b9e8252427e4eb3c13dbbe0704713204ff07960d215af594471206b"}},{"ruleId":"D1","level":"warning","message":{"text":"crawler.crawl_and_diff (cyclomatic 17): crawler.crawl_and_diff 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":"deeptutor/services/web_source/crawler.py"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ba9196bd218d2b6c2759434c22fd16be4bb6289d61d7afc0e938a3d3053e9c"}},{"ruleId":"D1","level":"warning","message":{"text":"migration.migrate_locations (cyclomatic 17): migration.migrate_locations 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":"deeptutor/services/workspace/migration.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"837e0ef0e6c8e8b7a9236242cb21c898bb0604a12617f9b7e4229416d8fae72e"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentWorkspaceService.search_page (cyclomatic 17): ContentWorkspaceService.search_page 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":"deeptutor/services/workspace/service.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4fcc7206c3937e8abfaed2a5f92cb38d53a5bbbc7d396a94d736675148b96a"}},{"ruleId":"D1","level":"warning","message":{"text":"ListDirTool.execute (cyclomatic 17): ListDirTool.execute 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":"deeptutor/tools/file_tools.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb6f762136c4121ee47ff0cb1e5dcb9df99d930d1390a6b6c78a36eb9d162ef"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceExportTool.execute (cyclomatic 17): WorkspaceExportTool.execute 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":"deeptutor/tools/workspace.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eee2279d6c8038dd6b6189a7443d3c7c1c921e765ad782f8df6976c198f1db"}},{"ruleId":"D1","level":"warning","message":{"text":"write_note.write_note (cyclomatic 17): write_note.write_note 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":"deeptutor/tools/write_note.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"05319bed118a076193aea045e05dac8f383f7bd0d71970565f84db1ecab3c41b"}},{"ruleId":"D1","level":"warning","message":{"text":"document_extractor.normalize_epub_archive (cyclomatic 17): document_extractor.normalize_epub_archive 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":"deeptutor/utils/document_extractor.py"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddf0134987a667433a62009bf6c1adc5dabd9975ecff1338b66804d75e37df1"}},{"ruleId":"D1","level":"warning","message":{"text":"SubmitVisualizationTool.execute (cyclomatic 17): SubmitVisualizationTool.execute 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":"deeptutor/visualizers/tool.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5319c75ad44725eeab15ea65249bc1634c2ca8bd11ab2b17c378e108ddb6f4c4"}},{"ruleId":"D1","level":"warning","message":{"text":"init_cmd._llm_step (cyclomatic 17): init_cmd._llm_step 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":"deeptutor_cli/init_cmd.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4e1e99aea125fe8290a305b58abf9fdbcdfaee93c6df05369ea5181f9de781"}},{"ruleId":"D1","level":"warning","message":{"text":"init_cmd._search_step (cyclomatic 17): init_cmd._search_step 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":"deeptutor_cli/init_cmd.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22a4dfad30f6a5d5c1ec6a57baca62633e442259c188d6139a524f0962f8d4e"}},{"ruleId":"D1","level":"warning","message":{"text":"types.validateProvider (cyclomatic 17): types.validateProvider has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/native/types.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b80f38384bdf076e157ce8235a2f79918e568558146101b4f9095fbe1ed2a43"}},{"ruleId":"D1","level":"warning","message":{"text":"ask-user-draft.partialJson::value (cyclomatic 17): ask-user-draft.partialJson::value 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/chat-engine/src/tools/ask-user-draft.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda6621eb86df42196169bd96cb07a28beb2fd3328d1091632bab0ba028742dd"}},{"ruleId":"D1","level":"warning","message":{"text":"BookEditReview.BookEditReview (cyclomatic 17): BookEditReview.BookEditReview has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 33, apply, a function literal at line 28, \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":"web/app/(workspace)/learning/books/components/BookEditReview.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c7f0dace31ff2c2ccf6650381a69ef6b40fdb1c63cf37493ad31febce12daa"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningCapturePanel.LearningCapturePanel (cyclomatic 17): LearningCapturePanel.LearningCapturePanel has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/LearningCapturePanel.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebd7aa0f87ad818f8d31162af9c38479b352c02513f0b1e78faf9ed3a543bd9"}},{"ruleId":"D1","level":"warning","message":{"text":"SideChatResponderMenu.SideChatResponderMenu (cyclomatic 17): SideChatResponderMenu.SideChatResponderMenu has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 79, 80, 84, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/SideChatResponderMenu.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f61e4269c80ef9ec9bddf15f990b2d0a08628cc3296d4fcd8680780c55f933a"}},{"ruleId":"D1","level":"warning","message":{"text":"DocxPreview.DocxPreview (cyclomatic 17): DocxPreview.DocxPreview 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 5 function literals inside it that branch (lines 75, 49, 62, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/preview/previewers/DocxPreview.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fad859db77855a540bba1aa6d6fac719287fef6f905f81d131dbb28cc71681"}},{"ruleId":"D1","level":"warning","message":{"text":"OfficePdfPreview.OfficePdfPreview (cyclomatic 17): OfficePdfPreview.OfficePdfPreview has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 43, 94). 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":"web/components/chat/preview/previewers/OfficePdfPreview.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"11de6e3a44b39b8f4a21f70e89c65dfc509bec0c237af6ca68bd7ae607084fcf"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineFileCard.makeFileLinkRemarkPlugin::visit (cyclomatic 17): InlineFileCard.makeFileLinkRemarkPlugin::visit 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":"web/components/common/InlineFileCard.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff00bf3fd6571be9a54b0da6b964063b2ae1f46e26e0ea8b287bdfe950eacfd6"}},{"ruleId":"D1","level":"warning","message":{"text":"KbVisualCoverage.KbVisualCoverage (cyclomatic 17): KbVisualCoverage.KbVisualCoverage has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to 5 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":"web/components/knowledge/KbVisualCoverage.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4a7b3a03cfbc446ab2795c45fc0e0e7c9e3707872d9bed822af134bb04ca57"}},{"ruleId":"D1","level":"warning","message":{"text":"KbStatusBadge.KbStatusBadge (cyclomatic 17): KbStatusBadge.KbStatusBadge 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":"web/components/knowledge/KbStatusBadge.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac9c2eabc8675143c00d6115f54cb8f9419c8d2337e84506d9e1544b4297b82"}},{"ruleId":"D1","level":"warning","message":{"text":"NewLearningPage.NewLearningPage (cyclomatic 17): NewLearningPage.NewLearningPage has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/learning/NewLearningPage.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d284d431d1af603f246f07e9fd86fb7972159485d7cf625dc592788fec66900"}},{"ruleId":"D1","level":"warning","message":{"text":"ReviewHome.ReviewHome (cyclomatic 17): ReviewHome.ReviewHome has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 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":"web/components/learning/practice/ReviewHome.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae46fdc7b784e53bdb3bac2875eb54ff6bb3c9f3a09f1685e557e2da483d5b6b"}},{"ruleId":"D1","level":"warning","message":{"text":"FaceEditor.FaceEditor (cyclomatic 17): FaceEditor.FaceEditor 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 5 function items inside it that branch (handleFile, a function literal at line 138, a function literal at line 144, \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":"web/components/partners/FaceEditor.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"47842bf13e6412c9e04e86bb5ace6a3e2ca10aa5ac2e95d05f95ae0d2dfc7d1e"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingExtensionBar.QuizQuestions (cyclomatic 17): ReadingExtensionBar.QuizQuestions has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (persistAnswer, a function literal at line 531, a function literal at line 550). 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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3534e03349e2a428bb1594021a22b63daedfd9e00601baa7f7059344392d645"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingExtensionBar.QuestionHelp::requestHelp (cyclomatic 17): ReadingExtensionBar.QuestionHelp::requestHelp 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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51d789bc7ef2eca84c919161a75080b8b12656f2468ba2c1fe5acdfabbfec7a"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingLibrary.ReadingLibraryPage (cyclomatic 17): ReadingLibrary.ReadingLibraryPage has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 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":"web/components/reading/library/ReadingLibrary.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd66a33c77c0a8121ed9f331fb14510beb7114c6ae33cc55b3dcd0f58db6370"}},{"ruleId":"D1","level":"warning","message":{"text":"useLearningMode.useReadingLearningMode (cyclomatic 17): useLearningMode.useReadingLearningMode 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 7 function literals inside it that branch (lines 110, 88, 104, \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":"web/components/reading/workspace/useLearningMode.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fa471277e5dfe04704d1af7603fde7d656193052fd76f675871577dd9a48ab"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningJournalPanel.LearningJournalPanel (cyclomatic 17): LearningJournalPanel.LearningJournalPanel has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 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":"web/components/space/LearningJournalPanel.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e4a2dcb200321191e339de0aa7f197f6c461128db0089a7f863d1a35e8b859"}},{"ruleId":"D1","level":"warning","message":{"text":"McpStoreSection.McpStoreSection (cyclomatic 17): McpStoreSection.McpStoreSection 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":"web/components/space/McpStoreSection.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9a2ce6d1a12d714fbef2647ba407e07f3c0694cbff39e9decf529c2e2474a6"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateTopicWizard.CreateTopicWizard (cyclomatic 17): CreateTopicWizard.CreateTopicWizard has cyclomatic complexity 17 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/learning/CreateTopicWizard.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"871afbb58b202cb45d7bbc719f24a5cbbea01502a40e441f1ec66c0dec737080"}},{"ruleId":"D1","level":"warning","message":{"text":"VisualizationViewer.VisualizationViewer (cyclomatic 17): VisualizationViewer.VisualizationViewer has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4fbdf04c92f318173f681c0417495b7352bcb5e5fddb16eba7aa50ae619529"}},{"ruleId":"D1","level":"warning","message":{"text":"WhisperMessageList.WhisperMessageList (cyclomatic 17): WhisperMessageList.WhisperMessageList 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 one function literal inside it that branches (line 87). 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":"web/components/whisper/WhisperMessageList.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96ca73600b2a2a1ef99a0fcc71a414b6df090092a28667b2ab95c46ddb706bd"}},{"ruleId":"D1","level":"warning","message":{"text":"model.validatePrimitive (cyclomatic 17): model.validatePrimitive 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":"web/features/capabilities/model.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"487038638f13417fa713d30dc32d08396a9e55e90b7b30ea213da0373d6ec624"}},{"ruleId":"D1","level":"warning","message":{"text":"TurnRuntimeClient.handleMessage (cyclomatic 17): TurnRuntimeClient.handleMessage 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":"web/features/chat/transport/TurnRuntimeClient.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"5502eea3ab49fe91f35d1ef988c7033cc9a7ab11c6e2f9f3d17565d030018d49"}},{"ruleId":"D1","level":"warning","message":{"text":"blocks.inlineText (cyclomatic 17): blocks.inlineText 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 one function literal inside it that branches (line 7). 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":"web/features/notes/model/blocks.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dd214694277d64f239a2889d9a5a3ceb0ea5509f19d1a569c35c6855ae9011"}},{"ruleId":"D1","level":"warning","message":{"text":"concept-map.noteConceptMap (cyclomatic 17): concept-map.noteConceptMap has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, 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":"web/features/notes/model/concept-map.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc30eb0a100a78938a4d43370106d95bf0afcc4fbdeb137ce6ed1fb1471ca09"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteResult.NoteResult (cyclomatic 17): NoteResult.NoteResult 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 one function literal inside it that branches (line 33). 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":"web/features/notes/components/NoteResult.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"779b3d7bf94723cd5f5f8a1b836a746606eba821cec9c0cf456dd91a754098a9"}},{"ruleId":"D1","level":"warning","message":{"text":"AddToNote.AddToNote (cyclomatic 17): AddToNote.AddToNote has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 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":"web/features/notes/components/AddToNote.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf6b14743c71e15c84d9d8be4f7dd1213fb82454e8762c1485871f86cfbf20f"}},{"ruleId":"D1","level":"warning","message":{"text":"results.resultLearningBlock (cyclomatic 17): results.resultLearningBlock has cyclomatic complexity 17 (threshold 15). Of this number, 14 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":"web/features/notes/model/results.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"702b769def59578eece7aee98a9cdaab5a9723e5b693a66206bc3ac45e387642"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteSourcePicker.NoteSourcePicker (cyclomatic 17): NoteSourcePicker.NoteSourcePicker has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (select, a function literal at line 96, a function literal at line 31, \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":"web/features/notes/components/NoteSourcePicker.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"76de3c59a2a309f4dd2bbd73ea1379513e8f5d8393dc11058876ed7670accf3b"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-resend.decideFailedTurnReplay (cyclomatic 17): chat-resend.decideFailedTurnReplay has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/chat-resend.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9755fd6c1c8cf545c987899ba55287f6a3ae16b35dc8e6b9f33b59e2cf19510"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-registry.providerServiceSupport (cyclomatic 17): provider-registry.providerServiceSupport has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/provider-registry.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"12122521c273967110d67614622e8805abb2cc8e46b55b12eada0982a72cb0d6"}},{"ruleId":"D1","level":"warning","message":{"text":"validateConfig (cyclomatic 17): validateConfig has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/config.mjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b45628273e92934cc35112cb90a77cfb98ea691c2192e79d1beb925891d780"}},{"ruleId":"D1","level":"warning","message":{"text":"tool_runtime.bind_workspace_tool_runtime (cyclomatic 16): tool_runtime.bind_workspace_tool_runtime 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":"deeptutor/agents/_shared/tool_runtime.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fc0b1b3dbbfcf400cf240ce5eb40fe2478bf748f0c215973cfc910e8a6d898"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepQuestionCapability._run_mimic_mode (cyclomatic 16): DeepQuestionCapability._run_mimic_mode 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":"deeptutor/agents/question/capability.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba39bb0f471187912bbceadcaa248031f423c511f41d7bd8794e3c0c61bea52"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge._assert_provider_ready (cyclomatic 16): knowledge._assert_provider_ready 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffd5a4c5932d8a8efd90fa58237ed3c2e4a21ecc00b9c6bee06274932d0bbd9"}},{"ruleId":"D1","level":"warning","message":{"text":"multi_user._admin_catalog_summary (cyclomatic 16): multi_user._admin_catalog_summary has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/multi_user.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ffdab9b0348f7952cfa1687ab186e690a8cad120a488ad18c3895ffbcdb9e8"}},{"ruleId":"D1","level":"warning","message":{"text":"partners._request_partner_control (cyclomatic 16): partners._request_partner_control 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":"deeptutor/api/routers/partners.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e116aa2274e49e6f1de90887212592cdf361949e2f2ed97f375a35e2f570a8e7"}},{"ruleId":"D1","level":"warning","message":{"text":"question_notebook.upsert_single_entry (cyclomatic 16): question_notebook.upsert_single_entry 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":"deeptutor/api/routers/question_notebook.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ac9b5b742331d990ffb3039f9d5f1d9acff652f0cb14fc7cba4fff84e5c52e"}},{"ruleId":"D1","level":"warning","message":{"text":"quiz_judge._build_multimodal_user_content (cyclomatic 16): quiz_judge._build_multimodal_user_content 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":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"79847b216e000b422bb2cd5ae0e2ed9a9b272d638f3598e88512e1aa9bdfbd01"}},{"ruleId":"D1","level":"warning","message":{"text":"TurnApplicationService.replace_submission (cyclomatic 16): TurnApplicationService.replace_submission 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":"deeptutor/app/service.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37a85063ed9192d97f6c86c431affad93025b624e384a1a2f5f4e53e8fa8bb2"}},{"ruleId":"D1","level":"warning","message":{"text":"SpineAgent._coerce_chapters (cyclomatic 16): SpineAgent._coerce_chapters 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":"deeptutor/book/agents/spine_agent.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0e612ebc8bee8b3a29bd5e373d19073819de7c8f3c9bd92b14081cc16f4519"}},{"ruleId":"D1","level":"warning","message":{"text":"base._classify_failure (cyclomatic 16): base._classify_failure 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":"deeptutor/book/blocks/base.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a551f6e46a97e03bbb9d601cadbf3e8b1c7699e4e0f2d37e2bfaea80ae44927"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeGenerator._generate (cyclomatic 16): CodeGenerator._generate 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":"deeptutor/book/blocks/code.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d3a2fe3c2bc442aa404d4df1a41c939c7a9466c9ffb1e12715c108eea25b5b"}},{"ruleId":"D1","level":"warning","message":{"text":"context._serialize_page (cyclomatic 16): context._serialize_page 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":"deeptutor/book/context.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6168541d86b8e25862fcae8104df77bbdaf5a31a90df8b6bfb412b9ca370d4d6"}},{"ruleId":"D1","level":"warning","message":{"text":"BookEngine._worker_loop_active (cyclomatic 16): BookEngine._worker_loop_active 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":"deeptutor/book/engine.py"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae29f10522aab3b232cc72d15a1613f847230b0d3d45d0b776ed000496f4339"}},{"ruleId":"D1","level":"warning","message":{"text":"BookEngine.delete_chapter (cyclomatic 16): BookEngine.delete_chapter 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":"deeptutor/book/engine.py"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c347a506188035d39983fa78ffdd8d581f6ddd1f3f3e0951a3e5e093b7f2fd88"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioOverviewPipeline.publish (cyclomatic 16): AudioOverviewPipeline.publish 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":"deeptutor/capabilities/audio_overview/pipeline.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2e0db755efeb80153aedf1cf79ccc8309ab14c62310654a758dcea8f186769"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextExplorer._run_loop (cyclomatic 16): ContextExplorer._run_loop 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":"deeptutor/capabilities/explore_context/explorer.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1e9ee7337700f3abd5d5778f95b6865299524c7d875ea8a82e2fbfec916bdc"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerGroupCapability.tool_round_output_policy (cyclomatic 16): PartnerGroupCapability.tool_round_output_policy 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":"deeptutor/capabilities/partner_group/capability.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"53505ade452ad58b918090e245f5a74e5bc6126f0f47fa94fc5f7192d20d3388"}},{"ruleId":"D1","level":"warning","message":{"text":"lesson_evidence._selection_excerpt (cyclomatic 16): lesson_evidence._selection_excerpt 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":"deeptutor/learning/lesson_evidence.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"351f0cd0bb223217cd07bb80b81b0184f4d0a1857121cfce5851ff3b2706ebdd"}},{"ruleId":"D1","level":"warning","message":{"text":"lesson_evidence._repair_page (cyclomatic 16): lesson_evidence._repair_page 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":"deeptutor/learning/lesson_evidence.py"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbd307c5d4af9e5c2aa546077acdcebdb78d08eb65858b8058e8008bc40323d"}},{"ruleId":"D1","level":"warning","message":{"text":"models._validate_review_intervals (cyclomatic 16): models._validate_review_intervals 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":"deeptutor/learning/models.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c7bd8ca785701d23acc164110e5e913c889c6b9ff1361851ba7f4b0e6ad40e"}},{"ruleId":"D1","level":"warning","message":{"text":"service.assign_objective_identities (cyclomatic 16): service.assign_objective_identities 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":"deeptutor/learning/service.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d4ee475efd6b3211ca91b9bbbe365ee0c6463898598f2dd8f74073cc7d259d"}},{"ruleId":"D1","level":"warning","message":{"text":"guardians._canonical_record (cyclomatic 16): guardians._canonical_record 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":"deeptutor/multi_user/guardians.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc3a2ab040c67870567daf8db98d75621b4a6dbcc135ead764b9db934625bd4"}},{"ruleId":"D1","level":"warning","message":{"text":"model_access.allowed_llm_options (cyclomatic 16): model_access.allowed_llm_options 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":"deeptutor/multi_user/model_access.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a21864e6a95ddb20e1b064eeaca23bd08e883479ad13ff52f7003113020830"}},{"ruleId":"D1","level":"warning","message":{"text":"threads.thread_anchor_context (cyclomatic 16): threads.thread_anchor_context has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/notes/threads.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb378e6e91f657543a631647bb4ed65a4f04ab114f928b92ceee30f232dd7d0"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelManager._dispatch_outbound (cyclomatic 16): ChannelManager._dispatch_outbound 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":"deeptutor/partners/channels/manager.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f36835608870e3ca6af9ae98561e5c84041a091e2266711625f9175dc42caba"}},{"ruleId":"D1","level":"warning","message":{"text":"MSTeamsChannel._prune_conversation_refs (cyclomatic 16): MSTeamsChannel._prune_conversation_refs 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":"deeptutor/partners/channels/msteams.py"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7c536eb892f3ffbc4843a9c50908e0d20fe6b5ef658cc947f6f7859c0774d5"}},{"ruleId":"D1","level":"warning","message":{"text":"NapcatChannel._on_message (cyclomatic 16): NapcatChannel._on_message 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":"deeptutor/partners/channels/napcat.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9a229e8a5e5ed8cd682ac088958c3b3b043ce18e5f06f4435fd26446ac11d5"}},{"ruleId":"D1","level":"warning","message":{"text":"loader._coerce_manifest (cyclomatic 16): loader._coerce_manifest 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":"deeptutor/plugins/loader.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4921a5f0368c765272a4df2003a439c613ef3d83d50dc502d3ebd5a362c5486"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginRegistry._managed_records (cyclomatic 16): PluginRegistry._managed_records 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":"deeptutor/plugins/registry.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18c7f668ddc5771e56d0d26017f647b2b961ecea17f971f79b39a74e9d9eff2"}},{"ruleId":"D1","level":"warning","message":{"text":"_ProviderOpenAIAdapter._create_completion (cyclomatic 16): _ProviderOpenAIAdapter._create_completion 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":"deeptutor/runtime/agentic/client.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78b95a6e3ea1d7985df39a2a13ccdd340349665de792345d49bb81d86b828f6"}},{"ruleId":"D1","level":"warning","message":{"text":"client._build_openai_client (cyclomatic 16): client._build_openai_client 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":"deeptutor/runtime/agentic/client.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69125a0b0120c924e501939a481584ef20c24a8722eea0f438916fd2d067279"}},{"ruleId":"D1","level":"warning","message":{"text":"deferred_tools.render_deferred_tools_manifest (cyclomatic 16): deferred_tools.render_deferred_tools_manifest 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":"deeptutor/runtime/registry/deferred_tools.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8b044958840e94f352c405361468518e1deca70ae5db03e7a15b8740781a1a"}},{"ruleId":"D1","level":"warning","message":{"text":"update_worker.run_update_worker (cyclomatic 16): update_worker.run_update_worker 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":"deeptutor/runtime/update_worker.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cdb14cc7c48dd12231ba0d4d1100b4107d88d0e77783d64438948500fb0be5"}},{"ruleId":"D1","level":"warning","message":{"text":"auth.decode_token (cyclomatic 16): auth.decode_token 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":"deeptutor/services/auth.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f129d1d2b1a25cc5d98a8a634d9b6abb1ca0f9516f59d1435fe181a20529158"}},{"ruleId":"D1","level":"warning","message":{"text":"chat_hints._sanitize (cyclomatic 16): chat_hints._sanitize 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":"deeptutor/services/chat_hints.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a5a56cbff65120b4bd63ba3afcfd33ea466fc16402374aae0318e4ff5cf65a"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeBuddyAuthService.start_login (cyclomatic 16): CodeBuddyAuthService.start_login 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":"deeptutor/services/codebuddy_auth.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0537bd165ac4d3b3a7d950566fad958706ab2ac5135ce55369e03d22dbe193a1"}},{"ruleId":"D1","level":"warning","message":{"text":"codebuddy_credentials.probe_account (cyclomatic 16): codebuddy_credentials.probe_account 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":"deeptutor/services/codebuddy_credentials.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4e24f306c312f1c8f2652f11a43cc97a45a6fd98885dc26e59164eb4641206"}},{"ruleId":"D1","level":"warning","message":{"text":"provider_runtime.resolve_videogen_runtime_config (cyclomatic 16): provider_runtime.resolve_videogen_runtime_config 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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87394dc41b290484667f87aabd778ec168342a64285fd8fd6b6ced4bbfbbedf"}},{"ruleId":"D1","level":"warning","message":{"text":"JinaEmbeddingAdapter.embed (cyclomatic 16): JinaEmbeddingAdapter.embed 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":"deeptutor/services/embedding/adapters/jina.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf2e3285a0aaa286ed45886b516f8627fc1d75d00f757b27d95dd5db672c41d"}},{"ruleId":"D1","level":"warning","message":{"text":"DashScopeImagegenAdapter._result_urls (cyclomatic 16): DashScopeImagegenAdapter._result_urls 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":"deeptutor/services/imagegen/adapters/dashscope.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ee82a7b3451d3f224aadec43503104cde049d0784a0d023c1ad6cca32fd70c"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAICompatProvider._sanitize_messages (cyclomatic 16): OpenAICompatProvider._sanitize_messages has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"056d5c27a14ac675f62f7450c0dd90d9458e15cb99e615a6646189ee00f99162"}},{"ruleId":"D1","level":"warning","message":{"text":"sdk_bridge._tool_result_errors (cyclomatic 16): sdk_bridge._tool_result_errors 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":"deeptutor/services/llm/provider_core/sdk_bridge.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55fa42c9d513857820ae3d2a7913425b95b1a94c14e8f34d1e7f303595c3a54"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.extract_response_content (cyclomatic 16): utils.extract_response_content 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":"deeptutor/services/llm/utils.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"15aec71f53fdd333677ff02fce1b00492ddf3b331d62d75fd506562cdbbdf9a7"}},{"ruleId":"D1","level":"warning","message":{"text":"mastery_hints._render (cyclomatic 16): mastery_hints._render 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":"deeptutor/services/mastery_hints.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"5809a95d041722f22129e01aab782c3057bf700f38247f22502995f56ff5cdaf"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPConnectionManager.call_tool (cyclomatic 16): MCPConnectionManager.call_tool has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/mcp/manager.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"309b0b64df0abecbdaabd4098b3cc6e633b24a10298c14bdb20720257b57ca8b"}},{"ruleId":"D1","level":"warning","message":{"text":"line_doc._apply_insert (cyclomatic 16): line_doc._apply_insert 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":"deeptutor/services/memory/consolidator/line_doc.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73435a141672b9bc731e817d383d25970e6c93328bf6511d4157248e64dfe6f"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerGroupManager.approve_invocation (cyclomatic 16): PartnerGroupManager.approve_invocation 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":"deeptutor/services/partner_groups/manager.py"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf7682723025abafd7fd7556d8d4fe5077a13a6c17deea55eb11ea4774ccd08"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerCommandHandler.dispatch (cyclomatic 16): PartnerCommandHandler.dispatch 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":"deeptutor/services/partners/commands.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"495c6690b052d6a4e2a13d8f5ea43c9a015fca4c4d80a796a86d5bd76a7adcbd"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.list_assets (cyclomatic 16): workspace.list_assets 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":"deeptutor/services/partners/workspace.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e719cab0b1fce08992ae3938fee5473dcb6d66c7dcd13833e6918cf68a8b91ae"}},{"ruleId":"D1","level":"warning","message":{"text":"factory._build_pipeline (cyclomatic 16): factory._build_pipeline 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":"deeptutor/services/rag/factory.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd0c253efb12b546d791f828c0b2e6f710d50f5944ced6fb4895c54518837f5"}},{"ruleId":"D1","level":"warning","message":{"text":"exercise_lookup._parse_for (cyclomatic 16): exercise_lookup._parse_for 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":"deeptutor/services/rag/pipelines/llamaindex/exercise_lookup.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5810c893d19fbb6b4632cd9ef536d019df7aac991b1b9ba26571681a9fbbd1"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.pageindex_sources_from_text (cyclomatic 16): tools.pageindex_sources_from_text 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":"deeptutor/services/rag/pipelines/pageindex/tools.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9357484cb4e936bc0622d369b3b686e1dd65c2790bc01f282e6167d49bff5e81"}},{"ruleId":"D1","level":"warning","message":{"text":"RAGService.search (cyclomatic 16): RAGService.search 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":"deeptutor/services/rag/service.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"83adbd1ceccb39be4c0bb411eb706cbbe1dce92099b2ec7678b2cbfc618e18a8"}},{"ruleId":"D1","level":"warning","message":{"text":"VisualAssetStore.publish (cyclomatic 16): VisualAssetStore.publish 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":"deeptutor/services/rag/visual_assets.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29b428d6c6abc9c4302eb2eba06df8d24c2f8813113ecfdc899938c57bb6b1b"}},{"ruleId":"D1","level":"warning","message":{"text":"visual_coverage.coverage_overview (cyclomatic 16): visual_coverage.coverage_overview 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":"deeptutor/services/rag/visual_coverage.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90c03cc40186b8cf0ffeaac56ad8c3436e89f74b39aab3b47c6e5537a11af0b"}},{"ruleId":"D1","level":"warning","message":{"text":"JinaProvider.search (cyclomatic 16): JinaProvider.search 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":"deeptutor/services/search/providers/jina.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5528afd3f039da230ebf6fd2d55f58725ef7304953b901abfba3f6ea9f1377db"}},{"ruleId":"D1","level":"warning","message":{"text":"_turn_runtime_shared._repair_chinese_emphasis_line (cyclomatic 16): _turn_runtime_shared._repair_chinese_emphasis_line 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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86a6b52d99aee088ead894ec12ea40d73ac83e82243be492ab7fd5792a0f94a"}},{"ruleId":"D1","level":"warning","message":{"text":"SQLiteSessionStore._append_turn_events_sync (cyclomatic 16): SQLiteSessionStore._append_turn_events_sync 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ef8cb4e59ffb18185d77c9543d415f625b1b35a76db7ca8853d2383c12feca"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningTurnAdapter._grade_submitted_card_answer (cyclomatic 16): LearningTurnAdapter._grade_submitted_card_answer 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":"deeptutor/services/session/turns/learning_adapter.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"550e8ec02f09b559be3537644a351ca579b8827fbb8161bcaccc72e8a0021cce"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawHubProvider.detail (cyclomatic 16): ClawHubProvider.detail 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":"deeptutor/services/skill/hub.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"8403a8eea93d773713f275a4b9ce1560269c653f03a7c31e73a45d46d7e28abe"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityBackend._handle_event (cyclomatic 16): AntigravityBackend._handle_event 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":"deeptutor/services/subagent/antigravity.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"135f511cd3c3e1e610a0bc013505b0462367816f277057597fbe99ba34c8f7f6"}},{"ruleId":"D1","level":"warning","message":{"text":"dashscope._tts_url (cyclomatic 16): dashscope._tts_url has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/adapters/dashscope.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f023db532cfc1a8ba49b85c3b9812c66e29637ecb1789d683af9064b785a8b9f"}},{"ruleId":"D1","level":"warning","message":{"text":"dashscope._tts_input (cyclomatic 16): dashscope._tts_input has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/adapters/dashscope.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76ed74b538de26c773abfb9f6d3f91130ed19536722dd885d821fc25e47b426"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenRouterTTSAdapter._collect_audio_line (cyclomatic 16): OpenRouterTTSAdapter._collect_audio_line 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":"deeptutor/services/voice/adapters/openai_compat.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cef1f00a3bc79c620b178ccfaea6b4f1695a3a915546f494297c9c941f9f2d7"}},{"ruleId":"D1","level":"warning","message":{"text":"robots.parse_robots_txt (cyclomatic 16): robots.parse_robots_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":"deeptutor/services/web_source/robots.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5232c6aee7ce2bba4fed675a40f67148e708f52746384cdeba64b0d944b976"}},{"ruleId":"D1","level":"warning","message":{"text":"session_transfer._conflicts (cyclomatic 16): session_transfer._conflicts 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":"deeptutor/services/workspace/session_transfer.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8fcb09791969fc73e01f0d4c77b3fa2de04215572876f27c13e2fbbbb44d2c"}},{"ruleId":"D1","level":"warning","message":{"text":"ask_user.build_ask_user_preview (cyclomatic 16): ask_user.build_ask_user_preview 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":"deeptutor/tools/ask_user.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8037a0ef97b2c55edd96e8888eaf1c3ecee40ae3f5f28ebd180e99c63c215c3a"}},{"ruleId":"D1","level":"warning","message":{"text":"ZoteroSearchToolWrapper.execute (cyclomatic 16): ZoteroSearchToolWrapper.execute 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":"deeptutor/tools/builtin/__init__.py"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a5df5409166a687599eafe579b65d596f31289b0fbfb1f5ceb773da8d36328"}},{"ruleId":"D1","level":"warning","message":{"text":"builtin._semantic_tool_result (cyclomatic 16): builtin._semantic_tool_result 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":"deeptutor/tools/builtin/__init__.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0abd24d1b46a44f68f711266ecf9099609dc0e8c167e542ace8c82b19f7013"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecTool._render_result (cyclomatic 16): ExecTool._render_result 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":"deeptutor/tools/exec_tool.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6fc8e2515075ee162f3c5c334e0d802a4c09a8ca37fa58496903a5f0a7e385"}},{"ruleId":"D1","level":"warning","message":{"text":"question_bank._list (cyclomatic 16): question_bank._list 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":"deeptutor/tools/question_bank.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ec82da3d01ec45e200aeaec356dfa6f943c7afc09ed6a9e9d50a37c318175f"}},{"ruleId":"D1","level":"warning","message":{"text":"coord_transform.suggest_coord_system (cyclomatic 16): coord_transform.suggest_coord_system 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":"deeptutor/tools/vision/coord_transform.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"de660c1298f9eb42c4fdc69bef3053a48c8a9f2f044cb78ac0ad5fff7381adb5"}},{"ruleId":"D1","level":"warning","message":{"text":"write_note._format_transcript (cyclomatic 16): write_note._format_transcript 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":"deeptutor/tools/write_note.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"035af36ad3f99fad805dfbc8b1bc3d5a3ab9f902de3d7fa363689c8abc605e48"}},{"ruleId":"D1","level":"warning","message":{"text":"ZoteroSearchClient.search (cyclomatic 16): ZoteroSearchClient.search 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":"deeptutor/tools/zotero_search.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e6513fd1f479d047a93968dc046355ff7578a28de6982c83d7d44958fbc3cd"}},{"ruleId":"D1","level":"warning","message":{"text":"document_extractor._extract_docx (cyclomatic 16): document_extractor._extract_docx 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":"deeptutor/utils/document_extractor.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3de63a1f4cf6a599f1ea01a49704de6d3845e60f75d896865d2b5357887c4c7"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchingToReadingMigration.migrate (cyclomatic 16): WatchingToReadingMigration.migrate 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":"deeptutor/video_learning/reading_migration.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f301b4c4b0da4fdeab30aa61f0919a7b24d307e8937413c257b55e2518786a"}},{"ruleId":"D1","level":"warning","message":{"text":"init_cmd.run_init (cyclomatic 16): init_cmd.run_init has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor_cli/init_cmd.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f07a9c00681590ebaa02393b86f1f890bba0e7d60f20b5d56d25f12a1e06ded"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolDispatcher.run (cyclomatic 16): ToolDispatcher.run 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. This shape REPEATS in the file: one other method here (ToolDispatcher.run::execute) 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":"packages/chat-engine/src/tools/dispatcher.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d35b3973f2e4e7cb55da4956a7f6a690cad93962e18ffd5e18617d233bc490"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposerTray.ComposerTray (cyclomatic 16): ComposerTray.ComposerTray 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":"web/components/chat/home/ComposerTray.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0175cdb549f9410a540399cbd6a24280294eba37aa67ad35072eccaf7be14a"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectedResources.SelectedResources (cyclomatic 16): SelectedResources.SelectedResources has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 40). 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":"web/components/chat/home/SelectedResources.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9bf1fe16f210f00440e69f928b61b57bf4961a89df5b0a220bb68a1cdc2998"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionActivityPanel.useResolvedTitles (cyclomatic 16): SessionActivityPanel.useResolvedTitles has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 77, 93, 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":"web/components/chat/home/SessionActivityPanel.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e0cd7e47843c115ff74df769916699c431ba01546f2f262d1fb7044fb08c08"}},{"ruleId":"D1","level":"warning","message":{"text":"AssistantResponse.AssistantResponseImpl (cyclomatic 16): AssistantResponse.AssistantResponseImpl 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 3 function literals inside it that branch (lines 66, 127, 104). 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":"web/components/common/AssistantResponse.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3401d1f5054aa40fc0dae0f97e3f56e600f1b4e21d118f5d1342748be8b2a0e"}},{"ruleId":"D1","level":"warning","message":{"text":"MemorySection.StreamPanel (cyclomatic 16): MemorySection.StreamPanel has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 1481). 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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b81d7b3afb5c3b157a942010172d9ca4535dd9d73288278c12b357ee8644bf4"}},{"ruleId":"D1","level":"warning","message":{"text":"useGroupSession.useGroupSession.rounds (cyclomatic 16): useGroupSession.useGroupSession.rounds has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 5 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":"web/components/partners/group/useGroupSession.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1367d0390d871ffc3fce9c2e59a4591766df372287f1646179d442550a065597"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationList.AnnotationList (cyclomatic 16): AnnotationList.AnnotationList 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 4 function literals inside it that branch (lines 112, 118, 49, \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":"web/components/reading/AnnotationList.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc0352821185209ed52149a422ee4c3bbb95d610f8125051e7bcd7b630ce34d"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionActionsMenu.SessionActionsMenuItems (cyclomatic 16): SessionActionsMenu.SessionActionsMenuItems has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 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":"web/components/sessions/SessionActionsMenu.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"173960018208e74b32d512a3655dc179fb0c27e6da25de49c0068591dd446312"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryUsageItem.MemoryUsageItem (cyclomatic 16): MemoryUsageItem.MemoryUsageItem has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 85, 100, 67, \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":"web/components/settings/MemoryUsageItem.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c936b2618baa13217e2b979601989b0b5cccadf7e981593dabd3167ed08bb352"}},{"ruleId":"D1","level":"warning","message":{"text":"EduHubImportModal.EduHubImportModal (cyclomatic 16): EduHubImportModal.EduHubImportModal 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 8 function literals inside it that branch (lines 86, 106, 115, \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":"web/components/space/EduHubImportModal.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a93b607207b669935714b30da9f800861aa8b756e1e2150718469b755895570"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskLinkSelector.TaskLinkSelector (cyclomatic 16): TaskLinkSelector.TaskLinkSelector has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 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":"web/components/tasks/TaskLinkSelector.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b1852b6faee4e5abd4001ba56e88b0eca9401d6550082450b5605562626f01"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchingMarksPanel.WatchingMarksPanel (cyclomatic 16): WatchingMarksPanel.WatchingMarksPanel has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 136, 121, 69). 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":"web/components/watching/WatchingMarksPanel.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"838633111f9e9684cf080c2f276e07a131b405ce08b98411280f0715023c065a"}},{"ruleId":"D1","level":"warning","message":{"text":"items.buildItems (cyclomatic 16): items.buildItems 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":"web/features/calendar/model/items.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad39889637a1693e1f688e908101f59d2c5b57360ea22b7d89390b9af0addfde"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatMessageList.buildMessageBlocks (cyclomatic 16): ChatMessageList.buildMessageBlocks 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 items inside it that branch (preserveTeachingBefore, a function literal at line 478, a function literal at line 465, \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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77228dfe9ffdb6fd75c3c5d7e3020e0ccc2952e1f97a08765dc6888dd9b0603"}},{"ruleId":"D1","level":"warning","message":{"text":"EngineDetail.LightRagModelsForm (cyclomatic 16): EngineDetail.LightRagModelsForm has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca78c0f487dd92e0d969dc5261b7225610b3644c5c51ec0f2aff991385a6de0"}},{"ruleId":"D1","level":"warning","message":{"text":"BookPermissionEditor.BookPermissionEditor (cyclomatic 16): BookPermissionEditor.BookPermissionEditor has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/multi-user/components/BookPermissionEditor.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0b1aed71fd4dd5f7ff77f748e70bc69c30c5acc52844a93701bd35e999ebca"}},{"ruleId":"D1","level":"warning","message":{"text":"model.validateTurnCoordination (cyclomatic 16): model.validateTurnCoordination 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":"web/features/runtime-status/model.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db6930f5b38ce5344b771e8b6406a6fb5c2897c7c5c4dc62e66a4227280fa6a"}},{"ruleId":"D1","level":"warning","message":{"text":"useEmbeddingModels.useEmbeddingModels (cyclomatic 16): useEmbeddingModels.useEmbeddingModels 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 6 function literals inside it that branch (lines 32, 52, 22, \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":"web/hooks/useEmbeddingModels.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4526e3d6353684e18715268d6273d203a8fdac51c184b782735d6904ad81d9bd"}},{"ruleId":"D1","level":"warning","message":{"text":"useSmoothStreamText.useSmoothStreamText (cyclomatic 16): useSmoothStreamText.useSmoothStreamText has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 128, 165, 195). 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":"web/hooks/useSmoothStreamText.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e522245aeb67c2a866f6facc817591d5de3c53b71a04f2b41c0d033b1c3a4f"}},{"ruleId":"D1","level":"warning","message":{"text":"useTopicSourceLibrary.hydrateSource (cyclomatic 16): useTopicSourceLibrary.hydrateSource 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":"web/hooks/useTopicSourceLibrary.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"692cc155cb4f4d9a6fe5906cb10c51ffe674cb35b67dc8f1838774dfa2e67b78"}},{"ruleId":"D1","level":"warning","message":{"text":"content-lang.contentLang (cyclomatic 16): content-lang.contentLang 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":"web/lib/content-lang.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"00940582085cb2e802bb7e74c3440ceb20452dfa24a816e004795a6f49340612"}},{"ruleId":"D1","level":"warning","message":{"text":"pdf-page-geometry.inkBoxFromPixels (cyclomatic 16): pdf-page-geometry.inkBoxFromPixels 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":"web/lib/pdf-page-geometry.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"89775b9bfba0fb177fb6dfe3d774ce3e009a60e9cae8bab43a841482a3435024"}},{"ruleId":"D1","level":"warning","message":{"text":"pdf-page-geometry.imageBoxesFromOperatorList (cyclomatic 16): pdf-page-geometry.imageBoxesFromOperatorList 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/pdf-page-geometry.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c392e54f1e6b75592362d2a782ae2bf4e0774eec4618befad278f46b82feb6"}},{"ruleId":"D1","level":"warning","message":{"text":"reading-citations.verifiedReadingLocators (cyclomatic 16): reading-citations.verifiedReadingLocators has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 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":"web/lib/reading-citations.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba2ed6cd1490af52f7ecfa2e355a30555820d2a9b03cabe6121ee07b4f27293"}},{"ruleId":"D1","level":"warning","message":{"text":"client.normalizedHttpError (cyclomatic 16): client.normalizedHttpError 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":"web/shared/api/client.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"426ca89d318d5611e2d3e895c9939ac8fce2959b5cf1060822e73c05c5fcdff9"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatStateAdapter.ChatStateAdapterProvider (cognitive 526): ChatStateAdapter.ChatStateAdapterProvider has cognitive complexity 526 (threshold 15). Drivers by points: if/else 164 (221 pts), ternaries 109 (157 pts), boolean chains 123, loops 11 (13 pts), error handling 8 (12 pts) (nesting depth added 111). Most of this is not in the body itself: 1 of the 526 points is its own statement and the rest belongs to 55 function literals inside it that branch (lines 3098, 2288, 2798, \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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bed2d093ae150d6b88631868e583af5b3cab075f3a9ab195f5924d483b1d75"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWorkspace.ChatWorkspace (cognitive 362): ChatWorkspace.ChatWorkspace has cognitive complexity 362 (threshold 15). Drivers by points: if/else 153 (170 pts), ternaries 59 (97 pts), boolean chains 83, error handling 7 (8 pts), loops 3 (4 pts) (nesting depth added 57). Of this number, 74 points are the body\u0027s own statements and 288 belong to 97 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":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62c76af0f9097a66a96f6f6e026ea40ef84aa6cc7a68878f24f1c32419be019"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsStore.SettingsProvider (cognitive 352): SettingsStore.SettingsProvider has cognitive complexity 352 (threshold 15). Drivers by points: if/else 147 (193 pts), ternaries 52 (80 pts), boolean chains 48, error handling 15 (16 pts), loops 11 (15 pts) (nesting depth added 79). Most of this is not in the body itself: 5 of the 352 points are its own statements and the rest belongs to 67 function literals inside it that branch (lines 1928, 800, 2205, \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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"d873f2e9e37e05f28e17d14ae29acfcef85b37a11bfaaa801ce5c1bd10475099"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnExecutor._run_turn (cognitive 343): TurnExecutor._run_turn has cognitive complexity 343 (threshold 15). Drivers by points: if/else 97 (182 pts), boolean chains 88, ternaries 18 (33 pts), error handling 12 (23 pts), loops 9 (17 pts) (nesting depth added 119). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/executor.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fe62612a229ed3632f57e024433935cd9ec06afe5baf4209bc59a5da84172a"}},{"ruleId":"D2","level":"warning","message":{"text":"CoWriterWorkspace.CoWriterWorkspace (cognitive 281): CoWriterWorkspace.CoWriterWorkspace has cognitive complexity 281 (threshold 15). Drivers by points: if/else 122 (141 pts), boolean chains 85, ternaries 27 (37 pts), loops 10 (11 pts), error handling 7 (nesting depth added 30). Of this number, 39 points are the body\u0027s own statements and 242 belong to 71 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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c314c8e1efd31e35c1b2364f84e90f77a6dd701f297212a09c1cb55b393944d"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnRequestPreparer.start_turn (cognitive 243): TurnRequestPreparer.start_turn has cognitive complexity 243 (threshold 15). Drivers by points: if/else 93 (137 pts), boolean chains 66, error handling 14 (23 pts), ternaries 11 (17 pts) (nesting depth added 59). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/request_preparer.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f5a94751cecc9dcd2fbe7c2585f6f5b1154b163e660092f64e802edc3cacf6"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatStateAdapter.reduce (cognitive 239): ChatStateAdapter.reduce has cognitive complexity 239 (threshold 15). Drivers by points: if/else 53 (109 pts), ternaries 40 (82 pts), boolean chains 43, loops 2 (4 pts), match/switch 1 (nesting depth added 100). Of this number, 209 points are the body\u0027s own statements and 30 belong to 8 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbef09b0da0660906094fba5a5669dba56d48af691c31b9cbefe47ca6cc2647"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerChat.PartnerChat (cognitive 227): PartnerChat.PartnerChat has cognitive complexity 227 (threshold 15). Drivers by points: if/else 82 (118 pts), ternaries 23 (50 pts), boolean chains 44, error handling 8 (13 pts), loops 1, match/switch 1 (nesting depth added 68). Most of this is not in the body itself: 14 of the 227 points are its own statements and the rest belongs to 32 function literals inside it that branch (lines 956, 602, 512, \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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"65af9f6e792e98d61b8d18753ca8f04fce7c7072c4da0423e8bfd2d6eacc4c1b"}},{"ruleId":"D2","level":"warning","message":{"text":"QuizViewer.QuizViewer (cognitive 218): QuizViewer.QuizViewer has cognitive complexity 218 (threshold 15). Drivers by points: ternaries 37 (80 pts), if/else 46 (65 pts), boolean chains 60, error handling 7 (11 pts), loops 2 (nesting depth added 66). Of this number, 61 points are the body\u0027s own statements and 157 belong to 33 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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b2843aa9e9d25fb3376878d1153ee2e4afde87c39cb26f46286d944ce5423d"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentLoop._call_llm (cognitive 215): AgentLoop._call_llm has cognitive complexity 215 (threshold 15). Drivers by points: if/else 51 (139 pts), boolean chains 43, loops 6 (15 pts), ternaries 8 (14 pts), error handling 2 (4 pts) (nesting depth added 105). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/agent_loop.py"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"4629fdb8a03cca8a87dd962e469b2721b2566cbdf84122e3a1c548bcac836fdd"}},{"ruleId":"D2","level":"warning","message":{"text":"BooksRoute.BookPageInner (cognitive 215): BooksRoute.BookPageInner has cognitive complexity 215 (threshold 15). Drivers by points: boolean chains 95, if/else 75 (82 pts), ternaries 17 (24 pts), error handling 12 (14 pts) (nesting depth added 16). Of this number, 41 points are the body\u0027s own statements and 174 belong to 56 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":"web/app/(workspace)/learning/books/BooksRoute.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"62271941822fed11e23a7b2c4362cdf15ce9ff0d8ac751318eed2b709d2deafa"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer.ChatComposer (cognitive 210): ChatComposer.ChatComposer has cognitive complexity 210 (threshold 15). Drivers by points: ternaries 53 (75 pts), if/else 60 (71 pts), boolean chains 62, error handling 2 (nesting depth added 33). Of this number, 111 points are the body\u0027s own statements and 99 belong to 40 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":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"133133005dd923342bab3fe39f3ff09c7305d41d19e1175956777c0761d51b46"}},{"ruleId":"D2","level":"warning","message":{"text":"AskUserOptions.extractMessageSegments (cognitive 192): AskUserOptions.extractMessageSegments has cognitive complexity 192 (threshold 15). Drivers by points: if/else 48 (124 pts), ternaries 13 (39 pts), boolean chains 21, loops 4 (8 pts) (nesting depth added 106). Of this number, 162 points are the body\u0027s own statements and 30 belong to 6 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b87991cd9f06e71375f1bfbcd97696eeb3ab58e7c5678eaeafaf31a778bdbe3"}},{"ruleId":"D2","level":"warning","message":{"text":"registry_edit.merge_registry_edit (cognitive 174): registry_edit.merge_registry_edit has cognitive complexity 174 (threshold 15). Drivers by points: if/else 47 (132 pts), boolean chains 25, loops 2 (10 pts), ternaries 2 (5 pts), error handling 1 (2 pts) (nesting depth added 97). 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":"deeptutor/services/settings/registry_edit.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5acbbd2922d601df7c04b0f6dbcc2f29676fed6807597310356e0ca124d42a"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessageList.AssistantMessage (cognitive 167): ChatMessageList.AssistantMessage has cognitive complexity 167 (threshold 15). Drivers by points: ternaries 33 (119 pts), boolean chains 30, if/else 12 (15 pts), loops 3 (nesting depth added 89). Of this number, 67 points are the body\u0027s own statements and 100 belong to 17 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d345fe7ecfcec180352643b78ff5e6280e7e097621035d388675a08050a786"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionViewerPanel.SessionViewerPanelInner (cognitive 162): SessionViewerPanel.SessionViewerPanelInner has cognitive complexity 162 (threshold 15). Drivers by points: ternaries 32 (74 pts), if/else 40 (54 pts), boolean chains 30, loops 2 (4 pts) (nesting depth added 58). Of this number, 51 points are the body\u0027s own statements and 111 belong to 42 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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f31b14bbf49f378bc9dded7d182d8f2eaf197e48971d9669cd9756b693a6602"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaReadingStage.MediaReadingStage (cognitive 161): MediaReadingStage.MediaReadingStage has cognitive complexity 161 (threshold 15). Drivers by points: ternaries 38 (69 pts), if/else 44 (46 pts), boolean chains 44, error handling 1, loops 1 (nesting depth added 33). Of this number, 62 points are the body\u0027s own statements and 99 belong to 29 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":"web/components/reading/workspace/MediaReadingStage.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"95930c5286be600ae20e764a9ccc3741377cea8dcde25e91e9f45a4e6c0a3f45"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderPane.ReaderPane (cognitive 158): ReaderPane.ReaderPane has cognitive complexity 158 (threshold 15). Drivers by points: if/else 63 (70 pts), boolean chains 52, ternaries 20 (31 pts), error handling 4 (5 pts) (nesting depth added 19). Of this number, 40 points are the body\u0027s own statements and 118 belong to 37 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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6f737fa3cc21b85a2e1069011c2e5d7f44d2d01af7af20e8b062e30c367ce4"}},{"ruleId":"D2","level":"warning","message":{"text":"page.PartnerDetail (cognitive 154): page.PartnerDetail has cognitive complexity 154 (threshold 15). Drivers by points: if/else 53 (66 pts), ternaries 30 (52 pts), boolean chains 28, error handling 7 (8 pts) (nesting depth added 36). Of this number, 50 points are the body\u0027s own statements and 104 belong to 27 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":"web/app/(workspace)/partners/[partnerId]/page.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad54bf79df4eb6adb92f6b9546f0c9ba9eb955e93a01135dc8f082015b89b1af"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteWorkspace.NoteWorkspace (cognitive 151): NoteWorkspace.NoteWorkspace has cognitive complexity 151 (threshold 15). Drivers by points: if/else 49 (58 pts), boolean chains 47, ternaries 23 (33 pts), error handling 9 (11 pts), loops 2 (nesting depth added 21). Of this number, 29 points are the body\u0027s own statements and 122 belong to 50 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":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adaaeae89727a16547ddd5105d86f2ac27c0bbc15ed3a61226b46fe6ddaf661"}},{"ruleId":"D2","level":"warning","message":{"text":"PdfDocumentView.PdfDocumentView (cognitive 146): PdfDocumentView.PdfDocumentView has cognitive complexity 146 (threshold 15). Drivers by points: if/else 72 (86 pts), boolean chains 31, ternaries 20 (25 pts), loops 3, error handling 1 (nesting depth added 19). Most of this is not in the body itself: 10 of the 146 points are its own statements and the rest belongs to 39 function literals inside it that branch (lines 945, 894, 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":"web/components/reading/PdfDocumentView.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dc6fd65ae967634447b32d3cb7f050b91aa5d5ecb9824642a298f1e566443d"}},{"ruleId":"D2","level":"warning","message":{"text":"WeixinChannel._process_message (cognitive 145): WeixinChannel._process_message has cognitive complexity 145 (threshold 15). Drivers by points: if/else 45 (123 pts), boolean chains 18, loops 3 (4 pts) (nesting depth added 79). 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":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f3be43826f61f2bf3e5a09046548801f7ca10de33958715fbf04bb35afa9f1"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge.websocket_progress (cognitive 143): knowledge.websocket_progress has cognitive complexity 143 (threshold 15). Drivers by points: if/else 28 (63 pts), ternaries 13 (47 pts), boolean chains 19, error handling 8 (13 pts), loops 1 (nesting depth added 74). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":4500}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cde9c3102912cd623816e38b8d61cac3c552e45925eb2b2fc2aadd2a952f297"}},{"ruleId":"D2","level":"warning","message":{"text":"page.AdminUsersPage (cognitive 141): page.AdminUsersPage has cognitive complexity 141 (threshold 15). Drivers by points: ternaries 34 (96 pts), boolean chains 21, if/else 18 (19 pts), error handling 5 (nesting depth added 63). Of this number, 33 points are the body\u0027s own statements and 108 belong to 20 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"232bd9514e7eff6417624553f30c042cdaa8a3cc6332ec6edad8745c551400bf"}},{"ruleId":"D2","level":"warning","message":{"text":"parsing.consume_sdk_stream (cognitive 140): parsing.consume_sdk_stream has cognitive complexity 140 (threshold 15). Drivers by points: if/else 23 (79 pts), boolean chains 36, ternaries 4 (15 pts), loops 3 (10 pts) (nesting depth added 74). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_responses/parsing.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"112e38de3e98948569b9ff59f15cd0519f463bc65354c51f9ca7c6736a876cb6"}},{"ruleId":"D2","level":"warning","message":{"text":"dependencies._forward_closure (cognitive 136): dependencies._forward_closure has cognitive complexity 136 (threshold 15). Drivers by points: if/else 31 (97 pts), loops 7 (17 pts), boolean chains 15, error handling 2 (6 pts), ternaries 1 (nesting depth added 80). 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":"deeptutor/services/workspace/dependencies.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"79bc91a2d1ee1307038eaa393d91a035707822ef71cc88994167d1647c9c8935"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsSection.SkillsSection (cognitive 130): SkillsSection.SkillsSection has cognitive complexity 130 (threshold 15). Drivers by points: ternaries 29 (75 pts), if/else 20 (26 pts), boolean chains 17, error handling 9, loops 2 (3 pts) (nesting depth added 53). Of this number, 20 points are the body\u0027s own statements and 110 belong to 25 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/SkillsSection.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b1aaf54182776c83fd802ff452c5615e6f142416d256426b655635bc602dfb"}},{"ruleId":"D2","level":"warning","message":{"text":"source_visuals.retrieve_visual (cognitive 123): source_visuals.retrieve_visual has cognitive complexity 123 (threshold 15). Drivers by points: if/else 27 (78 pts), boolean chains 28, loops 3 (8 pts), error handling 2 (6 pts), ternaries 2 (3 pts) (nesting depth added 61). 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":"deeptutor/services/rag/source_visuals.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdecf6a214b86a42d02ad198582a0a59e6a5cc799a288d89a0a5d8e9b86364b6"}},{"ruleId":"D2","level":"warning","message":{"text":"unified_ws.unified_websocket (cognitive 119): unified_ws.unified_websocket has cognitive complexity 119 (threshold 15). Drivers by points: if/else 31 (69 pts), boolean chains 22, error handling 7 (15 pts), ternaries 4 (11 pts), loops 2 (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/unified_ws.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c8f6ef6f9da29e3b8706ea584fc6ff407ff5921533ce9b088d0aad7a74b66f"}},{"ruleId":"D2","level":"warning","message":{"text":"EpubDocumentView.EpubDocumentView (cognitive 114): EpubDocumentView.EpubDocumentView has cognitive complexity 114 (threshold 15). Drivers by points: if/else 50 (58 pts), boolean chains 32, ternaries 12 (15 pts), error handling 4 (7 pts), loops 2 (nesting depth added 14). Most of this is not in the body itself: 8 of the 114 points are its own statements and the rest belongs to 25 function literals inside it that branch (lines 610, 457, 307, \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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a275a5de9b03b66a15fc73799c62da95df91dfdec57016ff41ca860d8057da87"}},{"ruleId":"D2","level":"warning","message":{"text":"TimeGrid.TimeGrid (cognitive 114): TimeGrid.TimeGrid has cognitive complexity 114 (threshold 15). Drivers by points: if/else 55 (65 pts), boolean chains 29, ternaries 13 (19 pts), loops 1 (nesting depth added 16). Most of this is not in the body itself: 1 of the 114 points is its own statement and the rest belongs to 40 function items inside it that branch (a function literal at line 162, a function literal at line 238, a function literal at line 325, \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":"web/features/calendar/components/TimeGrid.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3161ed779f340d6312b126effcdff484bf0d7990ff1a42bd7cfecae361e7608e"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceConfigEditor.ServiceConfigEditor (cognitive 113): ServiceConfigEditor.ServiceConfigEditor has cognitive complexity 113 (threshold 15). Drivers by points: boolean chains 77, if/else 19 (22 pts), ternaries 9 (13 pts), error handling 1 (nesting depth added 7). Of this number, 34 points are the body\u0027s own statements and 79 belong to 21 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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f1659031e90d5a2673aea32fdb12452e030148ce75233094d4c133a97e1cd7"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelCatalogService._normalize (cognitive 105): ModelCatalogService._normalize has cognitive complexity 105 (threshold 15). Drivers by points: if/else 20 (68 pts), boolean chains 13, ternaries 3 (10 pts), loops 4 (8 pts), error handling 1 (6 pts) (nesting depth added 64). 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":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"5042607593ea606be3aaee21e9acd4f18081fb7bea6977b122960812f127d422"}},{"ruleId":"D2","level":"warning","message":{"text":"book.book_websocket (cognitive 104): book.book_websocket has cognitive complexity 104 (threshold 15). Drivers by points: if/else 19 (45 pts), boolean chains 26, error handling 11 (22 pts), ternaries 3 (10 pts), loops 1 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbae740ecc1cdb4b247a293d6c6581af338a8a2244207ae6536b850d418c937c"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeBaseManager._get_info (cognitive 104): KnowledgeBaseManager._get_info has cognitive complexity 104 (threshold 15). Drivers by points: if/else 38 (51 pts), ternaries 16 (26 pts), boolean chains 16, error handling 4 (9 pts), loops 1 (2 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5ec608e50825bb5ad2ad774388f0817487a8803aee483f0b1be60812050de4"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsWorkspace.ModelsWorkspace (cognitive 103): ModelsWorkspace.ModelsWorkspace has cognitive complexity 103 (threshold 15). Drivers by points: ternaries 30 (44 pts), boolean chains 33, if/else 18 (24 pts), loops 2 (nesting depth added 20). Of this number, 25 points are the body\u0027s own statements and 78 belong to 16 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"83993ac3b2f05aa53efa83d974d5239432222fcf445b2f546461badb2158604d"}},{"ruleId":"D2","level":"warning","message":{"text":"BookChatPanel.BookChatPanel (cognitive 102): BookChatPanel.BookChatPanel has cognitive complexity 102 (threshold 15). Drivers by points: boolean chains 44, if/else 32 (37 pts), ternaries 12 (20 pts), loops 1 (nesting depth added 13). Most of this is not in the body itself: 11 of the 102 points are its own statements and the rest belongs to 27 function items inside it that branch (handleEvent, a function literal at line 324, filterFiles, \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":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"0945dadb9be67998a0643a94835543b48fd8c042b49d6b95da10b8a1b8169b53"}},{"ruleId":"D2","level":"warning","message":{"text":"PageReader.PageReader (cognitive 102): PageReader.PageReader has cognitive complexity 102 (threshold 15). Drivers by points: boolean chains 49, if/else 26 (29 pts), ternaries 18 (23 pts), loops 1 (nesting depth added 8). Of this number, 40 points are the body\u0027s own statements and 62 belong to 11 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/PageReader.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f0de98a58744666e754da49b0cff38a82ab582d29f6c1777912ef239469d5b"}},{"ruleId":"D2","level":"warning","message":{"text":"manager._reconcile_embedding_flags (cognitive 100): manager._reconcile_embedding_flags has cognitive complexity 100 (threshold 15). Drivers by points: if/else 26 (71 pts), boolean chains 15, ternaries 4 (9 pts), error handling 1 (4 pts), loops 1 (nesting depth added 53). 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":"deeptutor/knowledge/manager.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dc3f7fb757d20c8061065c338a4f2895faed194b6639a4d7bca6980e4daaae"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessageList.ChatMessageList (cognitive 99): ChatMessageList.ChatMessageList has cognitive complexity 99 (threshold 15). Drivers by points: boolean chains 42, if/else 21 (30 pts), ternaries 16 (24 pts), loops 3 (nesting depth added 17). Most of this is not in the body itself: 6 of the 99 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 2282, a function literal at line 2122, a function literal at line 2170, \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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8d67f473386d094eab988303e56cfc04a6d99736ed648e26c57bbfd16768db"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteEditor.NoteEditor (cognitive 97): NoteEditor.NoteEditor has cognitive complexity 97 (threshold 15). Drivers by points: if/else 34 (39 pts), boolean chains 35, ternaries 15 (20 pts), error handling 3 (nesting depth added 10). Most of this is not in the body itself: 2 of the 97 points are its own statements and the rest belongs to 38 function items inside it that branch (a function literal at line 1484, getItems::insert, a function literal at line 845, \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":"web/features/notes/components/NoteEditor.tsx"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b1d99723cc6b472572dcc50872932ec3d33263ea0a3f7ffed9f9cc0385ea8d"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsWorkspace.ModelEditor (cognitive 96): ModelsWorkspace.ModelEditor has cognitive complexity 96 (threshold 15). Drivers by points: boolean chains 55, if/else 14 (23 pts), ternaries 15 (18 pts) (nesting depth added 12). Of this number, 61 points are the body\u0027s own statements and 35 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39389c998d7268555273a5b94f41014ff83a56b34d6af50e31eb761c5b58d2c"}},{"ruleId":"D2","level":"warning","message":{"text":"RichMarkdownRenderer.RichMarkdownRenderer (cognitive 93): RichMarkdownRenderer.RichMarkdownRenderer has cognitive complexity 93 (threshold 15). Drivers by points: ternaries 33 (40 pts), boolean chains 29, if/else 22 (24 pts) (nesting depth added 9). Most of this is not in the body itself: 14 of the 93 points are its own statements and the rest belongs to 27 function items inside it that branch (a function literal at line 425, a function literal at line 552, a function literal at line 528, \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":"web/components/common/RichMarkdownRenderer.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8aab460e0617c82c51eae6ee4aba0d7e615c5b4a9ec6f3309b573fe90d72e2"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgePage.KnowledgePage (cognitive 93): KnowledgePage.KnowledgePage has cognitive complexity 93 (threshold 15). Drivers by points: ternaries 28 (54 pts), if/else 18, error handling 11, boolean chains 10 (nesting depth added 26). Of this number, 33 points are the body\u0027s own statements and 60 belong to 18 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":"web/components/knowledge/KnowledgePage.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7de76de01c882b5bbb901cf418073a0a53fa1395faab767fb75e42fe5ab664"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningService._replace_module_set (cognitive 91): LearningService._replace_module_set has cognitive complexity 91 (threshold 15). Drivers by points: if/else 21 (43 pts), loops 7 (22 pts), ternaries 8 (14 pts), boolean chains 12 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/service.py"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf52ae1cd64dda6f3f5d8519fa402bd220bfad9c17f941417ed31ec92c2c457"}},{"ruleId":"D2","level":"warning","message":{"text":"StandaloneComposer.StandaloneComposerImpl (cognitive 91): StandaloneComposer.StandaloneComposerImpl has cognitive complexity 91 (threshold 15). Drivers by points: if/else 47 (53 pts), ternaries 16 (21 pts), boolean chains 15, error handling 2 (nesting depth added 11). Most of this is not in the body itself: 15 of the 91 points are its own statements and the rest belongs to 28 function literals inside it that branch (lines 741, 397, 447, \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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f811d6d93d5ed5d4179502d2ddb874215fc8460df9b0f0fcf8db0908f4e054"}},{"ruleId":"D2","level":"warning","message":{"text":"quiz_judge.websocket_quiz_judge (cognitive 89): quiz_judge.websocket_quiz_judge has cognitive complexity 89 (threshold 15). Drivers by points: if/else 21 (36 pts), error handling 15 (30 pts), boolean chains 19, loops 2 (3 pts), ternaries 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"639f2c49f5c5b61976b42e7f224cc626c157479b30313a162a3efc483203de54"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerCommandHandler._model (cognitive 89): PartnerCommandHandler._model has cognitive complexity 89 (threshold 15). Drivers by points: if/else 30 (54 pts), boolean chains 17, ternaries 6 (10 pts), loops 3 (5 pts), error handling 3 (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":"deeptutor/services/partners/commands.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07bbae03e7ed85e06912e7056c56d5d519d1712dffd7b268229cc43e354031d"}},{"ruleId":"D2","level":"warning","message":{"text":"CalendarPage.CalendarPage (cognitive 88): CalendarPage.CalendarPage has cognitive complexity 88 (threshold 15). Drivers by points: ternaries 24 (36 pts), if/else 23 (27 pts), boolean chains 22, error handling 3 (nesting depth added 16). Of this number, 41 points are the body\u0027s own statements and 47 belong to 28 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":"web/features/calendar/components/CalendarPage.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5cd70aaa3cdea29ea6bb0c3f3a33406ce1b15c09856fb86b5bd639fcd09d84"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatProvider.chat_stream (cognitive 87): OpenAICompatProvider.chat_stream has cognitive complexity 87 (threshold 15). Drivers by points: if/else 19 (49 pts), boolean chains 14, error handling 8 (12 pts), ternaries 3 (7 pts), loops 2 (5 pts) (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7024c796e9cdba00c3b3870475d59d0a041fa0a5f39a7167a3321976b26ae3"}},{"ruleId":"D2","level":"warning","message":{"text":"CalendarStore.update (cognitive 86): CalendarStore.update has cognitive complexity 86 (threshold 15). Drivers by points: if/else 23 (58 pts), ternaries 4 (12 pts), boolean chains 9, loops 2 (7 pts) (nesting depth added 48). 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":"deeptutor/services/calendar/store.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2aae1fffea7d11eb154832dc842bc9caedf67819a49a059e0fdf8cdfaa8e4a"}},{"ruleId":"D2","level":"warning","message":{"text":"sidecar.build_ir (cognitive 86): sidecar.build_ir has cognitive complexity 86 (threshold 15). Drivers by points: if/else 19 (45 pts), boolean chains 22, ternaries 6 (18 pts), loops 1 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/sidecar.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"af486f1f11d81c8b4712e003848761f5b0de91305fbe11f21106703ae7b7a4f0"}},{"ruleId":"D2","level":"warning","message":{"text":"MyAgentsPicker.MyAgentsPicker (cognitive 86): MyAgentsPicker.MyAgentsPicker has cognitive complexity 86 (threshold 15). Drivers by points: ternaries 15 (38 pts), if/else 15 (23 pts), boolean chains 18, loops 5, error handling 2 (nesting depth added 31). Most of this is not in the body itself: 8 of the 86 points are its own statements and the rest belongs to 21 function items inside it that branch (a function literal at line 166, a function literal at line 231, a function literal at line 397, \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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf3b8a05e5f6852dc9179a96de91513706752509fdcbda55070f7bdeebf7891"}},{"ruleId":"D2","level":"warning","message":{"text":"TextUnitView.TextUnitView (cognitive 85): TextUnitView.TextUnitView has cognitive complexity 85 (threshold 15). Drivers by points: ternaries 16 (35 pts), if/else 32 (33 pts), boolean chains 16, error handling 1 (nesting depth added 20). Of this number, 30 points are the body\u0027s own statements and 55 belong to 20 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":"web/components/reading/TextUnitView.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92fad6bc8f8d2be1bc8da85020db9e9a109a1334f18b71ef2484f1b921c51aa"}},{"ruleId":"D2","level":"warning","message":{"text":"exercise_lookup.collect_exercises (cognitive 84): exercise_lookup.collect_exercises has cognitive complexity 84 (threshold 15). Drivers by points: if/else 20 (53 pts), boolean chains 16, ternaries 4 (12 pts), loops 2 (3 pts) (nesting depth added 42). 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":"deeptutor/services/rag/pipelines/llamaindex/exercise_lookup.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5812cf6c91e08cb860bcd85d6bf9f132421c0cb94e1f9ac98f2e4294528154be"}},{"ruleId":"D2","level":"warning","message":{"text":"exercise_lookup.lookup_exercises (cognitive 83): exercise_lookup.lookup_exercises has cognitive complexity 83 (threshold 15). Drivers by points: if/else 22 (50 pts), loops 5 (10 pts), ternaries 5 (10 pts), boolean chains 9, error handling 2 (4 pts) (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/exercise_lookup.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca03831a66839d4d6bfdee780269b88fd39c6ededddf7dc44e66f9ae2cdb8b3"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryStudy.MasteryStudy (cognitive 83): MasteryStudy.MasteryStudy has cognitive complexity 83 (threshold 15). Drivers by points: if/else 22 (30 pts), ternaries 15 (29 pts), boolean chains 16, loops 4 (6 pts), error handling 2 (nesting depth added 24). Of this number, 31 points are the body\u0027s own statements and 52 belong to 21 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":"web/components/space/learning/MasteryStudy.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95294a745be0733da936665b7ac1de13e60add223dccb5a6ea2b82c5505db85"}},{"ruleId":"D2","level":"warning","message":{"text":"FeishuChannel.send (cognitive 82): FeishuChannel.send has cognitive complexity 82 (threshold 15). Drivers by points: if/else 28 (52 pts), boolean chains 19, loops 3 (6 pts), ternaries 3 (4 pts), 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":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"512ea6f468b459a6e98bb551b8fbb907bdf9f454d0e4b8a9c0061063f60ad636"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnRequestPreparer.regenerate_last_turn (cognitive 82): TurnRequestPreparer.regenerate_last_turn has cognitive complexity 82 (threshold 15). Drivers by points: boolean chains 34, ternaries 22 (23 pts), if/else 15 (20 pts), loops 3 (5 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/request_preparer.py"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a3b3e481c6ea8dafd6a43839cac01783dd3988470b8ddce462ed91f94d99bd"}},{"ruleId":"D2","level":"warning","message":{"text":"GrantEditor.GrantEditor (cognitive 82): GrantEditor.GrantEditor has cognitive complexity 82 (threshold 15). Drivers by points: ternaries 25 (40 pts), boolean chains 32, if/else 9, error handling 1 (nesting depth added 15). Of this number, 54 points are the body\u0027s own statements and 28 belong to 27 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":"web/features/multi-user/components/GrantEditor.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd575d2f1c8a24237fcb9ae1edf11ed44334b1d3e49d12c29ef06da794366769"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryQuizTool.execute (cognitive 80): MasteryQuizTool.execute has cognitive complexity 80 (threshold 15). Drivers by points: if/else 29 (45 pts), boolean chains 17, error handling 4 (7 pts), loops 3 (6 pts), ternaries 3 (5 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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e191cdc7f0444e5057953fbd88686334b64e9909853e7646faadabbcdb8595f"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnLifecycle.subscribe_turn (cognitive 80): TurnLifecycle.subscribe_turn has cognitive complexity 80 (threshold 15). Drivers by points: if/else 21 (55 pts), boolean chains 16, loops 5 (7 pts), error handling 1 (2 pts) (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/lifecycle.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3490d0db7369a32df43badca579799ced345b880520fc5fab49f65ec7ae5e7"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions.update_session_organization (cognitive 79): sessions.update_session_organization has cognitive complexity 79 (threshold 15). Drivers by points: if/else 26 (51 pts), boolean chains 13, error handling 4 (12 pts), loops 1 (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":"deeptutor/api/routers/sessions.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab02eaf5396e41b58126423bbb37fed855fcb8f888291c2f9a21de08dd897130"}},{"ruleId":"D2","level":"warning","message":{"text":"kb_health.detect_kb_drift (cognitive 78): kb_health.detect_kb_drift has cognitive complexity 78 (threshold 15). Drivers by points: if/else 16 (42 pts), boolean chains 22, loops 6 (13 pts), ternaries 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/kb_health.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"085d196a6f3a1c2e6980591a5f55d5635718a95a1cef2f2a3bef1fef6a874487"}},{"ruleId":"D2","level":"warning","message":{"text":"PracticeSession.PracticeTurn (cognitive 78): PracticeSession.PracticeTurn has cognitive complexity 78 (threshold 15). Drivers by points: ternaries 17 (50 pts), boolean chains 20, if/else 5 (6 pts), error handling 2 (nesting depth added 34). Of this number, 40 points are the body\u0027s own statements and 38 belong to 8 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/learning/practice/PracticeSession.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8d68f8d2fe0993f1582cbcdf796e70c4ec56f567e0cbb424f3da060d7b2fc5"}},{"ruleId":"D2","level":"warning","message":{"text":"labeled_step.run_labeled_step (cognitive 77): labeled_step.run_labeled_step has cognitive complexity 77 (threshold 15). Drivers by points: if/else 29 (56 pts), boolean chains 13, error handling 3 (5 pts), loops 2 (3 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/agentic/labeled_step.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1760cd9f3c441703e364507100811136605ddbbb2ac900f957d54c0ed007d663"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerRunner._execute_turn (cognitive 76): PartnerRunner._execute_turn has cognitive complexity 76 (threshold 15). Drivers by points: if/else 21 (43 pts), boolean chains 26, loops 3 (4 pts), ternaries 2, error handling 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":"deeptutor/services/partners/runtime.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"1673a60eef4378c727656f438ed37aaf1c5c1cd74d452b0fd4f2ef5e350f769f"}},{"ruleId":"D2","level":"warning","message":{"text":"page.MasteryTopicPage (cognitive 76): page.MasteryTopicPage has cognitive complexity 76 (threshold 15). Drivers by points: ternaries 26 (48 pts), boolean chains 12, error handling 8, if/else 7 (8 pts) (nesting depth added 23). Of this number, 47 points are the body\u0027s own statements and 29 belong to 16 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":"web/app/(workspace)/learning/mastery/[pathId]/page.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1501c49c2e9fe62b10c18795e40437c8ffdcd163d6372b8fcd9730ceb38e04f6"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceNavigator.SourceNavigator (cognitive 76): SourceNavigator.SourceNavigator has cognitive complexity 76 (threshold 15). Drivers by points: ternaries 24 (49 pts), boolean chains 26, if/else 1 (nesting depth added 25). Of this number, 46 points are the body\u0027s own statements and 30 belong to 14 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":"web/components/reading/workspace/SourceNavigator.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd98ea54f01f4ebc2b409b292eb9c7e70977c4b4a8c2dfa9d782cd22dbf01e4b"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchingBrowser.WatchingBrowser (cognitive 76): WatchingBrowser.WatchingBrowser has cognitive complexity 76 (threshold 15). Drivers by points: boolean chains 30, ternaries 12 (24 pts), if/else 14 (16 pts), error handling 6 (nesting depth added 14). Of this number, 17 points are the body\u0027s own statements and 59 belong to 19 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":"web/components/watching/WatchingBrowser.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc6f340ca6e2f375c2ac3cfc54df4abcc9ff5b43a2210813930c57e4658a0fc"}},{"ruleId":"D2","level":"warning","message":{"text":"QuizFollowupContext.QuizFollowupProvider (cognitive 76): QuizFollowupContext.QuizFollowupProvider has cognitive complexity 76 (threshold 15). Drivers by points: if/else 35 (46 pts), boolean chains 18, ternaries 9, error handling 2 (3 pts) (nesting depth added 12). None of this is in the body itself: all 76 points belong to 14 function literals inside it that branch (lines 475, 311, 354, \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":"web/context/QuizFollowupContext.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a3f37ba4c365272141add1458c819b3be265562bf50a88a107aba3e69c871c"}},{"ruleId":"D2","level":"warning","message":{"text":"topic_generation.materialize_modules (cognitive 75): topic_generation.materialize_modules has cognitive complexity 75 (threshold 15). Drivers by points: if/else 24 (55 pts), boolean chains 15, loops 3 (5 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/topic_generation.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03243df6396049af2604ca4d4a27707e99b05e4f2e1d953078b73c8c36063e0"}},{"ruleId":"D2","level":"warning","message":{"text":"KbFilePreview.KbFilePreview (cognitive 75): KbFilePreview.KbFilePreview has cognitive complexity 75 (threshold 15). Drivers by points: ternaries 19 (64 pts), boolean chains 5, if/else 5, error handling 1 (nesting depth added 45). Of this number, 67 points are the body\u0027s own statements and 8 belong to 6 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KbFilePreview.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c0859f317683670d4929b2922a494703827166f6e02ad8d4325ab999389853"}},{"ruleId":"D2","level":"warning","message":{"text":"lesson_evidence.prepare_lesson (cognitive 74): lesson_evidence.prepare_lesson has cognitive complexity 74 (threshold 15). Drivers by points: if/else 26 (55 pts), boolean chains 9, error handling 3 (6 pts), ternaries 3, loops 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/lesson_evidence.py"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fe5fe425c986b35438a917634927e23488a2b1f45e0199ce175a908fa6e040"}},{"ruleId":"D2","level":"warning","message":{"text":"parsing.consume_sse (cognitive 74): parsing.consume_sse has cognitive complexity 74 (threshold 15). Drivers by points: if/else 13 (41 pts), boolean chains 17, ternaries 4 (15 pts), loops 1 (nesting depth added 39). 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":"deeptutor/services/llm/provider_core/openai_responses/parsing.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f3021d66cf3336cca13a3e5a1bb2c5e9dc4d112f6b4c5dd7c4d3a9f29cd6ff"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryQuestionCard.SingleMasteryQuestionCard (cognitive 74): MasteryQuestionCard.SingleMasteryQuestionCard has cognitive complexity 74 (threshold 15). Drivers by points: ternaries 23 (40 pts), boolean chains 22, if/else 9 (12 pts) (nesting depth added 20). Of this number, 52 points are the body\u0027s own statements and 22 belong to 8 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":"web/components/chat/home/MasteryQuestionCard.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe338078e6c06180895c103317fe50474b3bcb342db0093a243f118eede96af0"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerComposer.PartnerComposer (cognitive 73): PartnerComposer.PartnerComposer has cognitive complexity 73 (threshold 15). Drivers by points: if/else 31 (39 pts), boolean chains 26, ternaries 7, loops 1 (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 56 belong to 20 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":"web/components/partners/PartnerComposer.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27586d81bc8ec17b587ffafdcf2e9346f39448d5a1c399ab7be9b8dbf9c436c"}},{"ruleId":"D2","level":"warning","message":{"text":"blocks.blocks_to_markdown (cognitive 72): blocks.blocks_to_markdown has cognitive complexity 72 (threshold 15). Drivers by points: if/else 10 (32 pts), ternaries 5 (18 pts), boolean chains 12, loops 3 (10 pts) (nesting depth added 42). 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":"deeptutor/notes/blocks.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d834ba765f5a5212d0f761de265558ee9276f4fafc6a828776da866200bcaa0"}},{"ruleId":"D2","level":"warning","message":{"text":"local.parse_document_with_mineru_result (cognitive 71): local.parse_document_with_mineru_result has cognitive complexity 71 (threshold 15). Drivers by points: if/else 28 (41 pts), error handling 8 (16 pts), boolean chains 9, loops 3 (4 pts), ternaries 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":"deeptutor/services/parsing/engines/mineru/local.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f0e13b76f8ea0e84954a339e5d82620c28c75ffbaf78c5b8e39864c6b28420"}},{"ruleId":"D2","level":"warning","message":{"text":"source_inventory._collect_from_user_message (cognitive 71): source_inventory._collect_from_user_message has cognitive complexity 71 (threshold 15). Drivers by points: if/else 20 (41 pts), boolean chains 19, loops 6 (7 pts), error handling 2 (4 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/source_inventory.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"868bdff117d2b2cc65f5ee81a68d826210cfe7d8bddca44092b6575ea2e4240c"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-completions.request (cognitive 71): chat-completions.request has cognitive complexity 71 (threshold 15). Drivers by points: if/else 33 (85 pts), boolean chains 13, loops 4 (8 pts), ternaries 1 (4 pts), error handling 1 (2 pts) (nesting depth added 60). To reduce it, split the body into named stages: move each independent 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 (chat-completions.request::ingest) 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":"packages/chat-engine/src/providers/chat-completions.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f69e8350fd63bba1292f3cc744b383f5abbc957e649dac979d3568cd35366b"}},{"ruleId":"D2","level":"warning","message":{"text":"page.ProfilePage (cognitive 71): page.ProfilePage has cognitive complexity 71 (threshold 15). Drivers by points: ternaries 21 (36 pts), if/else 13 (17 pts), boolean chains 13, error handling 5 (nesting depth added 19). Of this number, 28 points are the body\u0027s own statements and 43 belong to 12 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":"web/app/(utility)/profile/page.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"036a6a39029395b2bd15da54be7e39a275e3c9d98ffdce48d3a300d2f6027dc7"}},{"ruleId":"D2","level":"warning","message":{"text":"ProvidersWorkspace.ProvidersWorkspace (cognitive 71): ProvidersWorkspace.ProvidersWorkspace has cognitive complexity 71 (threshold 15). Drivers by points: boolean chains 34, ternaries 12 (21 pts), if/else 13 (15 pts), loops 1 (nesting depth added 11). Of this number, 38 points are the body\u0027s own statements and 33 belong to 13 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":"web/components/settings/ProvidersWorkspace.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2724f106c18e333e49b07b580b1c743a57f2a7ca97056e5552b6487f7e8d5389"}},{"ruleId":"D2","level":"warning","message":{"text":"python_scheduler.run_loop (cognitive 70): python_scheduler.run_loop has cognitive complexity 70 (threshold 15). Drivers by points: if/else 20 (62 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 44). 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":"deeptutor/agents/loop/python_scheduler.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ba93d41a21f62f88b16cafc642fde65dc3fa70cc7991791a0d9651637bb9e5"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery.discover_voices (cognitive 70): discovery.discover_voices has cognitive complexity 70 (threshold 15). Drivers by points: if/else 16 (41 pts), loops 4 (10 pts), boolean chains 8, error handling 4 (6 pts), ternaries 2 (5 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/discovery.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f2604744744b54383044cfcc88e4ebb470e969448528aa5c3ef933a605f7af"}},{"ruleId":"D2","level":"warning","message":{"text":"run-loop.runLoop (cognitive 70): run-loop.runLoop has cognitive complexity 70 (threshold 15). Drivers by points: if/else 22 (65 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 44). 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":"packages/chat-engine/src/core/run-loop.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd3396a6e8579a8886f729739a76c3b0dae25015182c17b447954de89ec79cf"}},{"ruleId":"D2","level":"warning","message":{"text":"readiness.catalog_service_rows (cognitive 69): readiness.catalog_service_rows has cognitive complexity 69 (threshold 15). Drivers by points: if/else 15 (33 pts), ternaries 7 (16 pts), boolean chains 12, error handling 2 (7 pts), loops 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/readiness.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8bbc5de7454b35ca0237777c7ffbf41842bf182c6bd41c2f01d0658d72dfca"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingReferencePicker.ReadingReferencePicker (cognitive 69): ReadingReferencePicker.ReadingReferencePicker has cognitive complexity 69 (threshold 15). Drivers by points: ternaries 18 (36 pts), if/else 20 (21 pts), boolean chains 12 (nesting depth added 19). Of this number, 19 points are the body\u0027s own statements and 50 belong to 20 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/ReadingReferencePicker.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d976828a26b983814d90ee6028b84b3080dd7a11c98667feee60f13e26fa368c"}},{"ruleId":"D2","level":"warning","message":{"text":"useMemoryRun.useMemoryRun.attach (cognitive 69): useMemoryRun.useMemoryRun.attach has cognitive complexity 69 (threshold 15). Drivers by points: if/else 15 (27 pts), ternaries 7 (26 pts), error handling 4 (7 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 35). Of this number, 38 points are the body\u0027s own statements and 31 belong to 5 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":"web/components/memory/useMemoryRun.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8312833db285c3b9a72fc29e83d5ab84a21aa79a2db8c67c0630a3ef8eaa6ae6"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerArchives.PartnerArchives (cognitive 69): PartnerArchives.PartnerArchives has cognitive complexity 69 (threshold 15). Drivers by points: ternaries 24 (43 pts), if/else 13, boolean chains 9, error handling 4 (nesting depth added 19). Most of this is not in the body itself: 15 of the 69 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 345, 275, 215, \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":"web/components/partners/PartnerArchives.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d38e3d679174c9a8b7d7e2f99a7c99cb6485262294113d0d79e1a051c19652"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_probe.probe_provider (cognitive 68): provider_probe.probe_provider has cognitive complexity 68 (threshold 15). Drivers by points: if/else 17 (32 pts), boolean chains 13, ternaries 6 (13 pts), error handling 4 (5 pts), loops 4 (5 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":"deeptutor/services/settings/provider_probe.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1648aeb0a3f01d2e1ae735d2d14a15f302ee96c1acf4eaf574ab433ca9eaca"}},{"ruleId":"D2","level":"warning","message":{"text":"AskUserOptions.InteractiveAskUserCard (cognitive 68): AskUserOptions.InteractiveAskUserCard has cognitive complexity 68 (threshold 15). Drivers by points: ternaries 17 (28 pts), if/else 15 (23 pts), boolean chains 13, loops 3 (4 pts) (nesting depth added 20). Of this number, 28 points are the body\u0027s own statements and 40 belong to 9 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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff0bb50b2f56bc5bd44ecdafe82afacfc5986b48b8b7d89a8129b2e08128179"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeRetryManager.render_with_retries (cognitive 67): CodeRetryManager.render_with_retries has cognitive complexity 67 (threshold 15). Drivers by points: if/else 14 (46 pts), error handling 4 (12 pts), boolean chains 4, ternaries 1 (4 pts), loops 1 (nesting depth added 43). 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":"deeptutor/agents/math_animator/retry_manager.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fdfc9f95eedc1dfa010853d741a03a8cb3d64d34fe5074a9a7673516ee34c0"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerManager._outbound_router (cognitive 67): PartnerManager._outbound_router has cognitive complexity 67 (threshold 15). Drivers by points: if/else 10 (24 pts), ternaries 5 (23 pts), boolean chains 13, error handling 4 (6 pts), loops 1 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/partners/manager.py"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81cb701817c0c19eeed4da887b974fd28374757921b61fa2fdf8cc3afd195e2"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolsSettingsSection.ToolsSettingsPage (cognitive 67): ToolsSettingsSection.ToolsSettingsPage has cognitive complexity 67 (threshold 15). Drivers by points: ternaries 12 (25 pts), boolean chains 21, if/else 16 (18 pts), loops 2, error handling 1 (nesting depth added 15). Of this number, 21 points are the body\u0027s own statements and 46 belong to 11 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":"web/features/settings/sections/ToolsSettingsSection.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"739113452c44ae5f91203c0084da6d0facd1297bcc730658c153e76fab57efc2"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-registry.reconcileRegistrySave (cognitive 67): provider-registry.reconcileRegistrySave has cognitive complexity 67 (threshold 15). Drivers by points: if/else 22 (56 pts), boolean chains 6, loops 2 (5 pts) (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/provider-registry.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce622fdafe6128b9eb111cf664a9a3a27212013d57212fd791f9008547cd097c"}},{"ruleId":"D2","level":"warning","message":{"text":"HistorySessionPicker.HistorySessionPicker (cognitive 66): HistorySessionPicker.HistorySessionPicker has cognitive complexity 66 (threshold 15). Drivers by points: ternaries 18 (33 pts), if/else 16 (17 pts), boolean chains 15, error handling 1 (nesting depth added 16). Of this number, 24 points are the body\u0027s own statements and 42 belong to 16 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":"web/components/chat/HistorySessionPicker.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d083a9e3867c67fca6b0288e5cb0105bbd704cd3452776139646d2fb80da1fd3"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarNav.SidebarNav (cognitive 66): SidebarNav.SidebarNav has cognitive complexity 66 (threshold 15). Drivers by points: ternaries 23 (40 pts), if/else 13 (20 pts), boolean chains 6 (nesting depth added 24). Of this number, 28 points are the body\u0027s own statements and 38 belong to 13 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":"web/components/sidebar/SidebarNav.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3df7e839c4a004624decb54e1729fa5d2253cbd9d955e5fe408e9d9c00206f"}},{"ruleId":"D2","level":"warning","message":{"text":"KbIndexVersionsSection.KbIndexVersionsSection (cognitive 65): KbIndexVersionsSection.KbIndexVersionsSection has cognitive complexity 65 (threshold 15). Drivers by points: boolean chains 39, ternaries 11 (16 pts), if/else 7 (8 pts), error handling 2 (nesting depth added 6). Of this number, 40 points are the body\u0027s own statements and 25 belong to 10 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KbIndexVersionsSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a634a3e330b3cd90025875cf626edb5fda128529acd441792fbc239e1c35dfc4"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexOAuthCard.CodexOAuthCard (cognitive 65): CodexOAuthCard.CodexOAuthCard has cognitive complexity 65 (threshold 15). Drivers by points: boolean chains 25, ternaries 11 (18 pts), if/else 13 (14 pts), error handling 8 (nesting depth added 8). Of this number, 20 points are the body\u0027s own statements and 45 belong to 18 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":"web/components/settings/CodexOAuthCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11b6e94b3d6651f2dad27e19036a00b7402ac350cb4f8de90d84715e985ec3a"}},{"ruleId":"D2","level":"warning","message":{"text":"PersonasSection.PersonasSection (cognitive 65): PersonasSection.PersonasSection has cognitive complexity 65 (threshold 15). Drivers by points: ternaries 16 (41 pts), if/else 8 (12 pts), boolean chains 7, error handling 5 (nesting depth added 29). Most of this is not in the body itself: 9 of the 65 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 173, 298, 221, \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":"web/components/space/PersonasSection.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0e5526841fc58df9f823079a0c817b91dc06b5de8ac32ac1c7d7ba3b9c9bf0"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessageList.UserMessage (cognitive 65): ChatMessageList.UserMessage has cognitive complexity 65 (threshold 15). Drivers by points: boolean chains 27, ternaries 14 (20 pts), if/else 15 (16 pts), error handling 2 (nesting depth added 7). Of this number, 39 points are the body\u0027s own statements and 26 belong to 11 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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"1110b52925646aa090cddecb1db54e5818e75da7127717c2ffadd55d87ad34f8"}},{"ruleId":"D2","level":"warning","message":{"text":"book-activity.preparationRows (cognitive 65): book-activity.preparationRows has cognitive complexity 65 (threshold 15). Drivers by points: ternaries 21 (47 pts), boolean chains 15, if/else 3 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/book-activity.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f570726e8b74446096c18d6c6b96fec78d19af9bb211f6c1fc74dbce95b0653a"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnApplicationService.subscribe_turn (cognitive 64): TurnApplicationService.subscribe_turn has cognitive complexity 64 (threshold 15). Drivers by points: if/else 20 (49 pts), boolean chains 10, loops 3 (4 pts), ternaries 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":"deeptutor/app/service.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e952241d015fa83790f5f631f29de5c4f8e571a6581e6f400a5271c8738793b6"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeSession.operate (cognitive 64): NativeSession.operate has cognitive complexity 64 (threshold 15). Drivers by points: if/else 20 (42 pts), boolean chains 16, ternaries 2 (5 pts), match/switch 1 (nesting depth added 25). Of this number, 63 points are the body\u0027s own statements and 1 belongs 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":"packages/chat-engine/src/native/session.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c5bca8de40e8810a9d607d63d2da1f7328ec38a399b49392efef7be124a093"}},{"ruleId":"D2","level":"warning","message":{"text":"BookReferencePicker.BookReferencePicker (cognitive 64): BookReferencePicker.BookReferencePicker has cognitive complexity 64 (threshold 15). Drivers by points: boolean chains 28, ternaries 14 (26 pts), if/else 10 (nesting depth added 12). Most of this is not in the body itself: 13 of the 64 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 319, a function literal at line 256, togglePage, \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":"web/components/chat/BookReferencePicker.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cdb247e1b2895ffb7f109fab5cd3283da9aa4c094c366e23b8bd3faa8f1923"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnNavigator.TurnNavigator (cognitive 64): TurnNavigator.TurnNavigator has cognitive complexity 64 (threshold 15). Drivers by points: ternaries 18 (33 pts), if/else 18 (20 pts), boolean chains 10, loops 1 (nesting depth added 17). Of this number, 17 points are the body\u0027s own statements and 47 belong to 11 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":"web/components/chat/home/TurnNavigator.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f10cb1910d3bb246192edc08c514268955b90c173b062161042816631e1937"}},{"ruleId":"D2","level":"warning","message":{"text":"data_migration.migrate_data (cognitive 63): data_migration.migrate_data has cognitive complexity 63 (threshold 15). Drivers by points: if/else 20 (37 pts), error handling 3 (8 pts), loops 4 (7 pts), ternaries 3 (7 pts), boolean chains 4 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c47148c99fdb7e30dcfebfb45122eb5291a3a8a7011e663071fc53ebc5345a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingContext.ReadingProvider (cognitive 63): ReadingContext.ReadingProvider has cognitive complexity 63 (threshold 15). Drivers by points: if/else 25 (34 pts), ternaries 10 (22 pts), error handling 3, loops 2 (3 pts), boolean chains 1 (nesting depth added 22). None of this is in the body itself: all 63 points belong to 16 function literals inside it that branch (lines 260, 346, 151, \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":"web/context/ReadingContext.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"71613ba2621fa23eaf64f4c8a34b257e47091fd1681cff4d6517575b2303123d"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge._save_uploaded_files (cognitive 62): knowledge._save_uploaded_files has cognitive complexity 62 (threshold 15). Drivers by points: if/else 8 (21 pts), error handling 6 (19 pts), loops 4 (8 pts), ternaries 4 (8 pts), boolean chains 6 (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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"5300aec14fd809cac870bfc9c93205ede15fb1548b572de01a8407822154d68d"}},{"ruleId":"D2","level":"warning","message":{"text":"model_history.replay_group (cognitive 62): model_history.replay_group has cognitive complexity 62 (threshold 15). Drivers by points: if/else 9 (30 pts), loops 5 (18 pts), boolean chains 8, error handling 1 (6 pts) (nesting depth added 39). 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":"deeptutor/services/session/model_history.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c69056abb2e5cce0b11aaf761501485d0d34e6c0406c0e1586b9c5f7d4afcf"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline._citation_source_preview (cognitive 61): pipeline._citation_source_preview has cognitive complexity 61 (threshold 15). Drivers by points: if/else 13 (34 pts), ternaries 2 (10 pts), loops 3 (9 pts), boolean chains 8 (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":2508}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0de7d0c2ba9708c8a7bcd793a4d2df84ec277927af65855c48db63c641c45b4"}},{"ruleId":"D2","level":"warning","message":{"text":"partner_groups.partner_group_ws (cognitive 61): partner_groups.partner_group_ws has cognitive complexity 61 (threshold 15). Drivers by points: error handling 11 (30 pts), if/else 9 (13 pts), boolean chains 12, loops 4 (6 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":"deeptutor/api/routers/partner_groups.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed21eab613ae72efc04f32d88da5279003d2d367b76441ac015bba4b02928c89"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryGradeTool.execute (cognitive 61): MasteryGradeTool.execute has cognitive complexity 61 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 20, ternaries 17 (18 pts), error handling 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05c341a5f4f0a260d5acce6f8ba79683d3c9938ab5e22e66163d6c4c9a7a8cf"}},{"ruleId":"D2","level":"warning","message":{"text":"parsing.parse_response_output (cognitive 61): parsing.parse_response_output has cognitive complexity 61 (threshold 15). Drivers by points: if/else 12 (33 pts), boolean chains 15, loops 4 (10 pts), ternaries 2 (3 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_responses/parsing.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef99f6a53c5ddf090408a508c6c47d23395a843ba4c58fd4cc5d42f3097fbd8b"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryRunPanel.MemoryRunPanel (cognitive 61): MemoryRunPanel.MemoryRunPanel has cognitive complexity 61 (threshold 15). Drivers by points: ternaries 13 (21 pts), if/else 17 (20 pts), boolean chains 17, error handling 2, loops 1 (nesting depth added 11). Most of this is not in the body itself: 11 of the 61 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 225, 140, 118, \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":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b88128d7b871b4651c3d3b52054435d44d437ac52e285e51f7e9d233bfce83"}},{"ruleId":"D2","level":"warning","message":{"text":"useNoteThreads.useNoteThreads (cognitive 61): useNoteThreads.useNoteThreads has cognitive complexity 61 (threshold 15). Drivers by points: boolean chains 21, if/else 15 (20 pts), ternaries 9 (19 pts), loops 1 (nesting depth added 15). Most of this is not in the body itself: 7 of the 61 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 452, 521, 196, \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":"web/features/notes/components/useNoteThreads.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ca91633e96c6d522427ad2efe332ae750a886925e4753b8f53df8b3d2762fd"}},{"ruleId":"D2","level":"warning","message":{"text":"llm.list_llm_options (cognitive 60): llm.list_llm_options has cognitive complexity 60 (threshold 15). Drivers by points: if/else 10 (30 pts), boolean chains 18, loops 3 (6 pts), ternaries 3 (6 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":"deeptutor/services/model_selection/llm.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aac289a614daca9ad3d8ae9b0e9ca904fdeadfd700aab785340f5bdfbcc8c4e"}},{"ruleId":"D2","level":"warning","message":{"text":"content_list.build_content_list (cognitive 60): content_list.build_content_list has cognitive complexity 60 (threshold 15). Drivers by points: if/else 19 (50 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":"deeptutor/services/parsing/engines/docling/content_list.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3df70384974ff871fe3a0a19e293432b23eb28aebd9e4f39b4e546ca38e6bd4"}},{"ruleId":"D2","level":"warning","message":{"text":"NotebookConsole.NotebookDetail (cognitive 60): NotebookConsole.NotebookDetail has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 9 (24 pts), boolean chains 22, if/else 11 (12 pts), error handling 2 (nesting depth added 16). Of this number, 26 points are the body\u0027s own statements and 34 belong to 12 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":"web/components/notebook/NotebookConsole.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d53cb1d04cfccbaafd6da4e03b19998e065cafabadca8280d8a8cba6497600"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingWorkspace.ReadingWorkspacePage (cognitive 60): ReadingWorkspace.ReadingWorkspacePage has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 15 (28 pts), boolean chains 20, if/else 12 (nesting depth added 13). Of this number, 46 points are the body\u0027s own statements and 14 belong to 11 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":"web/components/reading/workspace/ReadingWorkspace.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaef99312134e167e66814ef08bf5ed8e69657d6aa1df92903b1c908d978bd05"}},{"ruleId":"D2","level":"warning","message":{"text":"PdfPage.PdfPage (cognitive 59): PdfPage.PdfPage has cognitive complexity 59 (threshold 15). Drivers by points: if/else 28 (31 pts), boolean chains 16, ternaries 6 (7 pts), error handling 5 (nesting depth added 4). Most of this is not in the body itself: 12 of the 59 points are its own statements and the rest belongs to 18 function literals inside it that branch (lines 248, 259, 339, \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":"web/components/reading/PdfPage.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f01fa89406b7ccc08d121398397e702ba5cae39c57f88ac076164393ecf05c"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingStore.ingest_units (cognitive 58): ReadingStore.ingest_units has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (32 pts), loops 6 (11 pts), boolean chains 10, ternaries 4, error handling 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":"deeptutor/reading/store.py"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"c753a31c72be92a7fef1529af16ceeba8df8463b27edc9e182e14229d336e2f3"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionList.SessionList (cognitive 58): SessionList.SessionList has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 13 (30 pts), if/else 13 (22 pts), boolean chains 5, loops 1 (nesting depth added 26). Most of this is not in the body itself: 7 of the 58 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 249, a function literal at line 139, commitEdit, \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":"web/components/SessionList.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b33e9b154a404fc2dc178f38d946a6c77cb3fa08122fc00c69ab7393d76f66"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceConfigEditor.ProfileFields (cognitive 58): ServiceConfigEditor.ProfileFields has cognitive complexity 58 (threshold 15). Drivers by points: boolean chains 40, if/else 10, ternaries 7 (8 pts) (nesting depth added 1). Of this number, 35 points are the body\u0027s own statements and 23 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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"30306257d919ce1a5a7ba173e957a6d67f9d1c44730f36ef729ec3694f325f3f"}},{"ruleId":"D2","level":"warning","message":{"text":"reading-citations.linkifyLocatorCitations (cognitive 58): reading-citations.linkifyLocatorCitations has cognitive complexity 58 (threshold 15). Drivers by points: if/else 12 (32 pts), ternaries 7 (16 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 31). Of this number, 53 points are the body\u0027s own statements and 5 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":"web/lib/reading-citations.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb691325511b0c4870b12b7dbfedffa225203e72fb75fff2e49ec4ca44f9048"}},{"ruleId":"D2","level":"warning","message":{"text":"authoring.preview_edit (cognitive 57): authoring.preview_edit has cognitive complexity 57 (threshold 15). Drivers by points: if/else 23 (39 pts), boolean chains 11, loops 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/authoring.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a529126a935e0e589f3f79343678fa6d592e77c7d2628d4e6cf1a3ab605c6cb0"}},{"ruleId":"D2","level":"warning","message":{"text":"ops._validate (cognitive 57): ops._validate has cognitive complexity 57 (threshold 15). Drivers by points: if/else 16 (47 pts), loops 3 (7 pts), boolean chains 3 (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":"deeptutor/services/memory/ops.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e58949d6d53ae1002d27634b440867a4c9303a3c3d6ac225c259b5fa722f04"}},{"ruleId":"D2","level":"warning","message":{"text":"KbDocumentList.KbDocumentList (cognitive 57): KbDocumentList.KbDocumentList has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 19 (31 pts), if/else 11 (12 pts), boolean chains 10, error handling 4 (nesting depth added 13). Most of this is not in the body itself: 13 of the 57 points are its own statements and the rest belongs to 12 function items inside it that branch (renderNode, handleMove, a function literal at line 130, \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":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e369f43f9d1b30ec3049961c40d382de7c8eff5e24658cfa7e55f12bb70c7ba"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderImageLightbox.ReaderImageLightbox (cognitive 57): ReaderImageLightbox.ReaderImageLightbox has cognitive complexity 57 (threshold 15). Drivers by points: if/else 28 (34 pts), boolean chains 13, ternaries 6 (10 pts) (nesting depth added 10). Most of this is not in the body itself: 2 of the 57 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 187, 306, 117, \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":"web/components/reading/ReaderImageLightbox.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b339a87eb8c4080f575fad0044b006eab5f7ec510dc52db9a0c1ac08175446"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLiteSessionStore._serialize_notebook_entry (cognitive 56): SQLiteSessionStore._serialize_notebook_entry has cognitive complexity 56 (threshold 15). Drivers by points: boolean chains 24, ternaries 23 (24 pts), if/else 5 (8 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":4106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfe8eb659844f97062024b98e77111c450afc084f930c3195eb14edca21a287"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.stream (cognitive 55): factory.stream has cognitive complexity 55 (threshold 15). Drivers by points: if/else 16 (44 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/factory.py"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f74407debbe63548c2a0b7142b03e36914e41f36db697d247e0e3e24c7a4974"}},{"ruleId":"D2","level":"warning","message":{"text":"source_filter.filter_web_search_response (cognitive 55): source_filter.filter_web_search_response has cognitive complexity 55 (threshold 15). Drivers by points: if/else 19 (31 pts), boolean chains 13, loops 6 (7 pts), ternaries 2 (4 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":"deeptutor/services/search/source_filter.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f000b125fea92f6cc4dc1073a088288ba5b46e976ce559e66a8607c46463540b"}},{"ruleId":"D2","level":"warning","message":{"text":"reading_extensions.run_extension_action (cognitive 54): reading_extensions.run_extension_action has cognitive complexity 54 (threshold 15). Drivers by points: if/else 22 (27 pts), error handling 12 (15 pts), boolean chains 10, ternaries 2 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"deeptutor/api/routers/reading_extensions.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"1032bb92510a4f4a78752047820768062de7446c4d60b97053c0b2abcab92113"}},{"ruleId":"D2","level":"warning","message":{"text":"loop.run_agentic_loop (cognitive 54): loop.run_agentic_loop has cognitive complexity 54 (threshold 15). Drivers by points: if/else 15 (43 pts), boolean chains 8, ternaries 1 (2 pts), loops 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/agentic/loop.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61250bf85548a78792b8c8022dca3f82cd55d9d858b5dbbde60eb46dedffaff"}},{"ruleId":"D2","level":"warning","message":{"text":"model_history.normalize_model_turn (cognitive 54): model_history.normalize_model_turn has cognitive complexity 54 (threshold 15). Drivers by points: if/else 18 (34 pts), boolean chains 13, loops 4 (6 pts), error handling 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":"deeptutor/services/session/model_history.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"362d1f51db9146e8c08b4b220f884975552532a957dc6f44b6ca61f13b9be529"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleMarkdownRenderer.SimpleMarkdownRenderer (cognitive 54): SimpleMarkdownRenderer.SimpleMarkdownRenderer has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 29 (35 pts), boolean chains 14, if/else 5 (nesting depth added 6). Most of this is not in the body itself: 14 of the 54 points are its own statements and the rest belongs to 21 function literals inside it that branch (lines 329, 305, 383, \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":"web/components/common/SimpleMarkdownRenderer.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc53f4a261199a2cb74978a30b59d77c988b2ed4bf561807b9ea9645c81bd01f"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputFileActions.OutputFileActions (cognitive 54): OutputFileActions.OutputFileActions has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 17 (32 pts), error handling 4 (9 pts), boolean chains 8, if/else 5 (nesting depth added 20). Of this number, 31 points are the body\u0027s own statements and 23 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/files/OutputFileActions.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2584de4ac511fe3a7f3424ede80e9fc4c41f921a38ccd3e5e0d8a5d116f8d36e"}},{"ruleId":"D2","level":"warning","message":{"text":"SpineSynthesizer._coerce_chapters (cognitive 53): SpineSynthesizer._coerce_chapters has cognitive complexity 53 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 17, loops 3 (7 pts), error handling 1 (2 pts), ternaries 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":"deeptutor/book/agents/spine_synthesizer.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"276d485c05433eac5f0abca7cbb4bf1496e1226c26d516b5f105d6295da4dc6b"}},{"ruleId":"D2","level":"warning","message":{"text":"_turn_runtime_shared._format_followup_question_context (cognitive 53): _turn_runtime_shared._format_followup_question_context has cognitive complexity 53 (threshold 15). Drivers by points: boolean chains 25, if/else 11 (17 pts), ternaries 5 (9 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5aeea7487a0060dce73535c100f897b59d1c88e56ff339e16d1fe4b2689b8a2"}},{"ruleId":"D2","level":"warning","message":{"text":"data_migration._selected_artifact_files (cognitive 53): data_migration._selected_artifact_files has cognitive complexity 53 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 8 (17 pts), boolean chains 5, ternaries 1 (4 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e84a5094fdeac480168e2e12d003a0a15cb8d115b91cadbeb6e3fd4466f0f0a"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposerResources.ComposerResources (cognitive 53): ComposerResources.ComposerResources has cognitive complexity 53 (threshold 15). Drivers by points: boolean chains 27, ternaries 14 (15 pts), if/else 11 (nesting depth added 1). Of this number, 20 points are the body\u0027s own statements and 33 belong to 12 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":"web/components/chat/home/ComposerResources.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc254d5df2d122278fd1d02d35791f0a9061b3d4707292a5e6dec3f8832b4c18"}},{"ruleId":"D2","level":"warning","message":{"text":"QuestionBankSection.QuestionBankSection (cognitive 53): QuestionBankSection.QuestionBankSection has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 7 (25 pts), if/else 5 (20 pts), boolean chains 8 (nesting depth added 33). Of this number, 33 points are the body\u0027s own statements and 20 belong to 5 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/question-bank/QuestionBankSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e58207f2bcfbac9efb562fa8fb81411fd48fd380cc590bd389e7b461fa611e"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteFavoritesPicker.NoteFavoritesPicker (cognitive 53): NoteFavoritesPicker.NoteFavoritesPicker has cognitive complexity 53 (threshold 15). Drivers by points: boolean chains 25, ternaries 16 (20 pts), if/else 7, loops 1 (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 34 belong to 15 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":"web/features/notes/components/NoteFavoritesPicker.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a8bad7c0eaa7b552b6a06331542dd8059b64f4d399d0e06dea23a2228141f2"}},{"ruleId":"D2","level":"warning","message":{"text":"memory-graph.buildGraph (cognitive 53): memory-graph.buildGraph has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (33 pts), loops 9 (11 pts), boolean chains 9 (nesting depth added 23). Most of this is not in the body itself: 7 of the 53 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 619, a function literal at line 579, pushEdge, \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":"web/lib/memory-graph.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"169728af3b000269f34bd7daa29e57dbb200a4b0fefb4f5ce23a3149ac629609"}},{"ruleId":"D2","level":"warning","message":{"text":"quiz_judge._build_judge_user_prompt (cognitive 52): quiz_judge._build_judge_user_prompt has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (35 pts), ternaries 4 (9 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"07381ca1bf15d4c23f747e6a12dc041e6da18204d14deea24adbbdb21cf32be9"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingStore.save_annotation (cognitive 52): ReadingStore.save_annotation has cognitive complexity 52 (threshold 15). Drivers by points: if/else 25 (39 pts), boolean chains 8, ternaries 4 (5 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":"deeptutor/reading/store.py"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca3be5f0987275bb076183023f6aac9b69ea395861f3a10942a3267c78c38ce"}},{"ruleId":"D2","level":"warning","message":{"text":"importing.parse_rows (cognitive 52): importing.parse_rows has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (36 pts), error handling 3 (6 pts), loops 2 (4 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/practice/importing.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"87893ce35a603a2dde0c829b37ad7a3c1e4f4b07bf7aa640c6d842febfddcd72"}},{"ruleId":"D2","level":"warning","message":{"text":"attachment_parsing.parse_chat_pdf_attachments (cognitive 52): attachment_parsing.parse_chat_pdf_attachments has cognitive complexity 52 (threshold 15). Drivers by points: if/else 16 (35 pts), boolean chains 9, loops 2 (5 pts), error handling 1 (3 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":"deeptutor/services/session/attachment_parsing.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9019bdaa168378824c5226b9f25235caeeba74d1887b64688fce687a7aa627e6"}},{"ruleId":"D2","level":"warning","message":{"text":"QuestionCard.QuestionCard (cognitive 52): QuestionCard.QuestionCard has cognitive complexity 52 (threshold 15). Drivers by points: boolean chains 42, ternaries 10. 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":"web/components/space/question-bank/QuestionCard.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f85da9a1913844d6de5ee177d4afdfbe2eac6a2f12760af6b9a34bae91b126c"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeBaseManager.update_kb_status (cognitive 51): KnowledgeBaseManager.update_kb_status has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 7, error handling 3 (6 pts), loops 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"38760d00c30d0e974176f2b8933f9fabe2f77a0ca6629708c319e9ce5b263bd8"}},{"ruleId":"D2","level":"warning","message":{"text":"FeishuChannel.send_delta (cognitive 51): FeishuChannel.send_delta has cognitive complexity 51 (threshold 15). Drivers by points: if/else 18 (40 pts), boolean chains 8, loops 1 (2 pts), ternaries 1 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"06231a78f8e474156964116256e2323c58f3866e5d194c126606b94b63ccd391"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_links.resolve_profile_provider (cognitive 51): provider_links.resolve_profile_provider has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 15, ternaries 9 (14 pts), loops 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":"deeptutor/services/config/provider_links.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b58ba422d82b95ad27d95a0bbb5233aa04cf8032398ee22693a75ff7105f3b"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatibleEmbeddingAdapter._extract_embeddings_from_response (cognitive 51): OpenAICompatibleEmbeddingAdapter._extract_embeddings_from_response has cognitive complexity 51 (threshold 15). Drivers by points: if/else 21 (39 pts), boolean chains 7, ternaries 1 (4 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":"deeptutor/services/embedding/adapters/openai_compatible.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1386230dee0c611c93758248455bb5fe5e1a4d8b7c00ccc49572c11309b1452b"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatibleEmbeddingAdapter.embed (cognitive 51): OpenAICompatibleEmbeddingAdapter.embed has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (29 pts), error handling 3 (8 pts), boolean chains 7, ternaries 4 (6 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":"deeptutor/services/embedding/adapters/openai_compatible.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec424b2de9297cae6bb6d85c258daef03949f7531d9722ae33b9a6f0cfaaa50c"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnLifecycle._coordinate_execution (cognitive 51): TurnLifecycle._coordinate_execution has cognitive complexity 51 (threshold 15). Drivers by points: if/else 11 (37 pts), boolean chains 9, loops 2 (3 pts), error handling 2 (nesting depth added 27). 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":"deeptutor/services/session/turns/lifecycle.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0cc0be5be1a06fb9abc3183e0613d15fa61af9f873b04071f43f401c8d05cf"}},{"ruleId":"D2","level":"warning","message":{"text":"session_transfer.transfer_sessions (cognitive 51): session_transfer.transfer_sessions has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (32 pts), ternaries 2 (7 pts), boolean chains 5, loops 3 (5 pts), error handling 2 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/session_transfer.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"819962a64f31f52e63bcf2c88a9cb837aa57aa7f72d11e7dee2ff4574e3cd9a0"}},{"ruleId":"D2","level":"warning","message":{"text":"chat._apply_command (cognitive 51): chat._apply_command has cognitive complexity 51 (threshold 15). Drivers by points: if/else 22 (31 pts), boolean chains 12, error handling 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor_cli/chat.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c2f1a0eb8002a4a677f15784dcc9aba6053dbf4eef87a9949ba24c4984df5a"}},{"ruleId":"D2","level":"warning","message":{"text":"QuestionBankPicker.QuestionBankPicker (cognitive 51): QuestionBankPicker.QuestionBankPicker has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 11 (20 pts), if/else 12 (15 pts), boolean chains 13, error handling 2, loops 1 (nesting depth added 12). Most of this is not in the body itself: 11 of the 51 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 111, a function literal at line 297, a function literal at line 85, \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":"web/components/chat/QuestionBankPicker.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d853a431016407968129448f00966bc1061f436832586a724bb3943624eab6f"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeBuddyAuthCard.CodeBuddyAuthCard (cognitive 51): CodeBuddyAuthCard.CodeBuddyAuthCard has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 15 (35 pts), boolean chains 7, if/else 4 (5 pts), error handling 4 (nesting depth added 21). Of this number, 33 points are the body\u0027s own statements and 18 belong to 5 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/CodeBuddyAuthCard.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cb8c2c8f36ac66e11d238d125c8a13708cb40c1e1ebe08a6479b8fe230e73c"}},{"ruleId":"D2","level":"warning","message":{"text":"MinerUEngineSettings.MinerUEngineSettings (cognitive 51): MinerUEngineSettings.MinerUEngineSettings has cognitive complexity 51 (threshold 15). Drivers by points: boolean chains 20, if/else 13 (14 pts), ternaries 9 (13 pts), error handling 4 (nesting depth added 5). Most of this is not in the body itself: 14 of the 51 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 110, testConnection, a function literal at line 203, \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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5457b8cbac4cb8b1f7a151b83af3d9032493a39f35f2a873c6bcad91da340e25"}},{"ruleId":"D2","level":"warning","message":{"text":"TracePresentation.TraceRowItem (cognitive 51): TracePresentation.TraceRowItem has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 13 (24 pts), boolean chains 17, if/else 8 (10 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"06077ac4b6ffae60920ef384e19f625ef58efca9ef7d0c304ab7cec867213350"}},{"ruleId":"D2","level":"warning","message":{"text":"history.reference_history_reads (cognitive 50): history.reference_history_reads has cognitive complexity 50 (threshold 15). Drivers by points: if/else 8 (26 pts), error handling 2 (9 pts), boolean chains 7, loops 2 (4 pts), ternaries 1 (4 pts) (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":"deeptutor/capabilities/mastery/history.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cbc48bc906acac343ec216b221f381ef233fe927d1f6215ebaa631022563a3"}},{"ruleId":"D2","level":"warning","message":{"text":"lifecycle.change (cognitive 50): lifecycle.change has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (34 pts), loops 3 (6 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (2 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/modules/lifecycle.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"618abec9dcd5d73097b675cf924902b229ccc57fbb79ada7b9eaf63df8b7e8b6"}},{"ruleId":"D2","level":"warning","message":{"text":"feishu._extract_element_content (cognitive 50): feishu._extract_element_content has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (35 pts), loops 5 (11 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 27). 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":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b91ac646a4701f80278bb1e6cada03f01602d8d5ca092ff29c8904a3993153"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallAccumulator.feed (cognitive 50): ToolCallAccumulator.feed has cognitive complexity 50 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 12, ternaries 7 (8 pts), 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":"deeptutor/runtime/agentic/tool_call_stream.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2715f8342ddf12701a265d5d93701daa6c17782c357461562c83564db3b523c0"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_runtime.resolve_llm_runtime_config (cognitive 50): provider_runtime.resolve_llm_runtime_config has cognitive complexity 50 (threshold 15). Drivers by points: boolean chains 32, if/else 10 (13 pts), ternaries 5 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd18b999df9560ee8a0daf1db882f6343b4fc877084e955d6c8eca2f384b73c"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluation.load_cases (cognitive 50): evaluation.load_cases has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 12, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/evaluation.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"35475dcda59f79206d2f8ec35d7b9a26b3e75d4c766b46256392c5292d735234"}},{"ruleId":"D2","level":"warning","message":{"text":"html_extractor._element_to_markdown (cognitive 50): html_extractor._element_to_markdown has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (41 pts), loops 2 (5 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":"deeptutor/services/web_source/html_extractor.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c09cdb9e205a509870003d08c50f114a0de0d9f70b8c52052083fe13ae33062"}},{"ruleId":"D2","level":"warning","message":{"text":"document_images._extract_pptx_rich_ooxml (cognitive 50): document_images._extract_pptx_rich_ooxml has cognitive complexity 50 (threshold 15). Drivers by points: if/else 9 (35 pts), loops 3 (6 pts), ternaries 1 (4 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/document_images.py"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"363d7995111ef11ccb3bec979a5e81b4a05edab65d4461445d6bf2018eb7e27b"}},{"ruleId":"D2","level":"warning","message":{"text":"page.WhisperPage (cognitive 50): page.WhisperPage has cognitive complexity 50 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 19, ternaries 8 (11 pts) (nesting depth added 5). Most of this is not in the body itself: 13 of the 50 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 70, startTurn, sendWithRetry, \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":"web/app/(workspace)/whisper/page.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fcbc050c6e6748f7fb97e445199d975f8e91abb04e37ff63ff2ebafedd4d76"}},{"ruleId":"D2","level":"warning","message":{"text":"CreationDraftCard.CreationDraftCard (cognitive 50): CreationDraftCard.CreationDraftCard has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 24 (37 pts), if/else 6 (7 pts), boolean chains 5, error handling 1 (nesting depth added 14). Of this number, 31 points are the body\u0027s own statements and 19 belong to 4 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":"web/components/chat/home/CreationDraftCard.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d48f8f25df538d4a5a7b6f3c21214800707840e14c9bcdf7ced7b666b5480f2"}},{"ruleId":"D2","level":"warning","message":{"text":"MathAnimatorViewer.MathAnimatorViewer (cognitive 50): MathAnimatorViewer.MathAnimatorViewer has cognitive complexity 50 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 12 (16 pts), boolean chains 15, loops 2 (3 pts) (nesting depth added 13). Of this number, 21 points are the body\u0027s own statements and 29 belong to 4 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":"web/components/math-animator/MathAnimatorViewer.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cbce2137356fff4d84f6fbd70a4e1c1a744f06d5f04178beb38df104b24389"}},{"ruleId":"D2","level":"warning","message":{"text":"ServicePreviewPanel.Preview::run (cognitive 50): ServicePreviewPanel.Preview::run has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (32 pts), ternaries 3 (9 pts), boolean chains 5, loops 2 (3 pts), error handling 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ServicePreviewPanel.Preview) 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":"web/components/settings/ServicePreviewPanel.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a151bd9e358f2cb83c15497284c86c1bdbe787554679d96157eb92c3e2c4f1e6"}},{"ruleId":"D2","level":"warning","message":{"text":"policy.next_objective (cognitive 49): policy.next_objective has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 9 (22 pts), if/else 10 (20 pts), boolean chains 4, loops 2 (3 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":"deeptutor/learning/policy.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"2971b7478372f91a71ea4099b53d219c6631ede2d1d4b5e72050bff1aeac57be"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginRegistry._installed_records (cognitive 49): PluginRegistry._installed_records has cognitive complexity 49 (threshold 15). Drivers by points: if/else 10 (24 pts), ternaries 4 (12 pts), boolean chains 9, loops 3 (4 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":"deeptutor/plugins/registry.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7691567f54462b3bf379f9f3a73d7bacba512dd7dc33c73fae32f0868f5287"}},{"ruleId":"D2","level":"warning","message":{"text":"embedding_endpoint.normalize_embedding_endpoint_for_display (cognitive 49): embedding_endpoint.normalize_embedding_endpoint_for_display has cognitive complexity 49 (threshold 15). Drivers by points: if/else 21 (39 pts), ternaries 3 (7 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":"deeptutor/services/config/embedding_endpoint.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee8b60ec8948aca2e34c31b3597ebf647a0854107f89b486f4b88fb90057749"}},{"ruleId":"D2","level":"warning","message":{"text":"DoubaoProvider.search (cognitive 49): DoubaoProvider.search has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 20, if/else 10 (20 pts), loops 5 (8 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":"deeptutor/services/search/providers/doubao.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb9c92b12599f8020b3f5802b60dd02607967052c9a9200d0ca2dc85763f33d"}},{"ruleId":"D2","level":"warning","message":{"text":"ask_user_trace.extract_ask_user_clarification_blocks (cognitive 49): ask_user_trace.extract_ask_user_clarification_blocks has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 13, loops 3 (6 pts), error handling 1 (3 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":"deeptutor/services/session/ask_user_trace.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e27259673bfd48fe579348a14a60fdfc7b354989b3d3064530333beca0579bd"}},{"ruleId":"D2","level":"warning","message":{"text":"speech_text.verbalize_latex_for_speech (cognitive 49): speech_text.verbalize_latex_for_speech has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (36 pts), boolean chains 5, loops 2 (4 pts), ternaries 2 (4 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":"deeptutor/services/voice/speech_text.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea2a51e20e76df2f32b50d9378ffd21d55845b8cebd1d9c2b02b9ce6c884609"}},{"ruleId":"D2","level":"warning","message":{"text":"MemorySection.MemorySection (cognitive 49): MemorySection.MemorySection has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 15, if/else 12 (15 pts), error handling 5 (8 pts), ternaries 4 (8 pts), loops 2 (3 pts) (nesting depth added 11). Most of this is not in the body itself: 8 of the 49 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 369, 331, 346, \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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d8b342a8f68dfe6ae7634a99686654e53e75bcb94966fea350293a67b65a29"}},{"ruleId":"D2","level":"warning","message":{"text":"SaveToNotebookModal.SaveToNotebookModal::handleSave (cognitive 49): SaveToNotebookModal.SaveToNotebookModal::handleSave has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 9, ternaries 2 (6 pts), loops 2 (3 pts), error handling 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. This shape REPEATS in the file: one other method here (SaveToNotebookModal.SaveToNotebookModal) 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":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"609dee2108e172576b64bfb52f4ddb980e52a934565189bfd381cb0f5c3dddbb"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeBaseManager._read_and_reconcile_config (cognitive 48): KnowledgeBaseManager._read_and_reconcile_config has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (38 pts), error handling 2 (5 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"927ab9df6beec13bd8631271a67bcf6bab482e799322b90067ea4641b04e495e"}},{"ruleId":"D2","level":"warning","message":{"text":"crawler.crawl_docs_site (cognitive 48): crawler.crawl_docs_site has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 9, loops 4 (8 pts), ternaries 1 (2 pts), error handling 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":"deeptutor/services/web_source/crawler.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30c37b1c3a27c1942e17425e771ba92dd6ab2f8a460503f8a574f0ab382023c"}},{"ruleId":"D2","level":"warning","message":{"text":"setup_config.prepare_profiles (cognitive 48): setup_config.prepare_profiles has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (32 pts), boolean chains 11, ternaries 2 (4 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor_cli/setup_config.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e989e539e2995369b296f52cad3e989a39320d1931d6b4bb2d2cd1658e0bdbae"}},{"ruleId":"D2","level":"warning","message":{"text":"sse.sse (cognitive 48): sse.sse has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (44 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/providers/sse.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d2984b05692d901e2557555be0cfc476c138dd4c87ff3428dabfa595e7c66c"}},{"ruleId":"D2","level":"warning","message":{"text":"BookLibrary.BookLibrary (cognitive 48): BookLibrary.BookLibrary has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 8 (23 pts), boolean chains 20, if/else 2 (5 pts) (nesting depth added 18). Of this number, 16 points are the body\u0027s own statements and 32 belong to 7 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookLibrary.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"daaf50f4ab21a68d5cf373d6ec617987e65198ca24d64b1423858680b73274ef"}},{"ruleId":"D2","level":"warning","message":{"text":"PickerShell.PickerShell (cognitive 48): PickerShell.PickerShell has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 14 (20 pts), if/else 17 (18 pts), boolean chains 10 (nesting depth added 7). Most of this is not in the body itself: 8 of the 48 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 131, a function literal at line 225, cardExit, \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":"web/components/common/PickerShell.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"920fd22b8963b5718c7638c63f0d67bf434e027dafc80f8f4ca126c914a3a63a"}},{"ruleId":"D2","level":"warning","message":{"text":"KbDocumentsSection.KbDocumentsSection (cognitive 48): KbDocumentsSection.KbDocumentsSection has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 22, ternaries 9 (22 pts), if/else 4 (nesting depth added 13). Of this number, 40 points are the body\u0027s own statements and 8 belong to 5 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":"web/components/knowledge/KbDocumentsSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b3edb1229152ea021db56d7da3e835ca89e46ea9ce3ed3990fbfba7b6fe956"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerChannels.PartnerChannels (cognitive 48): PartnerChannels.PartnerChannels has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 12 (17 pts), boolean chains 14, if/else 12 (14 pts), error handling 3 (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 29 belong to 9 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":"web/components/partners/PartnerChannels.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"22926128208bd9c8145f150d0373b6ad06c55573d6e72f6a3027dece41b23628"}},{"ruleId":"D2","level":"warning","message":{"text":"OrganizedSessionList.OrganizedSessionList::renderRow (cognitive 48): OrganizedSessionList.OrganizedSessionList::renderRow has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 27 (43 pts), boolean chains 5 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (OrganizedSessionList.OrganizedSessionList::renderGroup) 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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"540006615f2074b1b925c66821cc2b81e369a36043c67d84a5192349aeb29888"}},{"ruleId":"D2","level":"warning","message":{"text":"DataMigrationSettingsSection.DataMigrationSettingsSection (cognitive 48): DataMigrationSettingsSection.DataMigrationSettingsSection has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 22 (32 pts), if/else 7 (8 pts), boolean chains 6, error handling 2 (nesting depth added 11). Most of this is not in the body itself: 14 of the 48 points are its own statements and the rest belongs to 14 function items inside it that branch (run, a function literal at line 250, a function literal at line 376, \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":"web/features/settings/sections/DataMigrationSettingsSection.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0b3943bdae87473fb59f5482eb53a17f94c7cce095e6d5ca8a207c23594715"}},{"ruleId":"D2","level":"warning","message":{"text":"tools._revise_points (cognitive 47): tools._revise_points has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 10, ternaries 4 (8 pts), loops 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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":3672}}}],"partialFingerprints":{"codehealthFindingId/v1":"168d02879e0ebedc63a5a48d9c91afeb173057164c30ab1c00d80fd865ac027c"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog.module_statuses (cognitive 47): catalog.module_statuses has cognitive complexity 47 (threshold 15). Drivers by points: if/else 8 (27 pts), loops 6 (12 pts), boolean chains 4, error handling 1 (4 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/modules/catalog.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fee46575725ebb7e17576b3dbca944b443c458c93a12bcb91aa19d3862d206"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingStore._reanchor_annotations (cognitive 47): ReadingStore._reanchor_annotations has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 6 (16 pts), boolean chains 2 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/store.py"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e4d9cb538aa5e8a7d53712ede029a81ee71a0ab3d2154ba015aa256ee09512"}},{"ruleId":"D2","level":"warning","message":{"text":"_turn_runtime_shared._resolve_selection_tutor_context (cognitive 47): _turn_runtime_shared._resolve_selection_tutor_context has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 10, error handling 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 19). 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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb29d8c621eb1bf532c67314c40ae38c5ccca3241fc00bf4f62d4ecfbcd840f8"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLiteSessionStore._upsert_notebook_entries_in_conn (cognitive 47): SQLiteSessionStore._upsert_notebook_entries_in_conn has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 18, ternaries 8 (18 pts), if/else 6 (10 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":3417}}}],"partialFingerprints":{"codehealthFindingId/v1":"17461386e7c4752eb6d0941cdb1d8f5ea6578005ab99ee6baf974cb053cd4dfe"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeCodeBackend._handle_event (cognitive 47): ClaudeCodeBackend._handle_event has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 11, loops 2 (4 pts), ternaries 1 (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":"deeptutor/services/subagent/claude_code.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5026015c9d539a56eb9fc04f22918f29420e762ae657ce0edda9735558ffc2a7"}},{"ruleId":"D2","level":"warning","message":{"text":"bilingual.detect_bilingual_pairings (cognitive 47): bilingual.detect_bilingual_pairings has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (30 pts), loops 6 (10 pts), boolean chains 7 (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":"deeptutor/services/web_source/bilingual.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c04d51b5b5ef1997b65f24bcd55f1d471654982141a567faca1ee14de2914ad"}},{"ruleId":"D2","level":"warning","message":{"text":"document_extractor._epub_package_navigation (cognitive 47): document_extractor._epub_package_navigation has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 9, ternaries 1 (3 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":"deeptutor/utils/document_extractor.py"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4688ff76b019488fc3c6d7bf0cdff96f6a6b42d8be7112be9e4263ffab1ead"}},{"ruleId":"D2","level":"warning","message":{"text":"marks.normalize_mark (cognitive 47): marks.normalize_mark has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 25, if/else 18 (19 pts), ternaries 2, error handling 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/video_learning/marks.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7151611ae014d8c4cf25b0a6c1bf01709945fdc1ab01212bad43e0c678145ec7"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingExtensionBar.ExtensionToolbar (cognitive 47): ReadingExtensionBar.ExtensionToolbar has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 16 (25 pts), if/else 9 (11 pts), boolean chains 10, error handling 1 (nesting depth added 11). Most of this is not in the body itself: 4 of the 47 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 218, run, a function literal at line 131, \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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a945558768371037ed30ce7edfac14802e44697f7f0d21ce181f99b3e11623"}},{"ruleId":"D2","level":"warning","message":{"text":"CalendarRuntime.CalendarRuntime (cognitive 47): CalendarRuntime.CalendarRuntime has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (23 pts), error handling 4 (11 pts), boolean chains 7, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 22). Most of this is not in the body itself: 4 of the 47 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 31, 51, 24, \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":"web/features/calendar/components/CalendarRuntime.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1371cb900679d705a552bf7b3ac9e8c60c727a5a3149867916904ba768abfdbe"}},{"ruleId":"D2","level":"warning","message":{"text":"AboutSettingsSection.AboutSettingsPage (cognitive 47): AboutSettingsSection.AboutSettingsPage has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 18, if/else 10 (13 pts), ternaries 7 (12 pts), error handling 4 (nesting depth added 8). Of this number, 23 points are the body\u0027s own statements and 24 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/AboutSettingsSection.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c4477e72a6475ab570af2c429b2a6e0f403b2d2db0dd8a26014b99463be6ed"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge._list_knowledge_bases (cognitive 46): knowledge._list_knowledge_bases has cognitive complexity 46 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 10, error handling 5 (10 pts), ternaries 3 (7 pts), 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2865}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c1ca987809d391019c3e21b4d39ba6d8a5f48ef381ae5989f7e5835e45a12d"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningService.grade_interaction_semantic (cognitive 46): LearningService.grade_interaction_semantic has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 7, ternaries 5 (7 pts), error handling 2 (4 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/service.py"},"region":{"startLine":3181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1634e71324502fa141714d2680296799ee82344afd47f1201376170993fb3dd2"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog.manifests (cognitive 46): catalog.manifests has cognitive complexity 46 (threshold 15). Drivers by points: loops 11 (23 pts), if/else 6 (20 pts), boolean chains 3 (nesting depth added 26). 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":"deeptutor/modules/catalog.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2020358a3091e62d2b58d0bfcba970d5f6a09e75c7a45216a8febe51971edff9"}},{"ruleId":"D2","level":"warning","message":{"text":"launcher._terminate_all (cognitive 46): launcher._terminate_all has cognitive complexity 46 (threshold 15). Drivers by points: if/else 8 (18 pts), error handling 4 (14 pts), loops 4 (8 pts), boolean chains 5, ternaries 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/launcher.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb3e53f7e6d74ff2228b8a9f9cb0643e34f4451e98072469532b4365c64db96"}},{"ruleId":"D2","level":"warning","message":{"text":"ask_user._build_question (cognitive 46): ask_user._build_question has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (35 pts), boolean chains 6, loops 2 (4 pts), ternaries 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":"deeptutor/tools/ask_user.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f791816db0ff7d60ea5e098beef0e776d9ee3575db124ac45f41ecff90f6929"}},{"ruleId":"D2","level":"warning","message":{"text":"PracticePage.PracticeCollectionPage (cognitive 46): PracticePage.PracticeCollectionPage has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 13 (25 pts), boolean chains 11, if/else 6 (8 pts), error handling 2 (nesting depth added 14). Most of this is not in the body itself: 14 of the 46 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 43, startReview, a function literal at line 211, \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":"web/components/learning/practice/PracticePage.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd0a8c59eb6c6ad91d98bcb477cf2460708bb1e5e0993d5e881e34772c82a37"}},{"ruleId":"D2","level":"warning","message":{"text":"i18n_audit.reportUntranslatedKeys (cognitive 46): i18n_audit.reportUntranslatedKeys has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 8 (15 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/scripts/i18n_audit.mjs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"105a79856d9db177d7aad893f7ec5985e715afa9a822cb5e4fe758f9197ecf5f"}},{"ruleId":"D2","level":"warning","message":{"text":"book.quiz_attempt (cognitive 45): book.quiz_attempt has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 10 (18 pts), boolean chains 15, if/else 7 (9 pts), error handling 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":"deeptutor/api/routers/book.py"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07b822f2c844bca7eeb4932eca3ecdf932b32cac2c17fc7a6687b316b5f787a"}},{"ruleId":"D2","level":"warning","message":{"text":"TelegramChannel.send_delta (cognitive 45): TelegramChannel.send_delta has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (25 pts), error handling 4 (10 pts), boolean chains 5, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/telegram.py"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7086b0e7098a05f24faa2d67f10435f9fad70dd99aca0dc6463cd83f15349e7"}},{"ruleId":"D2","level":"warning","message":{"text":"converters.convert_messages (cognitive 45): converters.convert_messages has cognitive complexity 45 (threshold 15). Drivers by points: if/else 8 (21 pts), ternaries 4 (13 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_responses/converters.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba6c38aead72e20f074291397709f780dba271954245573603fe1ea0498c0c8"}},{"ruleId":"D2","level":"warning","message":{"text":"reasoning_params.build_openai_compatible_reasoning_kwargs (cognitive 45): reasoning_params.build_openai_compatible_reasoning_kwargs has cognitive complexity 45 (threshold 15). Drivers by points: if/else 21 (30 pts), boolean chains 15 (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":"deeptutor/services/llm/reasoning_params.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1442f413277b293d2639dda8567e87fdfee18a0f9666348e59ec16d9affdb93b"}},{"ruleId":"D2","level":"warning","message":{"text":"usage_statistics.aggregate_usage (cognitive 45): usage_statistics.aggregate_usage has cognitive complexity 45 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 5 (12 pts), boolean chains 8 (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":"deeptutor/services/session/usage_statistics.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0825358b8e079ddea8fccdc27ff5094e7d01c5cf416bbd595a7fdf5a9a135b78"}},{"ruleId":"D2","level":"warning","message":{"text":"data_migration.recover_operation (cognitive 45): data_migration.recover_operation has cognitive complexity 45 (threshold 15). Drivers by points: if/else 13 (33 pts), loops 2 (7 pts), boolean chains 4, error handling 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"514674c6773330e538a14ce907c0e588856ca817e9a92dd421662836b90b6ca7"}},{"ruleId":"D2","level":"warning","message":{"text":"QuizFollowupTabBody.QuizFollowupTabBody (cognitive 45): QuizFollowupTabBody.QuizFollowupTabBody has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 9 (23 pts), boolean chains 12, if/else 8 (9 pts), error handling 1 (nesting depth added 15). Of this number, 31 points are the body\u0027s own statements and 14 belong to 8 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":"web/components/quiz/QuizFollowupTabBody.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8416b79a7af718a562cb27ba5097bb8e77c73df1642efeb27b650bfc951af64f"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarShell.SidebarShell (cognitive 45): SidebarShell.SidebarShell has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 18 (25 pts), boolean chains 10, if/else 8 (10 pts) (nesting depth added 9). Of this number, 34 points are the body\u0027s own statements and 11 belong to 4 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":"web/components/sidebar/SidebarShell.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3fe10722eb380d5b582af1e8edba9035c31415a503eb4b1a4186894285539f"}},{"ruleId":"D2","level":"warning","message":{"text":"KanbanBoard.KanbanBoard (cognitive 45): KanbanBoard.KanbanBoard has cognitive complexity 45 (threshold 15). Drivers by points: boolean chains 25, ternaries 9 (12 pts), if/else 6 (7 pts), error handling 1 (nesting depth added 4). Most of this is not in the body itself: 15 of the 45 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 248, act, a function literal at line 209, \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":"web/features/tasks/components/KanbanBoard.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f076cebb818ff6dcbdfd3b17cef6b82ee55696cd0114f558a9e19a1c53e651"}},{"ruleId":"D2","level":"warning","message":{"text":"latex.normalizeEditorMdInlineMathInProse (cognitive 45): latex.normalizeEditorMdInlineMathInProse has cognitive complexity 45 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 4 (12 pts), boolean chains 6, ternaries 1 (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":"web/lib/latex.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4661bfe489ee15e04b80f237a511ddeb6fe3d163f8d338221e95accf3cc204a9"}},{"ruleId":"D2","level":"warning","message":{"text":"AgenticLoopPipeline._augment_tool_kwargs (cognitive 44): AgenticLoopPipeline._augment_tool_kwargs has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 17, ternaries 3 (6 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"02056ed1c9db17fbfbbb9385694d353e10ecef85f06a301374e0dff920577e67"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.validate_visualization (cognitive 44): utils.validate_visualization has cognitive complexity 44 (threshold 15). Drivers by points: if/else 21 (36 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/visualize/utils.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffa1623888246093cfeabfd9590eb5a0beaff69bfe577eed0caaffaea95adc1"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingStore.refresh_document (cognitive 44): ReadingStore.refresh_document has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (23 pts), loops 6 (7 pts), boolean chains 6, error handling 2 (4 pts), ternaries 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":"deeptutor/reading/store.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"423c212bd6ae1db19d2162112ad54460d57e22d976166952ac994725a9328cba"}},{"ruleId":"D2","level":"warning","message":{"text":"tool_dispatch._collect_outcome (cognitive 44): tool_dispatch._collect_outcome has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (23 pts), ternaries 5 (11 pts), boolean chains 9, loops 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":"deeptutor/runtime/agentic/tool_dispatch.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edd49146dcfde43943e537f050e30b8bfd32f87282af2d8f9fdf3aacc6209d6"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextBuilder.build (cognitive 44): ContextBuilder.build has cognitive complexity 44 (threshold 15). Drivers by points: if/else 20 (28 pts), boolean chains 11, ternaries 3, error handling 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/context_builder.py"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"293487ead391484a9a9808d970c8919a1f27f655c252d44e539e0846882a0653"}},{"ruleId":"D2","level":"warning","message":{"text":"StarterSuggestions.StarterSuggestions (cognitive 44): StarterSuggestions.StarterSuggestions has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 12, ternaries 9 (11 pts), error handling 2 (nesting depth added 3). Most of this is not in the body itself: 7 of the 44 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 181, 141, 157, \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":"web/components/chat/home/StarterSuggestions.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd3e97cc2fff9bb57f19b99bb7d1bcb73b033f4ff5605441a5307de5861931b"}},{"ruleId":"D2","level":"warning","message":{"text":"TracePresentation.getDeepResearchStatusLabel (cognitive 44): TracePresentation.getDeepResearchStatusLabel has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (26 pts), ternaries 3 (10 pts), boolean chains 7, 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"952341d9a7f8aa893174aa5058afbf410c9a5080dda806a5c4110325f73e585d"}},{"ruleId":"D2","level":"warning","message":{"text":"spine_synthesizer._ensure_full_coverage (cognitive 43): spine_synthesizer._ensure_full_coverage has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 6 (10 pts), boolean chains 8, ternaries 1 (5 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/spine_synthesizer.py"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8aed629ad72b435ff55d63eed1f507fd166ffff5390db4d3c087f0921a1366"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningService._grade_group (cognitive 43): LearningService._grade_group has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 12, ternaries 6 (9 pts), error handling 1 (3 pts), loops 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":"deeptutor/learning/service.py"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce996a9786a1d02821c7ed2ee22d6c1537a9eb5e13c7e77491519f90c8dc4162"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerManager._migrate_legacy_tutorbot (cognitive 43): PartnerManager._migrate_legacy_tutorbot has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 8, loops 3 (6 pts), error handling 2 (4 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":"deeptutor/services/partners/manager.py"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"6788ed242c697ce714d8955244c46a3c7a45aa3047fb3571ddc9added902c6f9"}},{"ruleId":"D2","level":"warning","message":{"text":"GrokBackend._handle_event (cognitive 43): GrokBackend._handle_event has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 11, ternaries 3 (6 pts), loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/grok.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"295a941ea75e7e2af3795f38272d1e052637e84bf6956e6a38e900cb436ce123"}},{"ruleId":"D2","level":"warning","message":{"text":"RAGTool._retrieve (cognitive 43): RAGTool._retrieve has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 13, ternaries 3 (5 pts), loops 1 (3 pts), error handling 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":"deeptutor/tools/builtin/__init__.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dfd25d4229d8e2b2614b22801b1adcecca979d5f0a038e6c6bcec26839bacc"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelOnboardingPanel.ChannelOnboardingPanel (cognitive 43): ChannelOnboardingPanel.ChannelOnboardingPanel has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 12 (19 pts), boolean chains 13, if/else 7, error handling 4 (nesting depth added 7). Of this number, 20 points are the body\u0027s own statements and 23 belong to 9 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":"web/components/partners/ChannelOnboardingPanel.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad069eaf97ba5c88d552533b154b47e1c84cd8db14d9f7181338f078c87d0b8"}},{"ruleId":"D2","level":"warning","message":{"text":"CitationManager.build_ref_number_map (cognitive 42): CitationManager.build_ref_number_map has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (37 pts), loops 2 (5 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/research/utils/citation_manager.py"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db51ea31c891af88352abeafa1f05a0ce40541702b2e563e2d13f49cae1ae4c"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnApplicationService.start_turn (cognitive 42): TurnApplicationService.start_turn has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 18, loops 2 (3 pts), error handling 1, ternaries 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":"deeptutor/app/service.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"284686df3b36d9f3e0a938324d7857cdc49d9e9f209c00125c300755e5ca6a22"}},{"ruleId":"D2","level":"warning","message":{"text":"lesson_evidence.selected_scope (cognitive 42): lesson_evidence.selected_scope has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 3, error handling 1 (3 pts), loops 1, ternaries 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":"deeptutor/learning/lesson_evidence.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"349804c5e5ded70356c0c211b37fbb54ded5113dad4fe779bfb1cf1031395ffb"}},{"ruleId":"D2","level":"warning","message":{"text":"WecomChannel._process_message (cognitive 42): WecomChannel._process_message has cognitive complexity 42 (threshold 15). Drivers by points: if/else 20 (33 pts), loops 3 (4 pts), boolean chains 2, ternaries 2, error handling 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":"deeptutor/partners/channels/wecom.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6083a91bf3f9c4b875707bd6df0107f46678ad30a053fdb346a017ae872da50"}},{"ruleId":"D2","level":"warning","message":{"text":"WeixinChannel.send (cognitive 42): WeixinChannel.send has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 10, error handling 4 (7 pts), ternaries 2 (7 pts), loops 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":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2e1c857749f4fa429f809598958e9b4121241257fdce14a818f949e46cf4a6"}},{"ruleId":"D2","level":"warning","message":{"text":"references.resolve_reading_sources (cognitive 42): references.resolve_reading_sources has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (25 pts), error handling 2 (5 pts), loops 3 (5 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/references.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfee5e7c55ae83e9a20bc6166f7944296c635f4d6ee951052f51825417332dfa"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingStore.ingest (cognitive 42): ReadingStore.ingest has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 11, loops 4 (5 pts), error handling 3 (4 pts), ternaries 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":"deeptutor/reading/store.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0c377f310728c34dc7ba50463af89313b5067e11bb7665fc54c938e937808e"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaIndexDocumentLoader.load (cognitive 42): LlamaIndexDocumentLoader.load has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (30 pts), loops 5 (6 pts), boolean chains 4, error handling 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":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3245b3d74b625b3f142e39d9cd01bd4126bf215a7c49bce22fbdef32e6d87e37"}},{"ruleId":"D2","level":"warning","message":{"text":"deepseek_harness._sdk_notification_events (cognitive 42): deepseek_harness._sdk_notification_events has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 8 (15 pts), boolean chains 12 (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":"deeptutor/services/subagent/deepseek_harness.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5013866e2b69b8c2ae0844ef77fd4678eae069b01d8a7be4b72815660fbaf5"}},{"ruleId":"D2","level":"warning","message":{"text":"data_migration.preview (cognitive 42): data_migration.preview has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 7, loops 5 (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":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b46d9b42a00e22b084fb03f34a144a4f72ed743d8b41b843f50d7014b02cbc9"}},{"ruleId":"D2","level":"warning","message":{"text":"kb_move.move_kb (cognitive 42): kb_move.move_kb has cognitive complexity 42 (threshold 15). Drivers by points: if/else 22 (32 pts), boolean chains 6, error handling 2 (3 pts), ternaries 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":"deeptutor/services/workspace/kb_move.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"998de71cbd1dfdc0a1687f9ab2da4f998278e59b734870cb098442d6ec06ebce"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeBaseDetail.KnowledgeBaseDetail (cognitive 42): KnowledgeBaseDetail.KnowledgeBaseDetail has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 26, ternaries 10 (13 pts), if/else 3 (nesting depth added 3). Of this number, 38 points are the body\u0027s own statements and 4 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":"web/components/knowledge/KnowledgeBaseDetail.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"088dc3b3e72f03cab2556dddac2335248366fab239b4f40590e9c89b4d879a16"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerConfigure.PartnerConfigure (cognitive 42): PartnerConfigure.PartnerConfigure has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 12 (21 pts), error handling 10, boolean chains 8, if/else 3 (nesting depth added 9). Most of this is not in the body itself: 10 of the 42 points are its own statements and the rest belongs to 12 function items inside it that branch (submitAssets, a function literal at line 129, saveWorkspace, \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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae9a4a5b71a256e559ed4e9ed7f3bb916f69867ecb4069dbdf78004d88eac35"}},{"ruleId":"D2","level":"warning","message":{"text":"TracePresentation.detectStreamingMode (cognitive 42): TracePresentation.detectStreamingMode has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (36 pts), ternaries 1 (3 pts), boolean chains 2, loops 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3350760b406f13b775ab9e1060d503e58017b3eff603b62615256d80434fde"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteLearningContent.NoteLearningContent (cognitive 42): NoteLearningContent.NoteLearningContent has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 35, ternaries 3 (4 pts), if/else 2, error handling 1 (nesting depth added 1). Of this number, 39 points are the body\u0027s own statements and 3 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":"web/features/notes/components/NoteLearningContent.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ab90114d36200b8d8df385bb2ae0a4709c719de174fab7c9970757c47c5579"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteCompanion.ThreadPanel (cognitive 42): NoteCompanion.ThreadPanel has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 13 (16 pts), if/else 11 (13 pts), boolean chains 12, error handling 1 (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 20 belong to 11 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d97936cb21edd494b04b5daef188d0c21e4ebf5de71f7e57ce2a0e00a20c560"}},{"ruleId":"D2","level":"warning","message":{"text":"message-branches.buildVisiblePath (cognitive 42): message-branches.buildVisiblePath has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (25 pts), ternaries 2 (8 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/message-branches.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45193da3e92af77030dbf618d8ecb3caa1f56d73b1ee4a357ec1dc7dfae6674"}},{"ruleId":"D2","level":"warning","message":{"text":"latex-normalize.scanFragmentEnd (cognitive 42): latex-normalize.scanFragmentEnd has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (37 pts), boolean chains 3, loops 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/latex-normalize.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f220accd7081295d14678cd4f83d1a7bb936564c228aa542778624ec8fbe0b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchPipeline._parse_report_outline (cognitive 41): ResearchPipeline._parse_report_outline has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 11, loops 3 (6 pts), ternaries 1 (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":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fff5f16d4a4daf560c6271166cddd7901230e433f7359ffd5f3c76c004afa13"}},{"ruleId":"D2","level":"warning","message":{"text":"launcher.start (cognitive 41): launcher.start has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (21 pts), ternaries 6 (8 pts), boolean chains 6, error handling 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"deeptutor/runtime/launcher.py"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e6f6f7dd14dcea274eb0c1d5f5f0f8fac78f59a1d5403ed66307842fe69b95"}},{"ruleId":"D2","level":"warning","message":{"text":"CohereEmbeddingAdapter.embed (cognitive 41): CohereEmbeddingAdapter.embed has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 9, loops 1 (3 pts), ternaries 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/cohere.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de76fdb6b058944a04289fae3f015eddef5c703e2af84711d10393af5ae197e"}},{"ruleId":"D2","level":"warning","message":{"text":"adapters.read_notebook_entities (cognitive 41): adapters.read_notebook_entities has cognitive complexity 41 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 4 (12 pts), boolean chains 7, error handling 2 (3 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":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"75af2ebac30386eb999f73069a525da1ef19d2807dda78802f898b750d6f381d"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud._poll_for_zip (cognitive 41): cloud._poll_for_zip has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (25 pts), boolean chains 10, error handling 1 (5 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":"deeptutor/services/parsing/engines/mineru/cloud.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fe25559e1dace14bc236d1a225b1cb5438e24364a20f265b7d8e921e69ffe8"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerManager.list_partners (cognitive 41): PartnerManager.list_partners has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 16 (32 pts), if/else 3 (6 pts), loops 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":"deeptutor/services/partners/manager.py"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2246c38f9429a12a57396f61d20fb945a503740f836e079047a97361ac5b64"}},{"ruleId":"D2","level":"warning","message":{"text":"importing.normalize_question (cognitive 41): importing.normalize_question has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19 (28 pts), boolean chains 7, ternaries 4 (5 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/practice/importing.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"11dd5fba90b91af6017adef1d28c31254aa81494bd7a1f164418c3f2f49866e2"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRagPipeline._reconcile (cognitive 41): LightRagPipeline._reconcile has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 6, loops 3 (6 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/pipeline.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5627b81e64544200329ead1e0e238158911baa103bf4989727955c3d2763cdce"}},{"ruleId":"D2","level":"warning","message":{"text":"search.web_search (cognitive 41): search.web_search has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19 (28 pts), boolean chains 5, ternaries 2 (5 pts), error handling 1 (2 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":"deeptutor/services/search/__init__.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e0109b1c6913279284578f9b6df41b8d4b7fc0dfc0079cbf73cf0eae6baca5"}},{"ruleId":"D2","level":"warning","message":{"text":"document_images.extract_pdf_images (cognitive 41): document_images.extract_pdf_images has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (26 pts), boolean chains 7, error handling 3 (5 pts), loops 2 (3 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/document_images.py"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"1130b2e14effd9c410a27192a85fdee2e6b2e2ff347acbcfa877d1bf5a34bd86"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatSpaceMenu.ChatSpaceMenu (cognitive 41): ChatSpaceMenu.ChatSpaceMenu has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (17 pts), ternaries 14 (17 pts), boolean chains 7 (nesting depth added 4). Most of this is not in the body itself: 8 of the 41 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 257, 128, 216, \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":"web/components/chat/space/ChatSpaceMenu.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"132728c5bbb6463e7dac4a2daa83c38c7434be71552df96c375a0d2727c59bf5"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryGraph.GraphView (cognitive 41): MemoryGraph.GraphView has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 17 (26 pts), boolean chains 7, if/else 7, loops 1 (nesting depth added 9). Most of this is not in the body itself: 1 of the 41 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 595, 373, 424, \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":"web/components/memory/MemoryGraph.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a6a32a1d6a2cb129702188940b84d6de16482dbab8b757c6cd474598a0270b"}},{"ruleId":"D2","level":"warning","message":{"text":"schema-form.SchemaField (cognitive 41): schema-form.SchemaField has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 11 (19 pts), boolean chains 13, if/else 8 (9 pts) (nesting depth added 9). Of this number, 28 points are the body\u0027s own statements and 13 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":"web/components/partners/schema-form.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d68c89d37fd72639ab38f62c31fde686a60713dbe188396d93d3958b7927c3"}},{"ruleId":"D2","level":"warning","message":{"text":"QuestionPipeline._render_exploration_trace (cognitive 40): QuestionPipeline._render_exploration_trace has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 9, error handling 1 (5 pts), loops 2 (5 pts), 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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3588e920744e134bbb14913a21ad454d2b7ee3989d02d1c2602ecc9babde49"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryGradeTool._grade_group (cognitive 40): MasteryGradeTool._grade_group has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 9 (24 pts), boolean chains 7, if/else 4 (7 pts), error handling 1, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e0d3f441bdfd0ba7a0b7f8e52818722bfb1ef1a6ded7a80a88f9740b430524"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningService._evaluate_question (cognitive 40): LearningService._evaluate_question has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (22 pts), ternaries 4 (8 pts), boolean chains 7, 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":"deeptutor/learning/service.py"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"458c3e8eff710c55f48160e1142e92ccf44d4e1313a4fb6b88ef099c01fbb675"}},{"ruleId":"D2","level":"warning","message":{"text":"client.parse_catalog_xml (cognitive 40): client.parse_catalog_xml has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 8, ternaries 2 (5 pts), error handling 2 (3 pts), loops 2 (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":"deeptutor/services/rag/pipelines/kiwix/client.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a493ebb9d2146e28cbae8a5f1c1e5e3d85a5826756240197a65a578c0a7819bf"}},{"ruleId":"D2","level":"warning","message":{"text":"interface_settings._normalize_language (cognitive 40): interface_settings._normalize_language has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 13 (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":"deeptutor/services/settings/interface_settings.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b975006416ead09b1656e37d7247bfe53959168c55bf41b43c7fefcaefe369b"}},{"ruleId":"D2","level":"warning","message":{"text":"document_extractor.extract_documents_from_records (cognitive 40): document_extractor.extract_documents_from_records has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (22 pts), ternaries 2 (6 pts), boolean chains 5, error handling 2 (4 pts), loops 2 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/document_extractor.py"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2faf426cd19960a6c5b7b31c8ee7be7e2d995fab82880d0cf902088d8f9b1e47"}},{"ruleId":"D2","level":"warning","message":{"text":"ask-user-draft.partialJson::value (cognitive 40): ask-user-draft.partialJson::value has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (35 pts), loops 1 (2 pts), ternaries 1 (2 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":"packages/chat-engine/src/tools/ask-user-draft.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cc5973b36590d370a9a0c4935de6d49d6c9a0e79003038b9ca288e85988171"}},{"ruleId":"D2","level":"warning","message":{"text":"page.CoWriterHomePage (cognitive 40): page.CoWriterHomePage has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 12 (18 pts), boolean chains 12, error handling 5, if/else 3 (4 pts), loops 1 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 24 belong to 8 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":"web/app/(workspace)/co-writer/page.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a84653bf3b96d9a37ee514506dec7b3a0f3ae2f00c27593be0359899e9d6d95"}},{"ruleId":"D2","level":"warning","message":{"text":"QuizBlock.QuizQuestionCard (cognitive 40): QuizBlock.QuizQuestionCard has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 20, ternaries 11 (18 pts), if/else 2 (nesting depth added 7). Of this number, 23 points are the body\u0027s own statements and 17 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":"web/app/(workspace)/learning/books/components/blocks/QuizBlock.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a58e1546c3759d9c0643a38beeed4ac18f0152759eb8c3a6c4d8ec46f8f2b9"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryQuestionCard.GroupedMasteryQuestionCard (cognitive 40): MasteryQuestionCard.GroupedMasteryQuestionCard has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 9 (19 pts), boolean chains 17, if/else 3, error handling 1 (nesting depth added 10). Of this number, 29 points are the body\u0027s own statements and 11 belong to 5 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":"web/components/chat/home/MasteryQuestionCard.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"3459e33034b0ed48ec21b11911f5d242719bfdcf96f288ea067517b555f46c87"}},{"ruleId":"D2","level":"warning","message":{"text":"CliAppsSection.EntryDetail (cognitive 40): CliAppsSection.EntryDetail has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 7 (23 pts), boolean chains 14, if/else 1 (2 pts), error handling 1 (nesting depth added 17). Of this number, 36 points are the body\u0027s own statements and 4 belong 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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f685ac61699b1fcd56e1526e70773766bb8c3a7a9d03dff636b54767f226cf"}},{"ruleId":"D2","level":"warning","message":{"text":"NotebookRecordRow.NotebookRecordRow (cognitive 40): NotebookRecordRow.NotebookRecordRow has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 11 (15 pts), boolean chains 14, if/else 8, error handling 3 (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 19 belong to 8 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/NotebookRecordRow.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"105ec947d18581bfc7207bdf4aa308ee307a3c74523c7ae016a8478e29f5f0f4"}},{"ruleId":"D2","level":"warning","message":{"text":"selectors.detectStreamingMode (cognitive 40): selectors.detectStreamingMode has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (32 pts), ternaries 2 (4 pts), boolean chains 3, loops 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":"web/features/chat/trace/selectors.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2838ad864dcc345e680205ab7e502f60a39e42a094fd97495bc722ec7cfd78ab"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoLessonCapability.run (cognitive 39): VideoLessonCapability.run has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 8, ternaries 4 (8 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":"deeptutor/agents/video_lesson/capability.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f75bdf569a90467e0a71fc1aa396c9a16746bbd88a3cb77485ab1414020b157"}},{"ruleId":"D2","level":"warning","message":{"text":"question.websocket_question_generate (cognitive 39): question.websocket_question_generate has cognitive complexity 39 (threshold 15). Drivers by points: error handling 13 (17 pts), if/else 7 (13 pts), ternaries 5 (7 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":"deeptutor/api/routers/question.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"7107689d96630000cb20e27dcb9befda92c8dc696eabaebfce56fcf923a531d8"}},{"ruleId":"D2","level":"warning","message":{"text":"WhatsAppChannel._handle_bridge_message (cognitive 39): WhatsAppChannel._handle_bridge_message has cognitive complexity 39 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 5 (14 pts), loops 2 (6 pts), boolean chains 4, error handling 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":"deeptutor/partners/channels/whatsapp.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5bb89ec2ca44dca4f8d7725a85b25bb15f27372c05e99b0ea48400ff3a5991"}},{"ruleId":"D2","level":"warning","message":{"text":"speech_text._replace_limits_once (cognitive 39): speech_text._replace_limits_once has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (29 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/speech_text.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"254bf8774fb90dd0587f675e1bdee48893d536357590d352181bd56aea13b0ea"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingBlockParser.feed (cognitive 39): StreamingBlockParser.feed has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (33 pts), ternaries 1 (4 pts), boolean chains 1, loops 1 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/vision/block_parser.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4498f76fd68702dd4250091733887f5525b10210f534d3d81906151b1e05c6"}},{"ruleId":"D2","level":"warning","message":{"text":"BookHealthBanner.BookHealthBanner (cognitive 39): BookHealthBanner.BookHealthBanner has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 23, if/else 10 (11 pts), ternaries 2 (3 pts), error handling 2 (nesting depth added 2). Of this number, 24 points are the body\u0027s own statements and 15 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":"web/app/(workspace)/learning/books/components/BookHealthBanner.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f2d5b52a4e6bf3c31609c131581ae0e5dd4a4647dd7fa9c09c60b1d5a619b2"}},{"ruleId":"D2","level":"warning","message":{"text":"page.PartnersPage (cognitive 39): page.PartnersPage has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 14 (33 pts), boolean chains 3, if/else 3 (nesting depth added 19). Most of this is not in the body itself: 13 of the 39 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 124, 221, 65, \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":"web/app/(workspace)/partners/page.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec47ed37cd0a9e7f96efc7a279676341fa91942accf372418cac5025fa3d21ec"}},{"ruleId":"D2","level":"warning","message":{"text":"KbLinkedFoldersSection.KbLinkedFoldersSection (cognitive 39): KbLinkedFoldersSection.KbLinkedFoldersSection has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 15, if/else 10 (11 pts), ternaries 6 (10 pts), error handling 3 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 21 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":"web/components/knowledge/KbLinkedFoldersSection.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f782f4425beaf9c68498d8cdbfc291240b6e7fc98dcc3338d374d0c2880cad9d"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryRunPanel.groupByTurn (cognitive 39): MemoryRunPanel.groupByTurn has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 7 (21 pts), if/else 5 (12 pts), boolean chains 5, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"db727d2ebc438653bd1d221aca987c97e692ff9443bcffef20fe2750702689c3"}},{"ruleId":"D2","level":"warning","message":{"text":"SpeechButton.PlayAudioButton (cognitive 39): SpeechButton.PlayAudioButton has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (21 pts), ternaries 8 (13 pts), boolean chains 4, error handling 1 (nesting depth added 8). Most of this is not in the body itself: 13 of the 39 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 83, 174, 63, \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":"web/components/voice/SpeechButton.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"873f8506aa41cb9720085806d8ba7d4dee9385f66e99acf7960045a10e888d4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchivedChatsSettingsSection.ArchivedChatsSettingsSection (cognitive 39): ArchivedChatsSettingsSection.ArchivedChatsSettingsSection has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 6 (15 pts), if/else 7 (14 pts), boolean chains 6, error handling 2, loops 2 (nesting depth added 16). Of this number, 20 points are the body\u0027s own statements and 19 belong to 8 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/ArchivedChatsSettingsSection.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f129de6abb18db023e9b19446a401bf5755de037ed50e2ee3cb16c5872fd707"}},{"ruleId":"D2","level":"warning","message":{"text":"GuardianSettingsSection.GuardianSettingsPage (cognitive 39): GuardianSettingsSection.GuardianSettingsPage has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 9 (12 pts), boolean chains 11, error handling 3 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 23 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/GuardianSettingsSection.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"42198af4da62ce246b65de2a60deb48f9c96dcb1cb22faaaa41135939a0096a3"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeAdapter.invoke (cognitive 38): NativeAdapter.invoke has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (24 pts), ternaries 3 (6 pts), loops 2 (5 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":"deeptutor/agents/loop/native_adapter.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f907f811faea8401fa4cb308312ec59bf8ddac3dc7d0754dcfdfd600bbbb2504"}},{"ruleId":"D2","level":"warning","message":{"text":"CoWriterStorage.update_document (cognitive 38): CoWriterStorage.update_document has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 11, 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":"deeptutor/co_writer/storage.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fb947efee1db3147771e9d5d7197a458ec257cde72e98a7e3b66bd520ee9db"}},{"ruleId":"D2","level":"warning","message":{"text":"layers.read_layers (cognitive 38): layers.read_layers has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 10 (17 pts), boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/calendar/layers.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9642b8347d2b7ab93cc4389db471315b22a67c75ce44e13194143a3eb2a919c"}},{"ruleId":"D2","level":"warning","message":{"text":"readiness.build_settings_readiness (cognitive 38): readiness.build_settings_readiness has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (9 pts), ternaries 7 (9 pts), error handling 3 (6 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/readiness.py"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"d445372d2afe04b200ae5171102db94f9257c3e2e0ef010d16d3a2f5fcebb470"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiEmbeddingAdapter._embed_native (cognitive 38): GeminiEmbeddingAdapter._embed_native has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 7, error handling 3 (7 pts), ternaries 3, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/gemini.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b15477c78795c356667a7850dab13f6f2c9eb7c3fead707138448687901277e"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesRemoteBackend.consult (cognitive 38): HermesRemoteBackend.consult has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (18 pts), error handling 7 (10 pts), boolean chains 7, ternaries 2, loops 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/hermes_remote.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"070e1547f2bd2e741acd25260a85f44e061ccb9bf8d36c1b79bcf29e9c992512"}},{"ruleId":"D2","level":"warning","message":{"text":"KimiBackend._handle_event (cognitive 38): KimiBackend._handle_event has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 11, 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":"deeptutor/services/subagent/kimi.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0771118728a7b4489ea4e4ad0c5076d60adb7bb49a86c9d4058b8241c9a8766"}},{"ruleId":"D2","level":"warning","message":{"text":"data_migration._rebind_feature_urls (cognitive 38): data_migration._rebind_feature_urls has cognitive complexity 38 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 4 (13 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cba00ab6024f930649bad5480678f4df2a3bb8c6a8f5b1bdc3a18c91da28da6"}},{"ruleId":"D2","level":"warning","message":{"text":"KbIndexVersionsSection.IndexVersionRow (cognitive 38): KbIndexVersionsSection.IndexVersionRow has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 11 (21 pts), boolean chains 17 (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":"web/components/knowledge/KbIndexVersionsSection.tsx"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf48ca77bafacdd3c37d4972c85aedcabdbcf5a9319ad9cdad6c8b4fa1e026c"}},{"ruleId":"D2","level":"warning","message":{"text":"useQuestionBank.useQuestionBank (cognitive 38): useQuestionBank.useQuestionBank has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (24 pts), ternaries 7 (9 pts), boolean chains 3, error handling 2 (nesting depth added 4). None of this is in the body itself: all 38 points belong to 15 function literals inside it that branch (lines 176, 372, 214, \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":"web/components/space/question-bank/useQuestionBank.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4b41b2b5636354db7f25daa88dc6f32cb4f91c69d42b6919e2e26d27dcc004"}},{"ruleId":"D2","level":"warning","message":{"text":"EngineDetail.ModelsSection (cognitive 38): EngineDetail.ModelsSection has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 8 (18 pts), boolean chains 12, if/else 3 (6 pts), error handling 2 (nesting depth added 13). Most of this is not in the body itself: 5 of the 38 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 1549, 1496, 1511, \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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c865345c0843d7a7bc0209ac91af8ce7e10b2c3253195b12c1d85b23c05e8bd"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-registry.stageRegistryAction (cognitive 38): provider-registry.stageRegistryAction has cognitive complexity 38 (threshold 15). Drivers by points: if/else 20 (33 pts), boolean chains 5 (nesting depth added 13). Of this number, 36 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":"web/lib/provider-registry.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2404829cec01ef49706b7823a283238878b087de8c3c7e14eb4aef0f1eef94"}},{"ruleId":"D2","level":"warning","message":{"text":"QuestionPipeline._normalize_quiz_payload (cognitive 37): QuestionPipeline._normalize_quiz_payload has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 9, loops 2 (7 pts) (nesting depth added 17). 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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8e200fb4da760da84669f62badb578c4f4e963ffddc5f94a05543ae82b7750"}},{"ruleId":"D2","level":"warning","message":{"text":"question.websocket_mimic_generate (cognitive 37): question.websocket_mimic_generate has cognitive complexity 37 (threshold 15). Drivers by points: error handling 14 (24 pts), if/else 10 (12 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":"deeptutor/api/routers/question.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cb4086b195a0645df0370c999f9cf3452456b09dd726804f149be0d17a0112"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions._attach_orphaned_failed_turns (cognitive 37): sessions._attach_orphaned_failed_turns has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 18, if/else 9 (18 pts), loops 1 (nesting depth added 9). 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":"deeptutor/api/routers/sessions.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05bb7a4579b48c7e2915a4440d6be71850454fe0ea05327a17afa17514b7bcf"}},{"ruleId":"D2","level":"warning","message":{"text":"spine_synthesizer._build_chapter_map (cognitive 37): spine_synthesizer._build_chapter_map has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 7 (11 pts), boolean chains 8 (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":"deeptutor/book/agents/spine_synthesizer.py"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac471b6a889d2269ab57268f0dbfed954ec5f6a266b488f71a6b495cf101a53"}},{"ruleId":"D2","level":"warning","message":{"text":"topic_materials.build_topic_materials (cognitive 37): topic_materials.build_topic_materials has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 11, ternaries 3 (8 pts), loops 2 (3 pts), error handling 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":"deeptutor/learning/topic_materials.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"7584ffcbf3ab9bb0b6f234cba831dbafc167c689723c4da4e6eb519457d0b04e"}},{"ruleId":"D2","level":"warning","message":{"text":"multimodal._inject_images (cognitive 37): multimodal._inject_images has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 7, ternaries 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/multimodal.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ec546e8a84ccfb749cb6f863b2b36ab3138fcdc1c527a77ac5747a2f6cc682"}},{"ruleId":"D2","level":"warning","message":{"text":"claude_code_provider._prompt_input (cognitive 37): claude_code_provider._prompt_input has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (25 pts), ternaries 2 (5 pts), boolean chains 4, 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":"deeptutor/services/llm/provider_core/claude_code_provider.py"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1dfda221fbbc8cb66ee82c8ebc12d35d5e28f5250a5d41adb85a627a2215f6"}},{"ruleId":"D2","level":"warning","message":{"text":"source_pages.build_pdf_documents (cognitive 37): source_pages.build_pdf_documents has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 9, ternaries 3 (6 pts), loops 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/source_pages.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe11f221ccb2c48f6dd578c5f5d6fd2b05be5a55c2ebb66cf813476de8968cb"}},{"ruleId":"D2","level":"warning","message":{"text":"visual_assets._block_details (cognitive 37): visual_assets._block_details has cognitive complexity 37 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 7 (13 pts), boolean chains 6, error handling 2 (4 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/visual_assets.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51a2e917f96363fe443104e0dbebe3e97b69630a8cbc4d8eb01e889f7dccf86"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLiteSessionStore._delete_turn_by_message_sync (cognitive 37): SQLiteSessionStore._delete_turn_by_message_sync has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 6, loops 3 (5 pts), ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":2402}}}],"partialFingerprints":{"codehealthFindingId/v1":"863cc05b4b32a30434c43cd11fc6472d1a1b2ed50c959e66f1087ab25f985f25"}},{"ruleId":"D2","level":"warning","message":{"text":"dependencies._with_historical_references (cognitive 37): dependencies._with_historical_references has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (18 pts), error handling 2 (8 pts), loops 3 (6 pts), boolean chains 5 (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":"deeptutor/services/workspace/dependencies.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d276ba18c7920df6208a90077f3ccb2423389c1dcd86f5b14626b1cfc5cf72de"}},{"ruleId":"D2","level":"warning","message":{"text":"document_extractor._extract_xlsx_ooxml (cognitive 37): document_extractor._extract_xlsx_ooxml has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 4 (11 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":"deeptutor/utils/document_extractor.py"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"547c6bcc1563eec847c4af3ca6efc9e9729a05909e3ad1fc10a2c3978f18d78a"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.workspaceTool (cognitive 37): workspace.workspaceTool has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (19 pts), ternaries 2 (6 pts), error handling 2 (5 pts), boolean chains 4, 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":"packages/chat-engine/src/tools/workspace.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac98c9df7a6f989bfe2d3b886a3baa290c0f705c499f82970f4f440286cb663"}},{"ruleId":"D2","level":"warning","message":{"text":"AppShellContext.AppShellProvider (cognitive 37): AppShellContext.AppShellProvider has cognitive complexity 37 (threshold 15). Drivers by points: if/else 27 (28 pts), boolean chains 5, error handling 2, ternaries 1 (2 pts) (nesting depth added 2). None of this is in the body itself: all 37 points belong to 9 function literals inside it that branch (lines 203, 282, 118, \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":"web/context/AppShellContext.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1c8d9cd9a41e9413aeb6d4f58fd2e9c5a586cd03cf7aa4c0007858189f5332"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryWorkbench.MemoryWorkbench (cognitive 37): MemoryWorkbench.MemoryWorkbench has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 10 (15 pts), boolean chains 10, if/else 9 (10 pts), error handling 1, loops 1 (nesting depth added 6). Most of this is not in the body itself: 13 of the 37 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 259, 217, 311, \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":"web/components/memory/MemoryWorkbench.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c47686a00a17675c4f16f9c157aedd88f0a269a3785386af8b1760a43dee6f"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizationViewer.sanitizeSvg (cognitive 37): VisualizationViewer.sanitizeSvg has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 12, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 9). Most of this is not in the body itself: 5 of the 37 points are its own statements and the rest belongs to 5 function items inside it that branch (walk, rescope, a function literal at line 352, \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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fe2ddaae077ade7ebdd4d474a0abd2676e673bc499d6615ac9b7c77f161d80"}},{"ruleId":"D2","level":"warning","message":{"text":"memory-graph.parseDoc (cognitive 37): memory-graph.parseDoc has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 4 (8 pts), boolean chains 3 (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":"web/lib/memory-graph.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0f03229b5cb80b114ae0798e6ee3d260d346cfe525ac3649b2fa2cfbfa745d"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeBaseManager._list_knowledge_bases (cognitive 36): KnowledgeBaseManager._list_knowledge_bases has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (18 pts), error handling 4 (10 pts), boolean chains 5, loops 2 (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":"deeptutor/knowledge/manager.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"71964eacbd1fc6074953649d56bc51d2a07bf1c0092ec67ed79536f071d4fd15"}},{"ruleId":"D2","level":"warning","message":{"text":"manager.main (cognitive 36): manager.main has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (9 pts), error handling 4 (8 pts), ternaries 3 (8 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":2477}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f36d58574cbec75ac6abd124fb95da577fc65c720a168ddccf568f6c385080"}},{"ruleId":"D2","level":"warning","message":{"text":"visual_practice.prepare_visual (cognitive 36): visual_practice.prepare_visual has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 15, ternaries 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/visual_practice.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f040fe131ebc2602b7a2772df43c5eac93a4f15e9206a96ca52f65a9a91c9d6"}},{"ruleId":"D2","level":"warning","message":{"text":"lifecycle.plan (cognitive 36): lifecycle.plan has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 4 (10 pts), boolean chains 5, loops 2 (5 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":"deeptutor/modules/lifecycle.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"18113e2d532627e8d2c1317ede68595b2e9f92880c137eab0a647ddf4095a549"}},{"ruleId":"D2","level":"warning","message":{"text":"book_permission.normalize_book_permission (cognitive 36): book_permission.normalize_book_permission has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 6, loops 2 (5 pts), ternaries 3 (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":"deeptutor/multi_user/book_permission.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad6c707ba3c813b81dd6ace6a390b008513870650659fe5bd39bbff31b29580"}},{"ruleId":"D2","level":"warning","message":{"text":"proposals.review (cognitive 36): proposals.review has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (23 pts), ternaries 4 (9 pts), boolean chains 4 (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":"deeptutor/notes/proposals.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c790a5a0f268b0b5ad06ca25c035555bf32fc021c7c8af03d9846adaa3b49f"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_runtime.resolve_embedding_runtime_config (cognitive 36): provider_runtime.resolve_embedding_runtime_config has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 25, if/else 5 (6 pts), ternaries 5 (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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f47c40f69daf8c3deb4ad0b86b02df93553c6d5cb523618d4e5fe97240b4d8c"}},{"ruleId":"D2","level":"warning","message":{"text":"factory._resolve_call_config (cognitive 36): factory._resolve_call_config has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 14 (21 pts), boolean chains 11, if/else 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":"deeptutor/services/llm/factory.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbf428ea7d8b5c2871c6183afc643e0e2b446d9c0100238b4507a231fdfea5c"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluation.evaluate (cognitive 36): evaluation.evaluate has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (20 pts), ternaries 3 (5 pts), boolean chains 4, loops 3 (4 pts), error handling 1 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/evaluation.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c642501dff156212e8a75a92158755ad0eee5785daa158f53b5c0f7c982720"}},{"ruleId":"D2","level":"warning","message":{"text":"reasoning.supported_reasoning_efforts (cognitive 36): reasoning.supported_reasoning_efforts has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 12 (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":"deeptutor/services/model_selection/reasoning.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f79495ac86b8697e15d98fc78e94d892a1cf8ea1c64e79eaa1394e2e8edc61"}},{"ruleId":"D2","level":"warning","message":{"text":"session_transfer._conflicts (cognitive 36): session_transfer._conflicts has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (23 pts), loops 4 (8 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/session_transfer.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef8eb36ba907cf9d5355a62cc74fac9f305ed7e33e20373d834959f1905c473"}},{"ruleId":"D2","level":"warning","message":{"text":"chat._chat_repl (cognitive 36): chat._chat_repl has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 7, error handling 3 (5 pts), loops 1, ternaries 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":"deeptutor_cli/chat.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a341337733e3eaf40731e7e49fca29bb44adffed1a86218ac9564ce2d13608c3"}},{"ruleId":"D2","level":"warning","message":{"text":"AskUserOptions.normaliseAskUserPayload (cognitive 36): AskUserOptions.normaliseAskUserPayload has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 6 (15 pts), if/else 6 (11 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd452cc652483a7987fd88ba68b457debf188447b0c7d47d30fc62c4ecfa21f"}},{"ruleId":"D2","level":"warning","message":{"text":"FileDropZone.FileDropZone (cognitive 36): FileDropZone.FileDropZone has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 11 (18 pts), if/else 12, boolean chains 6 (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 15 belong to 8 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/FileDropZone.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d918a43bb1cbb3c96d8775bdf0ce72f427d6eb99003aa13469fd0229f6063cf"}},{"ruleId":"D2","level":"warning","message":{"text":"KbWebSourcesSection.KbWebSourcesSection (cognitive 36): KbWebSourcesSection.KbWebSourcesSection has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 9 (16 pts), boolean chains 9, if/else 5 (6 pts), error handling 5 (nesting depth added 8). Most of this is not in the body itself: 12 of the 36 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 52, handleAdd, handleRemove, \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":"web/components/knowledge/KbWebSourcesSection.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"972f63e8c3ac5b34b69a59225bb84c8c9aee59ab07673dba6d1541c42aec1a66"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryRunPanel.systemEventDisplay (cognitive 36): MemoryRunPanel.systemEventDisplay has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 16 (30 pts), boolean chains 5, match/switch 1 (nesting depth added 14). Of this number, 34 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2965921d4fbd750e766ff4e2a4812972d73e2e4a5cdbbf0ae0c94a6ac3b9c06"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupComposer.GroupComposer (cognitive 36): GroupComposer.GroupComposer has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 13 (17 pts), if/else 10 (14 pts), boolean chains 5 (nesting depth added 8). Most of this is not in the body itself: 11 of the 36 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 198, submit, a function literal at line 67, \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":"web/components/partners/group/GroupComposer.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbd8e1d3a5326842313223cbae91bbceacf09fd28ee63f61a882d35ca3f4e64"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceDiscoveryField.VoiceLookup (cognitive 36): VoiceDiscoveryField.VoiceLookup has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 8 (23 pts), if/else 6 (7 pts), boolean chains 5, error handling 1 (nesting depth added 16). Of this number, 27 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/VoiceDiscoveryField.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dafda636f2f19a4ef13389f734e14913b1230242c54c00ed9ad98bd60fd625"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageThreadMarker.MessageThreadMarker (cognitive 36): MessageThreadMarker.MessageThreadMarker has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 12, boolean chains 6, error handling 2 (nesting depth added 8). Most of this is not in the body itself: 8 of the 36 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 205, a function literal at line 73, a function literal at line 102, \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":"web/features/chat/messages/MessageThreadMarker.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f90b209a51b55fcf804960599d3eda2d91a507ecfe85c4f17c12cfeb27e83d"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteCompanion.ThreadComposer (cognitive 36): NoteCompanion.ThreadComposer has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 8 (16 pts), boolean chains 12, if/else 8 (nesting depth added 8). Of this number, 27 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"563389a090909566423e9dee80d6b48e2a7e82742251a4c7d8e3b426490c7cba"}},{"ruleId":"D2","level":"warning","message":{"text":"reasoning-effort.tableReasoningEffortOptions (cognitive 36): reasoning-effort.tableReasoningEffortOptions has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/reasoning-effort.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ed9cd554551938b0364d2c0e0244387105399ab1a2b834c2ce2f67f2897695"}},{"ruleId":"D2","level":"warning","message":{"text":"turn-reconcile.reconcileTurnIds (cognitive 36): turn-reconcile.reconcileTurnIds has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (24 pts), loops 3 (5 pts), boolean chains 4, ternaries 1 (3 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":"web/lib/turn-reconcile.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a98d5ba61a034289dbd97c79704164bfeb21bec2c4c24f297392b4651b852f5"}},{"ruleId":"D2","level":"warning","message":{"text":"reading_extensions.submit_quiz_answers (cognitive 35): reading_extensions.submit_quiz_answers has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 5 (9 pts), boolean chains 8, error handling 3 (5 pts), loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/reading_extensions.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0da2c6961b02bea6e4debb3989d80bf0cb65ceb10227b6ca8e0a4ef81f664ef"}},{"ruleId":"D2","level":"warning","message":{"text":"SpineSynthesizer._coerce_graph (cognitive 35): SpineSynthesizer._coerce_graph has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 12, error handling 1 (2 pts), loops 2, ternaries 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/spine_synthesizer.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"07becdd063f69e0544e0df58e541d3af7e2deacb131a99d2e66e3bfdb0e98645"}},{"ruleId":"D2","level":"warning","message":{"text":"history.share_mastery_history (cognitive 35): history.share_mastery_history has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 4 (8 pts), boolean chains 5, loops 2 (3 pts), 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":"deeptutor/capabilities/mastery/history.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"467e9b37e72c5e052c500521b13d506e2550487fa0932675a45cce23b1fccee4"}},{"ruleId":"D2","level":"warning","message":{"text":"semantic_assessment.bind_questions (cognitive 35): semantic_assessment.bind_questions has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 4 (6 pts), ternaries 3 (6 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/semantic_assessment.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04142c5ae8f4ae5e4e02acd1bbb5a301089838ebf2f0a5cbdb5c8d30b52ce49"}},{"ruleId":"D2","level":"warning","message":{"text":"service.assign_objective_identities (cognitive 35): service.assign_objective_identities has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 4 (10 pts), boolean chains 3, ternaries 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":"deeptutor/learning/service.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e3a0390a049f3cf6a99171c3f66ff0af41b5ce2a072001c2979b77f8705f2a"}},{"ruleId":"D2","level":"warning","message":{"text":"FeishuChannel._on_message (cognitive 35): FeishuChannel._on_message has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (23 pts), ternaries 4, boolean chains 3, loops 2 (3 pts), error handling 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":2333}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a8ce62e4c26f3a822aad1f1e57372fb7cd10a1410a14f10573f1843258bcda"}},{"ruleId":"D2","level":"warning","message":{"text":"response_recovery.guarded_responses (cognitive 35): response_recovery.guarded_responses has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/response_recovery.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d45fe2014c9d9e0d991abfcc81cadc904830671efd385e6c8cb89e2318e4a91"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexBackend._handle_event (cognitive 35): CodexBackend._handle_event has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 9, ternaries 3 (8 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":"deeptutor/services/subagent/codex.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d6b34a6a4608e4a3387847537666f202fdaf9e434af5630635c150e634ec9c"}},{"ruleId":"D2","level":"warning","message":{"text":"web_fetch.fetch_url_as_markdown (cognitive 35): web_fetch.fetch_url_as_markdown has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 9, ternaries 1 (3 pts), error handling 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":"deeptutor/tools/web_fetch.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac5981330b2843d959ac2d53f024599deb320ee35e2c89385f24f53c577e372"}},{"ruleId":"D2","level":"warning","message":{"text":"bibtex_converter._read_fields (cognitive 35): bibtex_converter._read_fields has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/bibtex_converter.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c256b6b28180247eef845fc4073c85704f87409600d87fb03029d70d7616dd"}},{"ruleId":"D2","level":"warning","message":{"text":"document_images.extract_docx_rich (cognitive 35): document_images.extract_docx_rich has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (26 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 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":"deeptutor/utils/document_images.py"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"96214c2b6e95e98b70de188adb48fb94ab2ed889ba18c064c690de1daf935279"}},{"ruleId":"D2","level":"warning","message":{"text":"AskUserOptions.extractAskUserPayload (cognitive 35): AskUserOptions.extractAskUserPayload has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 4 (10 pts), boolean chains 9, 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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a148f019ff5840561425733747654b99b70dea94949801a01ca59e4372818440"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatStateAdapter.hydrateRequestSnapshot (cognitive 35): ChatStateAdapter.hydrateRequestSnapshot has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (20 pts), ternaries 10, boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac8b965ba8ad303ef360587a5b2083b0053c1d21ba306b84efb95ac05db1163"}},{"ruleId":"D2","level":"warning","message":{"text":"useMasteryStudySession.useMasteryStudySession (cognitive 35): useMasteryStudySession.useMasteryStudySession has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 13, ternaries 4 (nesting depth added 3). Most of this is not in the body itself: 11 of the 35 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 164, 206, 77, \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":"web/hooks/useMasteryStudySession.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfdef5f801d2a6b8bd1f3bb6bf89eb9cdef18f60250289514b02674c43f1457"}},{"ruleId":"D2","level":"warning","message":{"text":"reading-selection.selectionTextWithoutLineNumbers (cognitive 35): reading-selection.selectionTextWithoutLineNumbers has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 4 (7 pts), boolean chains 6, loops 3 (nesting depth added 12). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/reading-selection.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcb22e78fa69e294d7e0a21235e1b0ccde491c08d68b838eca09df2bdf78fde"}},{"ruleId":"D2","level":"warning","message":{"text":"context.normalize_book_references (cognitive 34): context.normalize_book_references has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 3 (7 pts), boolean chains 6 (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":"deeptutor/book/context.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"07074bfb030bfc9391eeab3a2d3d71ff6ccd2b9d7819bc073f4d55b060162a85"}},{"ruleId":"D2","level":"warning","message":{"text":"model_access.redacted_model_access (cognitive 34): model_access.redacted_model_access has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 16, if/else 6 (12 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 9). 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":"deeptutor/multi_user/model_access.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fd110e6ac59696caef38c436d55507622df45d8df8cd9f3433987582e5576e"}},{"ruleId":"D2","level":"warning","message":{"text":"ingestion._load_bilibili_media (cognitive 34): ingestion._load_bilibili_media has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 13, if/else 8 (12 pts), ternaries 4 (6 pts), error handling 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":"deeptutor/reading/ingestion.py"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"a798b9096636b999e599d3b5b7b4b304c5b558e358f538f5eeb48860a616c678"}},{"ruleId":"D2","level":"warning","message":{"text":"tool_call_stream._reject_ambiguous_arguments (cognitive 34): tool_call_stream._reject_ambiguous_arguments has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 4, loops 1 (nesting depth added 18). 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":"deeptutor/runtime/agentic/tool_call_stream.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2bc616d49793612b74f5adb58e30c507d5d445e0721a17cd49dd4df896e6a6"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexModelCatalog._fetch (cognitive 34): CodexModelCatalog._fetch has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 6, ternaries 3 (6 pts), error handling 4 (5 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/codex_auth/catalog.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e94fcd648811128e4c10f9b342e11610fdb7105a743423a831fac9e74392006"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatCompletionsImagegenAdapter._extract_sources (cognitive 34): ChatCompletionsImagegenAdapter._extract_sources has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 10, loops 3 (6 pts), ternaries 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/imagegen/adapters/chat_completions.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbeebad6f90003d71689587bc02a95348ecb639f45df32ad53ea9dd6b41a5bc"}},{"ruleId":"D2","level":"warning","message":{"text":"document.parse (cognitive 34): document.parse has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/document.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1f6259351db0cc1b08d5d5c4846d9d5552eb5e40b0ab7358a226dedeca3a4f"}},{"ruleId":"D2","level":"warning","message":{"text":"_process.cli_process (cognitive 34): _process.cli_process has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (19 pts), error handling 2 (6 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":"deeptutor/services/parsing/engines/mineru/_process.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e82c82deb8d90f34277c69b96287cd0014b3c3a6485f27cfa2c8526ddd7550"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerRunner._build_context (cognitive 34): PartnerRunner._build_context has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 11, ternaries 4 (6 pts), loops 2 (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":"deeptutor/services/partners/runtime.py"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf581d68b8aecf53afbb02a804f7509a3b793c3f6036e14998baffd370f2f67"}},{"ruleId":"D2","level":"warning","message":{"text":"SerperProvider.search (cognitive 34): SerperProvider.search has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (27 pts), loops 2 (4 pts), error handling 1 (2 pts), ternaries 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":"deeptutor/services/search/providers/serper.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b2c8676ac09ffc0c367c0d431033da27ff2f1345584d123cbef0f5c10aa8f5"}},{"ruleId":"D2","level":"warning","message":{"text":"claude_models._capture_model_screen (cognitive 34): claude_models._capture_model_screen has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 7 (11 pts), boolean chains 5, loops 2, ternaries 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":"deeptutor/services/subagent/claude_models.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce0f6b6554bcdb052ebe0bbc35c12d1c31b335b0824732d0e44e361b5d77f07"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePreviewDrawer.FilePreviewDrawer (cognitive 34): FilePreviewDrawer.FilePreviewDrawer has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 14, if/else 9, ternaries 8 (9 pts), error handling 2 (nesting depth added 1). Most of this is not in the body itself: 15 of the 34 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 169, 101, 111, \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":"web/components/chat/preview/FilePreviewDrawer.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5618232e5ec56d024d890e5c23d0aec6d916e32c4c99294d4e4e1140b66e0b14"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateKbModal.CreateKbModal (cognitive 34): CreateKbModal.CreateKbModal has cognitive complexity 34 (threshold 15). Drivers by points: if/else 44 (54 pts), ternaries 21 (40 pts), boolean chains 33, error handling 5 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CreateKbModal.CreateKbModal::handleSubmit) 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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"804baa2f7262c38305cf4b470601c433874ca96a1ed5165d5ae2edd95c3707d1"}},{"ruleId":"D2","level":"warning","message":{"text":"PracticeInsights.PracticeInsights (cognitive 34): PracticeInsights.PracticeInsights has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 14 (18 pts), boolean chains 10, if/else 4 (5 pts), error handling 1 (nesting depth added 5). Most of this is not in the body itself: 14 of the 34 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 55, 119, 136, \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":"web/components/learning/practice/PracticeInsights.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc71e14cb7ba78234f6a89294cbbd097e35aeffd606127086df6300cec9971d"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialLibrary.MaterialLibraryPage (cognitive 34): MaterialLibrary.MaterialLibraryPage has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 8 (22 pts), boolean chains 9, if/else 2, error handling 1 (nesting depth added 14). Of this number, 20 points are the body\u0027s own statements and 14 belong to 5 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"619c47c2ad324a9c0811ca43f0e2811c7c82463081f95670632136dcdf5aa862"}},{"ruleId":"D2","level":"warning","message":{"text":"useReadingWorkspace.useReadingWorkspace (cognitive 34): useReadingWorkspace.useReadingWorkspace has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20, boolean chains 8, ternaries 3 (5 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 15 function literals inside it that branch (lines 179, 191, 453, \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":"web/components/reading/workspace/useReadingWorkspace.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88d7f96549ade9cc42dc2e22ce47f7a08df376497fc8bb9adef105f2e355a0e"}},{"ruleId":"D2","level":"warning","message":{"text":"useDragSort.useDragSort.handlePointerDown.\u003Creturned closure\u003E (cognitive 34): useDragSort.useDragSort.handlePointerDown.\u003Creturned closure\u003E has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24 (25 pts), boolean chains 9 (nesting depth added 1). Most of this is not in the body itself: 8 of the 34 points are its own statements and the rest belongs to 10 function items inside it that branch (onMove, followEdges, activate, \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":"web/hooks/useDragSort.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b494a6183fb57c4153ee2962ace5789185323a3587c6701602428af5efc4ca2"}},{"ruleId":"D2","level":"warning","message":{"text":"Tooltip.Tooltip (cognitive 34): Tooltip.Tooltip has cognitive complexity 34 (threshold 15). Drivers by points: if/else 22, boolean chains 8, ternaries 4. Most of this is not in the body itself: 8 of the 34 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 135, 77, 119, \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":"web/shared/ui/Tooltip.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba66d622b6926498a0ce0d5bd8636858a5cefbe1ff3498ab0d43208febfe4bb"}},{"ruleId":"D2","level":"warning","message":{"text":"inputs._resolve_chat_selections (cognitive 33): inputs._resolve_chat_selections has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 7, error handling 2 (3 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/inputs.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab715e66ba2acb83f6448c1091cdf37d821e44cfc908bf7aa478ac1a9cac5f88"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextExplorer._call_llm (cognitive 33): ContextExplorer._call_llm has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (27 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":"deeptutor/capabilities/explore_context/explorer.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f5d34082077817b6d27041bec4cf2e3e2e32f822a7d9ff641e19d6ba4f450f"}},{"ruleId":"D2","level":"warning","message":{"text":"choices.recover_options_from_turn (cognitive 33): choices.recover_options_from_turn has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 12, loops 2 (3 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/mastery/choices.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b9c40c6567d96b28685c8ef36af0cfbf4083a336c3bc77d7399a6470e855a2"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryLoopCapability.augment_kwargs (cognitive 33): MasteryLoopCapability.augment_kwargs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 12 (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":"deeptutor/capabilities/mastery/loop.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba3fba31bbd4785966f1a5598957659f8f35740c765b3a396650e7da7c2384e"}},{"ruleId":"D2","level":"warning","message":{"text":"MSTeamsChannel._normalize_teams_reply_quote (cognitive 33): MSTeamsChannel._normalize_teams_reply_quote has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 6, loops 2 (3 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":"deeptutor/partners/channels/msteams.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e04da87a715b9f6390538798569813fcfc976ff3f5421e4e90015d17785ce53"}},{"ruleId":"D2","level":"warning","message":{"text":"CallMeasurement.finish (cognitive 33): CallMeasurement.finish has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 10, if/else 6 (7 pts), loops 1 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/metrics.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04eebabd15d92c0597c1a3f623a264dcabd156aadec2f4dd79f478d52e95041"}},{"ruleId":"D2","level":"warning","message":{"text":"adapters.read_quiz_entities (cognitive 33): adapters.read_quiz_entities has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 4 (12 pts), boolean chains 8, if/else 3 (8 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb820caf3ee8ad35d004d26cc60708cec758280e31273d6cef9194e591cb0dc"}},{"ruleId":"D2","level":"warning","message":{"text":"inventory._traverse (cognitive 33): inventory._traverse has cognitive complexity 33 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 4 (9 pts), boolean chains 4, ternaries 1 (4 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":"deeptutor/services/rag/pipelines/ima/inventory.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e719365422234c06d49d2755b69bd3115cd0e45a6546fe69c69fe4bbea6f4b89"}},{"ruleId":"D2","level":"warning","message":{"text":"visual_coverage.record_coverage (cognitive 33): visual_coverage.record_coverage has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 6, error handling 1 (3 pts), loops 2 (3 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":"deeptutor/services/rag/visual_coverage.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5346f2b72e8b22f2f2c15d26adbb0dbe81cb5580303afa63b81e0ddcd1f8125b"}},{"ruleId":"D2","level":"warning","message":{"text":"artifact_attachments.artifact_attachments (cognitive 33): artifact_attachments.artifact_attachments has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 15, if/else 7 (15 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/artifact_attachments.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc32f7ae732a08caf6fe90077c48fa42d7b5289ce59c9eca81751eab88ad707"}},{"ruleId":"D2","level":"warning","message":{"text":"json_parser.parse_json_response (cognitive 33): json_parser.parse_json_response has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (25 pts), error handling 4 (6 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/json_parser.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8e7c328869b23bae43f58c82f088b14a15754472b5c99db664ab4e8138cb41"}},{"ruleId":"D2","level":"warning","message":{"text":"page.NewPartnerGroupPage (cognitive 33): page.NewPartnerGroupPage has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 15 (25 pts), boolean chains 4, if/else 3, error handling 1 (nesting depth added 10). Most of this is not in the body itself: 14 of the 33 points are its own statements and the rest belongs to 4 function items inside it that branch (submit, a function literal at line 217, a function literal at line 47, \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":"web/app/(workspace)/partners/groups/new/page.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66a067632f85a6ce8d31a7e4bf9bcf6a1314e74e34b3799ee80cf3e0e0cebe5"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionViewerPanel.parsePersistedViewerTabs (cognitive 33): SessionViewerPanel.parsePersistedViewerTabs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 13, error handling 1, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"064c5b2b0db6f688026fe3aeed0f48919a4c8d585277ef26b8ac9ebc46ce179e"}},{"ruleId":"D2","level":"warning","message":{"text":"KbSettingsSection.KbSettingsSection (cognitive 33): KbSettingsSection.KbSettingsSection has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 17, ternaries 10 (14 pts), error handling 2 (nesting depth added 4). Of this number, 27 points are the body\u0027s own statements and 6 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":"web/components/knowledge/KbSettingsSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cba350b15fd8afa9726e904533776f4b194f61cfe0a934104c4fd5ef2faa4b"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentSettingsEditor.SubagentSettingsEditor (cognitive 33): SubagentSettingsEditor.SubagentSettingsEditor has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 19, ternaries 5 (7 pts), if/else 4 (5 pts), error handling 2 (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 14 belong to 5 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":"web/components/settings/SubagentSettingsEditor.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f8c4481f8a054143e1ff4daf9d70d460d0fa468072c63d367fed95c3a830df"}},{"ruleId":"D2","level":"warning","message":{"text":"EventEditor.EventEditor (cognitive 33): EventEditor.EventEditor has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 11 (15 pts), boolean chains 13, if/else 5 (nesting depth added 4). Most of this is not in the body itself: 15 of the 33 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 62, a function literal at line 94, a function literal at line 112, \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":"web/features/calendar/components/EventEditor.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8120c69394348f89004d31e8bb6ef740ad8a9b5b4631cfdddd5eefce76d5456d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessageList.GeneratedFileCards (cognitive 33): ChatMessageList.GeneratedFileCards has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 9 (15 pts), boolean chains 14, if/else 4 (nesting depth added 6). Most of this is not in the body itself: 1 of the 33 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 611, 600, 605). 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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e137eb49719de14ef02fcfce13e201eaf8e7f8c3694f3c1430babed03af09e"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteTopBar.NoteTopBar (cognitive 33): NoteTopBar.NoteTopBar has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 22, ternaries 8 (9 pts), if/else 1, loops 1 (nesting depth added 1). Of this number, 25 points are the body\u0027s own statements and 8 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":"web/features/notes/components/NoteTopBar.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ccc747721f54e7b3d6702a62f37fd5ec465ce760227c01775ca217b043a0c3"}},{"ruleId":"D2","level":"warning","message":{"text":"book-activity.buildBookActivity (cognitive 33): book-activity.buildBookActivity has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13, boolean chains 12, ternaries 6 (8 pts) (nesting depth added 2). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"web/lib/book-activity.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ac71b5d7031ebc19c9ab697b86259a7c3889030e25a542cae48648fa6b588d"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge._create_knowledge_base_owned (cognitive 32): knowledge._create_knowledge_base_owned has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 7, error handling 3, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":3659}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5be82c6186df8d59a40d51863a6cff4632e2528a19a64a10846f4422d7459ac"}},{"ruleId":"D2","level":"warning","message":{"text":"_rag_helpers.optional_rag_lookup (cognitive 32): _rag_helpers.optional_rag_lookup has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 14, if/else 9 (12 pts), error handling 4, 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":"deeptutor/book/blocks/_rag_helpers.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"07767ab3be21dc8cbe5ce6c596e745b49a413dbf30878f012e0a35f8a0dcf47a"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryContextBuilder._summarize (cognitive 32): MasteryContextBuilder._summarize has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 8, loops 2 (3 pts), ternaries 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":"deeptutor/capabilities/mastery/memory.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"09eac4a50578852000cd54a82c92f2eff77dcfcda761f8fe5a7833a197c54f3c"}},{"ruleId":"D2","level":"warning","message":{"text":"guardian_reading._read_report (cognitive 32): guardian_reading._read_report has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 3 (7 pts), boolean chains 4, ternaries 1 (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":"deeptutor/multi_user/guardian_reading.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d1a8e30898ebe1db48a25b3e1596bece1fae3dca97ace0fa449f59fa091123"}},{"ruleId":"D2","level":"warning","message":{"text":"service.reconcile_codex_catalog_update (cognitive 32): service.reconcile_codex_catalog_update has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 8 (9 pts), boolean chains 6, loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/codex_auth/service.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f539dfdcada74b3d6c0977653062e99f8c16bc514191c3b36ab6b21ac147255"}},{"ruleId":"D2","level":"warning","message":{"text":"doctor._rag_check (cognitive 32): doctor._rag_check has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 3 (7 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/doctor.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96c2accfa67d3ff9a17578fea6b16cb1a0bddf09fd70e0c11c191f6b3aa37ab"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatProvider._sanitize_messages (cognitive 32): OpenAICompatProvider._sanitize_messages has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 3 (5 pts), ternaries 1 (3 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":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6484024e465512663c6b4a6515e2a746c6e31294ad8d231b477884c3490d99"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.remove_asset (cognitive 32): workspace.remove_asset has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (23 pts), error handling 2 (6 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":"deeptutor/services/partners/workspace.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd24295713139a05fd719f2a62b33a3422aeefd9edd5c04e87ade9db22fdec2d"}},{"ruleId":"D2","level":"warning","message":{"text":"ingress._freeze_asset_paths (cognitive 32): ingress._freeze_asset_paths has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (18 pts), error handling 2 (9 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/ingress.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5e9ae9ced88b2172c7cead840c2c9646ddfc6de8059db8195647926c5d3953"}},{"ruleId":"D2","level":"warning","message":{"text":"visual_assets.collect_visual_assets (cognitive 32): visual_assets.collect_visual_assets has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 11, loops 2 (4 pts), error handling 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/visual_assets.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d611c904a0675429373d9c3cb885320645950bad12632bcdf888019aa6743e"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLiteSessionStore._replace_submission_sync (cognitive 32): SQLiteSessionStore._replace_submission_sync has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 7, ternaries 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"59504b7ab3a7ed566bd02fd88980eef69b51922c300390d3561d20e051d44671"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLiteSessionStore._question_bank_filters (cognitive 32): SQLiteSessionStore._question_bank_filters has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (21 pts), ternaries 5 (10 pts), boolean chains 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":4175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38b343bf0b40065e4cd546f69ed9e46067a5fcfc156feb0390361a731d16bab"}},{"ruleId":"D2","level":"warning","message":{"text":"kb_move.preview_kb_move (cognitive 32): kb_move.preview_kb_move has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 12, 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":"deeptutor/services/workspace/kb_move.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9b66235fe2e573e049d6d6258519205a775d0887084846e2916684696ec644"}},{"ruleId":"D2","level":"warning","message":{"text":"snapshot.build_snapshot (cognitive 32): snapshot.build_snapshot has cognitive complexity 32 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 4 (9 pts), boolean chains 6, loops 4 (6 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":"deeptutor/services/workspace/snapshot.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9335680f5fac4ae3d0a9f470361d223ff856b105c62c6b581ab27556d1e82d"}},{"ruleId":"D2","level":"warning","message":{"text":"chapter_rebuild.detect_frames (cognitive 32): chapter_rebuild.detect_frames has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (26 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/textbook_struct/chapter_rebuild.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5181d6ba317cc3d584398374f5255e25c07b2f19cb5558a79042e07a2e2a360"}},{"ruleId":"D2","level":"warning","message":{"text":"document_extractor._extract_pdf (cognitive 32): document_extractor._extract_pdf has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 7 (11 pts), boolean chains 3, loops 1 (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":"deeptutor/utils/document_extractor.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"959c5eb45e5e37e589c25bbbd6445b5ba891e9e62c48232dc790ecacc3027dee"}},{"ruleId":"D2","level":"warning","message":{"text":"document_images._collect_shape_rich (cognitive 32): document_images._collect_shape_rich has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 2 (4 pts), boolean chains 2, error handling 1 (2 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":"deeptutor/utils/document_images.py"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"4015e85221bc1290d34fe2e2387f7db80f979d9c179392a8ccbf2dfaf116962b"}},{"ruleId":"D2","level":"warning","message":{"text":"init_wizard.fetch_embedding_models (cognitive 32): init_wizard.fetch_embedding_models has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 4, loops 3 (4 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor_cli/init_wizard.py"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6196638ed7b6c113d17d87dd6a0a6c0d6ecf5deaea9231d399e90011dab932"}},{"ruleId":"D2","level":"warning","message":{"text":"history.planHistory (cognitive 32): history.planHistory has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 6, ternaries 2 (6 pts), error handling 1 (3 pts), loops 1 (nesting depth added 14). Of this number, 21 points are the body\u0027s own statements and 11 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":"packages/chat-engine/src/context/history.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c339d7eb4269439a69b881522f030d0b173629ab66a6d2c36919ed996b7ef5"}},{"ruleId":"D2","level":"warning","message":{"text":"PersonaPicker.PersonaPicker (cognitive 32): PersonaPicker.PersonaPicker has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 11 (22 pts), if/else 6 (7 pts), boolean chains 2, error handling 1 (nesting depth added 12). Most of this is not in the body itself: 10 of the 32 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 40, 139, 59, \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":"web/components/chat/PersonaPicker.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ce69388f6809b6eab7604f80fb2156c5bdc9569a9a439e3c430cd54ebb8d78"}},{"ruleId":"D2","level":"warning","message":{"text":"MemorySection.L1View (cognitive 32): MemorySection.L1View has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 11, ternaries 5 (9 pts), if/else 7, error handling 4, loops 1 (nesting depth added 4). Most of this is not in the body itself: 7 of the 32 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 776, 716, 756, \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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c880d38a06b0589d8e84ec77ce806fd5f37f2e4b52b3517ac2b3d3c3aabee8"}},{"ruleId":"D2","level":"warning","message":{"text":"TracePresentation.getTraceHeader (cognitive 32): TracePresentation.getTraceHeader has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 7, ternaries 2 (6 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ada8ec45df310f9405833fce24649d231eff6590411c992b3ca8be208314f4"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkSettingsSection.NetworkSettingsPage (cognitive 32): NetworkSettingsSection.NetworkSettingsPage has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 11, ternaries 6 (11 pts), if/else 7 (8 pts), error handling 2 (nesting depth added 6). Most of this is not in the body itself: 6 of the 32 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 110, 164, 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":"web/features/settings/sections/NetworkSettingsSection.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5922cf88ab76116853f19de7ef94ba5c27fcc12fd92f49fb8cfbaf288d191c"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepQuestionCapability.run (cognitive 31): DeepQuestionCapability.run has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 18, if/else 8 (10 pts), ternaries 3 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/capability.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"249a92b2364e434f5b2d05cd5c77c1eb74ec105e6e85be6a8effda26ed23007a"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchPipeline._render_section_evidence (cognitive 31): ResearchPipeline._render_section_evidence has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 6, 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":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":2008}}}],"partialFingerprints":{"codehealthFindingId/v1":"139fb3f4ba85723891402efe9c8230fc41f5e20acb771ef39d5505b41efa4a32"}},{"ruleId":"D2","level":"warning","message":{"text":"CitationManager._extract_web_citation (cognitive 31): CitationManager._extract_web_citation has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (8 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/research/utils/citation_manager.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a565de2cc025da6fe0861be53f25f4add7da2332d7bb42ec982070c23c2d071d"}},{"ruleId":"D2","level":"warning","message":{"text":"ProgressTracker.update (cognitive 31): ProgressTracker.update has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (20 pts), ternaries 4 (6 pts), error handling 2 (3 pts), boolean chains 2 (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":"deeptutor/knowledge/progress_tracker.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea8390a8a858b5c39bb1a31ec20c7620239a4b28ed7c9c4378dd15bf58d37e2"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningService._apply_grade (cognitive 31): LearningService._apply_grade has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 15, if/else 5 (10 pts), ternaries 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":"deeptutor/learning/service.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"076970e470e38fecd9bff8e2be9ec0e84d14e43ba3d005ec106a994cbb34b8ba"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatProvider._parse_chunks (cognitive 31): OpenAICompatProvider._parse_chunks has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 7, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d6e992cad5b7f8188712889a926bf6d6c6f26c91476e50c8c7a95b6b2f207b"}},{"ruleId":"D2","level":"warning","message":{"text":"office_preview._render_sync (cognitive 31): office_preview._render_sync has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 7 (12 pts), boolean chains 3 (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":"deeptutor/services/office_preview.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e505adbae20d9c6c53fa893a8458601ad246a6d4ec89a4149c0eed040e10d7a7"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerRunner._attachments_from_media (cognitive 31): PartnerRunner._attachments_from_media has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 9, error handling 2 (4 pts), loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/partners/runtime.py"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9064751e72caa5d12eb244609af8008a730ad7701f921ecd1df9f245c810986"}},{"ruleId":"D2","level":"warning","message":{"text":"PerplexityProvider.search (cognitive 31): PerplexityProvider.search has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 9, loops 3 (7 pts), ternaries 2 (4 pts), 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":"deeptutor/services/search/providers/perplexity.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f82a9dffa70cf64938cb21f94709d321d531bddf95379a7f96d6fb73ef4dc91"}},{"ruleId":"D2","level":"warning","message":{"text":"acp._handle_update (cognitive 31): acp._handle_update has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 9, ternaries 3 (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":"deeptutor/services/subagent/acp.py"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"b474369fc718707da2ca4e6d64dde5a407cf5530662b5a6e605eee119f779791"}},{"ruleId":"D2","level":"warning","message":{"text":"OpencodeFamilyBackend._handle_bus_event (cognitive 31): OpencodeFamilyBackend._handle_bus_event has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 8, ternaries 4 (7 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":"deeptutor/services/subagent/opencode_family.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b7f1aef770e2b36e69edb38cb4a914c242bc65e3fecbdb67b04b5184a90c5e"}},{"ruleId":"D2","level":"warning","message":{"text":"BookStructureEditor.BookStructureEditor (cognitive 31): BookStructureEditor.BookStructureEditor has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 18, if/else 6, ternaries 3 (5 pts), error handling 2 (nesting depth added 2). Most of this is not in the body itself: 15 of the 31 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 21, preview, apply). 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":"web/app/(workspace)/learning/books/components/BookStructureEditor.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3750f2f1d2aea0d8bfbaaf2549ee062467451c16bcde1af1a93cedfd39692b"}},{"ruleId":"D2","level":"warning","message":{"text":"BookSidebar.BookSidebar (cognitive 31): BookSidebar.BookSidebar has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 16, ternaries 7 (13 pts), if/else 2 (nesting depth added 6). Most of this is not in the body itself: 9 of the 31 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 241, 113, 84, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookSidebar.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75b7bb69c516cba66ae85fc316ae2b86a31209893c8ae38c476887d31b47b41"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposerTrayMenu.TrayMenu (cognitive 31): ComposerTrayMenu.TrayMenu has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 9 (15 pts), boolean chains 8, if/else 7 (8 pts) (nesting depth added 7). Most of this is not in the body itself: 13 of the 31 points are its own statements and the rest belongs to 4 function items inside it that branch (onKeyDown, a function literal at line 147, a function literal at line 143, \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":"web/components/chat/home/ComposerTrayMenu.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9428a61294381fd392a8d29d23210c8979b6b9697192eba854fa8a3d91c495fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelSelector.ModelSelector (cognitive 31): ModelSelector.ModelSelector has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 12 (18 pts), boolean chains 12, if/else 1 (nesting depth added 6). Of this number, 30 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":"web/components/chat/home/ModelSelector.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3355db4db29b883011f996eb50292b35899a093f85dd2dd8a3d7639454fa88"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerSeat.PartnerSeat (cognitive 31): PartnerSeat.PartnerSeat has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 14 (24 pts), boolean chains 6, error handling 1 (nesting depth added 10). Of this number, 30 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":"web/components/partners/group/PartnerSeat.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb50edb9961593555b887c7304313da86642ae4d96cc3d4338a77ac70986544"}},{"ruleId":"D2","level":"warning","message":{"text":"AddMaterialsDialog.AddMaterialsDialog::submit (cognitive 31): AddMaterialsDialog.AddMaterialsDialog::submit has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 3 (6 pts), boolean chains 5, ternaries 1 (2 pts), 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. This shape REPEATS in the file: one other method here (AddMaterialsDialog.AddMaterialsDialog) 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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d92af45c537f5cebc59c04a9a8884b3b3e42250360dc932e7df97bff548ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"turn-event.parseTurnEvent (cognitive 31): turn-event.parseTurnEvent has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 14 (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":"web/contracts/parse/turn-event.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5670af066911c3ddbecdda19ccddeda49a025c1a223f3ba2fa5fd7956929686"}},{"ruleId":"D2","level":"warning","message":{"text":"recurrence.parseRule (cognitive 31): recurrence.parseRule has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/model/recurrence.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03a99be12828fb49c637120fac94639209d3764c599bfda371d3ca9c44adbf2"}},{"ruleId":"D2","level":"warning","message":{"text":"TracePresentation.describeToolCall (cognitive 31): TracePresentation.describeToolCall has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 18, ternaries 5 (9 pts), if/else 2, error handling 1, match/switch 1 (nesting depth added 4). 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, 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"24070fe399950d81d71d240ad0efa0e51a42bc0371dd992c05857cf550a2570f"}},{"ruleId":"D2","level":"warning","message":{"text":"TracePresentation.TraceRowBody (cognitive 31): TracePresentation.TraceRowBody has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 16, ternaries 7 (13 pts), if/else 2 (nesting depth added 6). Of this number, 23 points are the body\u0027s own statements and 8 belong to 7 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"2604ef9c9e22a442fd37b786e3e17d058189b9f1f5cf462db5ac78e00bb46b4c"}},{"ruleId":"D2","level":"warning","message":{"text":"ask-user-state.pendingCards (cognitive 31): ask-user-state.pendingCards has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (20 pts), ternaries 2 (7 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":"web/lib/ask-user-state.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"644b392bcf2b93f177b8f6a30bfc1b98eb995a4373567c0c2b91c7fca3cc13d2"}},{"ruleId":"D2","level":"warning","message":{"text":"QuestionPipeline._collect_quiz_issues (cognitive 30): QuestionPipeline._collect_quiz_issues has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 9 (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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2469c03769c0f685b9fd8976cf3a1568de4d31262dedd5fa37e86679aa1a126"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge.reindex_knowledge_base (cognitive 30): knowledge.reindex_knowledge_base has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 6, ternaries 3 (4 pts), error handling 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":4168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3847ae5fba2c1629d8464ded3b01a664cbd6b59106ec34f28e08023d135590"}},{"ruleId":"D2","level":"warning","message":{"text":"BookEngine._worker_loop_active (cognitive 30): BookEngine._worker_loop_active has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 5 (11 pts), boolean chains 3, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/engine.py"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94dd49a2991eeaed7d11bbdfdd8f3c4fd9667984570eb7aec832e2e37a26c91"}},{"ruleId":"D2","level":"warning","message":{"text":"inputs._resolve_question_notebook (cognitive 30): inputs._resolve_question_notebook has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 3 (6 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/inputs.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbb32fd360198d28a21977ec1afc398e818a0c431191d8d66d8d86ba61bc5c0"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningService.replace_modules (cognitive 30): LearningService.replace_modules has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 9 (10 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":"deeptutor/learning/service.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efe1131ea69267f49a9be684cf2cc3e011dbe4a40ee48b14ad9bc9eaa6dd9b0"}},{"ruleId":"D2","level":"warning","message":{"text":"EmailChannel._fetch_messages (cognitive 30): EmailChannel._fetch_messages has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 6, 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":"deeptutor/partners/channels/email.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7579ddcd6a8621df975681633333f8a0536e38bc512a7a89d8ad5511f77f0137"}},{"ruleId":"D2","level":"warning","message":{"text":"extract.split_markdown_by_headings (cognitive 30): extract.split_markdown_by_headings has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 3 (4 pts), ternaries 2 (4 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":"deeptutor/reading/extract.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"171ee8163fe101a30a116222936f751dc2dba30418c90d0e4d539eb7a4cd66f9"}},{"ruleId":"D2","level":"warning","message":{"text":"tool_dispatch.execute_tool_call (cognitive 30): tool_dispatch.execute_tool_call has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 8 (19 pts), if/else 4 (6 pts), boolean chains 4, 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":"deeptutor/runtime/agentic/tool_dispatch.py"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed125b90770e7c1dfb815facda7dc996d592ada245eaccdb81297c099dc56138"}},{"ruleId":"D2","level":"warning","message":{"text":"launcher._resolve_port_conflicts (cognitive 30): launcher._resolve_port_conflicts has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 3 (6 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":"deeptutor/runtime/launcher.py"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fac429528cd2481e903e542ae1f480e5c5033382b5d844d2a1b7e7e4ec85c04"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_runtime._choose_resolved_provider (cognitive 30): provider_runtime._choose_resolved_provider has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 10, loops 2, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbba6472eeeac7b329d8d5ee3599ef1017c4996d28ddd49a151297981d29fa9"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicProvider.chat_stream (cognitive 30): AnthropicProvider.chat_stream has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 6, error handling 3 (5 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/anthropic_provider.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b1281675f5f06fd46b2cbbb863faec5d23ffc2dfdbe826629cf49b8431e620"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatProvider.chat (cognitive 30): OpenAICompatProvider.chat has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 4 (6 pts), boolean chains 4, 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":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d25ce8a0fe81050a30d8d3b3ab32ed3203e9bcd990694366cfdc4a9f0c7ea88"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionTitleService._maybe_generate_session_title (cognitive 30): SessionTitleService._maybe_generate_session_title has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 9, error handling 3, ternaries 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"deeptutor/services/session/turns/title_service.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac193c4b67a0e3b101b472e172afd3460341691126ef6e8bfb46ee6eaf09e46"}},{"ruleId":"D2","level":"warning","message":{"text":"usage_recovery.model_evidence (cognitive 30): usage_recovery.model_evidence has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 11, loops 2 (4 pts), ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/usage_recovery.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe71744ac56223a14cf47d3a6bc47d39ad2bfc08d7d7d79a987c9a4d5037199"}},{"ruleId":"D2","level":"warning","message":{"text":"acp._establish_session (cognitive 30): acp._establish_session has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 1, loops 1, ternaries 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":"deeptutor/services/subagent/acp.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63f45607972db2d80b53ed14324dc32fbf41bc6adfc45820d691b2d0fdcad74"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerBackend.consult (cognitive 30): PartnerBackend.consult has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (11 pts), error handling 3 (4 pts), loops 2, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/partner.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2650198a17ce39f2dc06e11232350f971c0bd79b121416b23d805eb70444162"}},{"ruleId":"D2","level":"warning","message":{"text":"VolcengineTTSAdapter.synthesize (cognitive 30): VolcengineTTSAdapter.synthesize has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 3, error handling 2, 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":"deeptutor/services/voice/adapters/volcengine.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d79c71c620762ddfbc40438bf1e4d3b1650c0ef8c598a969f214bebaaf6c1b1"}},{"ruleId":"D2","level":"warning","message":{"text":"crawler._fetch_page (cognitive 30): crawler._fetch_page has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 7, error handling 1 (2 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":"deeptutor/services/web_source/crawler.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b843c714d5b0d87ba77a6af86cee05ffd87e1e8a6b017407e36b347b5c8ec7"}},{"ruleId":"D2","level":"warning","message":{"text":"archive_extractor.safe_extract_zip (cognitive 30): archive_extractor.safe_extract_zip has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 3, error handling 1 (2 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":"deeptutor/utils/archive_extractor.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"67338a361c682080ceb3ebb7e9e20db91df49ee51997f6123730112bd3bbfab5"}},{"ruleId":"D2","level":"warning","message":{"text":"document_images._render_omml (cognitive 30): document_images._render_omml has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 6, ternaries 3 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/document_images.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f985b4e4aeb368b5e8a272b0ebddd1dc2d98145f8a03bf73cdd1d2e6b69000"}},{"ruleId":"D2","level":"warning","message":{"text":"Geogebra.Geogebra (cognitive 30): Geogebra.Geogebra has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 6 (10 pts), boolean chains 3, error handling 2 (3 pts), loops 1 (nesting depth added 7). Most of this is not in the body itself: 6 of the 30 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 157, 124, 204). 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":"web/components/Geogebra.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a6855426cf981ff90a2c7eab2907d45d492df71929392060f12cb653bec0a0"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentTabBody.SubagentTabBody (cognitive 30): SubagentTabBody.SubagentTabBody has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 6 (8 pts), boolean chains 6, loops 2, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 8 of the 30 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 81, 46, 148, \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":"web/components/chat/home/SubagentTabBody.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ff92b4cb490ffd56d0033bb4e14a0a253a041aa1d7f6f71ce1a7351505fd60"}},{"ruleId":"D2","level":"warning","message":{"text":"KbStatusBadge.KbStatusBadge (cognitive 30): KbStatusBadge.KbStatusBadge has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 11 (26 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":"web/components/knowledge/KbStatusBadge.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"340d93e164d421f89b1866097009c63da31cc0ab8373678bd0bb57c7e6b7d6f1"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingCompanion.ReadingCompanion (cognitive 30): ReadingCompanion.ReadingCompanion has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (15 pts), ternaries 5 (8 pts), boolean chains 7 (nesting depth added 4). Most of this is not in the body itself: 6 of the 30 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 303, 233, 412, \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":"web/components/reading/workspace/ReadingCompanion.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"25671b32a4bd7f47369c6c6e5d2207313e774b931ef719cf937bf8afee618aae"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatHistorySection.ChatHistorySection (cognitive 30): ChatHistorySection.ChatHistorySection has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13, ternaries 6 (9 pts), boolean chains 8 (nesting depth added 3). Most of this is not in the body itself: 10 of the 30 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 158, 137, 84, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/ChatHistorySection.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"438bdfb8eb61ccb775cbaa803c36fd763ffe65bc454baa8b0daa65a1dde3a4f1"}},{"ruleId":"D2","level":"warning","message":{"text":"LevelUpCelebration.LevelUpCelebration (cognitive 30): LevelUpCelebration.LevelUpCelebration has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 9, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 6). Most of this is not in the body itself: 3 of the 30 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 224, 154, 231). 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":"web/components/space/learning/LevelUpCelebration.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2169ba59a89be6d21982f465b4546e6eb063a4088dbeb67cfee768aba57d1652"}},{"ruleId":"D2","level":"warning","message":{"text":"main.lifespan (cognitive 29): main.lifespan has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (13 pts), error handling 12, boolean chains 4 (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":"deeptutor/api/main.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37d771f1f4d7d1072c25b849184ae8567a04775acd509f24d0d270e0370067e"}},{"ruleId":"D2","level":"warning","message":{"text":"multi_user._admin_catalog_summary (cognitive 29): multi_user._admin_catalog_summary has cognitive complexity 29 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 7, loops 3 (6 pts), error handling 1 (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":"deeptutor/api/routers/multi_user.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"31891c0f2aac289f6ec645c17375223cc8ea4ab73f8d4e2dc3fc070133d92841"}},{"ruleId":"D2","level":"warning","message":{"text":"semantic_assessment._support_contract (cognitive 29): semantic_assessment._support_contract has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 10, 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":"deeptutor/learning/semantic_assessment.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc87b360c1f95cb61a85f6b6e79078c82a0b67f3398f3610a63441d2872592c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelManager._dispatch_outbound (cognitive 29): ChannelManager._dispatch_outbound has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 4, error handling 2 (4 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":"deeptutor/partners/channels/manager.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"7045ac17424636d1dd373c6ec240ed8c2cb95da834aca9005c210642a59a479f"}},{"ruleId":"D2","level":"warning","message":{"text":"MSTeamsChannel._handle_activity (cognitive 29): MSTeamsChannel._handle_activity has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 20, if/else 8 (9 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":"deeptutor/partners/channels/msteams.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fc4886074b63f427dd2d2ec0c8078a6933e2d340d1fab3cbb08f133fc0bffd"}},{"ruleId":"D2","level":"warning","message":{"text":"manifest._extensions (cognitive 29): manifest._extensions has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 1, 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":"deeptutor/plugins/manifest.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6488941aaad7a4cea20662147a25d4e4e5d8b3c550a35e3b0b1583ee51a1952"}},{"ruleId":"D2","level":"warning","message":{"text":"references.normalize_reading_references (cognitive 29): references.normalize_reading_references has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/references.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7460c9819b5d999f039fe7f93df895796a11b86aa9c316380dc41fa4b3b788e9"}},{"ruleId":"D2","level":"warning","message":{"text":"mastery_hints._render (cognitive 29): mastery_hints._render has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (20 pts), ternaries 5 (9 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":"deeptutor/services/mastery_hints.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c7f7553122c8e9a720ef331d69b57d949bc826757c8d888c449cbf6c8fdaf9"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRagPipeline._add_documents_owned (cognitive 29): LightRagPipeline._add_documents_owned has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 7, error handling 3 (4 pts), ternaries 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":"deeptutor/services/rag/pipelines/lightrag/pipeline.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfaf4ed01467cb38542fefa3c9627fd1d2d5211f7ce9b010009c141ca5ff96c"}},{"ruleId":"D2","level":"warning","message":{"text":"reading_quiz_help.update_help (cognitive 29): reading_quiz_help.update_help has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 4, 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":"deeptutor/services/session/reading_quiz_help.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"99824e0fdffca230c4f11365217c452a550f32485ef7cea1d95ce82b6cfc4ec7"}},{"ruleId":"D2","level":"warning","message":{"text":"usage_recovery.recover_summary (cognitive 29): usage_recovery.recover_summary has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 3 (6 pts), boolean chains 3, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/usage_recovery.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6dff00cdb44c87fe9970ae76928c39c23730bde48fe266f6dbc3b510ac9139"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerGroupBackend.consult (cognitive 29): PartnerGroupBackend.consult has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 8, ternaries 4 (6 pts), loops 2 (3 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/partner_group.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"01449c829ccdbeb89bf7210cb6f25a018b5d1123a0b725d522986ef5b54c0a94"}},{"ruleId":"D2","level":"warning","message":{"text":"speech_text._drop_unknown_commands (cognitive 29): speech_text._drop_unknown_commands has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (26 pts), boolean chains 2, loops 1 (nesting depth added 18). 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":"deeptutor/services/voice/speech_text.py"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"517cbc6456df8746d523f54a97bff8468043ca8c8464afca8b47299fe7bbbe20"}},{"ruleId":"D2","level":"warning","message":{"text":"folders.browse_folders (cognitive 29): folders.browse_folders has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 4 (6 pts), boolean chains 5, ternaries 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":"deeptutor/services/workspace/folders.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6781723842c666d1087f25b63c9b800b3a33e17376254e7d7d392dd37d3589"}},{"ruleId":"D2","level":"warning","message":{"text":"TexChunker._split_by_paragraphs (cognitive 29): TexChunker._split_by_paragraphs has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/tex_chunker.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e49b8d41a03c41906657cbcbccc5094b9845a68a2978f9fa82d2a3d2ab401d"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateKbModal.LinkModeFields (cognitive 29): CreateKbModal.LinkModeFields has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 12 (22 pts), boolean chains 7 (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 10 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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a2d94c4a79388574be1cc2e43ac2e6b118b1fcb0f063d5849b05f078c36a2c"}},{"ruleId":"D2","level":"warning","message":{"text":"McpCatalogBrowser.EntryDetail (cognitive 29): McpCatalogBrowser.EntryDetail has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 22, ternaries 4 (5 pts), error handling 1, if/else 1 (nesting depth added 1). Of this number, 24 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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dece2f1833d09332ee5668f6f2682fe37bb4c5ecfd0d6bbed1e7188c0c4280f"}},{"ruleId":"D2","level":"warning","message":{"text":"McpServerForm.McpServerForm (cognitive 29): McpServerForm.McpServerForm has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 17, if/else 8, ternaries 3, error handling 1. Of this number, 16 points are the body\u0027s own statements and 13 belong to 5 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":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c00749242a730b20cf1df4fb6fcd8d119a59bd0879e0c58abbfd400a1355f2"}},{"ruleId":"D2","level":"warning","message":{"text":"WebFetchBackendCard.WebFetchBackendCard (cognitive 29): WebFetchBackendCard.WebFetchBackendCard has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 5 (10 pts), boolean chains 7, error handling 2 (nesting depth added 6). Most of this is not in the body itself: 6 of the 29 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 40, 87, 116, \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":"web/components/settings/WebFetchBackendCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f403d23bf7790c7e5dabf60723a6a90d35990f853609dfac08c89e471bd96fd8"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandPalette.CommandPalette (cognitive 29): CommandPalette.CommandPalette has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 13, ternaries 9 (10 pts), if/else 6 (nesting depth added 1). Most of this is not in the body itself: 4 of the 29 points are its own statements and the rest belongs to 16 function items inside it that branch (a function literal at line 215, a function literal at line 79, a function literal at line 134, \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":"web/components/sidebar/CommandPalette.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b34226d82385b83dcf0120cc384f35df85e47948f5f5e409ef8075c9a891ac"}},{"ruleId":"D2","level":"warning","message":{"text":"MyAgentsSection.MyAgentsSection (cognitive 29): MyAgentsSection.MyAgentsSection has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 11, if/else 8 (9 pts), ternaries 6 (7 pts), error handling 1, loops 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 29 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 122, 207, 124, \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":"web/components/space/MyAgentsSection.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2ec67f099e3877d134ffd8c250bdb9bfb2f2bcb428da70e9c7e492818f9eb1"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatSessionMenu.ChatSessionMenu (cognitive 29): ChatSessionMenu.ChatSessionMenu has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12, ternaries 9 (12 pts), boolean chains 5 (nesting depth added 3). Most of this is not in the body itself: 12 of the 29 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 88, a function literal at line 103, toggle, \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":"web/features/chat/components/ChatSessionMenu.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a02bc0d37594361f2c87a161eea98968c20b8fde023cfd85ad8f198d259eef9"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown.parseNoteMarkdown (cognitive 29): markdown.parseNoteMarkdown has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, loops 2 (4 pts), ternaries 1 (4 pts) (nesting depth added 12). Of this number, 23 points are the body\u0027s own statements and 6 belong to 4 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":"web/features/notes/model/markdown.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab127063dbc788c4bced227da1ebc4fd33aed6ba25a8eae2e5a971f6d2c6e6e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassicLearningDashboard.ClassicLearningDashboard (cognitive 29): ClassicLearningDashboard.ClassicLearningDashboard has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 16, ternaries 5 (9 pts), if/else 3, error handling 1 (nesting depth added 4). Most of this is not in the body itself: 12 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 66, 51, 142). 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":"web/features/ui-layout/classic/ClassicLearningDashboard.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3d0006ecfdda0eaa45660014a4db756962458b9cfce1a5e8254868e8b3804c"}},{"ruleId":"D2","level":"warning","message":{"text":"reading-references.normalizeReadingReferences (cognitive 29): reading-references.normalizeReadingReferences has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 4, loops 2 (3 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":"web/lib/reading-references.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"89459efc0d55787ed54e7adad88bedb5c4df3c210084bb296a81672459cb958d"}},{"ruleId":"D2","level":"warning","message":{"text":"native_tools.tool_runtime (cognitive 28): native_tools.tool_runtime has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 5 (11 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":"deeptutor/agents/loop/native_tools.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"40833ea5fc2f250eed6c86cf5bd42df681bb92b14fe93be633bee4ef618b91cb"}},{"ruleId":"D2","level":"warning","message":{"text":"QuestionPipeline._build_llm_tool_schemas (cognitive 28): QuestionPipeline._build_llm_tool_schemas has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 7, ternaries 2 (3 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1884e6c656d684d7c7b1e80bdd30b363ab5e9ee08e6afa1d3afe762326d011"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeGeneratorAgent.process (cognitive 28): CodeGeneratorAgent.process has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 9 (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":"deeptutor/agents/visualize/agents/code_generator_agent.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bb008970ce923daab30b5331f461d326599e70eccee8dd4ff95d26960610c4"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeBaseManager._auto_register_kb (cognitive 28): KnowledgeBaseManager._auto_register_kb has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab55627a0249ecb1a0bbde24125bdd4d22ac67652f47cb1dd120c5aa3ae457ec"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeBaseManager.update_folder_sync_state (cognitive 28): KnowledgeBaseManager.update_folder_sync_state has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (19 pts), error handling 2 (5 pts), loops 2 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a6ec19ceabd9fdcb9d0fd9d87a799c72e62403e5c6603334f4121d9ebee266"}},{"ruleId":"D2","level":"warning","message":{"text":"objective_relations.resolve_relation_refs (cognitive 28): objective_relations.resolve_relation_refs has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (19 pts), loops 4 (9 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":"deeptutor/learning/objective_relations.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0650b70925e3e5195c3569a7f0be15274d9b1dd89e3adbfb2031d065a385f9c"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningService.repair_question_semantic (cognitive 28): LearningService.repair_question_semantic has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 6, error handling 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, 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":"deeptutor/learning/service.py"},"region":{"startLine":3316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f425e8db376f9e27fc95ac5a013fa909751ec0c8b92faee5e1397c848ba9af81"}},{"ruleId":"D2","level":"warning","message":{"text":"FeishuChannel._on_card_action_sync (cognitive 28): FeishuChannel._on_card_action_sync has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 10, error handling 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"a511bf5ada34145a5a6f4a879f0009399a31e7c9be6f409f83b084bb37dc8b01"}},{"ruleId":"D2","level":"warning","message":{"text":"launcher._kill_port_listeners (cognitive 28): launcher._kill_port_listeners has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (11 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":"deeptutor/runtime/launcher.py"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b8d57860092f1036895780bac08b56e0c423f17dc836b9794b73c1f261bc7e"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_runtime._resolve_embedding_provider (cognitive 28): provider_runtime._resolve_embedding_provider has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, ternaries 2 (3 pts), error handling 1 (2 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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"787bcd4ae23bd82349be67268686c8f7270b2dde569fef37759ad52dac5aa94b"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_runtime.resolve_tts_runtime_config (cognitive 28): provider_runtime.resolve_tts_runtime_config has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 24, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"861e0991c64cf5af1fcc30aee38b223b73a7cc903ce0e97551a012235243a0a9"}},{"ruleId":"D2","level":"warning","message":{"text":"DashScopeImagegenAdapter._result_urls (cognitive 28): DashScopeImagegenAdapter._result_urls has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 4 (9 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/imagegen/adapters/dashscope.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"782e575616f804771816c0bb486889b64f5f6ee51991f53510cd14c611843364"}},{"ruleId":"D2","level":"warning","message":{"text":"usage_frame.usage_breakdown (cognitive 28): usage_frame.usage_breakdown has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/usage_frame.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f0c6761b6cd660cb84f202ebfc4d32aac3df353cce5f44da0400de240a74f7"}},{"ruleId":"D2","level":"warning","message":{"text":"adapters.read_book_entities (cognitive 28): adapters.read_book_entities has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, error handling 2 (5 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f9531aaa043040c9d952bccceaa5afd6cd02802adb57e414db96e6f03cde2c"}},{"ruleId":"D2","level":"warning","message":{"text":"_turn_runtime_shared._request_snapshot_metadata (cognitive 28): _turn_runtime_shared._request_snapshot_metadata has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 6, loops 3 (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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3864e8ddda514ac2525afcb8c04314e1f80178a398b1b712f2510f77072cb0"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLiteSessionStore._record_assessment_sync (cognitive 28): SQLiteSessionStore._record_assessment_sync has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 13, if/else 7 (9 pts), ternaries 3 (6 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":3637}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ad71824abab482573f5f8500645ba27289790b1d81e6615fdad4fb537b049e"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillService.list_skills (cognitive 28): SkillService.list_skills has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 4, 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":"deeptutor/services/skill/service.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f22ef32d0ceab3f4e835cef2bdbe058cbc0f5bd5edf724a70b38d91d1ba94f"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerSearchTool.execute (cognitive 28): PartnerSearchTool.execute has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 9, loops 2 (3 pts), error handling 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":"deeptutor/tools/partner_memory.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"33eea2c7fcbc340854606b676b389880c8c4a9dfb677f602ae0efe0bf551d452"}},{"ruleId":"D2","level":"warning","message":{"text":"KbIndexingRun.KbIndexingRun (cognitive 28): KbIndexingRun.KbIndexingRun has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 15, if/else 7 (8 pts), ternaries 3, error handling 2 (nesting depth added 1). Most of this is not in the body itself: 12 of the 28 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 39, a function literal at line 45, cancel, \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":"web/components/knowledge/KbIndexingRun.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9a26ab01454d1777660f949facd8f11b4df0e80a19f196cc43690742cc17a5"}},{"ruleId":"D2","level":"warning","message":{"text":"useNotebookLibrary.useNotebookLibrary (cognitive 28): useNotebookLibrary.useNotebookLibrary has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 10 (12 pts), if/else 10 (11 pts), boolean chains 3, error handling 2 (nesting depth added 3). None of this is in the body itself: all 28 points belong to 17 function literals inside it that branch (lines 82, 105, 153, \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":"web/components/notebook/useNotebookLibrary.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dd3f52ae0fcfcd49e568c792ad8ab3eb066f89e008ced67236d4e7e33e7280"}},{"ruleId":"D2","level":"warning","message":{"text":"SoulPicker.SoulPicker (cognitive 28): SoulPicker.SoulPicker has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 16, ternaries 4 (6 pts), if/else 4, error handling 2 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 10 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":"web/components/partners/SoulPicker.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50f80ab662178e0cf49a4a93513086342a144288e976035f82beedeac74ea89"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationPopover.AnnotationPopover (cognitive 28): AnnotationPopover.AnnotationPopover has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 10, if/else 9, ternaries 5 (8 pts), error handling 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 12 belong to 8 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/AnnotationPopover.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ffca1dbf3aeba7a94bbabdb474f344d24816d42b0909bd432af39194989e1d"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchOutlineEditor.ResearchOutlineEditor (cognitive 28): ResearchOutlineEditor.ResearchOutlineEditor has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 15, ternaries 8 (9 pts), if/else 4 (nesting depth added 1). Of this number, 20 points are the body\u0027s own statements and 8 belong to 6 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":"web/components/research/ResearchOutlineEditor.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a76dcf1d1e938a654cb9e0b3f08196bea62a985157cb9bb963cc552f1194704"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.admin_import_users (cognitive 27): auth.admin_import_users has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (8 pts), error handling 4 (7 pts), boolean chains 6, ternaries 2 (4 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f6390ec4a389793215aa5ece6faa0b27fc412652cd02d01f023eb7e93e0eff"}},{"ruleId":"D2","level":"warning","message":{"text":"co_writer._run_react_edit (cognitive 27): co_writer._run_react_edit has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 4 (9 pts), boolean chains 4, 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":"deeptutor/api/routers/co_writer.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e6430396b020c6ab230bee9ac33ba95b264e99417387d1cba138345f37a3b6"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryReviseTool.execute (cognitive 27): MasteryReviseTool.execute has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 6, error handling 4 (6 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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":3101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6381a8198c21d72cca6283bbb4a4053d6fffe9e3911d893ff22bca8ecc63cf84"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewFigureTool.execute (cognitive 27): ViewFigureTool.execute has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 14, if/else 10 (12 pts), error handling 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/reading/figure_view.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30ecc2f62c2bed34a5f4e3ab809327ccf12850a447a8b5de15df2adaea6a79a"}},{"ruleId":"D2","level":"warning","message":{"text":"TelegramChannel._on_message (cognitive 27): TelegramChannel._on_message has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/telegram.py"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac6728975d6e92a186c54b328b4fdb2932caae4af58989ea07f05b5d60a14ad"}},{"ruleId":"D2","level":"warning","message":{"text":"WeixinChannel._download_media_item (cognitive 27): WeixinChannel._download_media_item has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 11, error handling 2 (3 pts), 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":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"793943f119683bd6af4ffb18b19786e7352cc383778f2e5fc14eeba6701e1174"}},{"ruleId":"D2","level":"warning","message":{"text":"export._export_markdown (cognitive 27): export._export_markdown has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (6 pts), boolean chains 4 (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":"deeptutor/reading/export.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8d880e1fe292562eef0fac9587a2d44f5517fbc056e8b8f196e33ca0eee059"}},{"ruleId":"D2","level":"warning","message":{"text":"tool_dispatch.dispatch_tool_calls (cognitive 27): tool_dispatch.dispatch_tool_calls has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (19 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":"deeptutor/runtime/agentic/tool_dispatch.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"090f6b605a4ade9bb1e9b374d4a6c460519604ee1af1826f7c07ec3e7027d249"}},{"ruleId":"D2","level":"warning","message":{"text":"launcher._owned_orphan_started_at (cognitive 27): launcher._owned_orphan_started_at has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 7, loops 1 (2 pts), 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":"deeptutor/runtime/launcher.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5b4f23305024e07e93b54525e1d96b314b67fc024177b302aba77e57ff1c59"}},{"ruleId":"D2","level":"warning","message":{"text":"deferred_tools.render_deferred_tools_manifest (cognitive 27): deferred_tools.render_deferred_tools_manifest has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 5 (6 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/registry/deferred_tools.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb96f96c3abd8d08dfefa54175452d1423405bc0998f74cbad4981124eee60c"}},{"ruleId":"D2","level":"warning","message":{"text":"sdk_bridge._tool_result_errors (cognitive 27): sdk_bridge._tool_result_errors has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 3, loops 2, ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/sdk_bridge.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc59af956d3cda2977bd4f58159aab4c2ef4ef506d96a03df084e5f6d3dd52a0"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.list_assets (cognitive 27): workspace.list_assets has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (7 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/partners/workspace.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"346e62bb2455fe5b3c07c002a688b962dc8c982e85f7dc890d3afeb19454f68d"}},{"ruleId":"D2","level":"warning","message":{"text":"LlamaIndexPipeline.search (cognitive 27): LlamaIndexPipeline.search has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7, error handling 3 (5 pts), ternaries 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8212b9bfe638510a5c79a5d8eb066e33a87f91b660df3d9cc4fef975d6d30c8c"}},{"ruleId":"D2","level":"warning","message":{"text":"primitives.audit_checks (cognitive 27): primitives.audit_checks has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, error handling 1 (4 pts), ternaries 1 (4 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":"deeptutor/services/research/primitives.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"5903031f285a5a17e404e9be4d976e35428fe979ea07e1cbe058ec019c8db0ee"}},{"ruleId":"D2","level":"warning","message":{"text":"source_filter._web_risk_rejections (cognitive 27): source_filter._web_risk_rejections has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/source_filter.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f309149d36f6613633db3a49125b70d3dea1ff2557f3c169eefdee8dc1df72"}},{"ruleId":"D2","level":"warning","message":{"text":"thread_attribution.backfill_thread_sources (cognitive 27): thread_attribution.backfill_thread_sources has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 4, 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":"deeptutor/services/session/thread_attribution.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f9ca139417a2e50c5aa0801d21efe66c9ca28491f9fd0ef67e09acb3431e4a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex._render_item (cognitive 27): codex._render_item has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 9, ternaries 3 (7 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":"deeptutor/services/subagent/codex.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"196ad2b3fba790c87a11b544c59ce896103e0240f349b58b5389d183223f2a5f"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiTTSAdapter.synthesize (cognitive 27): GeminiTTSAdapter.synthesize has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 5, error handling 2, loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/adapters/gemini.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"34579af8310da022183ac8663ca695ab07cfdfc6669588d446ff5c71bbcc25f1"}},{"ruleId":"D2","level":"warning","message":{"text":"html_extractor.extract_page_language_and_alternates (cognitive 27): html_extractor.extract_page_language_and_alternates has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 6, loops 2 (3 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/web_source/html_extractor.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f3499508461a8a5f392ca8540ff2900b5d8e150cac89f0ff2c8dd384a82db5"}},{"ruleId":"D2","level":"warning","message":{"text":"robots.parse_robots_txt (cognitive 27): robots.parse_robots_txt has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (19 pts), error handling 1 (4 pts), boolean chains 3, 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":"deeptutor/services/web_source/robots.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7d92bc543bca9b2102295ee064d7c415b57aba4d010ceb55f8c6ec76ad155b"}},{"ruleId":"D2","level":"warning","message":{"text":"chapter_rebuild.rebuild_from_headers_level (cognitive 27): chapter_rebuild.rebuild_from_headers_level has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 4 (8 pts), 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":"deeptutor/textbook_struct/chapter_rebuild.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f56a097dc5fc96d172c5606fbbca2b8452553e452dbbac01f8779cecf95b5b2"}},{"ruleId":"D2","level":"warning","message":{"text":"init_cmd._search_step (cognitive 27): init_cmd._search_step has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 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":"deeptutor_cli/init_cmd.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb072c41a52f8ebee7c125fdde845aa9bb27f210e033d7d2a0fdf1d416b44b4"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-completions.request::ingest (cognitive 27): chat-completions.request::ingest has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 4, 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. This shape REPEATS in the file: one other method here (chat-completions.request) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/providers/chat-completions.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0c3202b8e77181bd1d85e090d60fef6957511f3b212aa36906a97bc1926537"}},{"ruleId":"D2","level":"warning","message":{"text":"model-round.modelRound (cognitive 27): model-round.modelRound has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 7, ternaries 4, loops 2, error handling 1 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/chat-engine/src/native/model-round.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f8d92f55fb276396582d2f03f486585bcf727688c97e37f22d625ee157f7eb"}},{"ruleId":"D2","level":"warning","message":{"text":"PageOutlineNav.PageOutlineNav (cognitive 27): PageOutlineNav.PageOutlineNav has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 17 (18 pts), if/else 5, boolean chains 4 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 13 belong to 4 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":"web/app/(workspace)/learning/books/components/PageOutlineNav.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d10efd3cbcb52f8a0b6534a5e8c4965b822990c866d04e1e5a39e76a9f29d3a"}},{"ruleId":"D2","level":"warning","message":{"text":"SpineEditor.SpineEditor (cognitive 27): SpineEditor.SpineEditor has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 11, if/else 10 (11 pts), ternaries 4, loops 1 (nesting depth added 1). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 213, a function literal at line 156, a function literal at line 237, \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":"web/app/(workspace)/learning/books/components/SpineEditor.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c6160fe6e4075545a0fb29ad39c7c227d83c40bb749957a9093a2120a59fa3"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineFileCard.makeFileLinkRemarkPlugin::visit (cognitive 27): InlineFileCard.makeFileLinkRemarkPlugin::visit has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 5, ternaries 1 (4 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (InlineFileCard.makeFileLinkRemarkPlugin, InlineFileCard.makeFileLinkRemarkPlugin::splitText) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"web/components/common/InlineFileCard.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"32309237c512db29e0ca25cf545b746bdd68b81bac2cf64785b9640c075a52e4"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexingModelSelector.IndexingModelSelector (cognitive 27): IndexingModelSelector.IndexingModelSelector has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 20, ternaries 3 (4 pts), if/else 3 (nesting depth added 1). Of this number, 25 points are the body\u0027s own statements and 2 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":"web/components/knowledge/IndexingModelSelector.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a28416a34867fd64929328e1e8606ebd52e5cbe769276647c8b00db0f9192a8"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryGraph.MemoryGraph (cognitive 27): MemoryGraph.MemoryGraph has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, loops 3 (6 pts) (nesting depth added 6). Most of this is not in the body itself: 5 of the 27 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 108, 165, 189, \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":"web/components/memory/MemoryGraph.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc82f4219eb1d95217d6a3e86f1b9b9727286d966920fde70c2b7dec344e4d33"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerArchives.conversationPreview (cognitive 27): PartnerArchives.conversationPreview has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 3 (5 pts), boolean chains 4, ternaries 2 (nesting depth added 6). Most of this is not in the body itself: 12 of the 27 points are its own statements and the rest belongs to 3 function items inside it that branch (tableCells, a function literal at line 84, a function literal at line 123). 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":"web/components/partners/PartnerArchives.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcd1c8e6ed0df6bcb4e0bc95497eadb8f0021de6818c83b66a19778663111d2"}},{"ruleId":"D2","level":"warning","message":{"text":"QuizConfigPanel.QuizConfigPanel (cognitive 27): QuizConfigPanel.QuizConfigPanel has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 5 (8 pts), boolean chains 6 (nesting depth added 8). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 124, 171, 196, \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":"web/components/quiz/QuizConfigPanel.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"105d0df018ed6507a000eea9fcebf884776718ca5fe52d9a0132de455d97ca82"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistryControls.ProbeForm (cognitive 27): RegistryControls.ProbeForm has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 11, ternaries 7 (10 pts), if/else 4 (5 pts), error handling 1 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 11 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":"web/components/settings/RegistryControls.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdb2f08473f9ca0d3c4913c66a56880bee61498508e668fea231bb96ec9bc9a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewTrail.ReviewTrail (cognitive 27): ReviewTrail.ReviewTrail has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 15, ternaries 8 (10 pts), if/else 2 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 9 belong to 4 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":"web/components/space/learning/ReviewTrail.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b96bec6316d3503c020364c0df66f7c76a7016e2c619ca05798c57d387f38c"}},{"ruleId":"D2","level":"warning","message":{"text":"GuardianRelationshipsEditor.GuardianRelationshipsEditor (cognitive 27): GuardianRelationshipsEditor.GuardianRelationshipsEditor has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 7, if/else 7, error handling 3 (nesting depth added 2). Most of this is not in the body itself: 13 of the 27 points are its own statements and the rest belongs to 9 function items inside it that branch (addRelationship, resetCredentials, a function literal at line 329, \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":"web/features/multi-user/components/GuardianRelationshipsEditor.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c048b7dec6ccb774f340d296a6b0192361b38203515cc10a183fb6aed9804f"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteInlineReviews.NoteInlineReviews (cognitive 27): NoteInlineReviews.NoteInlineReviews has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 10, ternaries 7 (10 pts), if/else 3 (5 pts), loops 2 (nesting depth added 5). Most of this is not in the body itself: 1 of the 27 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 112, 62, 53, \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":"web/features/notes/components/NoteInlineReviews.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"103ecf71257fd0776bd59eab8f92f6539696f18690bb84eee3e5816951da5e07"}},{"ruleId":"D2","level":"warning","message":{"text":"AttachmentsSettingsSection.AttachmentSettingsPage (cognitive 27): AttachmentsSettingsSection.AttachmentSettingsPage has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 7 (8 pts), boolean chains 7, error handling 2 (nesting depth added 6). Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 60, 112, 98, \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":"web/features/settings/sections/AttachmentsSettingsSection.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c8cf24f15939d5b1e9cc6ed2678bfacc68ab38a14a0668a3c90afb7b9ea1a9"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentParsingSettingsSection.DocumentParsingSettingsPage (cognitive 27): DocumentParsingSettingsSection.DocumentParsingSettingsPage has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 19, ternaries 2 (4 pts), if/else 2, error handling 1, loops 1 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"579b803dd247cb560984856374aa0dd72265078cb8d39cfb4308a4fb6612aebf"}},{"ruleId":"D2","level":"warning","message":{"text":"StartersSettingsSection.StarterSettingsPage (cognitive 27): StartersSettingsSection.StarterSettingsPage has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 9, ternaries 4 (9 pts), if/else 6 (7 pts), error handling 2 (nesting depth added 6). Most of this is not in the body itself: 5 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 38, 91, 78, \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":"web/features/settings/sections/StartersSettingsSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"75644b184fb7f1310ce74fbb5fe9ea6497de8bc5515a4eb926a8fe5fd42022a7"}},{"ruleId":"D2","level":"warning","message":{"text":"failed-submissions.pruneExpiredEntries (cognitive 27): failed-submissions.pruneExpiredEntries has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 3 (5 pts), error handling 1 (3 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":"web/lib/failed-submissions.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e95d6c4ba6d54697f3f103d57b0de7d44d934d2f4e0851a1bab49fc0682f3a"}},{"ruleId":"D2","level":"warning","message":{"text":"reading-citations.verifiedReadingLocators (cognitive 27): reading-citations.verifiedReadingLocators has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 3, loops 1 (nesting depth added 12). Of this number, 20 points are the body\u0027s own statements and 7 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":"web/lib/reading-citations.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c4d01f8a92a1a7c1b1b7e5b45dfc88b96d6a3eaacf57e7074ff60bd56feb1c"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchPipeline.__init__ (cognitive 26): ResearchPipeline.__init__ has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 12, if/else 3 (6 pts), ternaries 5, error handling 2 (3 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b5026bba31fd429ca8ae42228f82c71c1daf7aa4c18c5f2ec07d729154a6dd"}},{"ruleId":"D2","level":"warning","message":{"text":"auth._install_request_workspace (cognitive 26): auth._install_request_workspace has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 14, if/else 5 (6 pts), ternaries 5, error handling 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaed9639b77e15ea1725729f60581de2748ca6b568ee1d49b66a1659b79074df"}},{"ruleId":"D2","level":"warning","message":{"text":"models._validate_review_intervals (cognitive 26): models._validate_review_intervals has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/models.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"907d2abbdaaa34b6087a301279f9a387845227b32cc89a5083f753a49c6e8cf1"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningService.assess_qualitative_semantic (cognitive 26): LearningService.assess_qualitative_semantic has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 6, ternaries 1 (3 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/service.py"},"region":{"startLine":3067}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ee332a82d413dd595692e772dd7c86712f099dcdbb5c0fc5321f050072eb9e"}},{"ruleId":"D2","level":"warning","message":{"text":"EmailChannel._extract_text_body (cognitive 26): EmailChannel._extract_text_body has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, error handling 2 (4 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/email.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b9c51c84f50c6cc835d422621f11a5e292ff69015c0bb130e9a7b33dccbd54"}},{"ruleId":"D2","level":"warning","message":{"text":"feishu._extract_interactive_content (cognitive 26): feishu._extract_interactive_content has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 2, 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":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf47de064a3a72afa17c088b3c80d6ac1680225a08fa74c805094483a52bc7e9"}},{"ruleId":"D2","level":"warning","message":{"text":"ZulipChannel._run_listener (cognitive 26): ZulipChannel._run_listener has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (6 pts), error handling 2 (5 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":"deeptutor/partners/channels/zulip.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"80192fc5935860898d8afdddd9377ad20a2f651764317566d2d024123c3a2fa8"}},{"ruleId":"D2","level":"warning","message":{"text":"EngineClient.run_native (cognitive 26): EngineClient.run_native has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 2, loops 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/ts_engine/client.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"238ac1b8b0a4be51315e7f23c9b62891a00c8da4859215a92322159fe1209c2c"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelCatalogService._apply_connection (cognitive 26): ModelCatalogService._apply_connection has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, ternaries 3 (4 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17016dd12ca99046afea0010d34399b27e15cfbdd933ec9179f090cd9f10c54"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICodexProvider._call_codex (cognitive 26): OpenAICodexProvider._call_codex has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 5 (7 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":"deeptutor/services/llm/provider_core/openai_codex_provider.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60aa80ec6641fe95aef0c0034eb3d703aee44c4c1bb31aee99f7967b22dc724"}},{"ruleId":"D2","level":"warning","message":{"text":"cache_reuse.inherit_index_cache (cognitive 26): cache_reuse.inherit_index_cache has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, loops 3 (4 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/cache_reuse.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee7e7717e2c7afd93d8be3925157470c3ca6a1e2e1244955d90bde5a7f455ea"}},{"ruleId":"D2","level":"warning","message":{"text":"event_preview.compact_trace_preview (cognitive 26): event_preview.compact_trace_preview has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 7, loops 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/event_preview.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdea603307b3e4ded563ee502efba3552d7764b046a61b4e0cdc7decb3bccda"}},{"ruleId":"D2","level":"warning","message":{"text":"partner._to_subagent_events (cognitive 26): partner._to_subagent_events has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 3 (6 pts), boolean chains 5 (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":"deeptutor/services/subagent/partner.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc745e5878f6bcdf3986408cb0b90636765e278bc0a3644d6f9cf8abb75a6030"}},{"ruleId":"D2","level":"warning","message":{"text":"migration.migrate_locations (cognitive 26): migration.migrate_locations has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (2 pts), 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":"deeptutor/services/workspace/migration.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"878bcc23c752e72c3f748f0b019d09a45008e03e852ee26a8e658c0cfa8f2014"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentWorkspaceService.search_page (cognitive 26): ContentWorkspaceService.search_page has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (5 pts), loops 2 (4 pts), boolean chains 3, ternaries 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":"deeptutor/services/workspace/service.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4640c267c4693982361eefd498fe65539727deab57016ec7434b3d1adc73777"}},{"ruleId":"D2","level":"warning","message":{"text":"ThinkFilter.feed (cognitive 26): ThinkFilter.feed has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (13 pts), ternaries 3 (9 pts), loops 2 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/providers/think-filter.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d86bc1d4c0953675eac77b41350cc57e07710814fc169b3a016f2caf8ba36d0"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineFileCard.extractStreamedArtifacts (cognitive 26): InlineFileCard.extractStreamedArtifacts has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 4 (10 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/common/InlineFileCard.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"06670e34b536e46d80accb027afe2e53bacacdf52af0d07af3acfed4ce99cc0c"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineFileCard.makeFileLinkRemarkPlugin (cognitive 26): InlineFileCard.makeFileLinkRemarkPlugin has cognitive complexity 26 (threshold 15). Drivers by points: if/else 31 (55 pts), boolean chains 13, ternaries 6 (13 pts), loops 8 (10 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (InlineFileCard.makeFileLinkRemarkPlugin::splitText, InlineFileCard.makeFileLinkRemarkPlugin::visit) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"web/components/common/InlineFileCard.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41cea1bf1b945c1e4edbb5c3a9a34d568e4bf787cfffeaecb26920f868e1206"}},{"ruleId":"D2","level":"warning","message":{"text":"KbMarginNoteDevicesSection.KbMarginNoteDevicesSection (cognitive 26): KbMarginNoteDevicesSection.KbMarginNoteDevicesSection has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 7, error handling 4, if/else 3 (nesting depth added 4). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 5 function items inside it that branch (handlePair, handleRevoke, a function literal at line 222, \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":"web/components/knowledge/KbMarginNoteDevicesSection.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bad1e07726eb0e99de8393be6120edb0dd72f56038f8eb366400786b191e2ae"}},{"ruleId":"D2","level":"warning","message":{"text":"KbWebSourcesSection.WebSourceCard (cognitive 26): KbWebSourcesSection.WebSourceCard has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 15, ternaries 7 (11 pts) (nesting depth added 4). Of this number, 24 points are the body\u0027s own statements and 2 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":"web/components/knowledge/KbWebSourcesSection.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5539afac066c0fc0a2587781f7c9a9249f368a3e9549ba3cc65f853dd697ba"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelRuntimeStatus.ChannelRuntimeStatus (cognitive 26): ChannelRuntimeStatus.ChannelRuntimeStatus has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 7 (12 pts), if/else 6 (7 pts), boolean chains 5, error handling 1, match/switch 1 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 10 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":"web/components/partners/ChannelRuntimeStatus.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b861c9499b05c226a03586a4fbb99814012c1c8ac7d608f98ed999c8070953e5"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingExtensionBar.QuestionHelp (cognitive 26): ReadingExtensionBar.QuestionHelp has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 10, ternaries 6 (8 pts), if/else 6 (7 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 6 of the 26 points are its own statements and the rest belongs to 3 function items inside it that branch (requestHelp, a function literal at line 626, a function literal at line 671). 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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"70590231afd61aca93d1050d635cc008de0c9ffa313293804b764fd09c58c133"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderModelDiscovery.DiscoveryForm (cognitive 26): ProviderModelDiscovery.DiscoveryForm has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 13, ternaries 4 (7 pts), if/else 4 (5 pts), error handling 1 (nesting depth added 4). Of this number, 15 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":"web/components/settings/ProviderModelDiscovery.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91c8c0eca815c485a1aa756b0b10bf7e1d5dcad0f15497929615b92671fb7be"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteEditor.Handles (cognitive 26): NoteEditor.Handles has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 13, if/else 12, ternaries 1. Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 399, 426, 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":"web/features/notes/components/NoteEditor.tsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"54845aab6d50ff0c40b8c7e525dbaa2208b1ef8db557dffab0a1b62fd26f0c4c"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf-page-geometry.imageBoxesFromOperatorList (cognitive 26): pdf-page-geometry.imageBoxesFromOperatorList has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 1, loops 1 (nesting depth added 11). Of this number, 25 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":"web/lib/pdf-page-geometry.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9f4aea5181cf95cdbc73a9c253ec91e9342b919667055eb2756571465862df"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge.run_upload_processing_task (cognitive 25): knowledge.run_upload_processing_task has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 4 (9 pts), loops 2 (4 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca93d6e4311619427937d5a2365fa9d447262bb422a16649fba0498e1fb7fe0"}},{"ruleId":"D2","level":"warning","message":{"text":"partners._request_partner_control (cognitive 25): partners._request_partner_control has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 6, 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":"deeptutor/api/routers/partners.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"777a1cbfe2aed4cee57e5bde0cc7862e81004bf38e0ebbee71f8def4b2a153fc"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.fetch_models_from_provider (cognitive 25): settings.fetch_models_from_provider has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 10, ternaries 1 (3 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/settings.py"},"region":{"startLine":2113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7144174c373ab1fc0315593bc814ef8ae1355876db8670645587d6be76ac828f"}},{"ruleId":"D2","level":"warning","message":{"text":"SectionArchitect.plan_blocks_async (cognitive 25): SectionArchitect.plan_blocks_async has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4, error handling 2 (3 pts), loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/page_planner.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e7d6e3395fc7eddfb558d4d7da260615313d6be9701007cf8ddd5a694551f1"}},{"ruleId":"D2","level":"warning","message":{"text":"tools._parse_modules_with_refs (cognitive 25): tools._parse_modules_with_refs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 5, loops 2 (3 pts), ternaries 1 (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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":3829}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca5f5eed45e45bec27e65bf6a138993c2c4109e1743038066195d002ad255ee"}},{"ruleId":"D2","level":"warning","message":{"text":"binding._resolve (cognitive 25): binding._resolve has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 9, ternaries 2 (4 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/subagent/binding.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"90947984938b3ab2e42fda296c672d9bfbbd520c6872d94034b610c98e8e4b96"}},{"ruleId":"D2","level":"warning","message":{"text":"lesson_evidence.validate_evidence (cognitive 25): lesson_evidence.validate_evidence has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 6, loops 2 (3 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/lesson_evidence.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace3d454531f686def8aa4b6912f145fc8e486554700baae55e0564e662638d0"}},{"ruleId":"D2","level":"warning","message":{"text":"device_credentials._canonical_record (cognitive 25): device_credentials._canonical_record has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 15, if/else 6, ternaries 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/multi_user/device_credentials.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b37323953b1736cd5eab86f89abc80bfb081c3143ebee97e71fc618d046ba67"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordChannel._handle_message_create (cognitive 25): DiscordChannel._handle_message_create has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 10, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/discord.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"555fa46d625a009b297c47d0dba986189a5705c16a5d50d1b8dcd7c8ce8e70e3"}},{"ruleId":"D2","level":"warning","message":{"text":"NapcatChannel._parse_segments (cognitive 25): NapcatChannel._parse_segments has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/napcat.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8a234831e2176c66647c5b472ca2493bc491fabe5da1f529c3906e7948abc8"}},{"ruleId":"D2","level":"warning","message":{"text":"TelegramChannel.send (cognitive 25): TelegramChannel.send has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 2 (4 pts), boolean chains 3, error handling 2 (3 pts), 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":"deeptutor/partners/channels/telegram.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f09a2effeb253512922877c51e0568eb8af39bb46ff9221069ffef5ba3b83f0"}},{"ruleId":"D2","level":"warning","message":{"text":"service.parse_locators (cognitive 25): service.parse_locators has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (4 pts), error handling 1 (3 pts), ternaries 1 (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":"deeptutor/reading/service.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e11961170211bcf260ac7cc93454c9add89052f3f560757bd514b9ca3960f4"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.image_content_hashes (cognitive 25): messages.image_content_hashes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (12 pts), ternaries 2 (5 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/agentic/messages.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef354cc48bb3295e77a116f14de32c8395bd4cc43e61d1a5adb6ecc1aa111a61"}},{"ruleId":"D2","level":"warning","message":{"text":"launcher._port_listeners_windows (cognitive 25): launcher._port_listeners_windows has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 3 (6 pts), boolean chains 5, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/launcher.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dd6d267fe0d5e369df5ec36d794567e97418894023f26f22250547b947b727"}},{"ruleId":"D2","level":"warning","message":{"text":"recurrence.parse_rule (cognitive 25): recurrence.parse_rule has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 7, error handling 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/calendar/recurrence.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3111b47e6f05ba2d0c91f7493298e51191e275701d8e2fa5b0d1968be8a01340"}},{"ruleId":"D2","level":"warning","message":{"text":"CalendarStore.delete (cognitive 25): CalendarStore.delete has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 7, loops 2 (4 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/calendar/store.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d8565324507fd4126f35b64af81c57ab56ae49be33dbf199a3d21304202bba"}},{"ruleId":"D2","level":"warning","message":{"text":"launch_settings._normalize_language (cognitive 25): launch_settings._normalize_language has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, boolean chains 12. 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":"deeptutor/services/config/launch_settings.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a89baf71a05f7f7d9f1f8b979706ae74b8cd83b8ed0a58560434a80a1cfa6d"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMProvider._sanitize_empty_content (cognitive 25): LLMProvider._sanitize_empty_content has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 4, 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":"deeptutor/services/llm/provider_core/base.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e1d5f4e9064cddbcbc04dbc2aef6a07a1eaa5eb31b3453ecc45cd8a1f510ce"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatProvider._parse (cognitive 25): OpenAICompatProvider._parse has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 8, loops 2, ternaries 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":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e3689317bbbd1113ee26b8432ad26794602ebe325699bc27f9292f286fffaa"}},{"ruleId":"D2","level":"warning","message":{"text":"merge._migrate_l3_legacy_refs (cognitive 25): merge._migrate_l3_legacy_refs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (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":"deeptutor/services/memory/consolidator/modes/merge.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f6e1aa09e2eef4b4cff40b7dfc1e239fa650e94d230b596fa325eb2623c7ce"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerRunner.process_message (cognitive 25): PartnerRunner.process_message has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 11, if/else 5 (9 pts), ternaries 2 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/partners/runtime.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f71e939d667dc27a362668237fff07a3e63f3e7a8581a0a9801ab43e8b7315"}},{"ruleId":"D2","level":"warning","message":{"text":"embedding_binding.migrate_binding (cognitive 25): embedding_binding.migrate_binding has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, error handling 1 (3 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/embedding_binding.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0885a5b1ba45efd6bc67046967bbe07ee2ad0521ebc945e589930c9c526089c"}},{"ruleId":"D2","level":"warning","message":{"text":"exercise_lookup.requested_exercises (cognitive 25): exercise_lookup.requested_exercises has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6, loops 3 (4 pts), 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":"deeptutor/services/rag/pipelines/llamaindex/exercise_lookup.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e56e88093ba2f0625c8ca36858e4aa12837330dddacc7b0ffc765b3d197a18"}},{"ruleId":"D2","level":"warning","message":{"text":"source_pages.legacy_page_index (cognitive 25): source_pages.legacy_page_index has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 5 (8 pts), boolean chains 3, error handling 2, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/source_pages.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"c293a7d796ca4cdeb4c6022ca6fa47e26a371c65c189ead6c76f6b86f7deb432"}},{"ruleId":"D2","level":"warning","message":{"text":"searchapi._parse_row (cognitive 25): searchapi._parse_row has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, if/else 7 (12 pts) (nesting depth added 5). 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":"deeptutor/services/search/providers/searchapi.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30c18fa18128eb3eab128e0a7eadd41c5bce4d77293cb0a7dea70e49f02d501"}},{"ruleId":"D2","level":"warning","message":{"text":"source_inventory._add_fresh (cognitive 25): source_inventory._add_fresh has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 10, loops 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":"deeptutor/services/session/source_inventory.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faa34802460bea7815147fb69066ed2c4c00cb4cbf8e54e802375bdef992eeb"}},{"ruleId":"D2","level":"warning","message":{"text":"usage_statistics.summaries_from_events (cognitive 25): usage_statistics.summaries_from_events has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 12). 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":"deeptutor/services/session/usage_statistics.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6750ce40d5696364dbeb7a2ad219d3798b4350fd32bba22b55c162293a85617"}},{"ruleId":"D2","level":"warning","message":{"text":"acp._await_initialize (cognitive 25): acp._await_initialize has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 2 (6 pts), boolean chains 1, 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":"deeptutor/services/subagent/acp.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"df24dcc783ff9b7534c5e13982aafd747e43fbfa93f09021e8f5acb836ba938a"}},{"ruleId":"D2","level":"warning","message":{"text":"OpencodeFamilyBackend._handle_part (cognitive 25): OpencodeFamilyBackend._handle_part has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 5 (8 pts), boolean chains 7 (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":"deeptutor/services/subagent/opencode_family.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c98a7f56794c911b74e70201fdc6590be1d5e5ad11e21e75836a94afc5d7f3"}},{"ruleId":"D2","level":"warning","message":{"text":"dependencies.dependency_closure (cognitive 25): dependencies.dependency_closure has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (5 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":"deeptutor/services/workspace/dependencies.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fe402054352c6654e83037df5d4b52547ae3ca64fc1da971ab3b65706fdfeb"}},{"ruleId":"D2","level":"warning","message":{"text":"error_utils.format_exception_message (cognitive 25): error_utils.format_exception_message has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (22 pts), error handling 1 (2 pts), boolean chains 1 (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":"deeptutor/utils/error_utils.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2efe58b3781b2d2b1f124806ec1e13102c8ca9a2c2a148c5763a552dd450dd0"}},{"ruleId":"D2","level":"warning","message":{"text":"init_cmd._embedding_step (cognitive 25): init_cmd._embedding_step has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 10, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor_cli/init_cmd.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"92914930e10c86c3cccaf15ce80d9e2d86fbb50ba7646567cd3e27021395568f"}},{"ruleId":"D2","level":"warning","message":{"text":"KbGitHubSourcesSection.KbGitHubSourcesSection (cognitive 25): KbGitHubSourcesSection.KbGitHubSourcesSection has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 7 (11 pts), boolean chains 7, error handling 4, if/else 3 (nesting depth added 4). Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 4 function items inside it that branch (handleAdd, handleSync, a function literal at line 38, \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":"web/components/knowledge/KbGitHubSourcesSection.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"525fa9fe4ca045e70afb117847c8c915d37d2e82f588949a3fc39c95bc6405a2"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerModelSelect.PartnerModelSelect (cognitive 25): PartnerModelSelect.PartnerModelSelect has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 11, ternaries 8 (10 pts), if/else 4 (nesting depth added 2). Of this number, 22 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerModelSelect.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5b812d9b6c892f4eab6cd33cb3e644a8c053ec1983a6b331d6eb304da69837"}},{"ruleId":"D2","level":"warning","message":{"text":"QuizConfigPanel.TypeMultiSelect (cognitive 25): QuizConfigPanel.TypeMultiSelect has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 7 (9 pts), boolean chains 3 (nesting depth added 3). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 403, toggle, a function literal at line 452, \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":"web/components/quiz/QuizConfigPanel.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"016b8e6267798f172292ec075bdc841343d509e370f535f929afdf67b1662c3c"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingExtensionBar.ExtensionResult (cognitive 25): ReadingExtensionBar.ExtensionResult has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 16, boolean chains 7, if/else 1 (2 pts) (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33ee11e67e0be92ae4966d04240fef37cb63857cead32bdb85e4184542d6165"}},{"ruleId":"D2","level":"warning","message":{"text":"ServicePreviewPanel.Preview (cognitive 25): ServicePreviewPanel.Preview has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (37 pts), boolean chains 25, ternaries 9 (18 pts), loops 2 (3 pts), error handling 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ServicePreviewPanel.Preview::run) 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":"web/components/settings/ServicePreviewPanel.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4845622048f7458e3ecf1f9dc1422b4da0a2a497d50bad1ab79deaf3481c443"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsWorkspace.ModelParameters (cognitive 25): ModelsWorkspace.ModelParameters has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 5 (15 pts), boolean chains 10 (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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d4848ae35b2db6dfe7fde94a62f5e8421ca7de077337fe888ba40907565b66"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsReadinessPanel.SettingsReadinessPanel (cognitive 25): SettingsReadinessPanel.SettingsReadinessPanel has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 8, if/else 3 (5 pts), loops 2, error handling 1 (nesting depth added 5). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 167, 186, 140, \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":"web/components/settings/SettingsReadinessPanel.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"79912fb1018134d4fd2e3f77deedb7cd5c09010d81b334b9f3211adf462b48ee"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsTourOverlay.SettingsTourOverlay (cognitive 25): SettingsTourOverlay.SettingsTourOverlay has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 4, ternaries 4 (nesting depth added 2). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 112, 70, 65, \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":"web/components/settings/SettingsTourOverlay.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"586e4efd6f14d2046e8660adc8fff775e0d4a9e6efe3e233c3abc201f336cb44"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportWizard.ImportWizard (cognitive 25): ImportWizard.ImportWizard has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (6 pts), ternaries 4 (6 pts), error handling 4 (nesting depth added 3). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 93, 160, 114, \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":"web/components/space/ImportWizard.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef8315c539c659230437279217e0c2f39d591663ed6da6076c06006996c7d0c"}},{"ruleId":"D2","level":"warning","message":{"text":"MonthView.MonthWeek (cognitive 25): MonthView.MonthWeek has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, if/else 7 (8 pts), ternaries 4, loops 1 (nesting depth added 1). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 338, 318, 398, \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":"web/features/calendar/components/MonthView.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a917b5c16fad90f61d6cfff71b5afc770225db35e089bf1751e93c1c0d247850"}},{"ruleId":"D2","level":"warning","message":{"text":"languages.normalizeLanguage (cognitive 25): languages.normalizeLanguage has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, boolean chains 12. 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":"web/i18n/languages.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29e6e8e4f1c9c906c9f5d3fe2c774e53d4afe2eb6afc43d9eddf34d1c873326"}},{"ruleId":"D2","level":"warning","message":{"text":"start (cognitive 25): start has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, ternaries 3, error handling 2, loops 2, other 2 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 9 belong to 4 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":"apps/desktop/src/runtime.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1761fe21853927ab85436071d5bf5744fb4c2dbc7e11e1fe87439ddd7a2a251"}},{"ruleId":"D2","level":"warning","message":{"text":"AgenticLoopPipeline._build_llm_tool_schemas (cognitive 24): AgenticLoopPipeline._build_llm_tool_schemas has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 3, ternaries 1 (2 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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc4be4e1757ef1fc57de765e805831444816302b6c10aed83ddaa93d808ae20"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchPipeline._stream_report_step (cognitive 24): ResearchPipeline._stream_report_step has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 3 (9 pts), boolean chains 3, error handling 1 (2 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":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fea19120c0c7837189981f182f8a8d5fb0b6229ac18059d939a0436cd8a4aee"}},{"ruleId":"D2","level":"warning","message":{"text":"_BlockLoopHost._summarise_and_record (cognitive 24): _BlockLoopHost._summarise_and_record has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, ternaries 1 (3 pts), error handling 1 (2 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":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":2829}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb1230182aa06984cf9cf3882ed50204018dfd1b2d6a15d539d33ebc3102dd8"}},{"ruleId":"D2","level":"warning","message":{"text":"auth._create_admin_user (cognitive 24): auth._create_admin_user has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 2 (5 pts), ternaries 4, boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"467fd90dfe4fa6587ec0a21b3ae48a530a82e19325be0d47ad379726406f9b94"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryRepairQuestionTool.execute (cognitive 24): MasteryRepairQuestionTool.execute has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (11 pts), boolean chains 8, if/else 4, error handling 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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":2307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18c8be672a0617f8ff6249c3117d492043be7f5597f5f92ee4f501b8d98de9a"}},{"ruleId":"D2","level":"warning","message":{"text":"jobs.run_job (cognitive 24): jobs.run_job has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 8, loops 2 (3 pts), ternaries 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":"deeptutor/capabilities/setup/jobs.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdda841c1467a56f0103f04763ecdd4cb1039875c221020f8d1c8a36696a024"}},{"ruleId":"D2","level":"warning","message":{"text":"lesson_evidence._selection_excerpt (cognitive 24): lesson_evidence._selection_excerpt has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 3 (4 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/lesson_evidence.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"656f78d62ba55baecee8020b2650c13566cf2d17ab7b4bd877b28ba3c92c1a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"migration._prepare_mastery_v2_root (cognitive 24): migration._prepare_mastery_v2_root has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11, boolean chains 5, ternaries 3 (5 pts), loops 2 (3 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/migration.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e156ecb14a36149f95a05bd934a8af642c30744561afe6630c28c66ccc98460b"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordChannel.send_delta (cognitive 24): DiscordChannel.send_delta has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 9, loops 2 (4 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":"deeptutor/partners/channels/discord.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcad12768f6907ff64ff3b6f89ad51c54780525d2747518b5d7ad848edfa1d5"}},{"ruleId":"D2","level":"warning","message":{"text":"feishu._extract_post_content (cognitive 24): feishu._extract_post_content has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 7, 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":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c228a2d6871268a842d8dc58f98ebc897eeb61b87073d96d6126147a93ece424"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackChannel._on_socket_request (cognitive 24): SlackChannel._on_socket_request has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, if/else 10, error handling 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":"deeptutor/partners/channels/slack.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5bb27992524ce4d2dac4dc02e86b75af467c7016e22a45ce45398365851402"}},{"ruleId":"D2","level":"warning","message":{"text":"ZulipChannel._extract_upload_links (cognitive 24): ZulipChannel._extract_upload_links has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 pts), ternaries 1 (4 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":"deeptutor/partners/channels/zulip.py"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce144fc480531053422a4418b3be4affab6ded64f2012288a28bb6ca8cae88d"}},{"ruleId":"D2","level":"warning","message":{"text":"loader._coerce_manifest (cognitive 24): loader._coerce_manifest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (23 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":"deeptutor/plugins/loader.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d35729c5957a63c78903e1097949f4e5d376f96b938a1c7c3a236fc4aadc06d"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginRegistry._managed_records (cognitive 24): PluginRegistry._managed_records has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 6, ternaries 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/plugins/registry.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e7364ead3725f66ae879ed93ea6b2659da353c59df1c9af382d26a1fe48166"}},{"ruleId":"D2","level":"warning","message":{"text":"registry._validate_state (cognitive 24): registry._validate_state has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 6, 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":"deeptutor/plugins/registry.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d53c40a79ca7782e4c2c3d3dfd771de97a1b2d40ccd86f139b6eb6972e6da8"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingExtensionResult.validate_payload (cognitive 24): ReadingExtensionResult.validate_payload has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/extensions.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1584e81084d104d7480c306245c9c9cf20ca5b78caed7da6fdaf34c6be6281a"}},{"ruleId":"D2","level":"warning","message":{"text":"tool_arg_guard.required_args (cognitive 24): tool_arg_guard.required_args has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 4 (9 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/agentic/tool_arg_guard.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbca4322b32056ff62ac5102aa458d459f525c3f1c13053cbca9eebb66e3f13"}},{"ruleId":"D2","level":"warning","message":{"text":"view._build (cognitive 24): view._build has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, ternaries 3 (5 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/providers/view.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65c3b9f2cf807d6b40c568bf63dade5a0513ba6cdc79a683d93057c8402c415"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeSettingsService._apply_system_process_overrides (cognitive 24): RuntimeSettingsService._apply_system_process_overrides has cognitive complexity 24 (threshold 15). Drivers by points: if/else 20 (21 pts), boolean chains 2, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/runtime_settings.py"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ce1d126baba27681dd9fc36edfdb7e572eb239517080f1473ecabe5d50ddc2"}},{"ruleId":"D2","level":"warning","message":{"text":"validation.validate_embedding_batch (cognitive 24): validation.validate_embedding_batch has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, 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":"deeptutor/services/embedding/validation.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3658036d3863a0d6b12935552100f859a8d9c9f26e8872e2d2287dfca281f1b"}},{"ruleId":"D2","level":"warning","message":{"text":"github_copilot_auth.login_github_copilot (cognitive 24): github_copilot_auth.login_github_copilot has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 9, 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":"deeptutor/services/github_copilot_auth.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"915e5012c7faefb96e66ee24fe0fddfc53941b731f9576d9211d3003d5816226"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicProvider._convert_messages (cognitive 24): AnthropicProvider._convert_messages has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/anthropic_provider.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4428813da0b2af9abd15e574f264338b84189d41021eb6117e5fba4a41e93e7"}},{"ruleId":"D2","level":"warning","message":{"text":"sdk_bridge._assistant_tool_calls (cognitive 24): sdk_bridge._assistant_tool_calls has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 9, ternaries 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/sdk_bridge.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64f534b663f41293056d6ca6e47719917d7c26fddb488c6ed673056870417fb"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelOnboardingManager.apply (cognitive 24): ChannelOnboardingManager.apply has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, error handling 3 (4 pts), ternaries 4 (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":"deeptutor/services/partners/channel_onboarding.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee3c351b08faa1ac315dabbb0d8a7c03c8410baba631e0dbb7313b45d2b5c94"}},{"ruleId":"D2","level":"warning","message":{"text":"PathService.resolve_public_output_path (cognitive 24): PathService.resolve_public_output_path has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14, boolean chains 9, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/path_service.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc5311b62185c59b3acbbbafc3d038839eeaec3d974692e3c5287ac29ec4df3"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleBrowserScraperProvider.search (cognitive 24): GoogleBrowserScraperProvider.search has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 7, ternaries 1 (2 pts), error handling 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/providers/google_browser_scraper.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e41efa71024c59ba309d0cb9c3c71bf63231d05e4eec90f77bdadc0e1c228e"}},{"ruleId":"D2","level":"warning","message":{"text":"JinaProvider.search (cognitive 24): JinaProvider.search has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (20 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/providers/jina.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f290952f99df382abdc949b3bda9f6cf715d1f15b72372495332be26eca547"}},{"ruleId":"D2","level":"warning","message":{"text":"serply._parse_row (cognitive 24): serply._parse_row has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (10 pts), ternaries 1 (2 pts) (nesting depth added 5). 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":"deeptutor/services/search/providers/serply.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3f70472891e3d088ca444b4843f4d43b11aa62b3a4f28e6387b5dac7b51d19"}},{"ruleId":"D2","level":"warning","message":{"text":"source_inventory.collect_prior_image_attachments (cognitive 24): source_inventory.collect_prior_image_attachments has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/source_inventory.py"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89fa73870723eaa9b7ee62c08e782ded10d1883eef18793f4a7886710ccf28a"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLiteSessionStore._begin_turn_sync (cognitive 24): SQLiteSessionStore._begin_turn_sync has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 7, 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31fc0eaeeaf3d65f3477c4b397a2eedd8316622517c4b1f140c641a27c634a9"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_edit.merge_provider_edit (cognitive 24): provider_edit.merge_provider_edit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (20 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":"deeptutor/services/settings/provider_edit.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c436d6289130c533cc10c51f93da3c63c12c92f55f5bf988c00e2e816b615893"}},{"ruleId":"D2","level":"warning","message":{"text":"hub.preflight_skill_dir (cognitive 24): hub.preflight_skill_dir has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/skill/hub.py"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea50efd68c346e85badb5f95016a6d284b1f674c830d48db3d3e42e20b1303c"}},{"ruleId":"D2","level":"warning","message":{"text":"acp._run_turn (cognitive 24): acp._run_turn has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/acp.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"335988e33681876f4e8ce6c70d2e5e9c10c9e6ccfc46cd9b9a43ab550ec94c34"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityBackend.consult (cognitive 24): AntigravityBackend.consult has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 3, 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":"deeptutor/services/subagent/antigravity.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd541a6a365f1c886bc80f31a215bd78f96a6922ed46f16c0c740d3a662f91e"}},{"ruleId":"D2","level":"warning","message":{"text":"KimiBackend.consult (cognitive 24): KimiBackend.consult has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 1 (4 pts), boolean chains 3, error handling 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":"deeptutor/services/subagent/kimi.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"74299e568234be5bb61b187fa040ef0f517840de7538d925eabc5f82d0086aec"}},{"ruleId":"D2","level":"warning","message":{"text":"suggestions._render_l3 (cognitive 24): suggestions._render_l3 has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (6 pts), error handling 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":"deeptutor/services/suggestions.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c8cac44e095a1cdd739c2f850a0f31ebf574a82aafcf36cd2af7bc1df35b61"}},{"ruleId":"D2","level":"warning","message":{"text":"dashscope._tts_input (cognitive 24): dashscope._tts_input has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (20 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":"deeptutor/services/voice/adapters/dashscope.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"49434898fdb9cfab71df1cd079f294e179018e3f9799d2926a49c3a88ad67752"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniMaxTTSAdapter.synthesize (cognitive 24): MiniMaxTTSAdapter.synthesize has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 7, error handling 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/adapters/minimax.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40a4807eee63fa52fc01ea45d59f61ca151a72eeb670e5be1b2d9e6df113fae"}},{"ruleId":"D2","level":"warning","message":{"text":"session_move.migrate_legacy_bindings (cognitive 24): session_move.migrate_legacy_bindings has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (10 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":"deeptutor/services/workspace/session_move.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9faca83b6c790864a92e2d86a93e2d8a3bc96d11494430fba4f32fe25d209ad"}},{"ruleId":"D2","level":"warning","message":{"text":"cron_tool.run_cron_action (cognitive 24): cron_tool.run_cron_action has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, error handling 1 (2 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":"deeptutor/tools/cron_tool.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53117149cb684e759f4b0f3793e16dcad7bda4393e1887f282e92278bc0bccd"}},{"ruleId":"D2","level":"warning","message":{"text":"list_notebook._render_records (cognitive 24): list_notebook._render_records has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 10, error handling 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/list_notebook.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f364d19d9649e44cf877e71ccbb8113e032fd2e5c8c5c7e7b62fb9812ff49aa"}},{"ruleId":"D2","level":"warning","message":{"text":"bibtex_converter._scan_entry (cognitive 24): bibtex_converter._scan_entry has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 8, ternaries 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":"deeptutor/utils/bibtex_converter.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cfd4c0418a72869616b8f69e448dc1773a26ff6951901fb78a1ce4b9bf6c91"}},{"ruleId":"D2","level":"warning","message":{"text":"types.validateNativeInput (cognitive 24): types.validateNativeInput has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, loops 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":"packages/chat-engine/src/native/types.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d09366b41bbea82be14d195ba13b460be4b5587630c31d12bbbcbdac232a32"}},{"ruleId":"D2","level":"warning","message":{"text":"Conversation.project (cognitive 24): Conversation.project has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 5 (7 pts), boolean chains 5 (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/context/conversation.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5db7f788d19009e106fc90e8b8ee56dfe14f0da6209248a88d0c0ecce526640"}},{"ruleId":"D2","level":"warning","message":{"text":"ask-user.askPayload.questions (cognitive 24): ask-user.askPayload.questions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 7, ternaries 2 (3 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/tools/ask-user.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c84e550ddf07f26dbcce0c7ac8695346ad94c9ef53549997997a036338cf2eb"}},{"ruleId":"D2","level":"warning","message":{"text":"stdio.execute (cognitive 24): stdio.execute has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (16 pts), boolean chains 4, if/else 2 (3 pts), error handling 1 (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":"packages/chat-engine/src/transport/stdio.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f028300cfd777b9a86293963189666d7867b9d54f2c82e3c53e00d3192ba7a"}},{"ruleId":"D2","level":"warning","message":{"text":"Modal.Modal (cognitive 24): Modal.Modal has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13, boolean chains 9, ternaries 2. Most of this is not in the body itself: 7 of the 24 points are its own statements and the rest belongs to 6 function items inside it that branch (handleKeyDown, a function literal at line 84, handleBackdropMouseDown, \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":"web/components/common/Modal.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"843b436387a552875fc59b3b3a8efdf8dbc271cde2208d58f9e577042214bd2c"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRagRoleModelsEditor.LightRagRoleModelsEditor (cognitive 24): LightRagRoleModelsEditor.LightRagRoleModelsEditor has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 21, ternaries 1 (2 pts), if/else 1 (nesting depth added 1). Of this number, 20 points are the body\u0027s own statements and 4 belong to 6 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":"web/components/knowledge/LightRagRoleModelsEditor.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f17b4d427a1b952db0467632b502ac0e08c1a92951b02d9aede298f62ed5136"}},{"ruleId":"D2","level":"warning","message":{"text":"WeixinQrLogin.WeixinQrLogin (cognitive 24): WeixinQrLogin.WeixinQrLogin has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 8, ternaries 4 (7 pts), if/else 5 (6 pts), error handling 2, match/switch 1 (nesting depth added 4). Most of this is not in the body itself: 7 of the 24 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 66, a function literal at line 48, a function literal at line 63, \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":"web/components/partners/WeixinQrLogin.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3c1cb95151f9030c26ea57f43a12cb20e802ea62711917b8eb1019b042c9c5"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialLibrary.MaterialRow (cognitive 24): MaterialLibrary.MaterialRow has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, ternaries 8 (10 pts), if/else 2 (nesting depth added 2). 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, 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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbb41319ead375b530cac87b93cfd1bc52efda1027c2b3bae7efcd91a0f33ac"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspacePill.WorkspacePill (cognitive 24): WorkspacePill.WorkspacePill has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, ternaries 7 (10 pts), if/else 4 (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/workspaces/WorkspacePill.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f040252120c2e07ace95faf94a15020db5e96c63dcafa4e4436b95e501c28cf"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnRuntimeClient.handleMessage (cognitive 24): TurnRuntimeClient.handleMessage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/transport/TurnRuntimeClient.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6360302726973a1f374e93984118f853e510afd0e97a4f9e07f7e5778fb5cd"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentParsingSettingsSection.DoclingPanel (cognitive 24): DocumentParsingSettingsSection.DoclingPanel has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, ternaries 6 (8 pts), if/else 3, error handling 1 (nesting depth added 2). Of this number, 13 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":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"f517c577be4e4774f245400fc101154a50b06944a6b5da3a01c0915ca8879218"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassicSidebarShell.ClassicSidebarShell (cognitive 24): ClassicSidebarShell.ClassicSidebarShell has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 8 (13 pts), boolean chains 8, if/else 3 (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 11 belong to 5 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":"web/features/ui-layout/classic/ClassicSidebarShell.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d6c43d5a0140fcc8ca3442d065f2b08f542e9ab302539c519e99c7d505c487"}},{"ruleId":"D2","level":"warning","message":{"text":"mastery-question.parseQuestion (cognitive 24): mastery-question.parseQuestion has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 6 (7 pts), boolean chains 6 (nesting depth added 5). Of this number, 21 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/mastery-question.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c53b58f16de45f19847a4f24f25f91c392599ccdc5e019077db4b7b64a8a680"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf-page-geometry.inkBoxFromPixels (cognitive 24): pdf-page-geometry.inkBoxFromPixels has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (4 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":"web/lib/pdf-page-geometry.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4326e8995f5def4003b1b1b9ebd2958e003171120507da560f5998c12f3edac8"}},{"ruleId":"D2","level":"warning","message":{"text":"LoopPromptAssembler.blocks (cognitive 23): LoopPromptAssembler.blocks has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/prompt_blocks.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6164b1be86ac35c9d3381f1b9c607bd5bde22a0d1ad68e0f71053672bb75990"}},{"ruleId":"D2","level":"warning","message":{"text":"partners.partner_chat_ws (cognitive 23): partners.partner_chat_ws has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, error handling 3 (4 pts), ternaries 2 (3 pts), loops 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/partners.py"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc05d8ec275d890c9e8f6bab26fc85d8201d1a472d00a2a24dc321b6cd057c5"}},{"ruleId":"D2","level":"warning","message":{"text":"quiz_judge._build_multimodal_user_content (cognitive 23): quiz_judge._build_multimodal_user_content has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 8, error handling 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"665abbb956f64fde4d2428e657c3812434ad8d882d5ef08138f05a8335e10c67"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions.delete_session (cognitive 23): sessions.delete_session has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 6 (10 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":"deeptutor/api/routers/sessions.py"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b8e42b05a7505325a78df97835ccc1d5a7843b98bc84ef71f7807f8ff4f35b"}},{"ruleId":"D2","level":"warning","message":{"text":"settings._connection_targets (cognitive 23): settings._connection_targets has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 3 (8 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/settings.py"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9f0ab52bdc609942fc879ebf1d1084c46175c25fb2646965491a0239dd1116"}},{"ruleId":"D2","level":"warning","message":{"text":"spine_synthesizer._topological_sort (cognitive 23): spine_synthesizer._topological_sort has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 5 (7 pts), boolean chains 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":"deeptutor/book/agents/spine_synthesizer.py"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3f269d6e5882f4ae92458aeeaa13af06b738a12f7a9b614a25f6df07622ac8"}},{"ruleId":"D2","level":"warning","message":{"text":"SectionGenerator._generate (cognitive 23): SectionGenerator._generate has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 17, if/else 2 (3 pts), loops 2, error handling 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/section.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d1bf5772de13592751a0133070254f2344b871e15fd1afcae95f782fd78fae"}},{"ruleId":"D2","level":"warning","message":{"text":"SectionGenerator._fill_subsection (cognitive 23): SectionGenerator._fill_subsection has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 9, ternaries 2, error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/section.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5d5f14ff017093596a63c8590c65a4dd980b10e22591b49da5bd0bcf3f9125"}},{"ruleId":"D2","level":"warning","message":{"text":"HandoffCapability._partner (cognitive 23): HandoffCapability._partner has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (9 pts), error handling 3 (4 pts), 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":"deeptutor/capabilities/handoff/capability.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"1523bba527fdf046b0e185fa964b0a8f3c13ccda64358fd19bb7f65b5cfd6f65"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryStatusTool.execute (cognitive 23): MasteryStatusTool.execute has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 5 (6 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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ad03e34116b14f3014d842c178ecfcbfd34a9d3ffa3f1340d0c49fe0a23a90"}},{"ruleId":"D2","level":"warning","message":{"text":"tools._revise_specs (cognitive 23): tools._revise_specs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":3621}}}],"partialFingerprints":{"codehealthFindingId/v1":"c285efb2727557393442654ca7ec014c241e8a26c34042945d7404c7431a77ed"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexingRun._start (cognitive 23): IndexingRun._start has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (6 pts), error handling 3 (4 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":"deeptutor/knowledge/indexing_run.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4ec870e7e2bd20884c4de7e5a9af54075c6b96fa7eac6372cf469d1d4333b0"}},{"ruleId":"D2","level":"warning","message":{"text":"lesson_evidence.scope_snapshot (cognitive 23): lesson_evidence.scope_snapshot has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (5 pts), boolean chains 3, 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":"deeptutor/learning/lesson_evidence.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5c6e1dce09277d475ae12082ee7e43d6a5ff4c0c523394fd6c041ed7ca5d99"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningService.record_learner_profile (cognitive 23): LearningService.record_learner_profile has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, if/else 8 (11 pts), 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":"deeptutor/learning/service.py"},"region":{"startLine":2122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2421a1c8bae2bb3189894c6016a1456c7b46f8e517345372ddbc66a396d2999a"}},{"ruleId":"D2","level":"warning","message":{"text":"proposals.propose (cognitive 23): proposals.propose has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/notes/proposals.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b7be535433809b29763441e0d23f2c77b2110e0090c971c961915e4815e7bc"}},{"ruleId":"D2","level":"warning","message":{"text":"MattermostChannel._handle_posted (cognitive 23): MattermostChannel._handle_posted has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 13, if/else 8, error handling 1, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/mattermost.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47ffe3035ae3ad29d7b4233debd45a633745a557e0483416bc6df1c84d36417"}},{"ruleId":"D2","level":"warning","message":{"text":"model_catalog.restore_catalog_secrets (cognitive 23): model_catalog.restore_catalog_secrets has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"493fbae1fb5465cd9bf694bef8a5780476fd9ffcbb92b587a3e2a08aceb7f758"}},{"ruleId":"D2","level":"warning","message":{"text":"settings_profile._diff_settings (cognitive 23): settings_profile._diff_settings has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/settings_profile.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4abd941f5157808ba030a7a35c4ab88f5fffb7b7128afdeeca25a4c431f302f"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMProvider._call_with_retry (cognitive 23): LLMProvider._call_with_retry has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 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":"deeptutor/services/llm/provider_core/base.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edaf6b96c0a54e87dd1852ed172e0e51c2b6f412350cacde0582aa7be6f609d"}},{"ruleId":"D2","level":"warning","message":{"text":"sdk_bridge._consume_sdk_messages (cognitive 23): sdk_bridge._consume_sdk_messages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 1 (4 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":"deeptutor/services/llm/provider_core/sdk_bridge.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c73c5070550b079d19c3f53b75a465b348c71c8fd85619cdc78e67c8d6b2d9d"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_factory._build_runtime_provider (cognitive 23): provider_factory._build_runtime_provider has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 15, if/else 5 (6 pts), ternaries 1 (2 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_factory.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f16110a915f0426602fbccdffced71e98b7c7ed48fd8885fed147b344873029"}},{"ruleId":"D2","level":"warning","message":{"text":"line_doc._apply_insert (cognitive 23): line_doc._apply_insert has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, ternaries 2 (3 pts), 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":"deeptutor/services/memory/consolidator/line_doc.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c33fa9689fb7e48196d7b7abbf7ef4ec7ef9cc209043abf547b4e08cc1192f"}},{"ruleId":"D2","level":"warning","message":{"text":"readiness.mineru_models_ready (cognitive 23): readiness.mineru_models_ready has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), error handling 2 (3 pts), ternaries 1 (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":"deeptutor/services/parsing/engines/mineru/readiness.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e4ffd8c00e7d2d36d19f2b3ce80eec4b43433dcb9d1f02d139bd0a638a1581"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualAssetStore.publish (cognitive 23): VisualAssetStore.publish has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, 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":"deeptutor/services/rag/visual_assets.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36055e19bda7643389c17baf2b0a6fe59e852ad02675dbe4ba789718a4941bf"}},{"ruleId":"D2","level":"warning","message":{"text":"_turn_runtime_shared._repair_chinese_emphasis_line (cognitive 23): _turn_runtime_shared._repair_chinese_emphasis_line has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 4 (8 pts), boolean chains 4, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2691b5d475299142e5826137a4ff7eb4f892bd4b0bb2a3bcaae64958d75b5385"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy_migration._normalize_session (cognitive 23): legacy_migration._normalize_session has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (9 pts), ternaries 3, 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":"deeptutor/services/session/legacy_migration.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77187514e2345d8f9eaf9c1bda2061871445d5f1f65b2f0f52a82a908fba373"}},{"ruleId":"D2","level":"warning","message":{"text":"hub._extract_skill_zip (cognitive 23): hub._extract_skill_zip has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, 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":"deeptutor/services/skill/hub.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a835207a3eb5f2ebeaccc5ed97a615f5f07728a6a4d01d989f665cd983d0d02"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeCodeBackend.consult (cognitive 23): ClaudeCodeBackend.consult has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 3, 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":"deeptutor/services/subagent/claude_code.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7132090ca3c084cb3a446d8bf3c6df2064d3213d966000d8c3b768a2c14cc84"}},{"ruleId":"D2","level":"warning","message":{"text":"claude_models._parse_model_screen (cognitive 23): claude_models._parse_model_screen has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/claude_models.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a548d3bd5a9f116ff400c90bb45d3aff32420f358faeb071924604f02e73066e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenClawBackend.consult (cognitive 23): OpenClawBackend.consult has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 8, ternaries 1 (2 pts), 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":"deeptutor/services/subagent/openclaw.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7eb986e5daf4f4d0628f5c5ddf4b8e7b05036ede94bc24a4513c3b5bf984f8"}},{"ruleId":"D2","level":"warning","message":{"text":"crawler.crawl_and_diff (cognitive 23): crawler.crawl_and_diff has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4, boolean chains 2, ternaries 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/web_source/crawler.py"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bc194b2fb0c1d4ea704ce42d7900c490ac64c2744ca0a7366be4c8e0891cad"}},{"ruleId":"D2","level":"warning","message":{"text":"dependencies._collect_references (cognitive 23): dependencies._collect_references has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/dependencies.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ef67a825fca2651de88b6d3408a7f9d287951bc7c23c02e3cb3fd6c42d5662"}},{"ruleId":"D2","level":"warning","message":{"text":"coord_transform.convert_bbox_elements_to_ggb (cognitive 23): coord_transform.convert_bbox_elements_to_ggb has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/vision/coord_transform.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc790640cc41874e2ace5acb515677f7eb34bac7df6a0982ad09263c3ec98b1"}},{"ruleId":"D2","level":"warning","message":{"text":"write_note._format_transcript (cognitive 23): write_note._format_transcript has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, loops 2, 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":"deeptutor/tools/write_note.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c116e88ab64bbeac0ce55ba66316884c7681175d5f406157d673ebac2c8717c"}},{"ruleId":"D2","level":"warning","message":{"text":"ZoteroSearchClient._normalize (cognitive 23): ZoteroSearchClient._normalize has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 13, if/else 3 (6 pts), ternaries 3, loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/zotero_search.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57a7f99c9ae0b9fd2832fe9becf11e0da6448339ec79391a05351655c8e6d57"}},{"ruleId":"D2","level":"warning","message":{"text":"document_images._math_atom (cognitive 23): document_images._math_atom has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 2 (3 pts), boolean chains 2, loops 1 (2 pts) (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":"deeptutor/utils/document_images.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"204cf738339ee5a573bb791bbcaac10c621042493e1c3df4e4fd39ebd2f01d01"}},{"ruleId":"D2","level":"warning","message":{"text":"builtin._geogebra_validator (cognitive 23): builtin._geogebra_validator has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 3, error handling 2 (3 pts), loops 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/visualizers/builtin.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"105d9d53ba0fc9670c9f053afaefe15d6d488fdf4a25dc502599901540dfc4eb"}},{"ruleId":"D2","level":"warning","message":{"text":"init_wizard._derive_embedding_models_url (cognitive 23): init_wizard._derive_embedding_models_url has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3, loops 2 (3 pts) (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":"deeptutor_cli/init_wizard.py"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eee0853e01db78024e06563498b609508c378dd080f5793f8e4cb92c209de19"}},{"ruleId":"D2","level":"warning","message":{"text":"limits.withProviderLimit (cognitive 23): limits.withProviderLimit has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (5 pts), boolean chains 4, 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":"packages/chat-engine/src/providers/limits.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"773ea0f212a79085ad98020b4c2818f0df0092884d44222315be87d6b8b1c00a"}},{"ruleId":"D2","level":"warning","message":{"text":"stdio.lines.on(\u0022line\u0022) (cognitive 23): stdio.lines.on(\u0022line\u0022) has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3, loops 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/transport/stdio.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fc4729fe68a3c34e24f430406d08841a5b830745d239f6a125f8754f1f4d1c"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryHandoffCard.MasteryHandoff (cognitive 23): MasteryHandoffCard.MasteryHandoff has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 12 (18 pts), boolean chains 4, if/else 1 (nesting depth added 6). Of this number, 22 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":"web/components/chat/home/MasteryHandoffCard.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"56aca6301ab6ec7b52b0d90972901be8ae7d1696dbf0a0df8d764b18be639eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerDraftCard.PartnerDraftCard (cognitive 23): PartnerDraftCard.PartnerDraftCard has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 12 (18 pts), boolean chains 4, error handling 1 (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 3 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":"web/components/chat/home/PartnerDraftCard.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48dea1fe6d84d1faaec374a6e7c81603f22faeb11fac58286e03554422d2eb5"}},{"ruleId":"D2","level":"warning","message":{"text":"LocationCrumbs.InstanceCrumb (cognitive 23): LocationCrumbs.InstanceCrumb has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 13, if/else 8, ternaries 2. Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 160, a function literal at line 145, a function literal at line 169, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/layout/LocationCrumbs.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"762d991cc43b49b301698331c8820ec9cbf65d9cfee57867e85de1c339ef735a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewHome.ReviewHome (cognitive 23): ReviewHome.ReviewHome has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 5 (6 pts), boolean chains 5, error handling 2 (nesting depth added 6). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 30, start). 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":"web/components/learning/practice/ReviewHome.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3304285b88910cda2b1c0df327a910ee7ed41e0a8172bc756aaba010875443df"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupSidePanel.GroupSidePanel (cognitive 23): GroupSidePanel.GroupSidePanel has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (15 pts), boolean chains 5, if/else 3 (nesting depth added 8). 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 literals inside it that branch (lines 60, 127, 157, \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":"web/components/partners/group/GroupSidePanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a66dde703f90c02ef1114b0f5383bdba86490b61ddcf8833e4e7718114bec2"}},{"ruleId":"D2","level":"warning","message":{"text":"VoicePreviewPanel.PreviewRequest (cognitive 23): VoicePreviewPanel.PreviewRequest has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 5 (8 pts), boolean chains 6, error handling 1 (nesting depth added 4). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (preview, a function literal at line 45, a function literal at line 57). 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":"web/components/settings/VoicePreviewPanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4911c600388ebecdf9a33cf59754798b5e557481f9f48d19d934885b951e2df1"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerRoster.PartnerRoster (cognitive 23): PartnerRoster.PartnerRoster has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 1). None of this is in the body itself: all 23 points belong to 11 function items inside it that branch (a function literal at line 34, a function literal at line 63, 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":"web/components/sidebar/PartnerRoster.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4dc6097102c0765cdce9fdefd838ca7e8109b4a52c90308ad7a89adc9952da"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceSidebar.WorkspaceSidebar (cognitive 23): WorkspaceSidebar.WorkspaceSidebar has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 6, if/else 5 (6 pts), error handling 1 (nesting depth added 4). None of this is in the body itself: all 23 points belong to 9 function literals inside it that branch (lines 180, 205, 54, \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":"web/components/sidebar/WorkspaceSidebar.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e63fea698c629c799cc60e9e83031ec4da1f29f35d9a7b95eaf4fee550087cf"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningJournalPanel.LearningJournalPanel (cognitive 23): LearningJournalPanel.LearningJournalPanel has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (13 pts), boolean chains 8, if/else 2 (nesting depth added 7). Of this number, 20 points are the body\u0027s own statements and 3 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":"web/components/space/LearningJournalPanel.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a25f436c7a0c58e114120d6d1a2a3018e3a6740553b308d72d024adf2a4ace0"}},{"ruleId":"D2","level":"warning","message":{"text":"items.buildItems (cognitive 23): items.buildItems has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (7 pts), boolean chains 5 (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":"web/features/calendar/model/items.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5858dfd7e9561955d895fce22828a00e8d4d8faf78613a5a2d7d1d82ea4597"}},{"ruleId":"D2","level":"warning","message":{"text":"MonthView.MonthView (cognitive 23): MonthView.MonthView has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13, ternaries 5 (7 pts), boolean chains 3 (nesting depth added 2). None of this is in the body itself: all 23 points belong to 13 function items inside it that branch (a function literal at line 112, a function literal at line 128, a function literal at line 137, \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":"web/features/calendar/components/MonthView.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e9b600dabc27bad2b76caf4668fa1de2855432305d94d4b18088561b2fa23e"}},{"ruleId":"D2","level":"warning","message":{"text":"TracePresentation.StreamingStatus (cognitive 23): TracePresentation.StreamingStatus has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10, ternaries 4 (10 pts), boolean chains 3 (nesting depth added 6). 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"8451be5fc5f8458d882a698ad77dea348593522cc282591004e0f8bd770a4878"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteInsertMenu.NoteInsertMenu (cognitive 23): NoteInsertMenu.NoteInsertMenu has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, ternaries 5 (8 pts), if/else 5 (nesting depth added 3). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 98, 58, 46, \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":"web/features/notes/components/NoteInsertMenu.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55b95bad89dfebdb3531dc66af5e1a30615b65c4788367b1c5f8c3b9c4dfbe1"}},{"ruleId":"D2","level":"warning","message":{"text":"useKnowledgeProgress.useKnowledgeProgress.openTaskStream (cognitive 23): useKnowledgeProgress.useKnowledgeProgress.openTaskStream has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 4, error handling 3 (nesting depth added 2). None of this is in the body itself: all 23 points belong to 9 function literals inside it that branch (lines 306, 313, 331, \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":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"872644ce22bee71c2ae8660246195c31542f662cdaf0ffd4d712fdd4d63d094f"}},{"ruleId":"D2","level":"warning","message":{"text":"latex.collectMarkdownHeadings (cognitive 23): latex.collectMarkdownHeadings has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (21 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":"web/lib/latex.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af0da1184ef186c3620a759f18cd9a779b4f1ca7a4a93c5a426eaa89feafec2"}},{"ruleId":"D2","level":"warning","message":{"text":"reading-location-history.normalizeEntry (cognitive 23): reading-location-history.normalizeEntry has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 7, if/else 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":"web/lib/reading-location-history.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7548e3f8b0f85031880b496dee01047023e081f9a662ad94335dadaad7b1645"}},{"ruleId":"D2","level":"warning","message":{"text":"tool_runtime.bind_workspace_tool_runtime (cognitive 22): tool_runtime.bind_workspace_tool_runtime has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 3 (5 pts), boolean chains 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":"deeptutor/agents/_shared/tool_runtime.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1345fa07afbaab31faaf5bcbfc23452fdb3e61f69773d8844f669f957bd982"}},{"ruleId":"D2","level":"warning","message":{"text":"QuestionPipeline._parse_plan (cognitive 22): QuestionPipeline._parse_plan has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, ternaries 3 (5 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"9946c6b3f26a91175660760f456416864e6caa939afffc215036bfdd855a3898"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge._assert_provider_ready (cognitive 22): knowledge._assert_provider_ready has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aee1d80c81cbd4f253b75760e92735e1096c3b33bde9bdbeca93bcd50819964"}},{"ruleId":"D2","level":"warning","message":{"text":"multi_user.put_guardian_restrictions (cognitive 22): multi_user.put_guardian_restrictions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 4 (7 pts), ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/multi_user.py"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6393a48636879d95ab04ce892fbdacd68f73d0e5d9e20b72c63c8936581ca82"}},{"ruleId":"D2","level":"warning","message":{"text":"video_learning._live_stream_url (cognitive 22): video_learning._live_stream_url has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (9 pts), error handling 1, loops 1, ternaries 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/video_learning.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec899d38c5c97e66e8b706e8b5c255a58e9430a87c7963c15aedab25b70808e"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskIDManager.cleanup_old_tasks (cognitive 22): TaskIDManager.cleanup_old_tasks has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 1 (4 pts), loops 3, 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":"deeptutor/api/utils/task_id_manager.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b11d6d0f232ace62a618ea8f8be63a03436f84bce0d0bf2af70f9f5ba40bbb"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceExplorer._collect_non_kb_chunks (cognitive 22): SourceExplorer._collect_non_kb_chunks has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (7 pts), loops 3 (5 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0b7bdbaae0af6100e9789f0bb9d4e36027f3e4000ebd9ea3f3ec094fd13942"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationGenerator._generate (cognitive 22): AnimationGenerator._generate has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 4, ternaries 4, loops 1 (2 pts), error handling 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/animation.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf9ab5aca8e16a37468fddcb3069ea23d011058fe8bea21e1b8d930f36d85d6"}},{"ruleId":"D2","level":"warning","message":{"text":"BookEngine.confirm_spine (cognitive 22): BookEngine.confirm_spine has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/engine.py"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b551a9c8223da62bf42175bf06c1789bdc4461211c64502ff8f4dff7724b4ce"}},{"ruleId":"D2","level":"warning","message":{"text":"BookEngine.delete_chapter (cognitive 22): BookEngine.delete_chapter has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 2, 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":"deeptutor/book/engine.py"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4338efcfe35d949a3e2c5c0cdfc001c1b0422dcdbd80535a55f8ac0a0166212d"}},{"ruleId":"D2","level":"warning","message":{"text":"generation.propose_generated_block (cognitive 22): generation.propose_generated_block has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (8 pts), ternaries 2, error handling 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/notes/generation.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"107adc83eaea08e5a48cd26dd1b432d9eaebd4a9908b4024f3fce1659c324093"}},{"ruleId":"D2","level":"warning","message":{"text":"InvokeOtherTool.execute (cognitive 22): InvokeOtherTool.execute has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 9 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/partner_group/tools.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e4405ade2b53435ca325ab70b615e625c523ec54e5e359145c07314c0bc3fa"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsultSubagentTool.execute (cognitive 22): ConsultSubagentTool.execute has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 9, error handling 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/subagent/tools.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f3aec70bcf753eab8e2b7c23b6c27d8210f19fbd0998554062feb652d0cff2"}},{"ruleId":"D2","level":"warning","message":{"text":"docx_converter.markdown_to_docx (cognitive 22): docx_converter.markdown_to_docx has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (19 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":"deeptutor/co_writer/docx_converter.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62de12928d830857b780b522159510957f4703317af4764dfa8cfa9b84a63d1"}},{"ruleId":"D2","level":"warning","message":{"text":"grants.load_grant (cognitive 22): grants.load_grant has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, error handling 2, 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":"deeptutor/multi_user/grants.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"609e9f21413507f1e5a4bab6d024c66544d2ccfb69be9a7d6f04088c294e65c4"}},{"ruleId":"D2","level":"warning","message":{"text":"threads.thread_anchor_context (cognitive 22): threads.thread_anchor_context has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 4 (6 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":"deeptutor/notes/threads.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54a09fb148c184dafb14e1d43b82678eda61f273704dd310ba509bfac841fbd"}},{"ruleId":"D2","level":"warning","message":{"text":"entry_points.load_entry_point_group (cognitive 22): entry_points.load_entry_point_group has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 2 (3 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":"deeptutor/plugins/entry_points.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2efbe3bea96bdc8a6195d40f55bbd03b6867c233eb37f75c39a4ddd59fa1eb6"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialManifest.from_dict (cognitive 22): MaterialManifest.from_dict has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 17, ternaries 2 (3 pts), if/else 2 (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":"deeptutor/reading/models.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd64fa16164c36a3408005a93b139dafaf305df959af9121337bd148dbc463a"}},{"ruleId":"D2","level":"warning","message":{"text":"document.serialize (cognitive 22): document.serialize has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 5 (8 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":"deeptutor/services/memory/document.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc11fc99ab481e2b8d89c6244b787c72e49c06f5d676ddcf86c910dba1016cfa"}},{"ruleId":"D2","level":"warning","message":{"text":"adapters.read_chat_entities (cognitive 22): adapters.read_chat_entities has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (6 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"07180e6c184cb47e09f69449c6a21b507be14cbd085e25902b258135aba0319c"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseService._parse (cognitive 22): ParseService._parse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/parsing/service.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"174fcf09dd9081d69543e1b9876769109883c1bc3ba68ad483c451f0cf45d2fa"}},{"ruleId":"D2","level":"warning","message":{"text":"factory._build_pipeline (cognitive 22): factory._build_pipeline has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (22 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":"deeptutor/services/rag/factory.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fbf8eab2decfb38429a0c54c9c1f4c79010bd579f1ca0eb8b36bda832ed457"}},{"ruleId":"D2","level":"warning","message":{"text":"engine.build_rag (cognitive 22): engine.build_rag has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (5 pts), boolean chains 4, loops 2 (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":"deeptutor/services/rag/pipelines/lightrag/engine.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9fbedd06e00726a145e511fa79a579383fcd64deeb3d7f3cf91bb5a12c66c4"}},{"ruleId":"D2","level":"warning","message":{"text":"exercise_lookup._parse_for (cognitive 22): exercise_lookup._parse_for has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 7, error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/exercise_lookup.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d17095c96a8527cd82ed0f80cb6429b036217beb72d1136d5c4b1b59628829"}},{"ruleId":"D2","level":"warning","message":{"text":"client.resolve_oss_sdk_config (cognitive 22): client.resolve_oss_sdk_config has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 9 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/pageindex/client.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a45a3e0ec51ea4c396b6fb74526bdb530552a01ddd3c7b618afdaee72b35fe"}},{"ruleId":"D2","level":"warning","message":{"text":"GrokBackend.consult (cognitive 22): GrokBackend.consult has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 2 (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":"deeptutor/services/subagent/grok.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f0b874b7fe50e33cd028019eaf8599cddd5a3cefb6d8c8c2dee4132fbf0a76"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesRemoteEventMapper.handle (cognitive 22): HermesRemoteEventMapper.handle has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (6 pts), ternaries 3 (6 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":"deeptutor/services/subagent/hermes_remote_events.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ec4e639e6967e029d5cb9d2fde612435dbb13e795bf6a286450d23909c9cb6"}},{"ruleId":"D2","level":"warning","message":{"text":"kb_move._rebase_llamaindex_paths (cognitive 22): kb_move._rebase_llamaindex_paths has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/kb_move.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b45eca415e34f725e0f3246a56f0700981f2ecdda14da8ca25b46757e504d8b"}},{"ruleId":"D2","level":"warning","message":{"text":"ArxivSearchTool.search_papers (cognitive 22): ArxivSearchTool.search_papers has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 4 (6 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/paper_search_tool.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c6d16916fac3da58a069465d5fd31ca8324885f36aa3c804cad30c44395084"}},{"ruleId":"D2","level":"warning","message":{"text":"coord_transform.suggest_coord_system (cognitive 22): coord_transform.suggest_coord_system has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, loops 2 (4 pts), 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":"deeptutor/tools/vision/coord_transform.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8d200674ea019d93cf99f64f479bb7cc8231e40db6a867c2adf8dc3fe07812"}},{"ruleId":"D2","level":"warning","message":{"text":"write_note._do_append (cognitive 22): write_note._do_append has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 10, error handling 1, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/write_note.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4228b3d9b67d26210c646a150d02b53ced2905669d7419f83fc8390dc2cf7d"}},{"ruleId":"D2","level":"warning","message":{"text":"document_extractor._extract_docx (cognitive 22): document_extractor._extract_docx has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 3 (5 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/document_extractor.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b966f8644ed1edd0ad1d866cdd25eb5b2e421a465a41edb6352ad10d69365d7"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.walk (cognitive 22): workspace.walk has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (12 pts), error handling 2 (5 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/tools/workspace.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4213872ee09b37aa74bb194266bbcef8b10bb20ca2a7b6fd56551c26e3a0a121"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolDispatcher.run (cognitive 22): ToolDispatcher.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 13, loops 6 (7 pts), ternaries 4 (5 pts), error handling 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. This shape REPEATS in the file: one other method here (ToolDispatcher.run::execute) 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":"packages/chat-engine/src/tools/dispatcher.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"758dbaa9a9e24d6cf6fb252d5df849d277475fe2ae5c2c9a7e70b8637d8dfb6e"}},{"ruleId":"D2","level":"warning","message":{"text":"BookCreator.BookCreator (cognitive 22): BookCreator.BookCreator has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 13, ternaries 5 (6 pts), if/else 2, error handling 1 (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 10 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":"web/app/(workspace)/learning/books/components/BookCreator.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea4bf8f1ef3e7e682ba9deb12778bb006909a02b0cb317ab9bc0d5f327d6bba"}},{"ruleId":"D2","level":"warning","message":{"text":"UserNoteBlock.UserNoteBlock (cognitive 22): UserNoteBlock.UserNoteBlock has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 7, if/else 6 (7 pts) (nesting depth added 5). Of this number, 11 points are the body\u0027s own statements and 11 belong to 5 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":"web/app/(workspace)/learning/books/components/blocks/UserNoteBlock.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c53b561619f3b801b0a0368df8fad63d5b6d22f4f029eff36fa5712e3e0c9bc"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectedAgents.ConnectedAgents (cognitive 22): ConnectedAgents.ConnectedAgents has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (20 pts), boolean chains 1, if/else 1 (nesting depth added 12). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 129, 31, 64). 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":"web/components/agents/ConnectedAgents.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbdbaaefb8b31f386ef702debbe921b873e96a4dc680f85b7d9bdd2b4ef66d2"}},{"ruleId":"D2","level":"warning","message":{"text":"XlsxPreview.XlsxPreview (cognitive 22): XlsxPreview.XlsxPreview has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 6 (8 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 3). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 42, 56, 32, \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":"web/components/chat/preview/previewers/XlsxPreview.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceaec414d55d026a392025944a34ba91c1406b1e2c584548bceb24dec8d75a4"}},{"ruleId":"D2","level":"warning","message":{"text":"ImaConnectionFields.ImaConnectionFields (cognitive 22): ImaConnectionFields.ImaConnectionFields has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 16, ternaries 4 (6 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/ImaConnectionFields.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e9391d6bf711bd053d2efc4dd9cd6b4d7956ec9004f4b07bdb2d009cce50c2"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateKbModal.CreateKbModal::handleSubmit (cognitive 22): CreateKbModal.CreateKbModal::handleSubmit has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 3 (8 pts), boolean chains 3, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CreateKbModal.CreateKbModal) 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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3f1388b8dc225d272e208f45751dca334e33930a79b86e73645fc19657fd59"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateKbModal.NewModeFields (cognitive 22): CreateKbModal.NewModeFields has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 15, ternaries 4 (7 pts) (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 10 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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63914a598db28a8c2f8b5b65b53c54124cbd3029ec63db5101b318a49f3ba5f"}},{"ruleId":"D2","level":"warning","message":{"text":"McpCatalogBrowser.McpCatalogBrowser (cognitive 22): McpCatalogBrowser.McpCatalogBrowser has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 7, ternaries 4 (7 pts), if/else 6, error handling 2 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 9 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1987ec975132e7356a764889dd17cfb6327321e1079dfc5dfe216306f10aae4c"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingActionsProvider.ReadingActionsProvider (cognitive 22): ReadingActionsProvider.ReadingActionsProvider has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, ternaries 4 (5 pts), error handling 1 (nesting depth added 3). None of this is in the body itself: all 22 points belong to 9 function literals inside it that branch (lines 145, 77, 168, \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":"web/components/reading/ReadingActionsProvider.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f1e4d81114413bb6ef46134aa3292d963810007ab8e9d2e7e63bb5e3806434"}},{"ruleId":"D2","level":"warning","message":{"text":"ScopeEditorModal.ScopeEditorModal (cognitive 22): ScopeEditorModal.ScopeEditorModal has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6, error handling 2, ternaries 2 (nesting depth added 3). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 63, 99, 86, \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":"web/components/space/ScopeEditorModal.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9e3f063ef14094c445bcbe03b1032e2aee83cfe3a18f50ef07f8f9065651dc"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicWizardSteps.SourceSection (cognitive 22): TopicWizardSteps.SourceSection has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (18 pts), boolean chains 4 (nesting depth added 11). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 457, 475). 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":"web/components/space/learning/TopicWizardSteps.tsx"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f601edbf51771dba03ec1f1b83895a829bfc95b4d890793f3e9f2b1d45f297"}},{"ruleId":"D2","level":"warning","message":{"text":"model.validatePrimitive (cognitive 22): model.validatePrimitive has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, ternaries 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/capabilities/model.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c4407cd47747b63687c6ef7545e29412ed06218c9c3c90caeb20275ec6bfe1"}},{"ruleId":"D2","level":"warning","message":{"text":"attachment-processing.selectAttachmentProcessing (cognitive 22): attachment-processing.selectAttachmentProcessing has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (5 pts), boolean chains 4, ternaries 1 (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/selectors/attachment-processing.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfcbab122a95d6fd5b76ffaf18bf57f3fd4a60f2753dc1b6deb055e6b8d26d5"}},{"ruleId":"D2","level":"warning","message":{"text":"EngineDetail.LightRagServerForm (cognitive 22): EngineDetail.LightRagServerForm has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 8, ternaries 6 (8 pts), if/else 4, error handling 2 (nesting depth added 2). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 4 function items inside it that branch (test, save, a function literal at line 1293, \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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18452f7f3fc602e8707edee51692c40b1d60b605b739d01dbd4cdefc57f6e52"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteFavoriteBlock.NoteFavoriteBlock (cognitive 22): NoteFavoriteBlock.NoteFavoriteBlock has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, ternaries 8, if/else 3, error handling 1. Of this number, 19 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteFavoriteBlock.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb4f63d729a5f10735e547e3bfbecb41230e0c6c7ac2ae55be1409e624039a3"}},{"ruleId":"D2","level":"warning","message":{"text":"book-activity.chapterRows (cognitive 22): book-activity.chapterRows has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (9 pts), boolean chains 8, if/else 5 (nesting depth added 4). None of this is in the body itself: all 22 points belong to 3 function literals inside it that branch (lines 303, 338, 300). 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":"web/lib/book-activity.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c49b98880e67557dfc2784cfa9141007ec246d8a62e1e83f79428bbcdb6d700"}},{"ruleId":"D2","level":"warning","message":{"text":"json_output.extract_json_object (cognitive 21): json_output.extract_json_object has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 3 (5 pts), boolean chains 2, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/_shared/json_output.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e63ee75921e2dd340b57cea835f820ff7fb6dd390a87b12f3403c1c1d101bfc"}},{"ruleId":"D2","level":"warning","message":{"text":"DSMLStreamFilter.feed (cognitive 21): DSMLStreamFilter.feed 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":"deeptutor/agents/loop/dsml_tool_calls.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7006fadb8bb2e2345996c6b5d78b77baf689912a40385b8222b303a0bf76e0dc"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline._normalise_user_reply (cognitive 21): pipeline._normalise_user_reply has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 6, loops 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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e322111bfb466addb559d33cc2ec34cd0fdc0e679b7aef4aa59837fc5f2a841f"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeGeneratorAgent._request_generated_code (cognitive 21): CodeGeneratorAgent._request_generated_code has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 3, loops 2 (3 pts), error handling 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":"deeptutor/agents/math_animator/agents/code_generator_agent.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f60d312df0a376531fab3aef4e79a0c26008ad309f891fb12d6c681bd2760e2"}},{"ruleId":"D2","level":"warning","message":{"text":"FollowupAgent._render_question_context (cognitive 21): FollowupAgent._render_question_context has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (6 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/agents/followup_agent.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6236842801b2329610f1796636e45c68f935ad5dec6e95f72dc81e85c288ac03"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolTrace._truncate_raw_answer (cognitive 21): ToolTrace._truncate_raw_answer has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (16 pts), error handling 1 (2 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 12). 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":"deeptutor/agents/research/data_structures.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fe916042d6c5799bc04ffba532afa4abe4bbb0fc14542893a40d40b1ea437e"}},{"ruleId":"D2","level":"warning","message":{"text":"mastery_path.generate_from_notebook (cognitive 21): mastery_path.generate_from_notebook has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/mastery_path.py"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c82b4ab61138a8e143dd386f24f612b4de58c10d02d8be404e1d65caddf8a8"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions._normalize_legacy_watching_session (cognitive 21): sessions._normalize_legacy_watching_session has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, error handling 2, loops 1 (2 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/sessions.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"565a00397c490bf39d7788c668554a13134dde7859c075d35b686337ee302536"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions._truncate_oversized_events (cognitive 21): sessions._truncate_oversized_events has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/sessions.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbd910a107fb02603280fa9e67c8126957580923b31ecf77d9016b303cd626f"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.test_mineru_connection (cognitive 21): settings.test_mineru_connection has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, ternaries 2 (4 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":"deeptutor/api/routers/settings.py"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9a7e6182e3c397c56c13488134f9dabdf8250bae0424291e0ae56d7ece62eb"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceExplorer._design_queries (cognitive 21): SourceExplorer._design_queries has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 9, error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7231696f160b66672596fdbd36dc602d6e228f014ae01dbaa5b0ef4841e3c0"}},{"ruleId":"D2","level":"warning","message":{"text":"SpineAgent._coerce_chapters (cognitive 21): SpineAgent._coerce_chapters has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 7, 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":"deeptutor/book/agents/spine_agent.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"174cfbde8d95e2c9e8f8376f788b3ddaa8df172f3efc74735c32d62dc49e8d2e"}},{"ruleId":"D2","level":"warning","message":{"text":"FlashCardsGenerator._generate (cognitive 21): FlashCardsGenerator._generate has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (8 pts), ternaries 3, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/flash_cards.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1a7cc6b645160c2b0b60940adeb3cbd378881a53ed6192aec65467fc7011f9"}},{"ruleId":"D2","level":"warning","message":{"text":"QuizGenerator._extract_questions (cognitive 21): QuizGenerator._extract_questions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/quiz.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"059aecbbd8a097a6d971d50675616cce7607b5acdffb8caa25ce5161edc957d6"}},{"ruleId":"D2","level":"warning","message":{"text":"SectionGenerator._make_outline (cognitive 21): SectionGenerator._make_outline has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (7 pts), error handling 2 (3 pts), 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":"deeptutor/book/blocks/section.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88ba481f97db1fe14cc103ccaa751b78f52094b98a0013f7b49ae85b22c04c9"}},{"ruleId":"D2","level":"warning","message":{"text":"BookEngine._materialize_overview_page (cognitive 21): BookEngine._materialize_overview_page has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 7, loops 2, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/engine.py"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"4865f9f8a6075dc1d67c97fdb6523ca0b5e7742d64edeefb45a82c4a282d7f79"}},{"ruleId":"D2","level":"warning","message":{"text":"engine._source_quality_summary (cognitive 21): engine._source_quality_summary has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (7 pts), ternaries 5, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/engine.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8a56c1d2ef327e80db3e2304aad1eabf3e4b0c20a33a84e04dd83bd279f647"}},{"ruleId":"D2","level":"warning","message":{"text":"inputs.build_book_inputs (cognitive 21): inputs.build_book_inputs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 8, ternaries 1 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/inputs.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a983c72e53476c22228492f4ea6905bb37b0bc7baafb7439b06797c13ea3ef"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioOverviewCapability.run (cognitive 21): AudioOverviewCapability.run has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 9 (10 pts), ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/audio_overview/capability.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d6ea8058c7d14cfaa584a3ed5793cf073876d343d24a04851a14b63ae7b3bf"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextExplorer._run_loop (cognitive 21): ContextExplorer._run_loop has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 8, ternaries 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/explore_context/explorer.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5ee1bfbcb98153da182d7f44caf8c33d055db6849b4400094a75ae91ae40e3"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerGroupCapability.tool_round_output_policy (cognitive 21): PartnerGroupCapability.tool_round_output_policy has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 7 (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":"deeptutor/capabilities/partner_group/capability.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"887194b95df8cf1390314edbf8a3f853f1821b42ca555878a633a50d42cc8732"}},{"ruleId":"D2","level":"warning","message":{"text":"blocks.inline_markdown (cognitive 21): blocks.inline_markdown has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/notes/blocks.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47550c656ff217646392dab388796338f7fa4040cd6eaf3252ce7a179b334b7"}},{"ruleId":"D2","level":"warning","message":{"text":"MSTeamsChannel._prune_conversation_refs (cognitive 21): MSTeamsChannel._prune_conversation_refs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1 (2 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/msteams.py"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a379d265130dffcc5e28bec2907c1e78d3cf1afd96d85f5d38040972dbe625"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginLifecycleManager.install (cognitive 21): PluginLifecycleManager.install has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4, error handling 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/plugins/lifecycle.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b662cb08d44b9be827d9fd8e191c77b981271ee5ef777e1a6a5a56fcd530ae"}},{"ruleId":"D2","level":"warning","message":{"text":"models.parse_text_selectors (cognitive 21): models.parse_text_selectors has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 6, error handling 1 (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":"deeptutor/reading/models.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"be26413cadf00040517512664aaaaa7e2fd1a964afc2ef75a08a5a7427345eb9"}},{"ruleId":"D2","level":"warning","message":{"text":"CalendarStore.occurrences (cognitive 21): CalendarStore.occurrences has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 3 (5 pts), boolean chains 4, loops 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":"deeptutor/services/calendar/store.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a541fe9f6199d57016efa37a7e39e252f64bb8355c365aaa1a1e7fc5609bca"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexOAuthService.public_status (cognitive 21): CodexOAuthService.public_status has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 12, boolean chains 5, if/else 3, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/codex_auth/service.py"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"360825b19e04272d24c83310b837aec43538c45c88567a31b2a89cc5c22c1c1c"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_links.referenced_models (cognitive 21): provider_links.referenced_models has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (9 pts), loops 3 (6 pts), if/else 1 (4 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/provider_links.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fae4bf5ccbad6f40f44c9384d587d23c8161bac3accd5d61a1c437d7e761a95"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_runtime._register_catalog_capabilities (cognitive 21): provider_runtime._register_catalog_capabilities has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba092a72385f8f74d78cc96e1d44d602470179e4c4c1e249de8364bd826425b8"}},{"ruleId":"D2","level":"warning","message":{"text":"kinds._validate_references (cognitive 21): kinds._validate_references has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/creations/kinds.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5292a7cf8c41443d68966ac53ac8499befa849f8bcdb532d1841e23f9104f480"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.extract_response_content (cognitive 21): utils.extract_response_content has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 2, 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":"deeptutor/services/llm/utils.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"551b0b3986371907de0c485bb7798bd2211d8736987519692953404bdda7aae7"}},{"ruleId":"D2","level":"warning","message":{"text":"network.validate_mcp_url (cognitive 21): network.validate_mcp_url has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 6, error handling 4 (5 pts), if/else 4 (5 pts), ternaries 2 (4 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":"deeptutor/services/mcp/network.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e66fc2876298f817002a4ebf4acda1987c94e84304f34dc711041ab9c8cf5d"}},{"ruleId":"D2","level":"warning","message":{"text":"adapters._partner_session_entity (cognitive 21): adapters._partner_session_entity has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, error handling 2 (3 pts), loops 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":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"629eb0e35dbea79217991c4f5bb5c7bb819cbcc632f348ae901658c195778b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"WhiteboardMemory._entries_unlocked (cognitive 21): WhiteboardMemory._entries_unlocked has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, 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":"deeptutor/services/partner_groups/memory.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"822d555560f69f53b51dbe7eae0bdf9efc2c4da0244cf255dd4f782869c19807"}},{"ruleId":"D2","level":"warning","message":{"text":"ingress.load_verified_bundle (cognitive 21): ingress.load_verified_bundle has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/ingress.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe0a0c69be805a3ea69e3bd61ee4f7623752a657114823e6f1beb56f6d08f4b"}},{"ruleId":"D2","level":"warning","message":{"text":"source_visuals.page_image (cognitive 21): source_visuals.page_image has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 4, error handling 2, 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":"deeptutor/services/rag/source_visuals.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9df51d1bd1d6be0774f8d9f0d673155c1c2b2ea66488c1b3db30f304bdea00"}},{"ruleId":"D2","level":"warning","message":{"text":"primitives.read_pdf (cognitive 21): primitives.read_pdf has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, ternaries 4, error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/research/primitives.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1f835f8b397ccb65a25f35cd68086f1988138bfe12389b091dce11014a5b95"}},{"ruleId":"D2","level":"warning","message":{"text":"QianfanProvider.search (cognitive 21): QianfanProvider.search has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 15, if/else 5, loops 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":"deeptutor/services/search/providers/qianfan.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ed43c97b99e139f880da97d1e8dd72464908f9f192ac4fbc8b88b5cc79f7fe"}},{"ruleId":"D2","level":"warning","message":{"text":"source_filter._rejection_reason (cognitive 21): source_filter._rejection_reason has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, boolean chains 8, error handling 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/source_filter.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4201e5160264eb911bff35b1ed4f777772d01213d554c37e271ee804ce6967e"}},{"ruleId":"D2","level":"warning","message":{"text":"LegacyChatSessionMigrator._migrate_locked (cognitive 21): LegacyChatSessionMigrator._migrate_locked has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, error handling 2 (3 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"deeptutor/services/session/legacy_migration.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b53e3ed39df71b383e04ad36495850782d020bf30d0a3d36ec3c63f577bf138"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnLifecycle._publish_live_event (cognitive 21): TurnLifecycle._publish_live_event has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, 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":"deeptutor/services/session/turns/lifecycle.py"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"642a8ebe275377df20a1a8bca52d3208d60afacdd2f2d5738088fe79eec9cf13"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_probe.probe_search_provider (cognitive 21): provider_probe.probe_search_provider has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (10 pts), error handling 6, boolean chains 3, 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":"deeptutor/services/settings/provider_probe.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"719d43e548f3fc57772d777950278e6be9a8307109cec4502f2e4a0a57c5a93b"}},{"ruleId":"D2","level":"warning","message":{"text":"DashScopeVideogenAdapter._poll_until_complete (cognitive 21): DashScopeVideogenAdapter._poll_until_complete has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 5, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/videogen/adapters/dashscope.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3875e3b6aa8ebd891bd869131e2981a6f075c35509570b6426b2178f64eee84"}},{"ruleId":"D2","level":"warning","message":{"text":"MistralSTTAdapter.transcribe (cognitive 21): MistralSTTAdapter.transcribe has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, ternaries 2 (3 pts), error handling 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/adapters/mistral.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6201a8eb0f719c1613407dbe3ade08c0811bae251c3f397cddd4f281277db2c9"}},{"ruleId":"D2","level":"warning","message":{"text":"data_migration._pocketbase_rebind (cognitive 21): data_migration._pocketbase_rebind has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (4 pts), ternaries 1 (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":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"6407accea59bc71c5d02365fa636975c65af895590f301cb673b88bff4e26831"}},{"ruleId":"D2","level":"warning","message":{"text":"write_note._do_edit (cognitive 21): write_note._do_edit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, boolean chains 8, error handling 2, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/write_note.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e7f4f26d3cf9774e0d2a94eef7cd82c9fc78a400ee2681c9facdcf4b217559"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizerPlugin.validate_payload (cognitive 21): VisualizerPlugin.validate_payload has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 2 (5 pts), ternaries 1 (5 pts), boolean chains 1 (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":"deeptutor/visualizers/protocol.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58b238cf9389742214082d135cac6efb710ac6183a55979b695cc93bf6a805d"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizerStore._extract_archive (cognitive 21): VisualizerStore._extract_archive has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/visualizers/store.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e237d089068100dd5e23ba04a5feed861222bb5be214b3d44410973a29992da7"}},{"ruleId":"D2","level":"warning","message":{"text":"init_wizard.select_from_options (cognitive 21): init_wizard.select_from_options has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (6 pts), boolean chains 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":"deeptutor_cli/init_wizard.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2bebf9e54f0b7c55fcd46f14f33632f1068f076a94dfada833c043d957ea19"}},{"ruleId":"D2","level":"warning","message":{"text":"init_wizard.fetch_models (cognitive 21): init_wizard.fetch_models has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, loops 2, 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":"deeptutor_cli/init_wizard.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8786c6cc7c8e8de8047c2a5739d588dc415793ddd27a8964f82a83b16288a6"}},{"ruleId":"D2","level":"warning","message":{"text":"main.boot (cognitive 21): main.boot has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 4 (7 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":"apps/desktop/src/main.mjs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f2266aba20845e9e10aabdbaa03de2755fdae0f1d74263615796fdc0063bce"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockRenderer.BlockRenderer (cognitive 21): BlockRenderer.BlockRenderer has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 16, if/else 4, match/switch 1. Of this number, 20 points are the body\u0027s own statements and 1 belongs 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":"web/app/(workspace)/learning/books/components/blocks/BlockRenderer.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b0ff6481906fc92bca244835d8f61ca8cedb2de2317ae03618bddde34f0d0c"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityRow.ActivityRow (cognitive 21): ActivityRow.ActivityRow has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 13 (20 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":"web/components/activity/ActivityRow.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"527dfb7acab7e01bac1627f022af25f8736086e13a8ddd1b712ce50817528736"}},{"ruleId":"D2","level":"warning","message":{"text":"AskUserOptions.QuestionBody (cognitive 21): AskUserOptions.QuestionBody has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9 (16 pts), boolean chains 4, if/else 1 (nesting depth added 7). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1481, 1457, 1489, \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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31492d146c022912a858c6a490257989076dba7ed79b8b4953c642896f0f40d"}},{"ruleId":"D2","level":"warning","message":{"text":"previewerFor.previewKindFor (cognitive 21): previewerFor.previewKindFor has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 10. 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":"web/components/chat/preview/previewerFor.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d1402305ed5f35642529a5c5843bf411e1c9f61059745f28e3a888ee866166"}},{"ruleId":"D2","level":"warning","message":{"text":"OfficePdfPreview.OfficePdfPreview (cognitive 21): OfficePdfPreview.OfficePdfPreview has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 3, error handling 1, ternaries 1 (nesting depth added 4). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 43, 94). 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":"web/components/chat/preview/previewers/OfficePdfPreview.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"191ff3704af5e4a7af6cfe100064983829543f49a54658c7d48a148b036394a9"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCustomizeDialog.PageCustomizeDialog (cognitive 21): PageCustomizeDialog.PageCustomizeDialog has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 13, ternaries 4 (7 pts), error handling 1 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 6 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":"web/components/customization/PageCustomizeDialog.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"321954778241e96a73ab55f00a5a1e33005c561c780432b8a2d39a49b0dd3b4a"}},{"ruleId":"D2","level":"warning","message":{"text":"KbVisualCoverage.KbVisualCoverage (cognitive 21): KbVisualCoverage.KbVisualCoverage has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (11 pts), boolean chains 6, if/else 4 (nesting depth added 6). Of this number, 12 points are the body\u0027s own statements and 9 belong to 5 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":"web/components/knowledge/KbVisualCoverage.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0ac6bc8344d31e166dc8825bdd9d18cbe04bf06c67e37ce05aa1f21d998bdb"}},{"ruleId":"D2","level":"warning","message":{"text":"NewLearningPage.NewLearningPage (cognitive 21): NewLearningPage.NewLearningPage has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (12 pts), boolean chains 9 (nesting depth added 7). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 28, 61). 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":"web/components/learning/NewLearningPage.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"809e96b91a384e4bba350f0a2de71c13279168f452b6a8bc6747d96b48a6b701"}},{"ruleId":"D2","level":"warning","message":{"text":"useGroupSession.useGroupSession.handleFrame (cognitive 21): useGroupSession.useGroupSession.handleFrame has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 4 (8 pts), boolean chains 2, match/switch 1 (nesting depth added 9). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 203, 160, 181, \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":"web/components/partners/group/useGroupSession.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3015f4eb7a0f129cf66187b912673b4b6bf3842d5c9f76231c477b7219623ecf"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerGroupChat.PartnerGroupChat (cognitive 21): PartnerGroupChat.PartnerGroupChat has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9, ternaries 5 (8 pts), boolean chains 4 (nesting depth added 3). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 89, 99, 135, \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":"web/components/partners/group/PartnerGroupChat.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8111f783d552672ca45e22618cf84bc8b5202be226b0791d75e60a71b192ceee"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingFolder.ReadingFolderPage (cognitive 21): ReadingFolder.ReadingFolderPage has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 7, ternaries 5 (7 pts), if/else 4, error handling 3 (nesting depth added 2). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 66, removeFile, openFile, \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":"web/components/reading/library/ReadingFolder.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"52461e8254d7c5e826bb532ad08078f2b40020969d64e723afc57c02795dfc2e"}},{"ruleId":"D2","level":"warning","message":{"text":"useLearningMode.useReadingLearningMode (cognitive 21): useLearningMode.useReadingLearningMode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 3 (4 pts), ternaries 2 (nesting depth added 6). None of this is in the body itself: all 21 points belong to 7 function literals inside it that branch (lines 110, 88, 104, \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":"web/components/reading/workspace/useLearningMode.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ea88df2bd7ca90be527890ad04d6a698034c057c80ba92af36d90f6ccad395"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryNavigation.CategoryTabs (cognitive 21): CategoryNavigation.CategoryTabs has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 7, if/else 2 (nesting depth added 2). Most of this is not in the body itself: 6 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 134, tab, select, \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":"web/components/sidebar/CategoryNavigation.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb4eeaf183874277ae4ee5cab2060f8996183d07d67d663f8c8de42325a6363"}},{"ruleId":"D2","level":"warning","message":{"text":"VersionBadge.VersionBadge (cognitive 21): VersionBadge.VersionBadge has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 3, boolean chains 2 (nesting depth added 10). Of this number, 16 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/sidebar/VersionBadge.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fce4f70bb31e498088e3e84fb01d908ea9e44e17b8b0b3eb77079e1622a5f3"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizeConfigPanel.VisualizeConfigPanel (cognitive 21): VisualizeConfigPanel.VisualizeConfigPanel has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 6, error handling 2, if/else 2 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 10 belong to 6 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":"web/components/visualize/VisualizeConfigPanel.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0041ab873d6b3a7b3aa2f6089539e71364dbb08a6b226bc41ee71f279c54bd1"}},{"ruleId":"D2","level":"warning","message":{"text":"selectors.selectTraceDisplayItems (cognitive 21): selectors.selectTraceDisplayItems has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 7). Of this number, 19 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":"web/features/chat/trace/selectors.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d662ccb190449e93dcb85a3072495caa4cfc0c4a17043483c1fca7356ce03f"}},{"ruleId":"D2","level":"warning","message":{"text":"GuardianReadingReport.GuardianReadingReport (cognitive 21): GuardianReadingReport.GuardianReadingReport has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (19 pts), boolean chains 2 (nesting depth added 9). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 29, 46, 17). 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":"web/features/multi-user/components/GuardianReadingReport.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3cabaf42f9fbf219085f113054dd5dcb55196d735a81aca9e60435c513e708"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteTaskBlock.NoteTaskBlock (cognitive 21): NoteTaskBlock.NoteTaskBlock has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, ternaries 3 (5 pts), if/else 3, error handling 2 (nesting depth added 2). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 39, create, a function literal at line 35, \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":"web/features/notes/components/NoteTaskBlock.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7ba7df2ae15080e4bf70a7224355bbc0677e2a79b9c6dc1467f5424b097f8f"}},{"ruleId":"D2","level":"warning","message":{"text":"useChatAutoScroll.useChatAutoScroll (cognitive 21): useChatAutoScroll.useChatAutoScroll has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5, loops 2 (nesting depth added 2). None of this is in the body itself: all 21 points belong to 10 function literals inside it that branch (lines 84, 108, 43, \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":"web/hooks/useChatAutoScroll.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"88249baa40e7c44ed3c6ce335b4323c0241545d970ace6302e00ba2d203f47f1"}},{"ruleId":"D2","level":"warning","message":{"text":"book-progress.reduceBookEvent (cognitive 21): book-progress.reduceBookEvent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 6, match/switch 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":"web/lib/book-progress.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1645e9ac33468922b3378c1e3b070f21ba9f0ac0b4363cf2bf1c38d3f7ef40e0"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-outline.buildChatOutline (cognitive 21): chat-outline.buildChatOutline has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), 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":"web/lib/chat-outline.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb3868a9c1d3aa6f68cb8e995dd9069b473dddcbb2327a037b6417bb0a20cd2"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseAgent.call_llm (cognitive 20): BaseAgent.call_llm has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, error handling 2 (3 pts), ternaries 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":"deeptutor/agents/base_agent.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76b5412988dcb4cad792ab5f983568e532ef732934719fa6f6c9426e71f9818"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseAgent.stream_llm (cognitive 20): BaseAgent.stream_llm has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, error handling 2 (3 pts), ternaries 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"deeptutor/agents/base_agent.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"0723d124b433ccd973adfd3bb504b65c87988b63ee0fb01a4ae490a83bd34f8f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgenticLoopPipeline._resolve_workspace_export (cognitive 20): AgenticLoopPipeline._resolve_workspace_export has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 13, if/else 6, error handling 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"e249653123bf44cbd3828e286a147b04d3d9c17a445ea9f0b310fedfb22354b2"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchPipeline._build_block_tool_schemas (cognitive 20): ResearchPipeline._build_block_tool_schemas has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 3 (4 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":2163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4091f0ccefaf7b7b18862cbd3b836a534665d4da9125fd450ade0c6dc6edbc0"}},{"ruleId":"D2","level":"warning","message":{"text":"file_preview._source_path (cognitive 20): file_preview._source_path has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, boolean chains 6, ternaries 3, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/file_preview.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d5e40774023af95b80fde78d48442b89020e7d5ddf01324788dcd247386880"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnApplicationService.replace_submission (cognitive 20): TurnApplicationService.replace_submission has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/app/service.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd09a1a10da3b115aeb286fb1d473bd45c97398a2ee075fdb68f16816cc09a5"}},{"ruleId":"D2","level":"warning","message":{"text":"_AgentRelay.__call__ (cognitive 20): _AgentRelay.__call__ has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (8 pts), ternaries 2 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/handoff/capability.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7515a29a6c56fb65a52f577e24aea29bcfc0865413d2d74e4b6ba5eb3c84ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryLoopCapability._grade_seed (cognitive 20): MasteryLoopCapability._grade_seed has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, ternaries 4 (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":"deeptutor/capabilities/mastery/loop.py"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a95fbaf645a7cd68a2f97abb86de9e3b2aa274166f63754652fdbabdfd32cf5"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryNoteExplainedTool.execute (cognitive 20): MasteryNoteExplainedTool.execute has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 7, error handling 1, loops 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda51a5871fe70ae40bc51d5828fe50eda65c47518b78893aa3899a2d65a0d24"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentAdder._process_provider_files_one_by_one (cognitive 20): DocumentAdder._process_provider_files_one_by_one has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 3 (7 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":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e677ab2c4d44d4e39f29e34cffcd1c9f76756f8103175b30d5a36b868f42673"}},{"ruleId":"D2","level":"warning","message":{"text":"lesson_evidence._repair_page (cognitive 20): lesson_evidence._repair_page has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, 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":"deeptutor/learning/lesson_evidence.py"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f657fd0f9f3b1f30456607b92a7dbc6d36e663ca02ce9f1ae39bd147f2e80e"}},{"ruleId":"D2","level":"warning","message":{"text":"SpacedRepetitionScheduler.schedule_review (cognitive 20): SpacedRepetitionScheduler.schedule_review has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, 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":"deeptutor/learning/scheduler.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc4f66cb8cbfa65b76ec7a415f229c25359fccc963180dff070619d573039a7"}},{"ruleId":"D2","level":"warning","message":{"text":"personal_models.personal_llm_rows (cognitive 20): personal_models.personal_llm_rows has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (9 pts), boolean chains 8, 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":"deeptutor/multi_user/personal_models.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c2a46d194f4997726da6c50b6accf2e66754c1d56991f466b26d3aea73cb76"}},{"ruleId":"D2","level":"warning","message":{"text":"NapcatChannel._on_message (cognitive 20): NapcatChannel._on_message has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/napcat.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06bbea7c9b3b687692b6eaa739a51d5b244f423926a818212ad0c9fae2e5d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge_capture.organize_workspace_notes (cognitive 20): knowledge_capture.organize_workspace_notes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/knowledge_capture.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"120609210be6b3654919f3e6dab2723ae23ad57acabc71a1bcff85afc87f2f3b"}},{"ruleId":"D2","level":"warning","message":{"text":"launcher._patch_packaged_web_placeholders (cognitive 20): launcher._patch_packaged_web_placeholders has cognitive complexity 20 (threshold 15). Drivers by points: if/else 2 (6 pts), loops 3 (6 pts), ternaries 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":"deeptutor/runtime/launcher.py"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7ae96647ea761a405dab86942acfd74224f39a63e91acf94666a0b2603d443"}},{"ruleId":"D2","level":"warning","message":{"text":"update_worker.run_update_worker (cognitive 20): update_worker.run_update_worker has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, error handling 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":"deeptutor/runtime/update_worker.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0a77e20397855796540fa7395d44bc8a25662bbfdac416a31bd0f4a1f832b9"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeBuddyAuthService.start_login (cognitive 20): CodeBuddyAuthService.start_login has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 2, error handling 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/codebuddy_auth.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"660b49cdf8a8aa0aec106315ff6e3128a1649dd398e84a6dc692a9a75abd4d1b"}},{"ruleId":"D2","level":"warning","message":{"text":"codebuddy_credentials.probe_account (cognitive 20): codebuddy_credentials.probe_account has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, loops 2 (3 pts), error handling 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":"deeptutor/services/codebuddy_credentials.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e9cccaa80a5c09347422338345617e659154d46848c4f1e2dd82e7f744563d"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexOAuthService._credentials_from_payload (cognitive 20): CodexOAuthService._credentials_from_payload has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, ternaries 3, error handling 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/codex_auth/service.py"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"8152bfdf021ececf4b5a9d0aa70c4f91446b668c9b450ba51cab5582e1e4884a"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbeddingClient.embed (cognitive 20): EmbeddingClient.embed has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 4 (6 pts), error handling 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/client.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf04eb8d33ef53fdc754cff226d41c7a5fa16b960266907088f54683c5ca53e"}},{"ruleId":"D2","level":"warning","message":{"text":"github_copilot_auth.fetch_github_copilot_models (cognitive 20): github_copilot_auth.fetch_github_copilot_models has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2, 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":"deeptutor/services/github_copilot_auth.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22add779279c49bb9076ddc8b334e14d6d279b1d2fc4a9468b9e11855f4fcab"}},{"ruleId":"D2","level":"warning","message":{"text":"error_mapping.parse_retry_after_seconds (cognitive 20): error_mapping.parse_retry_after_seconds has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 2 (5 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/error_mapping.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcb5f99b1c3fec5faa88f97cda61124183c70a915253ad2987348add5b33928"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicProvider._assistant_blocks (cognitive 20): AnthropicProvider._assistant_blocks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 6, loops 3 (4 pts), 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":"deeptutor/services/llm/provider_core/anthropic_provider.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa32c5adc2ffa2b3d4227d5602623f1497eabaf59feb5e1d9e9cc96deee56d4f"}},{"ruleId":"D2","level":"warning","message":{"text":"McpCatalogEntry.__post_init__ (cognitive 20): McpCatalogEntry.__post_init__ has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/mcp/catalog/models.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2784e5f88fe7cb2a3e7f2e88be24fbca1b18aea4b519f5b881efcc84f37176c7"}},{"ruleId":"D2","level":"warning","message":{"text":"update._run_update_l3 (cognitive 20): update._run_update_l3 has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/consolidator/modes/update.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"297b48b120229be6769e923b473be8de0a1ebd851ea14f94b53d70700f7e9bb1"}},{"ruleId":"D2","level":"warning","message":{"text":"store.migrate_partner_surface_if_needed (cognitive 20): store.migrate_partner_surface_if_needed has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/store.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"e371db9fa33bae1cf42f6788c3d3742636d98a9b31cd88ca5f7b826ab2d86ff3"}},{"ruleId":"D2","level":"warning","message":{"text":"trace.iter_since (cognitive 20): trace.iter_since has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 2 (5 pts), loops 2 (3 pts), boolean chains 2, ternaries 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/trace.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4fd5faa58678b98303c4c62678b38bd7478dfed5460896091ba52cf9606edf"}},{"ruleId":"D2","level":"warning","message":{"text":"LiteParseParser.parse (cognitive 20): LiteParseParser.parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/parsing/engines/liteparse/engine.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd02b37b31be2e7f2eb2945e51f1c37008412e6c29f61249a46c582f2ee00ea"}},{"ruleId":"D2","level":"warning","message":{"text":"_process._process_group_alive (cognitive 20): _process._process_group_alive has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 2 (6 pts), loops 1 (2 pts), boolean chains 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/parsing/engines/mineru/_process.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fac7b870e7e6c89309eb27428d2736a2be386b1dfeb75f6a0f513b87c45f626"}},{"ruleId":"D2","level":"warning","message":{"text":"backend._parse_local (cognitive 20): backend._parse_local has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/parsing/engines/mineru/backend.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8f496ca8a7c27afe8fc6d30f318038ea9299db5c52cc5ef7ad154af3725cd7"}},{"ruleId":"D2","level":"warning","message":{"text":"provider.resolve_persisted_completion_provider (cognitive 20): provider.resolve_persisted_completion_provider has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, loops 2 (3 pts), error handling 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/graphrag/provider.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd56e2624ca3094d9bbc613af35e6437c29442139b94a309648cb3ec23c083bf"}},{"ruleId":"D2","level":"warning","message":{"text":"ingress.freeze_document (cognitive 20): ingress.freeze_document has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 5, error handling 1, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/ingress.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c59c60968bc59f05c35b1375e0428cbd07397f8c1cde02ff17fb7c854d8e0d3"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.pageindex_sources_from_text (cognitive 20): tools.pageindex_sources_from_text 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":"deeptutor/services/rag/pipelines/pageindex/tools.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e60cd8ac27adc56ef16fc6789cac931d6b20c6faedb7e95d6813d39389a700"}},{"ruleId":"D2","level":"warning","message":{"text":"visual_coverage.coverage_overview (cognitive 20): visual_coverage.coverage_overview has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, error handling 1 (2 pts), ternaries 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/visual_coverage.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b90c98a2b307dd1f4bb9eea574c6c42f871a2b6ea035c7c4ccb0a2ef9ec7b11"}},{"ruleId":"D2","level":"warning","message":{"text":"reading_hints._render (cognitive 20): reading_hints._render has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (16 pts), if/else 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":"deeptutor/services/reading_hints.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b175ee4dfa394032c6d998ff6909001d27afa904446ce9ebd8b38288d19cc2"}},{"ruleId":"D2","level":"warning","message":{"text":"AliyunIQSProvider.search (cognitive 20): AliyunIQSProvider.search has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 14, if/else 5, loops 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":"deeptutor/services/search/providers/aliyun_iqs.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a446cff0d4385afb9955c17e9c80245b53464ce1d769de8197f8af7507845827"}},{"ruleId":"D2","level":"warning","message":{"text":"SpecStreamProvider.search (cognitive 20): SpecStreamProvider.search has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 14, if/else 5, loops 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":"deeptutor/services/search/providers/specstream.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"938598d42b6442a97f4dd514a42b5869c142f1f236c9d07ae512c83751dda799"}},{"ruleId":"D2","level":"warning","message":{"text":"_turn_runtime_shared._mastery_action_context (cognitive 20): _turn_runtime_shared._mastery_action_context has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1, 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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d3ce61f8a300a7a6baf9b37b09233841f80373a162e26f12f1755488443e9"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_response_state._normalized_thinking_blocks (cognitive 20): provider_response_state._normalized_thinking_blocks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/provider_response_state.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a979e6fb4b607b1c0f5ff3aef282ffec943347a7af532431c739744eaf09a9f7"}},{"ruleId":"D2","level":"warning","message":{"text":"QuestionBankQuery.normalized (cognitive 20): QuestionBankQuery.normalized has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 14, ternaries 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2346550b332484f2e75f3dd48d65d5b653c4f49dcc559c0c4772720a5bc27e49"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLiteSessionStore._reserve_submission_sync (cognitive 20): SQLiteSessionStore._reserve_submission_sync has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"49346374191260ba651cea483956739f0edaf6e5f7adb3b98ba590318cc04038"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLiteSessionStore._append_turn_events_sync (cognitive 20): SQLiteSessionStore._append_turn_events_sync has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbd2c726e64f90577723de7a5ebba21dab8508e09ff23833f6c94ed61ef4fa4"}},{"ruleId":"D2","level":"warning","message":{"text":"thread_attribution._matches (cognitive 20): thread_attribution._matches has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/thread_attribution.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"34646968131b481487e1fcbc3c8665de6e10a4b47853751ac840b9ffb46e7669"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillService.install_tree (cognitive 20): SkillService.install_tree has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 6, error handling 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/skill/service.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"a733929a8a9c3e6a1c2deea55ca621961ccc91ec31c36313d37760a75628fede"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeekHarnessBackend._consult_headless (cognitive 20): DeepSeekHarnessBackend._consult_headless has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/deepseek_harness.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"31932416ff238b2cb3f46fd76a6766cc184a78426db3bacb4ed912729edf0052"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesRemoteClient.stream_events (cognitive 20): HermesRemoteClient.stream_events has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/hermes_remote_client.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"676fefcc2bc2136d9f9eeeb5b7784f234bde79776dfb82fc0d0e67caf7f5d23e"}},{"ruleId":"D2","level":"warning","message":{"text":"DashScopeVideogenAdapter._size (cognitive 20): DashScopeVideogenAdapter._size has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, ternaries 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/videogen/adapters/dashscope.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc506ed3e78c56df86bf6cabce8b137940821970eb273364500c312e40f0a09b"}},{"ruleId":"D2","level":"warning","message":{"text":"speech_text._replace_sqrt_once (cognitive 20): speech_text._replace_sqrt_once has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/speech_text.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1233534cc285b4733fe95d5833b3453ba732e8bb0c74e4e19e8905b9709df0"}},{"ruleId":"D2","level":"warning","message":{"text":"resources.resource_usage (cognitive 20): resources.resource_usage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 7, ternaries 1 (3 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/resources.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1749069d9db176e95e2b11947efc6870d8c26155be35d5ec035f0ce12bd87c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentWorkspaceService._walk_workspace (cognitive 20): ContentWorkspaceService._walk_workspace has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (9 pts), error handling 2 (5 pts), boolean chains 3, 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":"deeptutor/services/workspace/service.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c764a1e63deb17133b89bd42b2c6ed64ec2f9947510408d312031cd26deafd"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadSourceTool.execute (cognitive 20): ReadSourceTool.execute has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/builtin/__init__.py"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec906c68afb9cd2ba1308dc9fab5f97d06e4349c3c79c30622e2b7127b9e9cb9"}},{"ruleId":"D2","level":"warning","message":{"text":"ListDirTool.execute (cognitive 20): ListDirTool.execute has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, ternaries 2 (4 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":"deeptutor/tools/file_tools.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a34ee4b379e5f166bcd39fc5a130b51687578739f82d3417f8cd2c1d60edcff"}},{"ruleId":"D2","level":"warning","message":{"text":"list_notebook.read_favorite_record (cognitive 20): list_notebook.read_favorite_record has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 6, ternaries 2, error handling 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/list_notebook.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"80963570258621827fd111f5e420431665b5c77692d0d3ade5f2cb4f1bb21b9f"}},{"ruleId":"D2","level":"warning","message":{"text":"notes._matching_records (cognitive 20): notes._matching_records has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, loops 3 (4 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/video_learning/notes.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"006be6b239c20d43beaa94df2b9d2a3c067d9293af38ae31c42197b1de4cb3eb"}},{"ruleId":"D2","level":"warning","message":{"text":"http.post (cognitive 20): http.post has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 7, if/else 4 (nesting depth added 3). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 46, 36). 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":"packages/chat-engine/src/providers/http.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab49127809f7812b7254e6af0b7d5c3a88b084690d5a2c97962b146123215f4"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationBlock.AnimationBlock (cognitive 20): AnimationBlock.AnimationBlock has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 18, if/else 1, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/blocks/AnimationBlock.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f22beb023d47270468cd604c024ff12ef3df9293232268355d271f53f8c29c"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepDiveBlock.DeepDiveBlock (cognitive 20): DeepDiveBlock.DeepDiveBlock has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 4, ternaries 3 (4 pts) (nesting depth added 1). 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 (a function literal at line 58, a function literal at line 75, pageFor). 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":"web/app/(workspace)/learning/books/components/blocks/DeepDiveBlock.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"711da06528635199bceef871f6181b9a02c77b72762cc94f32ea8582a93bbc66"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceEditor.FaceEditor (cognitive 20): FaceEditor.FaceEditor has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 6, error handling 1, if/else 1 (nesting depth added 4). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 5 function items inside it that branch (handleFile, a function literal at line 138, a function literal at line 144, \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":"web/components/partners/FaceEditor.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c206602368f150a6bcd3ed856f693510a8ed9118c1374c62923808bcae84d64"}},{"ruleId":"D2","level":"warning","message":{"text":"useGroupSession.useGroupSession.rounds (cognitive 20): useGroupSession.useGroupSession.rounds has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 3 (4 pts), boolean chains 3, loops 1 (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 7 belong to 5 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":"web/components/partners/group/useGroupSession.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"756d414d0f39dac3f3bb4cc6a0a0ef2dd58159b221d26b30e81814eb53dd964b"}},{"ruleId":"D2","level":"warning","message":{"text":"PdfImageZoomOverlay.PdfImageZoomOverlay (cognitive 20): PdfImageZoomOverlay.PdfImageZoomOverlay has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, boolean chains 5, ternaries 3, error handling 1. Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 139, 330, 310, \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":"web/components/reading/PdfImageZoomOverlay.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f39b4b8e063922f65851f0d96d56eb0390e9fe41cfeb352c2bc401d77d5d2f"}},{"ruleId":"D2","level":"warning","message":{"text":"PdfZoomControls.PdfZoomControls (cognitive 20): PdfZoomControls.PdfZoomControls has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9, ternaries 5 (8 pts), boolean chains 3 (nesting depth added 3). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 133, 67, 65, \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":"web/components/reading/PdfZoomControls.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c744565794fbaff83c5561c3da933bb6ffbac1d9c51146e99df4844639bd56"}},{"ruleId":"D2","level":"warning","message":{"text":"AddMaterialsDialog.AddMaterialsDialog (cognitive 20): AddMaterialsDialog.AddMaterialsDialog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 22 (29 pts), ternaries 17 (25 pts), boolean chains 19, loops 3 (6 pts), error handling 3 (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. This shape REPEATS in the file: one other method here (AddMaterialsDialog.AddMaterialsDialog::submit) 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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"749a0c95e47e88dcf05a53627def7f9d680d9e5fcbfb1c1831d4b8ae5b3e9208"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryMenu.CategoryMenu (cognitive 20): CategoryMenu.CategoryMenu has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 5, if/else 5, error handling 1 (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 8 belong to 9 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/question-bank/CategoryMenu.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0b2cc2980cd7b2f8a50bc92e6ce3be2b8241d9831c65083e01d0161c7937e5"}},{"ruleId":"D2","level":"warning","message":{"text":"buildStartTurnInput.buildStartTurnInput (cognitive 20): buildStartTurnInput.buildStartTurnInput has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11, boolean chains 5, if/else 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/controllers/buildStartTurnInput.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c86cd1bcb6a9cd51fd0bc3a573cd53452f5293d0dcd065dc7a3cba8d229b7a"}},{"ruleId":"D2","level":"warning","message":{"text":"BookPermissionEditor.BookPermissionEditor (cognitive 20): BookPermissionEditor.BookPermissionEditor has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (11 pts), boolean chains 4, if/else 4, error handling 1 (nesting depth added 4). Of this number, 10 points are the body\u0027s own statements and 10 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/multi-user/components/BookPermissionEditor.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaeae750358ff3253ff7c2e386c61936d28d257ac49fb75b14578a30e1c0b4b3"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteTaskView.NoteTaskView (cognitive 20): NoteTaskView.NoteTaskView has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, ternaries 3 (6 pts), if/else 3, error handling 2 (nesting depth added 3). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 37, a function literal at line 174, a function literal at line 30, \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":"web/features/notes/components/NoteTaskView.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef3c2642213f33dd3b5f4942e7df8e45d1693e6e9559d3890983ac68091838c"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilitiesSettingsSection.CapabilitiesSettingsPage (cognitive 20): CapabilitiesSettingsSection.CapabilitiesSettingsPage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16, ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 99, a function literal at line 152, patchChat, \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":"web/features/settings/sections/CapabilitiesSettingsSection.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"892b839118899c3800c6ea3e3d580243fcad7631d218bad3311827ca45c353f0"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceSettingsSection.WorkspaceRow (cognitive 20): WorkspaceSettingsSection.WorkspaceRow has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 14, ternaries 4 (6 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/WorkspaceSettingsSection.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"297e3336e2948e9ade4e3867b43a1eb65ad2279c28ec94d6065e192cb7434f98"}},{"ruleId":"D2","level":"warning","message":{"text":"useMasteryPathActivity.useMasteryPathActivity (cognitive 20): useMasteryPathActivity.useMasteryPathActivity has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, ternaries 6 (7 pts), boolean chains 3 (nesting depth added 1). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 181, 155, 164, \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":"web/hooks/useMasteryPathActivity.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47cd567b6d8b7df41a97bac801d03ed2e5c47caf7f1823002cd07bbbb763fe4"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-resend.decideFailedTurnReplay (cognitive 20): chat-resend.decideFailedTurnReplay has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4 (7 pts), boolean chains 5 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/chat-resend.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4376b76896a0f0a7ea7697b653b6c1e6b14f8728f923dea1d5e99c63d48c8b6"}},{"ruleId":"D2","level":"warning","message":{"text":"failed-submissions.clearFailedSubmission (cognitive 20): failed-submissions.clearFailedSubmission has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, loops 1 (2 pts), ternaries 1 (nesting depth added 4). 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: 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":"web/lib/failed-submissions.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"68795280f9c89768e7a0980b873837873e4329da282be91e8d97382e444d967f"}},{"ruleId":"D2","level":"warning","message":{"text":"reading-citations.parseLocatorList (cognitive 20): reading-citations.parseLocatorList has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (16 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":"web/lib/reading-citations.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff11d3917d6ce38d4e46ad51e6894a0aee2f208b75b7a2f0e70a05c5c7e983df"}},{"ruleId":"D2","level":"warning","message":{"text":"reading-quote-locator.project (cognitive 20): reading-quote-locator.project has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 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":"web/lib/reading-quote-locator.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"abddc991078f773bf26d2b77128b67a8cd9d416d2015499f81b2831902d2c2da"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialog.Dialog (cognitive 20): Dialog.Dialog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, boolean chains 6, ternaries 4. Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (handleKeyDown, a function literal at line 74, a function literal at line 81, \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":"web/shared/ui/Dialog.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d5b6d644a4579b77647f323a6bd84d1bb72652e2da5e5339e41fcb0f227427"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseAgent.get_prompt (cognitive 19): BaseAgent.get_prompt has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 5 (7 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":"deeptutor/agents/base_agent.py"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fe699a63d504b09846359c1adb6bb53aaabf7590c79a56977ec15eb6a07c97"}},{"ruleId":"D2","level":"warning","message":{"text":"AgenticLoopPipeline._build_loop_messages (cognitive 19): AgenticLoopPipeline._build_loop_messages has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, loops 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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"345bc4833e689060fb019156e3c78376597432a0b118804759e202456bc81ac9"}},{"ruleId":"D2","level":"warning","message":{"text":"mimic_source._parse_sync (cognitive 19): mimic_source._parse_sync has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, ternaries 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/mimic_source.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"507e0a81bb9e621a70567d74eb9d91b934113a375497a9f112bd628d32acf20f"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchPipeline._drive_queue (cognitive 19): ResearchPipeline._drive_queue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (4 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":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0d30183cce873ab86bc343c61e811c6ac3ac2b98c280162377dcd52322e1ec"}},{"ruleId":"D2","level":"warning","message":{"text":"CitationManager._format_one_apa (cognitive 19): CitationManager._format_one_apa has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 7 (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":"deeptutor/agents/research/utils/citation_manager.py"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d77c6a55ae729534699310898ac468d1b442a4b3bea1099cb9b3289720116d"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizeCapability.run (cognitive 19): VisualizeCapability.run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, ternaries 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/visualize/capability.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdc2bf1186063fb4c6088d3bfe00b350ac67c6d3fcae3d003554b2c812235cb"}},{"ruleId":"D2","level":"warning","message":{"text":"imports.import_chat_history (cognitive 19): imports.import_chat_history has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/imports.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e3617ba4bd3c62e3d0083c025639e3eb31858b1de53370f93814d851e4ba00"}},{"ruleId":"D2","level":"warning","message":{"text":"partners._create_partner (cognitive 19): partners._create_partner has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 7, error handling 1 (3 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/partners.py"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fd36de6ee91e5dec31eb6c01fc950fa438232d2a456840de200d6c247efa12"}},{"ruleId":"D2","level":"warning","message":{"text":"question_notebook._persist_answer_images (cognitive 19): question_notebook._persist_answer_images has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, error handling 2 (6 pts), if/else 3 (5 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":"deeptutor/api/routers/question_notebook.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee15f04cc76836593c8eac960ede6039e22cf0045aa6470db5222d9f1db78eb"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.update_document_parsing_settings (cognitive 19): settings.update_document_parsing_settings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 5, error handling 1 (3 pts), 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":"deeptutor/api/routers/settings.py"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"f737d6b71a652be70ef7df8a4520dfd19764a2d0c74f581715c4e95d9626514b"}},{"ruleId":"D2","level":"warning","message":{"text":"tools._serialise_definition (cognitive 19): tools._serialise_definition has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 3 (10 pts), boolean chains 3, if/else 2 (3 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/tools.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb87c07a09594e799a6b841930dcd870405a10e7ef7d1b548f8418d37bb8c985"}},{"ruleId":"D2","level":"warning","message":{"text":"BookEngine.generation_summary (cognitive 19): BookEngine.generation_summary has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (5 pts), ternaries 3 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/engine.py"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"af76687cdfd7ff63c3ce907ef33a13b5d864e69404e1df3ac4b6364fee315d54"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioOverviewPipeline.publish (cognitive 19): AudioOverviewPipeline.publish has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, ternaries 1 (2 pts), error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/audio_overview/pipeline.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"225f0544916ed2128959dc18012b48724ff54f2d6e59aeda20c2186dccd10e30"}},{"ruleId":"D2","level":"warning","message":{"text":"HandoffCapability._subagent (cognitive 19): HandoffCapability._subagent has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 5, 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":"deeptutor/capabilities/handoff/capability.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca627ea882be0af2cb01a4f831188f4f91cedae574ebade01c01d43ec8b749ef"}},{"ruleId":"D2","level":"warning","message":{"text":"docx_converter._numbering_formats (cognitive 19): docx_converter._numbering_formats has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 4 (6 pts), boolean chains 4, error handling 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":"deeptutor/co_writer/docx_converter.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fa793030a998c0b052601ac1f5cb185bbd6fb88615decce887e5bdd3b15399"}},{"ruleId":"D2","level":"warning","message":{"text":"TeachingUpdate.check_semantics (cognitive 19): TeachingUpdate.check_semantics has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 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":"deeptutor/learning/teaching.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bee6c55269247303554f331eac9c5397a278d46a6c485abdefb8c8c3a6f0846"}},{"ruleId":"D2","level":"warning","message":{"text":"FeishuChannel._download_and_save_media (cognitive 19): FeishuChannel._download_and_save_media has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2908ed9727b1e208b23fa6d1a636e42633b8359d14a87df3d6ddcbc84e831e9"}},{"ruleId":"D2","level":"warning","message":{"text":"MatrixChannel._upload_and_send_attachment (cognitive 19): MatrixChannel._upload_and_send_attachment has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 6, error handling 3, ternaries 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":"deeptutor/partners/channels/matrix.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c41dfb01bc591958945fe9e66b6fb42e2a52561c5e2e797e30ac7f7212db55"}},{"ruleId":"D2","level":"warning","message":{"text":"lifecycle._manifest_from_wheel (cognitive 19): lifecycle._manifest_from_wheel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/plugins/lifecycle.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2f03f54d9d7a91e66e1b6427edf73d2c3292c4cd545034202c5038237e75d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingStore.outline (cognitive 19): ReadingStore.outline has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 1 (3 pts), ternaries 1 (3 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":"deeptutor/reading/store.py"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"985d5d5a787c7e7a2b518b9680ab44008cb8232c4e296b5bc3f7642487ae5edc"}},{"ruleId":"D2","level":"warning","message":{"text":"_ProviderOpenAIAdapter._create_completion (cognitive 19): _ProviderOpenAIAdapter._create_completion has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (7 pts), ternaries 2 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/agentic/client.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb17f64c4b19b13d1f805b27557ccb7d7177ae43aff9be5f2db657117252d93"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundLeaderSupervisor._run (cognitive 19): BackgroundLeaderSupervisor._run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 4 (8 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/background_leader.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1156065f87d271830fc2ff4f915eb5c52e0cbea2c41cb066ae8124569d3ce5b"}},{"ruleId":"D2","level":"warning","message":{"text":"readiness.document_parser_rows (cognitive 19): readiness.document_parser_rows has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (6 pts), ternaries 2 (5 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/readiness.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7177b6bc08637210f9c1bb130d1097499ee852c48c3d2c6c4fd995a34734d45"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatProvider._extract_text_content (cognitive 19): OpenAICompatProvider._extract_text_content has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe3cea9c70aabde0c1aa118107c7e2955fda7be6b62bd463cd1adc5d7a61996"}},{"ruleId":"D2","level":"warning","message":{"text":"converters.mark_stable_history_breakpoint (cognitive 19): converters.mark_stable_history_breakpoint has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (5 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":"deeptutor/services/llm/provider_core/openai_responses/converters.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50c876c63da68b8b95ed3a8be18bc233c99781fdb750347e41788b74dbf5334"}},{"ruleId":"D2","level":"warning","message":{"text":"usage_ledger.merge_records (cognitive 19): usage_ledger.merge_records has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 4, 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":"deeptutor/services/llm/usage_ledger.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d8ecf8c33263fe7caa9b9e0a5e46daa775151b3cddd2d412e77435043d36a6"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConnectionManager.call_tool (cognitive 19): MCPConnectionManager.call_tool has cognitive complexity 19 (threshold 15). Drivers by points: error handling 7 (9 pts), if/else 5 (7 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":"deeptutor/services/mcp/manager.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"858f58951c564307094317d549e37db8df3d80472787b3ffdd9b43ee11ab6ab0"}},{"ruleId":"D2","level":"warning","message":{"text":"_runtime.call_llm (cognitive 19): _runtime.call_llm has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 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":"deeptutor/services/memory/consolidator/modes/_runtime.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c16e9bf05a02923e8cd3f53a2da24532351c4a13075819df8e4078420c9d5b8"}},{"ruleId":"D2","level":"warning","message":{"text":"adapters.read_partner_entities (cognitive 19): adapters.read_partner_entities has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcc33aa7311dd97093b3380f74d45e8d298c241f5082484337637efbd79a13c"}},{"ruleId":"D2","level":"warning","message":{"text":"local_worker.parse_local (cognitive 19): local_worker.parse_local has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (3 pts), error handling 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":"deeptutor/services/parsing/engines/docling/local_worker.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f552d48d8bb0df48eab61dccfbd99aed38051f09f6f091b20adb7b5a40fc8d"}},{"ruleId":"D2","level":"warning","message":{"text":"normalization._plan (cognitive 19): normalization._plan has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/parsing/engines/mineru/normalization.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c50a56ca76854ea4488f1ebc2cf2c65e61194ee3723fa52ae9fe178ff5f867"}},{"ruleId":"D2","level":"warning","message":{"text":"storage.resolve_resumable_rebuild_dir (cognitive 19): storage.resolve_resumable_rebuild_dir has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, error handling 1, loops 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/storage.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"497143deb29a2fbfe629b0f666a32c5db45bbd8f1b2cf80ec5002eb24d656694"}},{"ruleId":"D2","level":"warning","message":{"text":"FirecrawlProvider.search (cognitive 19): FirecrawlProvider.search has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (8 pts), loops 2 (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":"deeptutor/services/search/providers/firecrawl.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6a8600bf69b4bbfac06e0918fe89c81a2d57acfa7b19b42615a3d0e366207a"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchApiProvider.search (cognitive 19): SearchApiProvider.search has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, error handling 2 (3 pts), loops 2, ternaries 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/providers/searchapi.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8d3219c9c6069fa1cb32e1702889fc04e7aa47d3f46073a68aef68f4dcaf00"}},{"ruleId":"D2","level":"warning","message":{"text":"_turn_runtime_shared._extract_followup_question_context (cognitive 19): _turn_runtime_shared._extract_followup_question_context has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, if/else 5 (6 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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d09bc4ce9952435c7d09d8ab16d53b527e0f5f080dc8b6b61472fe2604c3ba6"}},{"ruleId":"D2","level":"warning","message":{"text":"_turn_runtime_shared._extract_selection_tutor_context (cognitive 19): _turn_runtime_shared._extract_selection_tutor_context has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5 (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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c9d572f90629f3a8cf1ec8f2a9be3bbe1b9aef01993b231f83c0b64eddb2aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextBuilder._build_history (cognitive 19): ContextBuilder._build_history has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (5 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/context_builder.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0c8ebcbc4302e85b1d73128a494e0814dc48dcb8c5ba41c9ae8a85ff72d7e5"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawHubProvider.search (cognitive 19): ClawHubProvider.search has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, loops 2 (3 pts), error handling 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/skill/hub.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3c46544df3e9a9ad0e3ecd9a612703bf26669c065a77a383e4ce25e9c8de99"}},{"ruleId":"D2","level":"warning","message":{"text":"snapshot_assets.fetch_snapshot_image (cognitive 19): snapshot_assets.fetch_snapshot_image has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 6, error handling 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/web_source/snapshot_assets.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f07c7aa6cada599159847978e8215f876a453dab36ddf4084d877af3e5ed0e"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentWorkspaceService.publish (cognitive 19): ContentWorkspaceService.publish has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (5 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":"deeptutor/services/workspace/service.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"306ada7e304c16bef2ef12339a265bf6e7988722e093ed75d45d7c26967573d4"}},{"ruleId":"D2","level":"warning","message":{"text":"ask_user.build_ask_user_preview (cognitive 19): ask_user.build_ask_user_preview has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, loops 1 (2 pts), error handling 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":"deeptutor/tools/ask_user.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"192c209eb82e615084384cfe5238736da00fc6c9264d2da16c024194330efdf6"}},{"ruleId":"D2","level":"warning","message":{"text":"ZoteroSearchToolWrapper.execute (cognitive 19): ZoteroSearchToolWrapper.execute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, error handling 2, 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":"deeptutor/tools/builtin/__init__.py"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"5344e3ebcb4d4a2887701ecb8a85aef72aa4acb95085d7a14ace985df1b68467"}},{"ruleId":"D2","level":"warning","message":{"text":"list_notebook._render_index (cognitive 19): list_notebook._render_index has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, error handling 1 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/list_notebook.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f85fb874e5dcd580f28d2fef5d6c3ab7e3f7d3d4fcfff26023f8e0eedc9168"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolPromptComposer.format_phased (cognitive 19): ToolPromptComposer.format_phased has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/prompting/__init__.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d24f842d77b37d540567840a6b6e8cfe87801a8750c92b7c47ad36020449f5"}},{"ruleId":"D2","level":"warning","message":{"text":"document_extractor._extract_pptx (cognitive 19): document_extractor._extract_pptx has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 3 (4 pts), loops 2 (3 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":"deeptutor/utils/document_extractor.py"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82afed55befa4f5436ef41b7906a3f657c82f425fee55e409c1a18b2476989e"}},{"ruleId":"D2","level":"warning","message":{"text":"document_extractor.normalize_epub_archive (cognitive 19): document_extractor.normalize_epub_archive has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, ternaries 2 (3 pts), error handling 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/document_extractor.py"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"000ca128765bb5e6e81c8302f85170e76c53f69514698f283fa1623033dbcf05"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol._find_remote_schema_ref (cognitive 19): protocol._find_remote_schema_ref has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (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":"deeptutor/visualizers/protocol.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de59c44085ccf348aedfb8c96da758ed42d32796f2f2959140fb41fdcffef54"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningCapturePanel.LearningCapturePanel (cognitive 19): LearningCapturePanel.LearningCapturePanel has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 5, if/else 1 (nesting depth added 6). Of this number, 13 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/LearningCapturePanel.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c212b269cecd85d60f741eb368aff06d31685e252f1947c2b3cbecfe071a5e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMarkdownNoteTab.ChatMarkdownNoteTab (cognitive 19): ChatMarkdownNoteTab.ChatMarkdownNoteTab has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, ternaries 4 (6 pts), if/else 3, error handling 1 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 8 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":"web/components/chat/home/ChatMarkdownNoteTab.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"868bc8e5aad80a5f3b5815c64f645da0176a39932ebd27edabd825aca248c677"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionActivityPanel.ActivityBody (cognitive 19): SessionActivityPanel.ActivityBody has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 7, 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":"web/components/chat/home/SessionActivityPanel.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8a466fda419e63d97c5877e5d920bebe34d30a16842fbc71f5f3b2af0daeb9"}},{"ruleId":"D2","level":"warning","message":{"text":"CliAppsSection.Store (cognitive 19): CliAppsSection.Store has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 6, if/else 6, ternaries 4 (6 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 390, 370, 377, \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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd53f972264d3c2618884c6a5054bd97a238efaf1cad7421fc1942dfbad11e7c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectKiwixModal.ConnectKiwixModal (cognitive 19): ConnectKiwixModal.ConnectKiwixModal has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, ternaries 3 (6 pts), error handling 3 (nesting depth added 3). Of this number, 10 points are the body\u0027s own statements and 9 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":"web/components/knowledge/ConnectKiwixModal.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae5c7065fe954902ae01a01b4ba611a9ace1d1ec22c3a48e7dd07d74e85f06d"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRagRoleModelsEditor.roleModelsValidationError (cognitive 19): LightRagRoleModelsEditor.roleModelsValidationError has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, loops 1 (nesting depth added 5). Of this number, 18 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":"web/components/knowledge/LightRagRoleModelsEditor.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06b91b03172ead9d44b888b897a8b1270cf5db54c32aefe39fb51f883e9d64a"}},{"ruleId":"D2","level":"warning","message":{"text":"LightRagIndexingProvenance.LightRagIndexingProvenance (cognitive 19): LightRagIndexingProvenance.LightRagIndexingProvenance has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 11 (16 pts), boolean chains 3 (nesting depth added 5). Of this number, 17 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":"web/components/knowledge/LightRagIndexingProvenance.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b0252821bf4040bc1eda2c1a528beb2c098d8fd7a05416f6ef29fa5d766a6a"}},{"ruleId":"D2","level":"warning","message":{"text":"PageIndexSettingsModal.PageIndexConfigForm (cognitive 19): PageIndexSettingsModal.PageIndexConfigForm has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 5, if/else 4, error handling 1 (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 9 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/PageIndexSettingsModal.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa15c72e1b1e28cb1c1a24718bd1b5731324ef372d8086e8fe72f7e0e0e0b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationList.AnnotationList (cognitive 19): AnnotationList.AnnotationList has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, ternaries 5 (8 pts), if/else 1 (2 pts), loops 1 (nesting depth added 4). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 112, 118, 49, \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":"web/components/reading/AnnotationList.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"792eb68ce7fe2a7626c5ecd06b20fc12f9c9764289887e8712dfec0796f6bccc"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingExtensionBar.QuizQuestions (cognitive 19): ReadingExtensionBar.QuizQuestions has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 6, if/else 2, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 3 function items inside it that branch (a function literal at line 531, persistAnswer, a function literal at line 550). 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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"695ffd96f45bbfe8456b3ee3dbed3b5089a46a0bd06416ede9cbd815dba9e9fa"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingLibrary.ReadingLibraryPage (cognitive 19): ReadingLibrary.ReadingLibraryPage has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 6, error handling 1 (nesting depth added 6). Of this number, 10 points are the body\u0027s own statements and 9 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":"web/components/reading/library/ReadingLibrary.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3621a826f584ad161981e4f7ba96bdcb69c27928ee637205c4098400ea5bf3"}},{"ruleId":"D2","level":"warning","message":{"text":"useReadingPanelLayout.useReadingPanelLayout (cognitive 19): useReadingPanelLayout.useReadingPanelLayout has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 7, if/else 3 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, 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":"web/components/reading/workspace/useReadingPanelLayout.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f828ad6bc0d6024eb13af0fcde7676d90af22533ffefc49496f909a3c8feab"}},{"ruleId":"D2","level":"warning","message":{"text":"OrganizedSessionList.OrganizedSessionList::renderGroup (cognitive 19): OrganizedSessionList.OrganizedSessionList::renderGroup has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 14 (15 pts), boolean chains 3, if/else 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (OrganizedSessionList.OrganizedSessionList::renderRow) 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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1417a26a36cfdfc9341ac1bc7bc21cd1210c42c91ec1915ff8d3c7488f160f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionsEditor.ConnectionsEditor (cognitive 19): ConnectionsEditor.ConnectionsEditor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 5, ternaries 3 (4 pts), loops 2 (3 pts) (nesting depth added 6). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 108, label, a function literal at line 180, \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":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e421f86fa1362a9adcf6e3b1d44bcc8bd3a8707836bf0566c9f94840cb1b8b54"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskModelsWorkspace.TaskModelsWorkspace (cognitive 19): TaskModelsWorkspace.TaskModelsWorkspace has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 5, loops 1 (nesting depth added 1). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 5 function items inside it that branch (choiceFor, modelSelect, save, \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":"web/components/settings/TaskModelsWorkspace.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"38784d3b88f15b58a3539f6838b0a016d042ec11024e515fc261be6b4e4d88c1"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicWizardSteps.SourcesStep (cognitive 19): TopicWizardSteps.SourcesStep has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, ternaries 6 (7 pts), if/else 4 (nesting depth added 1). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 211, toggleOpen, a function literal at line 162, \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":"web/components/space/learning/TopicWizardSteps.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e607b5798b87228607fdc2cf237adfe37924c8031cbfd8b3c14f69e990df487"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateTopicWizard.CreateTopicWizard (cognitive 19): CreateTopicWizard.CreateTopicWizard has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 6, error handling 1, if/else 1 (nesting depth added 3). Of this number, 10 points are the body\u0027s own statements and 9 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":"web/components/space/learning/CreateTopicWizard.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8484b6511fc519fd4e04ff61c851725d48b9050105fb42de7f63da9bb9b7aa"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteDraftEditor.RouteDraftEditor (cognitive 19): RouteDraftEditor.RouteDraftEditor has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 18, ternaries 1. Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 137, 197, 88, \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":"web/components/space/learning/RouteDraftEditor.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3481c985967deef77c3e4afe04238d084862317b44c61ec228eda52494c0c4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectiveDetail.ObjectiveDetail (cognitive 19): ObjectiveDetail.ObjectiveDetail has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 19. 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":"web/components/space/learning/ObjectiveDetail.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b77429c2ed2fae7164104c0c286be042fa870376424cf6073230db6f967e72"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerFolderPicker.ServerFolderPicker (cognitive 19): ServerFolderPicker.ServerFolderPicker has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 4, ternaries 2 (3 pts), error handling 1 (nesting depth added 1). Of this number, 10 points are the body\u0027s own statements and 9 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":"web/components/workspaces/ServerFolderPicker.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae04382ce71c28f8fe7fc828e479187443a02fb2ead00f8a115d07f280cf08ed"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceResourcePicker.WorkspaceResourcePicker (cognitive 19): WorkspaceResourcePicker.WorkspaceResourcePicker has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 8, if/else 2 (nesting depth added 3). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 72, 117, 34, \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":"web/components/workspaces/WorkspaceResourcePicker.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1af6cc4528fa5c93c5a48dc01dee37966648387fe465cd2697ba25e0c2bbd41"}},{"ruleId":"D2","level":"warning","message":{"text":"recurrence.describeRule (cognitive 19): recurrence.describeRule has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (5 pts), boolean chains 1, match/switch 1 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 3 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":"web/features/calendar/model/recurrence.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8273f824a2ae767f36fa789f2d524563cadbd7b540ccefe0c7b92bee2a23b6"}},{"ruleId":"D2","level":"warning","message":{"text":"blocks.blockPreview (cognitive 19): blocks.blockPreview has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 14, if/else 1 (2 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 1 belongs to 2 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":"web/features/notes/model/blocks.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd850827f79f0fc936af1145a4aedad7c42fdd8470a042b74b3163581821fb0"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageSettingsSection.UsageSettingsSection (cognitive 19): UsageSettingsSection.UsageSettingsSection has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 8, if/else 2 (nesting depth added 3). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 36, a function literal at line 31, a function literal at line 34, \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":"web/features/settings/sections/UsageSettingsSection.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0d32c1bc1f0e017c6f50c2e093284475596f6129fa7b272220eabca858fea3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex.parseCodexSession (cognitive 19): codex.parseCodexSession has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/chat-import/codex.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6715409e237d3a5849c4366fea5729774a47dc678d8f5743e9a451ad0d4f61"}},{"ruleId":"D2","level":"warning","message":{"text":"notebook-api.listNotebookEntries (cognitive 19): notebook-api.listNotebookEntries has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/notebook-api.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c61b0ab26e963610ca95a79704574e71fb9e2d15c0f1eff9a772d1daa16b7a9"}},{"ruleId":"D2","level":"warning","message":{"text":"geogebra-commands.runGeoGebraCommand (cognitive 19): geogebra-commands.runGeoGebraCommand has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 7 (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":"web/lib/geogebra-commands.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3abfbc09340afba631dcff539ad4e7c2f14b82f0e80e7a22096dc14bc2a81c"}},{"ruleId":"D2","level":"warning","message":{"text":"latex.convertFlowFenceToMermaid (cognitive 19): latex.convertFlowFenceToMermaid has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts), match/switch 1 (nesting depth added 7). Of this number, 18 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":"web/lib/latex.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"41885c80672cf49f319aa714b124f465767f9c7baab9c5031c0f428b3f2c4588"}},{"ruleId":"D2","level":"warning","message":{"text":"reading-quote-locator.segmentTextByQuotes (cognitive 19): reading-quote-locator.segmentTextByQuotes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 3 (nesting depth added 6). Of this number, 18 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":"web/lib/reading-quote-locator.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"79272d6bd078bf27981ec8e15aa1f9216b7923a6dcc0c79adf8856968a040c8e"}},{"ruleId":"D2","level":"warning","message":{"text":"session-organization.organizeSessionTree (cognitive 19): session-organization.organizeSessionTree has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (5 pts), boolean chains 4, 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":"web/lib/session-organization.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f9c99a793cff035f54c2edb893d99e8f2ddd1bfabab109662ebca47b829741"}},{"ruleId":"D2","level":"warning","message":{"text":"tool_composition.compose_enabled_tools (cognitive 18): tool_composition.compose_enabled_tools has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 2, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/_shared/tool_composition.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"05af4191098556e2e45e8b9fed92e68542cfc3221a8cfc324041715125c103de"}},{"ruleId":"D2","level":"warning","message":{"text":"tool_composition._coexisting_mounts (cognitive 18): tool_composition._coexisting_mounts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/_shared/tool_composition.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1a28fbb208ae8c09807f42baca54641e45479f24ece9f7fd856bbfc88e4319"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentLoopHost.finish (cognitive 18): AgentLoopHost.finish has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 1 (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":"deeptutor/agents/loop/loop_host.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ecc0f9c4a6f43e5ebe02f20f613e50c63f1d7b1afbe4611cffbb415d49cedd"}},{"ruleId":"D2","level":"warning","message":{"text":"QuestionPipeline.__init__ (cognitive 18): QuestionPipeline.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 4, ternaries 2, error handling 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"189b1c641ddf3d43645600d9a736e57876c8393ab0c96dca84a94f22a2597ed5"}},{"ruleId":"D2","level":"warning","message":{"text":"QuestionPipeline._summarize_tool_result (cognitive 18): QuestionPipeline._summarize_tool_result has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, error handling 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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"283af1bd2f5ea6cdbc545488d03ca6b7b3ed0885b09aa84a1b9333f5f9cc97a6"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.auth_status (cognitive 18): auth.auth_status has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 5, 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":"deeptutor/api/routers/auth.py"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca32d6791027b9c073e68f9942bf1fbd71583810b48e9ee6c365138374da893"}},{"ruleId":"D2","level":"warning","message":{"text":"file_preview._resolve_authorized_file (cognitive 18): file_preview._resolve_authorized_file has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 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":"deeptutor/api/routers/file_preview.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13268be7e268db8a3971894c0b92c193b612011ceb3b70ddca70515be090d53"}},{"ruleId":"D2","level":"warning","message":{"text":"mastery_path._cancel_active_learning_turn (cognitive 18): mastery_path._cancel_active_learning_turn has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (3 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":"deeptutor/api/routers/mastery_path.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08f36226d10d694f1df3790d1b0adad1c2f6941d2340c88f3977e5a8b2f8765"}},{"ruleId":"D2","level":"warning","message":{"text":"partners._validate_channels_payload (cognitive 18): partners._validate_channels_payload has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 3 (4 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/partners.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78d7156ea64f256d4d5fee883105994e9d93e48721618c1c0fb4b4efd881e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"question_notebook.upsert_single_entry (cognitive 18): question_notebook.upsert_single_entry has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (6 pts), loops 1 (2 pts), error handling 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question_notebook.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cc54a84a685d531f459ed440f684865821bdf7554e8228cf2686b40ba539ed"}},{"ruleId":"D2","level":"warning","message":{"text":"tool_options.build_tool_options (cognitive 18): tool_options.build_tool_options has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 3 (4 pts), error handling 2 (3 pts), loops 1, ternaries 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/utils/tool_options.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"785775550aca740bb1f76b726376f66eda1a00bd43604669b34f584127ef5782"}},{"ruleId":"D2","level":"warning","message":{"text":"SpineSynthesizer.synthesize (cognitive 18): SpineSynthesizer.synthesize has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, ternaries 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/spine_synthesizer.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"db29887aaea0ab2b8108f24428b7247f39c158888804b5d7f494750a0491cc78"}},{"ruleId":"D2","level":"warning","message":{"text":"authoring.apply_edit (cognitive 18): authoring.apply_edit has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6, ternaries 6, boolean chains 5, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/authoring.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"de19d5b2092db6fd9c78cd3df798737680399de264f9c9fff5fe834fb620ae07"}},{"ruleId":"D2","level":"warning","message":{"text":"context.build_book_context (cognitive 18): context.build_book_context has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/context.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5aaa0b0ca316a2eee4854e97104b1ffd82fea3c6b7efe8f4d3e7af5172a3a7d"}},{"ruleId":"D2","level":"warning","message":{"text":"BookEngine._compile_page_now (cognitive 18): BookEngine._compile_page_now has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, error handling 2 (3 pts) (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":"deeptutor/book/engine.py"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1fea4afe84488a4e0d55e1659edebd55f502788f68fc2efdb030d688e3b025"}},{"ruleId":"D2","level":"warning","message":{"text":"CreatorCapability.system_block (cognitive 18): CreatorCapability.system_block has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 6 (7 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":"deeptutor/capabilities/creator/capability.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"704c1c68dbabbdaf5e92838cb6bd49b7f622259f5454ff38997c7d219287d7a7"}},{"ruleId":"D2","level":"warning","message":{"text":"native.investigate_native (cognitive 18): native.investigate_native has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, ternaries 7, if/else 2, loops 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/explore_context/native.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34a5b796b35de62495c5cfaa9f90d685cb5cc056dc0223182d783c9d0773a62"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningStore.transaction (cognitive 18): LearningStore.transaction has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (5 pts), loops 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/storage.py"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cebd723ad59db1b46e2b351a839e15d32aefe44c222445fb07c7009b569b89"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge_access._list_visible_knowledge_bases (cognitive 18): knowledge_access._list_visible_knowledge_bases has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (6 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":"deeptutor/multi_user/knowledge_access.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"339468a854b8248d71e67767acfa77ca5ce1eb9ecf5c32aca6a71510c8cf2228"}},{"ruleId":"D2","level":"warning","message":{"text":"MochatChannel._refresh_sessions_directory (cognitive 18): MochatChannel._refresh_sessions_directory has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/mochat.py"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b3437a434d9896868a27943d6f924f837807da0dae5f84f990973133c2ef82"}},{"ruleId":"D2","level":"warning","message":{"text":"MochatChannel._panel_poll_worker (cognitive 18): MochatChannel._panel_poll_worker has cognitive complexity 18 (threshold 15). Drivers by points: if/else 2 (6 pts), boolean chains 4, error handling 2 (4 pts), loops 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":"deeptutor/partners/channels/mochat.py"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"65221ed5d94b8afd43957480af2306ee0c86c91fe3b91de1c56e3709f010743c"}},{"ruleId":"D2","level":"warning","message":{"text":"CatalogArtifactDownloader.download (cognitive 18): CatalogArtifactDownloader.download has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 3 (4 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/plugins/distribution.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceeae5cf005fc2b168fb518ef70fdbe6c91eddb08968477df01daf0bafea0f5e"}},{"ruleId":"D2","level":"warning","message":{"text":"client._build_openai_client (cognitive 18): client._build_openai_client has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/agentic/client.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb5cd00e558842d5ba5c4c5324d58dcee2281e5ef8258b37baa231e5a8e1d79"}},{"ruleId":"D2","level":"warning","message":{"text":"CliAppTool.execute (cognitive 18): CliAppTool.execute has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), ternaries 2 (4 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/cli_apps/provider.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f297ac3a9ba089d2f16f96d220c96baf8fc746544bd3915eec0014cc8729727"}},{"ruleId":"D2","level":"warning","message":{"text":"capabilities_settings._apply_chat_into_agents_yaml (cognitive 18): capabilities_settings._apply_chat_into_agents_yaml has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (5 pts), loops 2 (3 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":"deeptutor/services/config/capabilities_settings.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f313c599813dd9d33248ba819f461572117fb6ec03b7ccffcc6ad6ddec5e69f"}},{"ruleId":"D2","level":"warning","message":{"text":"context_window_detection._iter_model_records (cognitive 18): context_window_detection._iter_model_records has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (6 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":"deeptutor/services/config/context_window_detection.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d33bf6be78400f7cea77773759e4baa37365b4c0dd5e8ebba565f16519e611b"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_runtime._resolve_search_max_results (cognitive 18): provider_runtime._resolve_search_max_results has cognitive complexity 18 (threshold 15). Drivers by points: error handling 4 (7 pts), if/else 4 (5 pts), ternaries 5, boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea7e8c06877559b98f4b37eb3205d30c1f7ac69f11cd6d0b8c0c3ab6de53c92"}},{"ruleId":"D2","level":"warning","message":{"text":"doctor._credentials_check (cognitive 18): doctor._credentials_check has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 14, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/doctor.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a110e856e6f6bf880b627d1f32e220f0e56b9320797aa0a6f597f0c0f4641e"}},{"ruleId":"D2","level":"warning","message":{"text":"JinaEmbeddingAdapter.embed (cognitive 18): JinaEmbeddingAdapter.embed has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/jina.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb6aff2e9d6d741ac9f76bc238339bf11eb4210169bba2bc178dbeea9105413"}},{"ruleId":"D2","level":"warning","message":{"text":"OllamaEmbeddingAdapter.embed (cognitive 18): OllamaEmbeddingAdapter.embed has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, error handling 4 (5 pts), ternaries 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/ollama.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f373b41c34ec36a085adc545971aebc21d00ee1480382f94214949e6b11cb396"}},{"ruleId":"D2","level":"warning","message":{"text":"config.get_embedding_config (cognitive 18): config.get_embedding_config has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/config.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cfc262be3dbdec560965bdbb322b5b566b1ac5cbb50c5c8661a3e351aaabb1"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.sync_source (cognitive 18): sync.sync_source has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, error handling 5 (6 pts), if/else 5, ternaries 1 (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/github_source/sync.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"44139c36817e721f5a47e18cbcbb69b278e993f0b13793925c6262e5c2be8bdf"}},{"ruleId":"D2","level":"warning","message":{"text":"_ClaudeCodeSession._owner_loop (cognitive 18): _ClaudeCodeSession._owner_loop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (3 pts), loops 2, 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":"deeptutor/services/llm/provider_core/claude_code_provider.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c195a14bdb90b988a2e42958f56f94184bf07280d16d49a7b868b2ac71ccf32"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatProvider._responses_body_without_prompt_cache (cognitive 18): OpenAICompatProvider._responses_body_without_prompt_cache has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (3 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":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"7933fd2de1640a971db830582d9ed3992663a83599db4fa633050b0816dd1057"}},{"ruleId":"D2","level":"warning","message":{"text":"update._run_update_l2 (cognitive 18): update._run_update_l2 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (3 pts), ternaries 2 (3 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":"deeptutor/services/memory/consolidator/modes/update.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13d29b767d21a61c2b8fa9b21b962fdbf2f29c53cf0dd2df3ad3f728d8fabfb"}},{"ruleId":"D2","level":"warning","message":{"text":"adapters.read_kb_entities (cognitive 18): adapters.read_kb_entities has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, 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":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f88caf6cb6eb53e602df7ffaec6a7a401e7efc7f5fbec96f1d2acde98466bd"}},{"ruleId":"D2","level":"warning","message":{"text":"NotebookManager.update_record (cognitive 18): NotebookManager.update_record has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/notebook/service.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"013923673de1c168db6e70a6969c61060cccfbaf474dee1f23619b39bd85da67"}},{"ruleId":"D2","level":"warning","message":{"text":"NotebookManager.export_markdown (cognitive 18): NotebookManager.export_markdown has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, ternaries 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/notebook/service.py"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a695c065f90a4c04145729a139214380767fceceeb80c7905627b6c20843090"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerSessionStore.messages_page (cognitive 18): PartnerSessionStore.messages_page has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (7 pts), error handling 2 (5 pts), ternaries 3, 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":"deeptutor/services/partners/sessions.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cb4d2964968322e11ad77ae485b2f0fb3f4cced59224b66bcb25567c1bd0f7"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.run_in_worker_loop (cognitive 18): worker.run_in_worker_loop has cognitive complexity 18 (threshold 15). Drivers by points: error handling 4 (10 pts), loops 2 (5 pts), if/else 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/worker.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa45cf199bca6f3da4a48b9a06c4aeec8243ad858a8d6b1ca6c0e961e41ba2d"}},{"ruleId":"D2","level":"warning","message":{"text":"reading_hints._sanitize (cognitive 18): reading_hints._sanitize has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, boolean chains 4, ternaries 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/reading_hints.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"544ed7b3aeebaf56dedb7e112d1c5a0f74db6f51d8265c9ed986663b7dd28d6c"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchClient.fetch (cognitive 18): ResearchClient.fetch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 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":"deeptutor/services/research/primitives.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"728d8072291902f7ca5a732b77aba51d5e22d636f8f0f42475ada92689e1f023"}},{"ruleId":"D2","level":"warning","message":{"text":"_turn_runtime_shared._format_question_bank_entry (cognitive 18): _turn_runtime_shared._format_question_bank_entry has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 6, loops 1 (2 pts), ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7f7f979b0e8d9b0a5a316fc1b09d89de487c789d4c73bc3454fac39978a00a"}},{"ruleId":"D2","level":"warning","message":{"text":"source_inventory.serialize_referenced_transcript (cognitive 18): source_inventory.serialize_referenced_transcript has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4 (6 pts), boolean chains 3, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/source_inventory.py"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2189f7aaeb42f8e1c8b8752d2be8b2c29ecae5cf2fe8cca8d45107f8856235"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_probe.model_services (cognitive 18): provider_probe.model_services has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 7, 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":"deeptutor/services/settings/provider_probe.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4eb57efc53c733209e41095e44ae143165f73a970c49de61d25674bfe103350"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawHubProvider.catalog (cognitive 18): ClawHubProvider.catalog has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 pts), boolean chains 1, error handling 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":"deeptutor/services/skill/hub.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"45099c0746b2b1680bc8bb7bf02238c3fcb7f0638af5af6c962d00ca28e6f1ac"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillService._replace_tag_in_skills (cognitive 18): SkillService._replace_tag_in_skills has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/skill/service.py"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca26b5103b02e576511b3f974b10f9f649f0bab6f0354cbd07377692676ab96e"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityBackend._handle_event (cognitive 18): AntigravityBackend._handle_event has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, ternaries 2 (3 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/antigravity.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bab308d65b2878e9b9c8e3eba82a84ebdc6e2fcd846adb6ed38bcbfed3d10b"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenRouterTTSAdapter._collect_audio_line (cognitive 18): OpenRouterTTSAdapter._collect_audio_line has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/adapters/openai_compat.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5f2d2be289ecfc0017d2e550deb240e61731764ab39d70a9ccfa67d1eac5f4"}},{"ruleId":"D2","level":"warning","message":{"text":"openai_compat._parse_cues (cognitive 18): openai_compat._parse_cues has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, error handling 2 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/adapters/openai_compat.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"002048380d67b9a0185db7327f5d5f6acea167b778040d7472251664f29aef42"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceCatalogMixin.update_workspace (cognitive 18): WorkspaceCatalogMixin.update_workspace has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 5, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/catalog.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00e8697189e0171b806b5cd911353a745d18646cd700789e3120b596cf6f71a"}},{"ruleId":"D2","level":"warning","message":{"text":"data_migration._snapshot (cognitive 18): data_migration._snapshot has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"518c6c553d75e21ce5681b12afb851fb14c47cb1cbac4c5c84fd9f1d2720b266"}},{"ruleId":"D2","level":"warning","message":{"text":"ggb_validator.validate_text_command (cognitive 18): ggb_validator.validate_text_command has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/vision/ggb_validator.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76cddb129c8e95a60e629818086f0b8cf5b4808612daa1fcbb423971e0274c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ZoteroSearchClient.search (cognitive 18): ZoteroSearchClient.search has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 4, boolean chains 3 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/zotero_search.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68187e7498b23c08dbc939e986ac0211608be4879a9c1455d02a5e525a36545"}},{"ruleId":"D2","level":"warning","message":{"text":"document_extractor._extract_xlsx (cognitive 18): document_extractor._extract_xlsx has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (3 pts), loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/document_extractor.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c1c128adfa738ae2e49a2faadad61c367c443602b1528bbcd1297f1c5c929e"}},{"ruleId":"D2","level":"warning","message":{"text":"document_extractor._epub_content_files (cognitive 18): document_extractor._epub_content_files has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/document_extractor.py"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8627ae12cfde82dc63b21e42bf73e80949e644d9cbdb64d14cfeba9a531e93"}},{"ruleId":"D2","level":"warning","message":{"text":"init_cmd._llm_step (cognitive 18): init_cmd._llm_step has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor_cli/init_cmd.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa540ae0d4ac833799cb3ac23c6c6f9f2819d3f7728314df8869a2efa3966185"}},{"ruleId":"D2","level":"warning","message":{"text":"model-tool.modelTool (cognitive 18): model-tool.modelTool has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 5, if/else 4 (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":"packages/chat-engine/src/tools/model-tool.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0e2d46c4454a90c4ca8cacb70a9e4da37b6ff4316394a96d3f78d7ba699b8f"}},{"ruleId":"D2","level":"warning","message":{"text":"BookGenerationActivity.BookGenerationActivity (cognitive 18): BookGenerationActivity.BookGenerationActivity has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 6, ternaries 1. Of this number, 12 points are the body\u0027s own statements and 6 belong to 8 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":"web/app/(workspace)/learning/books/components/BookGenerationActivity.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea237037c15a6e25393ef5cc4a1148bfaf7844118ae59881f7d8911b23e9ce0e"}},{"ruleId":"D2","level":"warning","message":{"text":"AnswerModeMenu.PartnerLinkList (cognitive 18): AnswerModeMenu.PartnerLinkList has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 15, ternaries 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/AnswerModeMenu.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"45077b6b30b7b4462a85f02be30fc8e33ed1155119877cc0c19e772887e3eb81"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextBudgetChip.ContextBudgetChip (cognitive 18): ContextBudgetChip.ContextBudgetChip has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, ternaries 5 (6 pts), if/else 3 (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 5 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":"web/components/chat/home/ContextBudgetChip.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"badbb7fcc9d1a2cfc5df46200f73e61acf88c0cd3bb760d79bbe3f53b66467d7"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextReferenceTree.ContextReferenceTree (cognitive 18): ContextReferenceTree.ContextReferenceTree has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (16 pts), boolean chains 1, if/else 1 (nesting depth added 6). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/ContextReferenceTree.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbb2c51e670e387256485524ef6f606828327af3d19f5d13caacafafdb81a23"}},{"ruleId":"D2","level":"warning","message":{"text":"SideChatResponderMenu.SideChatResponderMenu (cognitive 18): SideChatResponderMenu.SideChatResponderMenu has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 6, if/else 1 (nesting depth added 3). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/SideChatResponderMenu.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54622eacc595369b7ae9cc950b4850ff717adbf5f42c0f355877879291d9d0a"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningDashboard.LearningDashboard (cognitive 18): LearningDashboard.LearningDashboard has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 16, ternaries 2. Of this number, 14 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":"web/components/learning/LearningDashboard.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9b2d663bdc017c53e458795db649b5037da7aa27d1755da54d708bb10709d2"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerChat.normalizeHistoryAttachments (cognitive 18): PartnerChat.normalizeHistoryAttachments has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 4, if/else 3 (nesting depth added 1). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 125). 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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b81669c42b815b10f69e15eb67ed77da8cba897f1ea44f76c6f302308e83566"}},{"ruleId":"D2","level":"warning","message":{"text":"AddProviderPanel.AddProviderPanel (cognitive 18): AddProviderPanel.AddProviderPanel has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, ternaries 6, error handling 1. Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 82, 143, 123, \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":"web/components/settings/AddProviderPanel.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc6f07f5f76903e8ee7a80c47e36938570b8e5bcdc059f01165ff10ac9603f3"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionsEditor.AddConnectionPanel (cognitive 18): ConnectionsEditor.AddConnectionPanel has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, ternaries 6, if/else 2. Of this number, 14 points are the body\u0027s own statements and 4 belong to 4 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":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0ed716780cb7a7498e475de1fa52a705b1b967acf6f0e1c80f7cfe236cf9e5"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningNavigation.RecordNode (cognitive 18): LearningNavigation.RecordNode has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 8, if/else 1 (nesting depth added 2). 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: 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":"web/components/sidebar/LearningNavigation.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3e3e0ea54fd889757b6b8b74b5716a634126340fe5fb3b90caa26fdf003ef4"}},{"ruleId":"D2","level":"warning","message":{"text":"EduHubImportModal.EduHubImportModal (cognitive 18): EduHubImportModal.EduHubImportModal has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 6, error handling 3, boolean chains 1 (nesting depth added 3). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 86, 106, 127, \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":"web/components/space/EduHubImportModal.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7df0a8fcf40a00346ad4cda17e5d62b30b206264f6e25e8826602ab67c88a76"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryManager.CategoryManager (cognitive 18): CategoryManager.CategoryManager has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, ternaries 1 (nesting depth added 4). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 71, 160, 45, \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":"web/components/space/question-bank/CategoryManager.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13afca9464d6f321f6811cdf97ab7187d50e1785f66bfdc8b68c05b66e5a9aa"}},{"ruleId":"D2","level":"warning","message":{"text":"recurrence.detectPreset (cognitive 18): recurrence.detectPreset has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (5 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":"web/features/calendar/model/recurrence.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"17dac26ba54259c0c4eb61c36c748b19e58191d0d1b6a3904eaaca0d84d8a493"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageFooter.UsageFooter (cognitive 18): UsageFooter.UsageFooter has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10, if/else 5, boolean chains 3. Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 41, a function literal at line 65, number, \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":"web/features/chat/messages/UsageFooter.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d4d664014104b1720b7919dda23188b916c8ba71ad85f9859f84c1249c5e50"}},{"ruleId":"D2","level":"warning","message":{"text":"EngineDetail.LlamaIndexForm (cognitive 18): EngineDetail.LlamaIndexForm has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 6, if/else 3, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 7 function items inside it that branch (save, a function literal at line 514, a function literal at line 614, \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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcbb7c0d3a4e598a5509d724da6a2a049351296cda4a1abcafb2512e516120c"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteResult.NoteResult (cognitive 18): NoteResult.NoteResult has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (7 pts), boolean chains 6, if/else 4 (5 pts) (nesting depth added 4). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 33). 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":"web/features/notes/components/NoteResult.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f4d65e470f249f4bcabd15bf48cd486d515518fa2e7c8689231958f914eda7"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteSourcePicker.NoteSourcePicker (cognitive 18): NoteSourcePicker.NoteSourcePicker has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (8 pts), boolean chains 6, if/else 3, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (select, a function literal at line 96, a function literal at line 31, \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":"web/features/notes/components/NoteSourcePicker.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c3e2be453eaf8423112a0c4a2e398647f33b6317bccd74aa6340371d30b35b"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeHealthCard.RuntimeHealthCard (cognitive 18): RuntimeHealthCard.RuntimeHealthCard has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (13 pts), boolean chains 3, 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":"web/features/runtime-status/RuntimeHealthCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f2159e40d6c63db6033522e6a16586e35c2e80b05bb4615ebec25b4eb70af2"}},{"ruleId":"D2","level":"warning","message":{"text":"useKnowledgeProgress.useKnowledgeProgress.subscribeWs (cognitive 18): useKnowledgeProgress.useKnowledgeProgress.subscribeWs has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 13, if/else 4, 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":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac08ad0718a19fd25f1a494e37629bc61b0a1d4a2fcf67bd679271295cbaa95b"}},{"ruleId":"D2","level":"warning","message":{"text":"useSmoothStreamText.useSmoothStreamText (cognitive 18): useSmoothStreamText.useSmoothStreamText has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3 (nesting depth added 3). None of this is in the body itself: all 18 points belong to 3 function literals inside it that branch (lines 128, 165, 195). 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":"web/hooks/useSmoothStreamText.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"066894abaa6b3c7be1b8000e45a6bbed3caea25a5a1318d29ba3a30156252237"}},{"ruleId":"D2","level":"warning","message":{"text":"useWorkspaceChatActions.useWorkspaceChatActions (cognitive 18): useWorkspaceChatActions.useWorkspaceChatActions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 6, ternaries 3 (4 pts) (nesting depth added 1). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 60, 95, 51, \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":"web/hooks/useWorkspaceChatActions.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae1e6852d98e6e45f1ce0233ee6a588b1eb82839facf1bb1fc9dddaa5e61fca"}},{"ruleId":"D2","level":"warning","message":{"text":"latex-normalize.escapeStrayDollars (cognitive 18): latex-normalize.escapeStrayDollars has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/latex-normalize.ts"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f33b8efc9f081deea99bf5f86bf234a9616dde4c069d0cced5c83824933b11f"}},{"ruleId":"D2","level":"warning","message":{"text":"latex.convertSequenceFenceToMermaid (cognitive 18): latex.convertSequenceFenceToMermaid has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (5 pts), ternaries 2 (5 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 6). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 349, isSequenceDirective). 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":"web/lib/latex.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2e28e996cc675612924de248f9358f67c6b60ce9c187da51e7c06bf5a7e4bd"}},{"ruleId":"D2","level":"warning","message":{"text":"settings-extensions.applyExtensionPayload (cognitive 18): settings-extensions.applyExtensionPayload has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 4 (6 pts), loops 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":"web/lib/settings-extensions.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44f02f7d4f1400b3def04ff2519b6368ad2d706813394e27c29c15e2110ff09"}},{"ruleId":"D2","level":"warning","message":{"text":"visualize-types.extractVisualizeResult (cognitive 18): visualize-types.extractVisualizeResult has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (11 pts), if/else 5 (6 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/visualize-types.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3e0c09c340d502c32b8a0868d1046ae217d01d0c301d2680a3dbc3ca6e03b9"}},{"ruleId":"D2","level":"warning","message":{"text":"native_seed.native_seed (cognitive 17): native_seed.native_seed has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (5 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":"deeptutor/agents/loop/native_seed.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3899305f189bea1e92b7c1ffc492ddbe4e3dc1c2844c17ea50a54d27a1c8fe92"}},{"ruleId":"D2","level":"warning","message":{"text":"AgenticLoopPipeline.run (cognitive 17): AgenticLoopPipeline.run has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 4, ternaries 3 (4 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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"966834576f874ebada5774d99d546ab698a7b52cc89caadaaad1e095b9e03675"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline._format_user_reply_body (cognitive 17): pipeline._format_user_reply_body has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 2 (4 pts), loops 2 (4 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e16bec3152a27b2149e608ee353d4e114b1feeb98a667b612a3b9c0211c85d"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepQuestionCapability._run_mimic_mode (cognitive 17): DeepQuestionCapability._run_mimic_mode has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 5, error handling 2 (4 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/capability.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02b85fdab49b6eb2d9981b5e8d770003ca15a9a9ca7c813024612015667b72c"}},{"ruleId":"D2","level":"warning","message":{"text":"history.load_session_quiz_history (cognitive 17): history.load_session_quiz_history has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/history.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f337da554c3aef74a1587158baef73e91f13d13bc2afbddcbc6f2b0876dac2e"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchPipeline._write_report (cognitive 17): ResearchPipeline._write_report has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), error handling 3 (4 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"b437a4134912e0ad2755f0a2d6ad61b8d1a660a43a89948b7a04f2289f7f71b5"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.complete_session_handoff (cognitive 17): auth.complete_session_handoff has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), error handling 3 (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6357f76336bb529832275f4f25bed87790b293d0d88cc16feade94b2d214017"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge._model_options_payload (cognitive 17): knowledge._model_options_payload has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, loops 3 (6 pts), if/else 1 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"603f4e0c8b8c9e1a35b2d6a1952a2e644533d996905b1c5a8a0cf19678996cfb"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge.connect_lightrag_server_route (cognitive 17): knowledge.connect_lightrag_server_route has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (6 pts), error handling 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2439}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30e0ed63f7e3504eebb39c22997f56f6b1d5b63df45fbdb0dbf4f09b63dd9a6"}},{"ruleId":"D2","level":"warning","message":{"text":"mastery_path.mastery_topic_websocket (cognitive 17): mastery_path.mastery_topic_websocket has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 2 (4 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/mastery_path.py"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c181a972a5cb60a43f211efddc1bc2e1aa895abef768ba13467e658cc21be9"}},{"ruleId":"D2","level":"warning","message":{"text":"partners.partner_navigation (cognitive 17): partners.partner_navigation has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (6 pts), if/else 1 (4 pts), error handling 1 (3 pts), ternaries 1 (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":"deeptutor/api/routers/partners.py"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea21eb309de790817084df2a63603c45e470759d12cdffe412b37fe14d8fbcd"}},{"ruleId":"D2","level":"warning","message":{"text":"space_mcp._extract_credentials (cognitive 17): space_mcp._extract_credentials has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), ternaries 1 (3 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":"deeptutor/api/routers/space_mcp.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ae9e55f788ee55b65b021ad1a1cce7018cf4d47929660f9ec6b6198c7d6908"}},{"ruleId":"D2","level":"warning","message":{"text":"context._format_section (cognitive 17): context._format_section has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/context.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"1126cd27df527801b1ab46b0202ac94d470209bc900174398ff842ee85be6103"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryLoopPipeline.prepare_model_request (cognitive 17): MasteryLoopPipeline.prepare_model_request has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, error handling 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/mastery/pipeline.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7da12236354a1d68d01b8b7c4e9379e65d5767a2f6773a7f3cbcd558107971"}},{"ruleId":"D2","level":"warning","message":{"text":"generation.result_learning_block (cognitive 17): generation.result_learning_block has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (6 pts), ternaries 2 (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":"deeptutor/capabilities/notes/generation.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"866bae957e8e28e1c95fa10535e14c78f2bcef493fda2819e5cbfc8bcd7f1845"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentAdder.add_documents (cognitive 17): DocumentAdder.add_documents has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"9909746fe07d6504523354a8c0e196e81e42e552dc68fb8f5094e581364e609c"}},{"ruleId":"D2","level":"warning","message":{"text":"objective_relations.validate_objective_relations (cognitive 17): objective_relations.validate_objective_relations has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/objective_relations.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0fc8e1b1c0201328a404f1c9e0099b61fd073a5ebb4c2d45bdc1d18264b6cd"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningService.record_quiz_attempt (cognitive 17): LearningService.record_quiz_attempt has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/service.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"efff39d15a5b2e0e79d6da8d9e29434bc6ac50584b6f4ef4c55767d6cdc7b941"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningService.record_qualitative_in_memory (cognitive 17): LearningService.record_qualitative_in_memory has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9, if/else 4 (5 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/service.py"},"region":{"startLine":2919}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f4d891589950183eff8dc3c869a1cd148d0b10e83dd3724874832a55243266"}},{"ruleId":"D2","level":"warning","message":{"text":"teaching.apply_teaching_updates (cognitive 17): teaching.apply_teaching_updates has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/teaching.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d157095cf1904ea360523795e135cc75bd8c41657072946a19bbcb322d1cda58"}},{"ruleId":"D2","level":"warning","message":{"text":"topic_materials._load_book_materials (cognitive 17): topic_materials._load_book_materials has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, 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":"deeptutor/learning/topic_materials.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24e8ae563920e4f404b2c0d6983814e08de5d0010d60e085e725b4c08058810"}},{"ruleId":"D2","level":"warning","message":{"text":"book_access.accessible_books (cognitive 17): book_access.accessible_books has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (4 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":"deeptutor/multi_user/book_access.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe48aaf6e9690b969ce9ec7964a0d9242fe381745d2a67be0683073f847f98c5"}},{"ruleId":"D2","level":"warning","message":{"text":"grants.validate_grant (cognitive 17): grants.validate_grant has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/multi_user/grants.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"81491b975f250a0dd6fefa3bf7ff4f52d3ab14887b5808c0dc2635fc902d620f"}},{"ruleId":"D2","level":"warning","message":{"text":"learner_profile.normalize_profile (cognitive 17): learner_profile.normalize_profile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 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":"deeptutor/multi_user/learner_profile.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"06508f4264d5d675fb99dfa8e39f76dac3b40e802426ee1b5751c460971689ab"}},{"ruleId":"D2","level":"warning","message":{"text":"manager.coalesce_stream_deltas (cognitive 17): manager.coalesce_stream_deltas has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 4, 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":"deeptutor/partners/channels/manager.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"02602f0111bfccf08705acbf53b5251cdf26b521f0d2cd0dd6e93bbc570cf006"}},{"ruleId":"D2","level":"warning","message":{"text":"MatrixChannel.send (cognitive 17): MatrixChannel.send has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/matrix.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"639f98e6420e6e961655c28dee05140378475e6da5e7da753c47b62886333e39"}},{"ruleId":"D2","level":"warning","message":{"text":"ingestion.normalize_transcript_segments (cognitive 17): ingestion.normalize_transcript_segments has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, error handling 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/ingestion.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"c879a3d9bbb17aa2f6042d1899ce1ff21499bf0463fb7fad4c2066aa8e9cd2fd"}},{"ruleId":"D2","level":"warning","message":{"text":"Annotation.from_dict (cognitive 17): Annotation.from_dict has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 13, ternaries 3, if/else 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":"deeptutor/reading/models.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a25d3570e10bc07c1ea16efe4c650b430a3ae6f90e4bc9b6b7b3ff262a15768"}},{"ruleId":"D2","level":"warning","message":{"text":"labels.classify_label (cognitive 17): labels.classify_label has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/agentic/labels.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8827903ea1568f586c3dfc01db7eaafd1ab9226641c989bc9c9b4eb2d5909a09"}},{"ruleId":"D2","level":"warning","message":{"text":"EngineClient.run (cognitive 17): EngineClient.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/ts_engine/client.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3961d4c97f7bdf1c8971fecbe8b6f981eddf8facb2ccbe4d5417edde8f9d1f"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.decode_token (cognitive 17): auth.decode_token has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 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":"deeptutor/services/auth.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4ec9113766c485ba1836f164cc2ea30bd38b6491e961202956a02db9bc1ec4"}},{"ruleId":"D2","level":"warning","message":{"text":"service.validate_schedule (cognitive 17): service.validate_schedule has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/cron/service.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d30a3ed0db33c4ae03d04a73510f2ca4fc8399cc1a28e31c340b51ce4f00aa"}},{"ruleId":"D2","level":"warning","message":{"text":"DashScopeMultiModalEmbeddingAdapter._parse_response (cognitive 17): DashScopeMultiModalEmbeddingAdapter._parse_response has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/dashscope_native.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c8506436f828a787e61fec90a223858e29b59e575acc6e835421986bed64c1"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeekFetchProvider.fetch (cognitive 17): DeepSeekFetchProvider.fetch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, error handling 2, loops 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/fetch/providers/deepseek.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d9cb8b6e6ed89b0a9a5f926234c35792e707aebeb6d4d1fdaad590592d1820"}},{"ruleId":"D2","level":"warning","message":{"text":"sync._incremental_sync (cognitive 17): sync._incremental_sync has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 1 (3 pts), loops 3, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/github_source/sync.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"9907663d181b74458cecddb2ec68436c40f9c96ce78a12d61fe4d611b3f95bd7"}},{"ruleId":"D2","level":"warning","message":{"text":"DashScopeImagegenAdapter._poll (cognitive 17): DashScopeImagegenAdapter._poll has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/imagegen/adapters/dashscope.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa3dd6519c257cf2fa76147a40f468c81635285144eef19e2435f8d32fb19d8"}},{"ruleId":"D2","level":"warning","message":{"text":"claude_sdk.parse_models (cognitive 17): claude_sdk.parse_models has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/claude_sdk.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec5df851948929887e6f2f9860ddd272578297f9af69ecfd0d6f596ab8f3524"}},{"ruleId":"D2","level":"warning","message":{"text":"image_replay.deduplicate_user_images (cognitive 17): image_replay.deduplicate_user_images has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/image_replay.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e2dc6c4472777c1ec3e365333b5e739abf35aede7865b90c7da6ec20d8b476"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatProvider._build_kwargs (cognitive 17): OpenAICompatProvider._build_kwargs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0888c58d163dbd8f80f7a47bf3a572dee195053b7afd89337f22c26c5da4c5"}},{"ruleId":"D2","level":"warning","message":{"text":"converters.convert_user_message (cognitive 17): converters.convert_user_message has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_responses/converters.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27512e5a8c75fe1e1ab8efb3b8ac9a193cf1d355ff584e37583f08a539e5357"}},{"ruleId":"D2","level":"warning","message":{"text":"_runtime._strip_thinking_delta (cognitive 17): _runtime._strip_thinking_delta has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 4, 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":"deeptutor/services/memory/consolidator/modes/_runtime.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e120ac7baf1d5984420772aebe111e16af6966f0e8196747737d1f96ba91f704"}},{"ruleId":"D2","level":"warning","message":{"text":"engine._build_impl (cognitive 17): engine._build_impl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 1 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/graphrag/engine.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"8674ee0e4dee6fe85e04fb18fab3391dcc838b55b13fe658785a24f860caaec7"}},{"ruleId":"D2","level":"warning","message":{"text":"models.parse_knowledge_page (cognitive 17): models.parse_knowledge_page has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, 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":"deeptutor/services/rag/pipelines/ima/models.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba93522e65a6d64486b9711daff0c2d7284e51a421549d6b56928a01ac94737"}},{"ruleId":"D2","level":"warning","message":{"text":"indexing_policy.snapshot_from_persisted (cognitive 17): indexing_policy.snapshot_from_persisted has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 3 (6 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/indexing_policy.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93a6b81df6807101797ee447a83efda505c92ba9546d98f3670dd74591dcfe5"}},{"ruleId":"D2","level":"warning","message":{"text":"storage.create_resumable_index (cognitive 17): storage.create_resumable_index has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2 (3 pts), ternaries 2, boolean chains 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":"deeptutor/services/rag/pipelines/llamaindex/storage.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ba2c7f27b98d364b3cbf0b201bea4391e89c8caf09ca846b6dbca5e8afe879"}},{"ruleId":"D2","level":"warning","message":{"text":"BochaProvider.search (cognitive 17): BochaProvider.search has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, if/else 4, loops 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":"deeptutor/services/search/providers/bocha.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba982c83d8955891d353b28609a3e0000f17ae11a10a0849096b590c5f4efac3"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextBuilder._select_recent_messages (cognitive 17): ContextBuilder._select_recent_messages has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (5 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/context_builder.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"178033c2a5f36fb300151df9530256267e600ee377593ec5bd479320b2715946"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLiteSessionStore._initialize (cognitive 17): SQLiteSessionStore._initialize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 2 (5 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0b326a528737337dc27fa4f7188fe54297b9635f3893fbcf0d40c1bb7d3b4c"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillService._copy_support_tree (cognitive 17): SkillService._copy_support_tree 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":"deeptutor/services/skill/service.py"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0549b5e6217c842c2859aee1cd5b61122b58eee0d77b9b45a8bc95ffdc37103"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatSTTAdapter._parse_text (cognitive 17): OpenAICompatSTTAdapter._parse_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 4 (nesting depth added 8). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/adapters/openai_compat.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1137a40045c933732ad906b82194a4c6306c6b988e5ef742a0abc179571546"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSourceSyncScheduler._run_job (cognitive 17): WebSourceSyncScheduler._run_job has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, error handling 2, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/web_source/scheduler.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b7848a5bc9a53c6eaa23e19c379566d14b998dfd807afc67cfb810a1e15da8"}},{"ruleId":"D2","level":"warning","message":{"text":"render_storage._inventory (cognitive 17): render_storage._inventory has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 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":"deeptutor/services/workspace/render_storage.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69ae0c7b6ce7c957b73b835a54b3b1d4bfbb02c6e56b62f72dbf22f6242294d"}},{"ruleId":"D2","level":"warning","message":{"text":"chapter_rebuild.rebuild (cognitive 17): chapter_rebuild.rebuild has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 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":"deeptutor/textbook_struct/chapter_rebuild.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55871e2d87bd13f0c5a9b7ce400f73f8aba068ded751f98383a1f35c3e00553"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadSkillTool.execute (cognitive 17): ReadSkillTool.execute has cognitive complexity 17 (threshold 15). Drivers by points: error handling 3 (6 pts), boolean chains 4, if/else 2 (4 pts), ternaries 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/builtin/__init__.py"},"region":{"startLine":2172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdb2d89f94637db6801bfcf3b1c392f551e99af6b9bad4089d45b82fefe23ea"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecTool._command_for_platform (cognitive 17): ExecTool._command_for_platform has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 4 (5 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":"deeptutor/tools/exec_tool.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68b35ed4502130dc8398cd25135c5c37197998f6a921cc3bfd5015a55edc845"}},{"ruleId":"D2","level":"warning","message":{"text":"TexChunker.split_tex_into_chunks (cognitive 17): TexChunker.split_tex_into_chunks has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/tex_chunker.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"224b508114009d3cf40093feafe29457877dc8908f35e057a53a15cea097a838"}},{"ruleId":"D2","level":"warning","message":{"text":"write_note.write_note (cognitive 17): write_note.write_note has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/write_note.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c6c38864c84c517aa1d4f2fb2ac54c0de29e57e4b3084cdfda160e96cbe7be"}},{"ruleId":"D2","level":"warning","message":{"text":"error_utils._find_json_block (cognitive 17): error_utils._find_json_block has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 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":"deeptutor/utils/error_utils.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5648a7032ad2b26162ce09a2117626bc282eb1f7a96487d312ec684319cedf19"}},{"ruleId":"D2","level":"warning","message":{"text":"service.normalize_cues (cognitive 17): service.normalize_cues has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/video_learning/service.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"52148688d7b0b2d25da27bade0bd4fd52cb6c1821b67e8cbc814f6b789bc7a3c"}},{"ruleId":"D2","level":"warning","message":{"text":"service.parse_webvtt (cognitive 17): service.parse_webvtt has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 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":"deeptutor/video_learning/service.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4b017bd25fb1867b5c0f168082035c4e0c7796648474281172ee2e466a4de5"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_cmd._login_codebuddy (cognitive 17): provider_cmd._login_codebuddy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 4 (7 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor_cli/provider_cmd.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"179ccba171991dd9e230fb170b265b5ad1bcaeea4e9e6dd9cbd8d0a1577543b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolDispatcher.run::execute (cognitive 17): ToolDispatcher.run::execute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, loops 1 (2 pts), 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. This shape REPEATS in the file: one other method here (ToolDispatcher.run) 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":"packages/chat-engine/src/tools/dispatcher.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec154d0b8f16b783c5352333ea432eda7378a1e9c1597dfb1a53ced6afcfabb"}},{"ruleId":"D2","level":"warning","message":{"text":"page.LearningProgressPage (cognitive 17): page.LearningProgressPage has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (14 pts), boolean chains 3 (nesting depth added 9). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(utility)/settings/progress/page.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09737d1f2128070468d9a2fd021a824b12271dd08ea9a2bf39288fc3b8e430d"}},{"ruleId":"D2","level":"warning","message":{"text":"page.PartnerGroupPage (cognitive 17): page.PartnerGroupPage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, boolean chains 5, ternaries 4, error handling 1. Of this number, 10 points are the body\u0027s own statements and 7 belong to 5 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":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a561d793aea3cddc81f5139f2e2609e34b7cc43ca2089f56c9ece5ccd9649a73"}},{"ruleId":"D2","level":"warning","message":{"text":"useTextSource.useTextSource (cognitive 17): useTextSource.useTextSource has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 4). None of this is in the body itself: all 17 points belong to 3 function literals inside it that branch (lines 50, 32, 25). 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":"web/components/chat/preview/previewers/useTextSource.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8cb836230d11ad01ec29a2f3e91419d972c09353ffcb8085e70952de5486db"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeHome.KnowledgeHome (cognitive 17): KnowledgeHome.KnowledgeHome has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, ternaries 4 (7 pts), if/else 1, loops 1 (nesting depth added 3). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 361, renderProvider, a function literal at line 271, \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":"web/components/knowledge/KnowledgeHome.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef7a871ffea04521692d7bb0e3727a438054440ce48ad1de5d00cefeee3252c"}},{"ruleId":"D2","level":"warning","message":{"text":"NotebookFavoriteContent.NotebookFavoriteContent (cognitive 17): NotebookFavoriteContent.NotebookFavoriteContent has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 8 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/NotebookFavoriteContent.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c07e5b8e12e43b7a3e51544d07ecc8876c9d2dda62ff73c5ad804046582256"}},{"ruleId":"D2","level":"warning","message":{"text":"SaveToNotebookModal.SaveToNotebookModal (cognitive 17): SaveToNotebookModal.SaveToNotebookModal has cognitive complexity 17 (threshold 15). Drivers by points: if/else 28 (43 pts), boolean chains 35, ternaries 9 (19 pts), error handling 3, 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. This shape REPEATS in the file: one other method here (SaveToNotebookModal.SaveToNotebookModal::handleSave) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63ef2d76159eb0535f5538231796fbac02ac87434180a939dd0112714089675"}},{"ruleId":"D2","level":"warning","message":{"text":"mentions.resolveMentions (cognitive 17): mentions.resolveMentions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 8). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/group/mentions.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1777c2193e45e6a672c7ef2d4b06054181d1f72471fa6c74cb1a7ab0db29e859"}},{"ruleId":"D2","level":"warning","message":{"text":"FollowupChatComposer.FollowupChatComposerImpl (cognitive 17): FollowupChatComposer.FollowupChatComposerImpl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 5, boolean chains 3 (nesting depth added 3). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 91, 194, 108). 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":"web/components/quiz/FollowupChatComposer.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a74e61a84898f3a9fd6a247b900e6aa51c4d817fa0225cce619b6d62159a14"}},{"ruleId":"D2","level":"warning","message":{"text":"DimensionField.DimensionField (cognitive 17): DimensionField.DimensionField has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, ternaries 5 (6 pts), if/else 1 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 1 belongs 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":"web/components/settings/DimensionField.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d29415b3a9ee04db2e29d0ada2cb1eaac7c656fc8986527696d0867c73ea75"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelCards.CardShell (cognitive 17): ModelCards.CardShell has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 2 (4 pts), boolean chains 2 (nesting depth added 5). Of this number, 12 points are the body\u0027s own statements and 5 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":"web/components/settings/ModelCards.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f7bb7d0c1e351a0122323fdf860a35af94bf5442ef3d227d91ea0bab65c336"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionCamp.SessionCamp (cognitive 17): SessionCamp.SessionCamp has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (13 pts), boolean chains 4 (nesting depth added 7). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 95, openStudy). 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":"web/components/space/learning/SessionCamp.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"04633555adb0de2fd13f3cc5ad6644b8427b0e431eee7c4bc12bfff26d0bbd6e"}},{"ruleId":"D2","level":"warning","message":{"text":"blocks.inlineText (cognitive 17): blocks.inlineText has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 7). 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":"web/features/notes/model/blocks.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fc8f04cf368bdcf959977444b00129b3f5cf418d7a97596171be1345d99317"}},{"ruleId":"D2","level":"warning","message":{"text":"AddToNote.AddToNote (cognitive 17): AddToNote.AddToNote has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, ternaries 3 (6 pts), if/else 2, error handling 1 (nesting depth added 3). Of this number, 9 points are the body\u0027s own statements and 8 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":"web/features/notes/components/AddToNote.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fec11263fbe82f89ade0bc71f7aa55115609a772ae32718d54dbd7221a4402"}},{"ruleId":"D2","level":"warning","message":{"text":"NotePageTree.NotePageTree (cognitive 17): NotePageTree.NotePageTree has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 4, if/else 3 (4 pts) (nesting depth added 3). 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 (a function literal at line 35, rows, a function literal at line 51, \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":"web/features/notes/components/NotePageTree.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d40ad32ead4f314a9db926cd33409ade69c8b6ad5688b6ee77258d0cd7f411"}},{"ruleId":"D2","level":"warning","message":{"text":"useTopicSourceLibrary.useTopicSourceLibrary (cognitive 17): useTopicSourceLibrary.useTopicSourceLibrary has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 4, ternaries 2, match/switch 1. None of this is in the body itself: all 17 points belong to 9 function literals inside it that branch (lines 271, 198, 253, \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":"web/hooks/useTopicSourceLibrary.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6954d63be099a3887dec3a0be6644e717663c8cc4eb81ca45db68ce4da1a5977"}},{"ruleId":"D2","level":"warning","message":{"text":"favorite-content.favoriteTranscript (cognitive 17): favorite-content.favoriteTranscript has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 6). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/favorite-content.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"37803c0691b2b2064e05bea0fb9e03b1be81cac8c32eda60d46618baf99bb3fd"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown-display.pairedEmphasisDelimiters (cognitive 17): markdown-display.pairedEmphasisDelimiters has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (5 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":"web/lib/markdown-display.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"67321196a078608d45c492ed5105c3aec642331b8465f8c93a7a06ec6c99b90d"}},{"ruleId":"D2","level":"warning","message":{"text":"learning-dashboard.practiceActivity (cognitive 17): learning-dashboard.practiceActivity has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 2 (4 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 3). Of this number, 9 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":"web/lib/learning-dashboard.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"91de097fb2751da9b41f7d3957c83f5fa2c3491336b7eda22d458e2f50251493"}},{"ruleId":"D2","level":"warning","message":{"text":"mastery-question.collectMasteryGrades (cognitive 17): mastery-question.collectMasteryGrades 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":"web/lib/mastery-question.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99404378180b0d602dbb79f5e8fd7db598d940dce86699fb8081c4c8e3090c5"}},{"ruleId":"D2","level":"warning","message":{"text":"setup-signals.collectAppliedSettingIds (cognitive 17): setup-signals.collectAppliedSettingIds has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/setup-signals.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c87f910f464356f4dcbe8a94396c5fd658d139895060fda16b6fb12eb7cd46"}},{"ruleId":"D2","level":"warning","message":{"text":"video-learning-marks.cueIndexesFromSelection (cognitive 17): video-learning-marks.cueIndexesFromSelection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 3, loops 2 (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":"web/lib/video-learning-marks.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe456c21a58902efb089c8b1f93962dd4daec2f6a94ab8e6e372cf31b844740"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentLoop._create_response_stream (cognitive 16): AgentLoop._create_response_stream has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, error handling 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":"deeptutor/agents/loop/agent_loop.py"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0b917925e6cbe985945077643728461b448c58ba780f04b3594b0548c5317e"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchPipeline._repair_report_section_coverage (cognitive 16): ResearchPipeline._repair_report_section_coverage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"146b122193d5380897f4f8c7239f29797cb621908ce50d6c9b2d8d99461fc7c0"}},{"ruleId":"D2","level":"warning","message":{"text":"CitationManager._restore_counters_from_citations (cognitive 16): CitationManager._restore_counters_from_citations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), error handling 2 (6 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/research/utils/citation_manager.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2809deea9b51526fad9d00b793c2439d22d64bce0b6e5ae172d0a60dbc69436e"}},{"ruleId":"D2","level":"warning","message":{"text":"co_writer.note_threads (cognitive 16): co_writer.note_threads has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (7 pts), loops 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/co_writer.py"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dd6932f413c3cb7427c11e611870c3b8128325b943039094beacdf11de769d"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge.run_reindex_task (cognitive 16): knowledge.run_reindex_task has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), error handling 2 (3 pts), boolean chains 2, ternaries 2 (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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":3867}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0e1a36bab0614764fcdbeca804fe20fa7a7f9905afe8f8b192ee5c576f9fba"}},{"ruleId":"D2","level":"warning","message":{"text":"reading.duplicate_check (cognitive 16): reading.duplicate_check has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), boolean chains 3, error handling 2 (3 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/reading.py"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a17ef82a11647e48534215bb3c11948f6be6ba6ec464e95f1e214efe6c15178"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnApplicationService.cancel_turn_and_wait (cognitive 16): TurnApplicationService.cancel_turn_and_wait has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/app/service.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3f51abcc94170dcdcc13e744e005f290a280018aa0cf2650610e96d814a4c1"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepDiveGenerator._generate (cognitive 16): DeepDiveGenerator._generate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 3, ternaries 3, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/deep_dive.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4201edd11bee654ad74c6c596e8f1e489ad246dffd6ac683551badb7df4d8fd"}},{"ruleId":"D2","level":"warning","message":{"text":"BookCompiler.compile_page (cognitive 16): BookCompiler.compile_page has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (4 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":"deeptutor/book/compiler.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7950dd1df442ede488412308af0f508d4011cf4f7abde55eba1d4ce625ce6478"}},{"ruleId":"D2","level":"warning","message":{"text":"context._serialize_page (cognitive 16): context._serialize_page has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/context.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d943bdede78d21bc9c985f105f98bc451d38da22ac6ffb210cf690ed56a53164"}},{"ruleId":"D2","level":"warning","message":{"text":"context._format_quiz (cognitive 16): context._format_quiz has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/context.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"549f84244813682731dc3b89e14fc423d4160b7e0ce2cd8fa4173d890cc854a2"}},{"ruleId":"D2","level":"warning","message":{"text":"BookEngine.rename_chapter (cognitive 16): BookEngine.rename_chapter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, 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":"deeptutor/book/engine.py"},"region":{"startLine":2098}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7790debecad80909f7b3d23c1f535d59e433e91b683e71b72bcb9c059cb12f0"}},{"ruleId":"D2","level":"warning","message":{"text":"export._render_section (cognitive 16): export._render_section has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/export.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40dcffa967a73d6a5c209939860d43989c87f224752d7dea41af28de51309be"}},{"ruleId":"D2","level":"warning","message":{"text":"kb_health.scan_log_health (cognitive 16): kb_health.scan_log_health has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/kb_health.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46aa9fc6e5615d5b8092626db70a550bf1e2156729f89da90e323b8471f7e35"}},{"ruleId":"D2","level":"warning","message":{"text":"MasteryQuizTool._build_question (cognitive 16): MasteryQuizTool._build_question has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 6, error handling 2 (3 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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c847dc05b482c8546f2e4357707cc07f6ea9f23b4830dacfdccc4e814d24f5"}},{"ruleId":"D2","level":"warning","message":{"text":"tools._plan_module_revision (cognitive 16): tools._plan_module_revision has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 4 (5 pts), boolean chains 3, 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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":3532}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d882c401a28d2f70fd3ab526126c62e38147de57d153136479468c4297de15d"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteReadTool.execute (cognitive 16): NoteReadTool.execute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 1 (2 pts), 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":"deeptutor/capabilities/notes/tools.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9998268870efbfee5fe8009cdd0de7d22715972becd1252535c5544c370cbbbc"}},{"ruleId":"D2","level":"warning","message":{"text":"assessment.record_assessment (cognitive 16): assessment.record_assessment has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, error handling 2 (3 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/assessment.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"0faaa299522f2dedf4768a14e38da7293158c1a1fe27e167ae9fcb98a8828747"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningService._resolve_final_relations (cognitive 16): LearningService._resolve_final_relations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/service.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0e70b69df91cbe29e1a40b34b4c0f3432e710a57993dc000b28281147abdd4"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningStore.import_legacy_json (cognitive 16): LearningStore.import_legacy_json has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 5, 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":"deeptutor/learning/storage.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"7189d9a1e92df21a29c310b76c676860c6ebf98f7bbcc1f14ef708b86204aed8"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningStore.detach_session (cognitive 16): LearningStore.detach_session has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), error handling 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":"deeptutor/learning/storage.py"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"499ba29081f2648a0fd45db6a510cb0c8bae539dc60eef4a88235e0fccc73bec"}},{"ruleId":"D2","level":"warning","message":{"text":"identity.load_users (cognitive 16): identity.load_users has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, ternaries 1 (2 pts), 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":"deeptutor/multi_user/identity.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c56f0779dac450e7fa1d0c0d498da21953720595ea6f26d6f69023a5b6b677"}},{"ruleId":"D2","level":"warning","message":{"text":"DingTalkChannel._send_media_ref (cognitive 16): DingTalkChannel._send_media_ref has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/dingtalk.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"be38daf2d80402fd84ba104948c40b59e9ca8c46c54d77448f33bd2906a01a05"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordChannel.send (cognitive 16): DiscordChannel.send has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, loops 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/discord.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1756ed9e9602a5227bbaeca88223b3daafa3d44a3d6e69d1578ca2cfbf84553"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordChannel._should_respond_in_group (cognitive 16): DiscordChannel._should_respond_in_group has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 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":"deeptutor/partners/channels/discord.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a255aa47b84fca78938c597c9be3eb693b8b692591c2f14c4b275e9d37edb5"}},{"ruleId":"D2","level":"warning","message":{"text":"MochatChannel._handle_watch_payload (cognitive 16): MochatChannel._handle_watch_payload has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, 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":"deeptutor/partners/channels/mochat.py"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"4671494cbe5b71ddad208fc259671c4cd956fc7f7484237f7d0e6f5bafd705e5"}},{"ruleId":"D2","level":"warning","message":{"text":"MochatChannel._process_inbound_event (cognitive 16): MochatChannel._process_inbound_event has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 7 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/mochat.py"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"8feb93ad2f9929f70e5033333aabf4589dfc3a1cd2c392d8e629321fe44c1cae"}},{"ruleId":"D2","level":"warning","message":{"text":"WeixinChannel.start (cognitive 16): WeixinChannel.start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (4 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":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88b53f17a3cd831ebef96628734b5df1367eef19a676a158505721ef0297132"}},{"ruleId":"D2","level":"warning","message":{"text":"WeixinChannel._send_media_file (cognitive 16): WeixinChannel._send_media_file has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"daad72aaa36b1cff62b185f306fe89f00cd8880c51e4ec405aa74614d2ad4776"}},{"ruleId":"D2","level":"warning","message":{"text":"ZulipChannel._on_message (cognitive 16): ZulipChannel._on_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/zulip.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f205e4bd6ccfc489bf0659ec963922fb89ab365215e56b3c6858351da6aee5"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog.resolve_catalog_entry (cognitive 16): catalog.resolve_catalog_entry has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/plugins/catalog.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f379c55adeae63f51271fb52e1e2b25d719404227b1ebecfc63516bf04d6ee2e"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityRegistry.get (cognitive 16): CapabilityRegistry.get has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/registry/capability_registry.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa07318a2c9aa0986771c50f2d367cc4518b862c5b646ae6dbc0317c80aa125"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog._parse (cognitive 16): catalog._parse has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, error handling 1, if/else 1, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/cli_apps/catalog.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8a2f96ede1549855e967a4d5f24f881174af7bee7b4949df39d2b02b31f14e"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog.parse_models_response (cognitive 16): catalog.parse_models_response has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/codex_auth/catalog.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad3224e33e41203eebc5cd7c713225db66099e01e54d09e08c790b7b5068454"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexOAuthService._reasoning_effort_models (cognitive 16): CodexOAuthService._reasoning_effort_models has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (4 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":"deeptutor/services/codex_auth/service.py"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"3881c9d0ca42f46bbb3f65dd9caa3cf53c2e9239c7e0bd2e4a3dc1089861eb5c"}},{"ruleId":"D2","level":"warning","message":{"text":"context_window_detection._recursive_context_window (cognitive 16): context_window_detection._recursive_context_window has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 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":"deeptutor/services/config/context_window_detection.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"729d15195cea592fa583c207f02a018c6e0cc353f245a16e7afe14a06e2060bb"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_runtime.resolve_stt_runtime_config (cognitive 16): provider_runtime.resolve_stt_runtime_config has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 14, if/else 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. This shape REPEATS in the file: one other method here (provider_runtime.resolve_imagegen_runtime_config) 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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"930e7be68fc287d84a84a14f4ab0bc842a74c1cf919de3005d7a010d50080cc8"}},{"ruleId":"D2","level":"warning","message":{"text":"provider_runtime.resolve_imagegen_runtime_config (cognitive 16): provider_runtime.resolve_imagegen_runtime_config has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 14, if/else 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. This shape REPEATS in the file: one other method here (provider_runtime.resolve_stt_runtime_config) 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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f18713ac10b6aa2ce2215ce03e4ed96425620ac951be7a1055f40a6b517b4e9"}},{"ruleId":"D2","level":"warning","message":{"text":"service.compute_next_run (cognitive 16): service.compute_next_run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 2 (4 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/cron/service.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c7f9e42815dfa4f08e8be943b7228a695f8a408a24941d731426c85d721965"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAISDKEmbeddingAdapter.embed (cognitive 16): OpenAISDKEmbeddingAdapter.embed has cognitive complexity 16 (threshold 15). Drivers by points: error handling 5 (6 pts), boolean chains 5, if/else 5 (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/openai_sdk.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"10486fe0bced76a6286f95b0b275f346fd502131f36e74093d5fed63e2bd9b93"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicProvider._parse_response (cognitive 16): AnthropicProvider._parse_response has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 3 (4 pts), ternaries 1 (3 pts), loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/anthropic_provider.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6b9c29603c5b5f6d44dd2cb85c69291fa38f06b6098d9ebf03832b3a5e6e4d"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatProvider.__init__ (cognitive 16): OpenAICompatProvider.__init__ has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 4, if/else 3, error handling 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5ab1ab715b9975c783fd30fb03e36a73e6b4bf042acb9020a65e9392dc35d3"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatProvider._responses_body_without_input_message_status (cognitive 16): OpenAICompatProvider._responses_body_without_input_message_status has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c6266962c8f75fc8d5b6c6649e980138a53e14baffafe3805a103f97f74ffa"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatProvider._build_responses_body (cognitive 16): OpenAICompatProvider._build_responses_body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a0849c5c737180400ce3492ef8a738e2d38b34a62b0723df1d3ce55f9657f4"}},{"ruleId":"D2","level":"warning","message":{"text":"reasoning_params.minimax_reasoning_kwargs (cognitive 16): reasoning_params.minimax_reasoning_kwargs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4 (7 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/reasoning_params.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"317fa57fdfd772a061c209d58abbeef815f2943e3dad70fd9b13eb8116ec1e45"}},{"ruleId":"D2","level":"warning","message":{"text":"references.validate_fact_refs (cognitive 16): references.validate_fact_refs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/consolidator/references.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fc6c843ddf64a6fbf5e5bb589b4f92893c22eccded01fdf63f4cb792ffa2f9"}},{"ruleId":"D2","level":"warning","message":{"text":"cache.find_content_dir (cognitive 16): cache.find_content_dir has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4, ternaries 3, 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":"deeptutor/services/parsing/cache.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"237d987a8ec331380466a99225b0754693f2552ad8c3b30e182fa528b00a2652"}},{"ruleId":"D2","level":"warning","message":{"text":"PathService.migrate_legacy_memory_markdown (cognitive 16): PathService.migrate_legacy_memory_markdown has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/path_service.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a8c14147a113f43059b17f27345f7be05dcba4c4c4696d1126d2783cb5d138"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline._context_to_sources (cognitive 16): pipeline._context_to_sources has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, 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":"deeptutor/services/rag/pipelines/graphrag/pipeline.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"13789f450b3ab1dbf09c387423105eded67e7852b12f6a539b93d6293eabe145"}},{"ruleId":"D2","level":"warning","message":{"text":"KiwixClient.search (cognitive 16): KiwixClient.search has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 2 (4 pts), error handling 1 (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":"deeptutor/services/rag/pipelines/kiwix/client.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd622a044bc7ba8f409d9b16cc338a37c1f04a40e00c305299468874d04cae46"}},{"ruleId":"D2","level":"warning","message":{"text":"client.parse_search_xml (cognitive 16): client.parse_search_xml has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, if/else 3 (5 pts), error handling 2 (3 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/kiwix/client.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0b1818c9b7279693caef807d1d110d71b6285f53b12bb21beb9e44eb53baa7"}},{"ruleId":"D2","level":"warning","message":{"text":"indexing_policy.freeze_roles (cognitive 16): indexing_policy.freeze_roles has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 4 (5 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/indexing_policy.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fe226c70ae34f97c197b6e0ae52ed16441b7dd987b11569c11c993c3242914"}},{"ruleId":"D2","level":"warning","message":{"text":"storage._resume_candidate (cognitive 16): storage._resume_candidate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 2, loops 2, error handling 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":"deeptutor/services/rag/pipelines/llamaindex/storage.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"720624f48a9257ec5dcbd3bcb1fd127be51802e2fbb47a5565c5074f7cab4e79"}},{"ruleId":"D2","level":"warning","message":{"text":"_turn_runtime_shared._resolve_turn_outcome (cognitive 16): _turn_runtime_shared._resolve_turn_outcome has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, if/else 3 (5 pts), ternaries 3 (5 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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fe2bdfccf362ab833798bda3733a805d056d387c07f0df01e094757560e9d0"}},{"ruleId":"D2","level":"warning","message":{"text":"_turn_runtime_shared._sanitize_session_title (cognitive 16): _turn_runtime_shared._sanitize_session_title has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (5 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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"38453098f53c29aadc6c981716015441dd3a71ddc02c1c6d86aee0f740c82485"}},{"ruleId":"D2","level":"warning","message":{"text":"_turn_runtime_shared._format_side_chat_context (cognitive 16): _turn_runtime_shared._format_side_chat_context has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 5 (6 pts), ternaries 2 (3 pts), loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bdd4aa49944bdba99a1bd464aa409589b98e48e49daba37e42bdbced6ffcaf"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnLifecycle.close (cognitive 16): TurnLifecycle.close has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/lifecycle.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ce4779caf1ce447b2ea8337fe7ba28a0fef3d4adacab3ba2d3595768d514d5"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnLifecycle._flush_buffered_events_once (cognitive 16): TurnLifecycle._flush_buffered_events_once has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 3 (5 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/lifecycle.py"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43e3d0c73faf50e71df2495360b4ba02b8a57e865eb1c689df6998abc53fee1"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawHubProvider.detail (cognitive 16): ClawHubProvider.detail has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 4, ternaries 3 (4 pts), error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/skill/hub.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"179040cd41d52c0ab0bad9b95a19b188dc3f019d074d452f5dd95278390ea1a1"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillService._availability (cognitive 16): SkillService._availability has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 5, loops 2, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/skill/service.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a5e62ac7df8047ceb790f7280bd9491aed9ec3bac7c7b590e6a68d657a526d"}},{"ruleId":"D2","level":"warning","message":{"text":"acp._content_text (cognitive 16): acp._content_text has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 2, loops 1 (2 pts), ternaries 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":"deeptutor/services/subagent/acp.py"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a99f4bd6668699e9d181f691596424e285f4a630121b6d0e4a80454ec3b9ef1"}},{"ruleId":"D2","level":"warning","message":{"text":"models._codex_options (cognitive 16): models._codex_options has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 2 (4 pts), ternaries 3, error handling 2, loops 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/models.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bf96ed6bb3ac3301458a573b706fc4c014f672e88479c8b941a13679a2196d"}},{"ruleId":"D2","level":"warning","message":{"text":"suggestions._sanitize (cognitive 16): suggestions._sanitize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/suggestions.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"5750818366f9f5b8c9b9d65770673f478f628e3c54f133f49ca6e2392481405b"}},{"ruleId":"D2","level":"warning","message":{"text":"suggestions._generate (cognitive 16): suggestions._generate has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 4, error handling 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/suggestions.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c41fe90238fd05c46e623c1be9963392dacac3eae9a9876c60a5d439ae8df5"}},{"ruleId":"D2","level":"warning","message":{"text":"dashscope._tts_url (cognitive 16): dashscope._tts_url has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/adapters/dashscope.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5615a373a94093627b4f8fde6fc7b654e057ba96953a27e5e50b456d886c2f"}},{"ruleId":"D2","level":"warning","message":{"text":"html_extractor.extract_article_markdown (cognitive 16): html_extractor.extract_article_markdown has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (5 pts), boolean chains 1, error handling 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":"deeptutor/services/web_source/html_extractor.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ab03089b173c7610ba8659807b5da8511a8058ac408bb3d54c96aca28bc6be"}},{"ruleId":"D2","level":"warning","message":{"text":"CrawlAccess._fetch_policy (cognitive 16): CrawlAccess._fetch_policy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/web_source/robots.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb389bd92b07773d71fa20f7dc7484adc582fb2825a7b73ae9b05572e3f260d"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceCatalogMixin._ensure_builtin_workspaces (cognitive 16): WorkspaceCatalogMixin._ensure_builtin_workspaces has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 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":"deeptutor/services/workspace/catalog.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c14cc93f8fce7ea2b1ad7e6933d9efdda821c7dabb6b77484a354a8ab054d79"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceCatalogMixin.create_workspace (cognitive 16): WorkspaceCatalogMixin.create_workspace has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/catalog.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed6419d84f0d7a4ed0ca9a3f267c9cafdd66931655e526746836c67f0f5c6f7"}},{"ruleId":"D2","level":"warning","message":{"text":"data_migration._feature_path (cognitive 16): data_migration._feature_path has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2713d94295072708c224c27e5dc4946952d0cd93cc74a55eea10bd111e6b0a"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge.knowledge_catalog (cognitive 16): knowledge.knowledge_catalog has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 2 (4 pts), loops 2 (3 pts), error handling 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":"deeptutor/services/workspace/knowledge.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70ed994e52135c367ec85e30b58b195acaff63ade6a6f942da855ddad9e1161"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentWorkspaceService.current_binding (cognitive 16): ContentWorkspaceService.current_binding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/service.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1ef4fd6659f3fff942f518837a87079edfac415b93ed75afd684e75e2217f0"}},{"ruleId":"D2","level":"warning","message":{"text":"RAGTool.execute (cognitive 16): RAGTool.execute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 1 (4 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/builtin/__init__.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e312bb93f34d59a2fe7199fe826605a33712532195997ee1114c343acc10ad3"}},{"ruleId":"D2","level":"warning","message":{"text":"question_bank._list (cognitive 16): question_bank._list has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/question_bank.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd7e63d6aa207b64bd398fbf355b8637df792e01e319083bc611726ec395477"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceExportTool.execute (cognitive 16): WorkspaceExportTool.execute has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8, boolean chains 6, error handling 1, if/else 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/workspace.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c547abd63468e1fd9a2aae14cd2d9d918ecdf5d56bf82d6d3f901712aabab3f"}},{"ruleId":"D2","level":"warning","message":{"text":"document_images.ordered_pptx_slide_members (cognitive 16): document_images.ordered_pptx_slide_members has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (3 pts), boolean chains 2, 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":"deeptutor/utils/document_images.py"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cc9c4cb8ca7d4e35afac06a30936958779335219ad06fe515a8405ea82545c"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchingToReadingMigration.migrate (cognitive 16): WatchingToReadingMigration.migrate has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 5, ternaries 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/video_learning/reading_migration.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea81bf8e3cac80ef38ec5d5a3b105f41ccadcf45b11e4b7f8f28c789fd4f1240"}},{"ruleId":"D2","level":"warning","message":{"text":"TimedMediaStore._repair_transcript_text (cognitive 16): TimedMediaStore._repair_transcript_text has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/video_learning/service.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdc8f2b693222e8d82067148df00e5145dffb119c8de6c095e690b43ea741d5"}},{"ruleId":"D2","level":"warning","message":{"text":"SubmitVisualizationTool.execute (cognitive 16): SubmitVisualizationTool.execute has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 6, 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":"deeptutor/visualizers/tool.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"235f7ca3ebe1dc0d0761e6b3c70618dc676f5d89ce8e698c96a73c5598ba0d38"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnStreamRenderer._prompt_one_question (cognitive 16): TurnStreamRenderer._prompt_one_question has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 3 (5 pts), ternaries 3 (4 pts), 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":"deeptutor_cli/common.py"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"7125ca6086d3950b79976d49aa76b1dc89a68989c783ac18d28637a8d4932f36"}},{"ruleId":"D2","level":"warning","message":{"text":"init_cmd.run_init (cognitive 16): init_cmd.run_init has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 4, ternaries 3, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor_cli/init_cmd.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab0c0e998bc89f1eaa95f4fddb8db516cb279e4e8c3e22e034fa1e36234edf5"}},{"ruleId":"D2","level":"warning","message":{"text":"types.validateToolRuntime (cognitive 16): types.validateToolRuntime has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/native/types.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db8738fc26f67d6fd646b85f3a1012ce515d88cdb6083f8eb228e6b9f34c81a"}},{"ruleId":"D2","level":"warning","message":{"text":"BookEditReview.BookEditReview (cognitive 16): BookEditReview.BookEditReview has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 3 (4 pts), if/else 3, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 33, apply, a function literal at line 28, \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":"web/app/(workspace)/learning/books/components/BookEditReview.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e072c6e628ae1776bd464ab26faab6e51f16cc9e8746a70e215e5389b2ecf228"}},{"ruleId":"D2","level":"warning","message":{"text":"page.ManageGroupDialog (cognitive 16): page.ManageGroupDialog has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 4, boolean chains 2, error handling 2 (nesting depth added 2). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (save, remove, a function literal at line 275, \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":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a730ba87693605e9e8fc29d9d2965eb0e4ffd7dd8db0b82c888b5ce1c88f99"}},{"ruleId":"D2","level":"warning","message":{"text":"page.NewPartnerPage::submit (cognitive 16): page.NewPartnerPage::submit has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 5, error handling 1, if/else 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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63109e7b889cdd0627efbdb0eb1aa3031c4a8aa101723752547ca2b084b1c12"}},{"ruleId":"D2","level":"warning","message":{"text":"AnswerModeMenu.AnswerList (cognitive 16): AnswerModeMenu.AnswerList has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, if/else 2, ternaries 1. Of this number, 13 points are the body\u0027s own statements and 3 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":"web/components/chat/home/AnswerModeMenu.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"084aae3d12530673a1d5927c17cd37dbd5ae094a196f0344d768c30050be03ce"}},{"ruleId":"D2","level":"warning","message":{"text":"useBinarySource.useBinarySource (cognitive 16): useBinarySource.useBinarySource has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 3). None of this is in the body itself: all 16 points belong to 3 function literals inside it that branch (lines 37, 26, 60). 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":"web/components/chat/preview/previewers/useBinarySource.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7ab8e9a11636c9bc602836ad06d71ad8a9cdc3bbbf4e873bb532e0b03ba28e"}},{"ruleId":"D2","level":"warning","message":{"text":"DocxPreview.DocxPreview (cognitive 16): DocxPreview.DocxPreview has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 75, 49, 62, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/preview/previewers/DocxPreview.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6e5f4a401f32cd8fe59e650b4f86c54e91e8c96fb80aca6161cc8ebf8882c7"}},{"ruleId":"D2","level":"warning","message":{"text":"CliAppsSection.Installed (cognitive 16): CliAppsSection.Installed has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, ternaries 4 (5 pts), error handling 1, if/else 1 (nesting depth added 1). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 215, 164, 284). 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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20d57cdbd9e2be6cb10b21cea6c1d9e37796c21ad418625dfbfddafbfc3d9d3"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineFileCard.makeFileLinkRemarkPlugin::splitText (cognitive 16): InlineFileCard.makeFileLinkRemarkPlugin::splitText has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (InlineFileCard.makeFileLinkRemarkPlugin, InlineFileCard.makeFileLinkRemarkPlugin::visit) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"web/components/common/InlineFileCard.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea8de2ae061d711c93e4022eef880b016cb4d47bdf7fdbe38e170ccf9bb0bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"KbDocumentList.buildTree (cognitive 16): KbDocumentList.buildTree has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 4). Of this number, 9 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":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0107822f58d596e9b6574c9c876bdc65a7e081fb8970a79a45ef70df83532875"}},{"ruleId":"D2","level":"warning","message":{"text":"PracticeInsights.DailyChart (cognitive 16): PracticeInsights.DailyChart has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9 (12 pts), boolean chains 2, if/else 2 (nesting depth added 3). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 441, 345, 304, \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":"web/components/learning/practice/PracticeInsights.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52c35b8abdf6364437d2d52548f4d8e81cca2295e2b3f5de68edf333faa4591"}},{"ruleId":"D2","level":"warning","message":{"text":"NotebookSelector.NotebookSelector (cognitive 16): NotebookSelector.NotebookSelector has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, ternaries 4 (7 pts) (nesting depth added 3). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 89, 166). 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":"web/components/notebook/NotebookSelector.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35e074726c4cddcf76f695159cc12030097848d08d3017be3ec109a2b0f872b"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerLinkModal.PartnerLinkModal (cognitive 16): PartnerLinkModal.PartnerLinkModal has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (11 pts), error handling 4, if/else 1 (nesting depth added 4). Of this number, 11 points are the body\u0027s own statements and 5 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":"web/components/partners/PartnerLinkModal.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bc9f492bc8a110c53ff209be5d92fe6bb9ea60664e952052be76c551fd7faf"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistryControls.RegistryModelIdField::onKeyDown (cognitive 16): RegistryControls.RegistryModelIdField::onKeyDown has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (5 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":"web/components/settings/RegistryControls.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"375d2182dd5efe26c6da7cc9bc1f107fec5acfc9b8efebbb0849cc88f5c071ba"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatResponseTimeoutSection.ChatResponseTimeoutSection (cognitive 16): ChatResponseTimeoutSection.ChatResponseTimeoutSection has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (6 pts), if/else 4 (5 pts), boolean chains 3, error handling 2 (nesting depth added 4). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 36, 69, 91). 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":"web/components/settings/ChatResponseTimeoutSection.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5484aea20ffa9180b5405a12c428441e89d855e32bbd42ec41f99e7a0a8822"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryUsageItem.MemoryUsageItem (cognitive 16): MemoryUsageItem.MemoryUsageItem has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 4, boolean chains 2, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 85, 100, 67, \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":"web/components/settings/MemoryUsageItem.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08a9dd357cd837147a113625dd5d608250992285f52ceef17c495dbb13dceb2"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelCapabilityFields.ModelCapabilityFields (cognitive 16): ModelCapabilityFields.ModelCapabilityFields has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 4, boolean chains 2, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 92, a function literal at line 56, autoValue, \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":"web/components/settings/ModelCapabilityFields.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d5b23c0e1a458516487ddc06cd84fb56976a614771f6b85344f79aff4b9e25"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelCards.ModelCard (cognitive 16): ModelCards.ModelCard has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (12 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":"web/components/settings/ModelCards.tsx"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6e766626bc73d6f44914315586d17d94e5fbd63a2ed2f98648867bfd8ebef7"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWorkspace.SubagentTabWatcher (cognitive 16): ChatWorkspace.SubagentTabWatcher has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 7). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 3239). 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":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":3232}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f6f98475af6855251dabb6c228e1acf1768db5f1f30070e742a5cf6fc99430"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-summary.messageUsage (cognitive 16): usage-summary.messageUsage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, 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":"web/features/chat/messages/usage-summary.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"359cef9d04e5e297b59faf5f4913ba1ffd8a54c0857d6efce736f0c66ce172f5"}},{"ruleId":"D2","level":"warning","message":{"text":"memory.compactTracePreview (cognitive 16): memory.compactTracePreview has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 2 (nesting depth added 4). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/trace/memory.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f991c031eebb2547f6962c1440c24a65a8514697c66f8b14cef6253715caabd"}},{"ruleId":"D2","level":"warning","message":{"text":"LearnerProfileEditor.LearnerProfileEditor (cognitive 16): LearnerProfileEditor.LearnerProfileEditor has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 3, if/else 3, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 104, save, a function literal at line 98, \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":"web/features/multi-user/components/LearnerProfileEditor.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"75247ed865f3146d593638acdbce7497144098560975f5705b594da2e2f92a9d"}},{"ruleId":"D2","level":"warning","message":{"text":"concept-map.noteConceptMap (cognitive 16): concept-map.noteConceptMap has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (7 pts), boolean chains 6, if/else 1 (2 pts), loops 1 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/model/concept-map.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5195b7fee7b35933acb8e1655786d8987dc012f86b3b4a849b794464800b3b8b"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteThreadMarkers.NoteThreadMarkers (cognitive 16): NoteThreadMarkers.NoteThreadMarkers has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 5, ternaries 2 (3 pts), loops 1 (nesting depth added 1). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 120, 72, 111, \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":"web/features/notes/components/NoteThreadMarkers.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"037def4893689b82ac7fed251528013e8cdc9f9013213335991ade0b4fff0274"}},{"ruleId":"D2","level":"warning","message":{"text":"NotePageHead.NotePageHead (cognitive 16): NotePageHead.NotePageHead has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), ternaries 2 (nesting depth added 1). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 232, a function literal at line 72, openIcons, \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":"web/features/notes/components/NotePageHead.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"65092b1805d19f25c1817d672f1b5233e2ff93de3ed5a46ff770427cdd04a089"}},{"ruleId":"D2","level":"warning","message":{"text":"model-settings.firstIncompleteModel (cognitive 16): model-settings.firstIncompleteModel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (7 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":"web/lib/model-settings.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d248dbf6af7a31eb4b403c781e9e2e84a6b4e706413bca875c13049a22992a2e"}},{"ruleId":"D2","level":"warning","message":{"text":"validateConfig (cognitive 16): validateConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, loops 1, other 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":"apps/desktop/src/config.mjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ef4bb25f9be3e5793e67aaf808dd091fd86ede1109c6781132dc39ba1535a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CoWriterWorkspace.CoWriterWorkspace: FunctionTooLong \u2014 CoWriterWorkspace runs 1869 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1769 over it, 18.69\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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bce9df5737b89209da7dc97239f1859e37838888dfa3a35b2093a2629829975"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatStateAdapter.ChatStateAdapterProvider: FunctionTooLong \u2014 ChatStateAdapterProvider runs 1717 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1617 over it, 17.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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c0e30ecc7688e5e6491418d7c485a61ce8e5f1cdf217e4236b6f877fde115e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsStore.SettingsProvider: FunctionTooLong \u2014 SettingsProvider runs 1398 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1298 over it, 13.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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"835a15c1a8953b52259b9eacc69c8e78fb915625c53fcd19424d3631ab89262b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatComposer.ChatComposer: FunctionTooLong \u2014 ChatComposer runs 1199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1099 over it, 11.99\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":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc53ba616f0b12aa5ca1077c407d91d1231f8f0fc1924f2074d9d823b564bf7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ServiceConfigEditor.ServiceConfigEditor: FunctionTooLong \u2014 ServiceConfigEditor runs 988 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 888 over it, 9.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cea7f32b96dbb387d6fcdaf08494f4e8abb3e1c0c0405cdb045efd5e45b973"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: QuizViewer.QuizViewer: FunctionTooLong \u2014 QuizViewer runs 957 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 857 over it, 9.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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad71c298b960d02e881a5cfb33f44ee0d605cd4563c3839f4bbd09dab87fb76b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReaderPane.ReaderPane: FunctionTooLong \u2014 ReaderPane runs 880 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 780 over it, 8.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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0235122b635ef646b0baf6aa84f5e52a0dc4fb4a33136c486161d6588fd49b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PartnerChat.PartnerChat: FunctionTooLong \u2014 PartnerChat runs 854 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 754 over it, 8.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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7a9b4a7dbca91f83f9fcf10c0f9f8869e197dfb452ca2216c07ba3083e1fc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MediaReadingStage.MediaReadingStage: FunctionTooLong \u2014 MediaReadingStage runs 843 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 743 over it, 8.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":"web/components/reading/workspace/MediaReadingStage.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"161b3a91e374cccbc89b913e9010751beb1144079a07202acdbc993358228a8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.AdminUsersPage: FunctionTooLong \u2014 AdminUsersPage runs 840 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 740 over it, 8.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":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f470d5b84d1c13e99a9b69b73b79585990905e468d82c1340449cebc98b7ade2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BooksRoute.BookPageInner: FunctionTooLong \u2014 BookPageInner runs 840 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 740 over it, 8.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":"web/app/(workspace)/learning/books/BooksRoute.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d764592f68d5b3ddc36bc6547dd0459b325bdd6684a3f8b920de0b548ef439"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillsSection.SkillsSection: FunctionTooLong \u2014 SkillsSection runs 778 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 678 over it, 7.78\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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9622818d19843dc8ee002da86e3b5f9ce45b3ec0b1bc4c2495f67ccba951500b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteEditor.NoteEditor: FunctionTooLong \u2014 NoteEditor runs 765 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 665 over it, 7.65\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":"web/features/notes/components/NoteEditor.tsx"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4e519d7e10daf150ec634e938d79edb59ae8454c5191605d9ca35ff228a0e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StandaloneComposer.StandaloneComposerImpl: FunctionTooLong \u2014 StandaloneComposerImpl runs 663 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 563 over it, 6.63\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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29511c4aa52600ddffd4e1d1a32bee7742183953529da63cfc6f5c89b617442"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.PartnerDetail: FunctionTooLong \u2014 PartnerDetail runs 657 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 557 over it, 6.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":"web/app/(workspace)/partners/[partnerId]/page.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1d05caaaebb8b53d5da079a611708014c07ed9db96aef7abdfbf2e236f27ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatStateAdapter.reduce: FunctionTooLong \u2014 reduce runs 657 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 557 over it, 6.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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"382e8fb4f3a704eb97a06e564e9a05fd535548a818ab1233b426f4069c7230cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/ChatStateAdapter.tsx: FileTooLong \u2014 3240 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2740 over it, 6.48\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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d77f02c2179a3f4808f2e16e4e1e1cdbfadc44d056106a5661e7832d220add"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SQLiteSessionStore: TooManyMethods \u2014 191 methods. The bar is 30 methods; this is 161 over it, 6.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5a072627e7c482f5154959a22970ba8b0e2ef3d780d50d9370b3e5f02914ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteWorkspace.NoteWorkspace: FunctionTooLong \u2014 NoteWorkspace runs 621 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 521 over it, 6.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":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df382fd5f0a0027cc4397a3654013813c8c08fec1421ae057f7b2aa4901813e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PdfDocumentView.PdfDocumentView: FunctionTooLong \u2014 PdfDocumentView runs 594 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 494 over it, 5.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":"web/components/reading/PdfDocumentView.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e8649d8e9ad09f2121fa3956b5013661d5d00bc540c0b7adb65aa4565b9327"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mastery/tools.py: FileTooLong \u2014 2903 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2403 over it, 5.81\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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24012d19d32fbde00ce2a8965f8121ce1441c4772d8f10d70b9a18dc91f60dc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CalendarPage.CalendarPage: FunctionTooLong \u2014 CalendarPage runs 576 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 476 over it, 5.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":"web/features/calendar/components/CalendarPage.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dc852788d5ebff073ec3eb4c5d0162b1b7388a02d24e0356aaa16a70213bd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MasteryStudy.MasteryStudy: FunctionTooLong \u2014 MasteryStudy runs 575 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 475 over it, 5.75\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":"web/components/space/learning/MasteryStudy.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b494c78c202d961c8205d053cdb10ecffab205289f56da1d27248f16f0df804d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GrantEditor.GrantEditor: FunctionTooLong \u2014 GrantEditor runs 571 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 471 over it, 5.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":"web/features/multi-user/components/GrantEditor.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e97755e52c933d7a38221a97309fdce60885c4b1b9c50d3366b725d19757c51"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/sqlite_store.py: FileTooLong \u2014 2767 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2267 over it, 5.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb85e4f68840bb78253a0fd934cb442f5f1f31362f07f143faad4fe32db5afe8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: learning/service.py: FileTooLong \u2014 2738 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2238 over it, 5.48\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":"deeptutor/learning/service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad3893c3e1dda12cad93211b210141fba9f790736ccfb7334d1046cb8ade533"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateKbModal.CreateKbModal: FunctionTooLong \u2014 CreateKbModal runs 546 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 446 over it, 5.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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb045bc43347083215904929dfc3cb4ae1d431e01e62039545f26aa9496831f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PageReader.PageReader: FunctionTooLong \u2014 PageReader runs 514 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 414 over it, 5.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":"web/app/(workspace)/learning/books/components/PageReader.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"70af3701b43fe0e6209b71609b7e6eea8404438071bdc8b90a2cb70c0827e712"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SubagentSettingsEditor.SubagentSettingsEditor: FunctionTooLong \u2014 SubagentSettingsEditor runs 514 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 414 over it, 5.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":"web/components/settings/SubagentSettingsEditor.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"bece1a1fa7f1690829795b8509d97ff70360c5c605be1e936ac87430faacb8e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReadingWorkspace.ReadingWorkspacePage: FunctionTooLong \u2014 ReadingWorkspacePage runs 489 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 389 over it, 4.89\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":"web/components/reading/workspace/ReadingWorkspace.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf0c186b1f87bfec4e343bdf27c91553f0ce75b7fa17d1bd800b15d5c1df006"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TimeGrid.TimeGrid: FunctionTooLong \u2014 TimeGrid runs 487 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 387 over it, 4.87\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":"web/features/calendar/components/TimeGrid.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f23925fd09ebbbf6660d2e8601ac93c763c8e08abd98ba506d558e79be625f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MinerUEngineSettings.MinerUEngineSettings: FunctionTooLong \u2014 MinerUEngineSettings runs 485 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 385 over it, 4.85\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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f61914ddd5754bf03f4d2049905f6750459bf0b42109407e894422df18bd94"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SaveToNotebookModal.SaveToNotebookModal: FunctionTooLong \u2014 SaveToNotebookModal runs 483 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 383 over it, 4.83\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":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6c672c1458e19c0d77c6fa5a55b969c01d74c057fffe01b461bb5aa277a7f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatMessageList.ChatMessageList: FunctionTooLong \u2014 ChatMessageList runs 481 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 381 over it, 4.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bd34aa096b767b565a8182eb6fd4d43d67eb605fe1a78f7fc2c12d2430a367"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EpubDocumentView.EpubDocumentView: FunctionTooLong \u2014 EpubDocumentView runs 475 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 375 over it, 4.75\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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df8f6699a78c85c08c2b55f34d78aebecfdff72840143306709e7a0f73b343a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ChatWorkspace.tsx: FileTooLong \u2014 2371 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1871 over it, 4.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":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"772e0a82434cae141977f2e970128828de2455378e1c5599dca7732a4d433d30"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: research/pipeline.py: FileTooLong \u2014 2362 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1862 over it, 4.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":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f6a0567bf3250f50e25e5e064702543ff7da8899169a42b68f955c98024df5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BookChatPanel.BookChatPanel: FunctionTooLong \u2014 BookChatPanel runs 469 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 369 over it, 4.69\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":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"170a54baaefe6c16ddca776f58a63db5e222910c90a45e94632ac9b45686fd00"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CoWriterWorkspace: ClassTooLong \u2014 1869 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 1469 over it, 4.67\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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98a006764e236ad6554922c64f9ec44ae7e64090644cdb4ede0ffe2e20bcc89"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OrganizedSessionList.OrganizedSessionList: FunctionTooLong \u2014 OrganizedSessionList runs 463 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 363 over it, 4.63\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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0dc991e536b7990ef77bbceb3c64e586116a7930b0f9782e3d43a2bb9e8fc9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PartnerComposer.PartnerComposer: FunctionTooLong \u2014 PartnerComposer runs 454 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 354 over it, 4.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":"web/components/partners/PartnerComposer.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba9dd53b16bfd24ec42a517a79f598a9ed3c8f0bb1e92a9ac8ea81a64dca809"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PersonasSection.PersonasSection: FunctionTooLong \u2014 PersonasSection runs 442 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 342 over it, 4.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":"web/components/space/PersonasSection.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d383cbddb678c44603be794780015903b6c9ea4182694ba7272224faa7f717b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TextUnitView.TextUnitView: FunctionTooLong \u2014 TextUnitView runs 439 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 339 over it, 4.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/TextUnitView.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b2f5cc97b68eef2eb7a8a79baa43b0b4ac5b7a4f5e5094fa34ce65093543d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteBlockPreview.NoteBlockPreview: FunctionTooLong \u2014 NoteBlockPreview runs 432 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 332 over it, 4.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":"web/features/notes/components/NoteBlockPreview.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ed636afa8a0a891b3966ec758bbcb656224de990c93946f9bfa5aacef42cb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PartnerConfigure.PartnerConfigure: FunctionTooLong \u2014 PartnerConfigure runs 420 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 320 over it, 4.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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"537076acac88a33b36d58e098f4545b010d6ee3ee235f33f5a4cb3ae31dc9824"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CodexOAuthCard.CodexOAuthCard: FunctionTooLong \u2014 CodexOAuthCard runs 417 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 317 over it, 4.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":"web/components/settings/CodexOAuthCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"17589ecb1837a6c395f8c8512f9a58658493c9b719287f3f5ddf36b32881241e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SourceNavigator.SourceNavigator: FunctionTooLong \u2014 SourceNavigator runs 416 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 316 over it, 4.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":"web/components/reading/workspace/SourceNavigator.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1d1cd32116ad9a6735999108d6c424e35d22af45469abe2d45d8ea46e42491"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatMessageList.AssistantMessage: FunctionTooLong \u2014 AssistantMessage runs 416 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 316 over it, 4.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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e9ef8077c991a10e7c17b051471678b9bf2d4b956ab0557a4859217b54f9a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KbDocumentList.KbDocumentList: FunctionTooLong \u2014 KbDocumentList runs 413 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 313 over it, 4.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":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d1145d6493f925081d9f500a38bc6f24382caa89643c85470b6b98506b048b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/CoWriterWorkspace.tsx: FileTooLong \u2014 2044 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: CoWriterWorkspace (182-2526). The bar is 500 significant lines; this is 1544 over it, 4.09\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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7c5f7482aeef79df4e6b2a68265958183318bf3d1910a4b57b1ab56157190d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.NewPartnerPage: FunctionTooLong \u2014 NewPartnerPage runs 402 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 302 over it, 4.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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"32851b3c39d0de03a47308e4f10bf693d6bb8d5b467a4fecbec069c6c6b55986"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolsSettingsSection.ToolsSettingsPage: FunctionTooLong \u2014 ToolsSettingsPage runs 400 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 300 over it, 4.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":"web/features/settings/sections/ToolsSettingsSection.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"25763258d1ba91e7546b5742297c53d169a59a7044442f4756bdea2843ebe7ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CapabilitiesSettingsSection.CapabilitiesSettingsPage: FunctionTooLong \u2014 CapabilitiesSettingsPage runs 399 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 299 over it, 3.99\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":"web/features/settings/sections/CapabilitiesSettingsSection.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c630bf2e83d99f0f6af67ef8e021c486f3b9510ddd8818911c039a7953fb59"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ServiceConfigEditor.ProfileFields: FunctionTooLong \u2014 ProfileFields runs 395 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 295 over it, 3.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c6644d6c62a5b5d0ffaa60d22ef8832d9c579ac15af7c0cbf5fd849aa93a46"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SpineEditor.SpineEditor: FunctionTooLong \u2014 SpineEditor runs 390 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 290 over it, 3.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":"web/app/(workspace)/learning/books/components/SpineEditor.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f80fc91b639bb82724190624652c33a32da0291f7e1398ea7867e76bcdbd8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: messages/ChatMessageList.tsx: FileTooLong \u2014 1926 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1426 over it, 3.85\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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc86f35e4a643ae44e935c00ee1f84bfe792d1e9732b753c6c1bfdd71976117"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SimpleMarkdownRenderer.SimpleMarkdownRenderer: FunctionTooLong \u2014 SimpleMarkdownRenderer runs 385 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 285 over it, 3.85\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":"web/components/common/SimpleMarkdownRenderer.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b21908240625b0a257e20a9c1454741a556643a104ad27483b3b8483c546ce9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useNoteThreads.useNoteThreads: FunctionTooLong \u2014 useNoteThreads runs 384 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 284 over it, 3.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":"web/features/notes/components/useNoteThreads.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ac38ea99e4b00d89f2aa80462d08f6dc89775bca3836c326fe320f4f63d320"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AddMaterialsDialog.AddMaterialsDialog: FunctionTooLong \u2014 AddMaterialsDialog runs 381 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 281 over it, 3.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be70139765c523edadd5b3b90d7e494b57eb670f1270536f9060683a9c49a87"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MyAgentsPicker.MyAgentsPicker: FunctionTooLong \u2014 MyAgentsPicker runs 380 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 280 over it, 3.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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e886cbdab544dd5656f4f95283c1f008427609b9a99fa9cb5b8e1269ee28a2a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ComposerResources.ComposerResources: FunctionTooLong \u2014 ComposerResources runs 378 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 278 over it, 3.78\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":"web/components/chat/home/ComposerResources.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe318224c0f657049ad3e27c3ea9ad24d3f28503754fae24c03ed0c85a55750"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/SettingsStore.tsx: FileTooLong \u2014 1875 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: SettingsProvider (644-2612). The bar is 500 significant lines; this is 1375 over it, 3.75\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b524b67c82078952eea498508b93f5b71004ffc2abb68d6451d14c549278c7fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReadingReferencePicker.ReadingReferencePicker: FunctionTooLong \u2014 ReadingReferencePicker runs 374 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 274 over it, 3.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/ReadingReferencePicker.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8a3d6ea0c65fe9fdef4a18ff811cba68e4f111ce3a401e2474f5579debad3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.ProfilePage: FunctionTooLong \u2014 ProfilePage runs 373 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 273 over it, 3.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(utility)/profile/page.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f752d8f6ca267be45fdb9fa7087668f83a5e73a30b745c8f37845ff0fce148"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EventEditor.EventEditor: FunctionTooLong \u2014 EventEditor runs 368 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 268 over it, 3.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":"web/features/calendar/components/EventEditor.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3872ad908a38fac896785e1945ef7575667ec58f52e2d033927198c29166864"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarNav.SidebarNav: FunctionTooLong \u2014 SidebarNav runs 366 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 266 over it, 3.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":"web/components/sidebar/SidebarNav.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c838c11295b4fee5c442d845ffd56e0cd56d6023a5d0721347429b778d811aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KnowledgePage.KnowledgePage: FunctionTooLong \u2014 KnowledgePage runs 363 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 263 over it, 3.63\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":"web/components/knowledge/KnowledgePage.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca2dab552d4fbded72a3fb1bb970e9146aa9814b5e6436aeee4bf523bfa63ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GuardianSettingsSection.GuardianSettingsPage: FunctionTooLong \u2014 GuardianSettingsPage 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":"web/features/settings/sections/GuardianSettingsSection.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf848c383dc869ffd33065e3d93479edbf7defb235e87dbf949bd732872e840"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: channels/feishu.py: FileTooLong \u2014 1794 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1294 over it, 3.59\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce0392c92fa568da7b1f02cb3815baf5c32dbc432946f5ff09de22fa7f9ddb7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useKnowledgeProgress.useKnowledgeProgress: FunctionTooLong \u2014 useKnowledgeProgress runs 358 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 258 over it, 3.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"428c360e84a58b4f6ce83718080337674d20c960defe79a617169615ba1df4a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProvidersWorkspace.ProvidersWorkspace: FunctionTooLong \u2014 ProvidersWorkspace runs 357 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 257 over it, 3.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":"web/components/settings/ProvidersWorkspace.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0aec64ef6dc035e2c5e87894ae5b46c512e7c6a10db6913b06195722036ef2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builtin/__init__.py: FileTooLong \u2014 1784 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1284 over it, 3.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/builtin/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3436acc49f3e96c07325381e9b8dba3555a2c971ebc96d73309e07a358eb73d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: QuestionCard.QuestionCard: FunctionTooLong \u2014 QuestionCard runs 354 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 254 over it, 3.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":"web/components/space/question-bank/QuestionCard.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8337ee4391f82cb93c5ec11d2faf2c84538c1d000772ecd6b5700c58ad6ebd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: knowledge/manager.py: FileTooLong \u2014 1740 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1240 over it, 3.48\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":"deeptutor/knowledge/manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63462f5fcfab6ea2eb537b9ec962a3803d5ab6ba477b953619f3653ca7716ca0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HistorySessionPicker.HistorySessionPicker: FunctionTooLong \u2014 HistorySessionPicker runs 348 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 248 over it, 3.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":"web/components/chat/HistorySessionPicker.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e931bea8df304241b559ea44fda624978042378267b885cde65d70fec15ccc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: question/pipeline.py: FileTooLong \u2014 1701 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1201 over it, 3.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"373729817b70b40eb60680c35503ad5deb5330f9b45b2d642a5749bb3caa5cee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KnowledgeHome.KnowledgeHome: FunctionTooLong \u2014 KnowledgeHome runs 340 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 240 over it, 3.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":"web/components/knowledge/KnowledgeHome.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"364405c32f929ec3279e3c8faba8aae68c145732f676ed1b21376e13031613c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routers/settings.py: FileTooLong \u2014 1677 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1177 over it, 3.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":"deeptutor/api/routers/settings.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58b4da8ca07a3880fc8f1c5c86b6667c1d69040d75126dbd91a09d02cfd509f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KanbanBoard.KanbanBoard: FunctionTooLong \u2014 KanbanBoard runs 335 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 235 over it, 3.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":"web/features/tasks/components/KanbanBoard.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77893efbd761da64abd4e4758a394dd88f251c9474889d2d45b4eeb3a353ef1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: book/engine.py: FileTooLong \u2014 1674 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1174 over it, 3.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":"deeptutor/book/engine.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24c4e3d138723f4962674e91843cf69fcdd104bfe38fafc656d0a3a829c093c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engines/EngineDetail.tsx: FileTooLong \u2014 1669 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1169 over it, 3.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"990f586b78d74b27001e58901a859bca60c3e59f2b0c53a20f8a47fb9c93fd21"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: QuizFollowupContext.QuizFollowupProvider: FunctionTooLong \u2014 QuizFollowupProvider runs 332 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 232 over it, 3.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":"web/context/QuizFollowupContext.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"579575b14a19f27f79229fc996a862dbaa5814609c2c780e2a626d9e90e4c410"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BookReferencePicker.BookReferencePicker: FunctionTooLong \u2014 BookReferencePicker runs 328 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 228 over it, 3.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":"web/components/chat/BookReferencePicker.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4ec8961934d880e2ed20f784609462f9dc2bbbffb0f927ca1d83ea521ddefc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useReadingWorkspace.useReadingWorkspace: FunctionTooLong \u2014 useReadingWorkspace runs 327 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 227 over it, 3.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":"web/components/reading/workspace/useReadingWorkspace.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91d60388203476a7e400fc35f65ee830b11ad2b05552720e257b2ce90136372"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useKnowledgeBases.useKnowledgeBases: FunctionTooLong \u2014 useKnowledgeBases runs 326 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 226 over it, 3.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":"web/hooks/useKnowledgeBases.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c7b9d6490ed7539c9e924f95344d78bb91ca13dd46132fae987514bc96c775"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReadingCompanion.ReadingCompanion: FunctionTooLong \u2014 ReadingCompanion runs 321 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 221 over it, 3.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":"web/components/reading/workspace/ReadingCompanion.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a94ee230302133db4619940b3dca87396942ce6f46838627956ea5b41817179"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KbIndexVersionsSection.KbIndexVersionsSection: FunctionTooLong \u2014 KbIndexVersionsSection 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":"web/components/knowledge/KbIndexVersionsSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb93e71464e560c1566461903fc7eaa3e533c4b91fb6c388f3598666936b142b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PartnerArchives.PartnerArchives: FunctionTooLong \u2014 PartnerArchives 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":"web/components/partners/PartnerArchives.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ae63cb96bc538141c5bc720c6ad8c84808c6f9ab5c068f321eeaced13b4fbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReviewTrail.ReviewTrail: FunctionTooLong \u2014 ReviewTrail runs 315 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 215 over it, 3.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":"web/components/space/learning/ReviewTrail.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0464e871135e8a2d88205900ff3649f526ff7fad91fb266f0364f1dd9c424a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AboutSettingsSection.AboutSettingsPage: FunctionTooLong \u2014 AboutSettingsPage runs 315 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 215 over it, 3.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":"web/features/settings/sections/AboutSettingsSection.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f719754dd91b975cd558609e367fa1ffb3cd1df6ca639a79e0f8cddb10465d99"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useGroupSession.useGroupSession: FunctionTooLong \u2014 useGroupSession runs 314 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 214 over it, 3.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":"web/components/partners/group/useGroupSession.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6271d08f0fa71d7b1c5f76f640bed1c10d70a82a29523504838dda6cf1eebbfd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routers/book.py: FileTooLong \u2014 1551 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1051 over it, 3.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89eed0a3b11d16619eca55222b6d42a97ae61f765c1e59f93857f5c52f3cc57"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WatchingBrowser.WatchingBrowser: FunctionTooLong \u2014 WatchingBrowser 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":"web/components/watching/WatchingBrowser.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6efbc4c2eeba597f9a4bb8147ed8d4b6b29d65c247425ee1fbadf7224622ecd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DataMigrationSettingsSection.DataMigrationSettingsSection: FunctionTooLong \u2014 DataMigrationSettingsSection 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":"web/features/settings/sections/DataMigrationSettingsSection.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cded7efa5a83f85a6ca7ef2adfeef6bbe8bf068eefca150334ccf8472c697d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/ServiceConfigEditor.tsx: FileTooLong \u2014 1535 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: ServiceConfigEditor (102-1343). The bar is 500 significant lines; this is 1035 over it, 3.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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e719951384422e3ce131f7fb8a00730a403941ed86555f843b81940ec76154"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NotebookConsole.NotebookDetail: FunctionTooLong \u2014 NotebookDetail 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":"web/components/notebook/NotebookConsole.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1e91dc816b311e9af706f5cf4e35b6c2fc4b16554d14850808dbe2866bd563"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routers/partners.py: FileTooLong \u2014 1522 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1022 over it, 3.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":"deeptutor/api/routers/partners.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3d048e53dd2d464d689eff823aa1cc3232bcdac8bbd746bae3f875006b7ee3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: loop/pipeline.py: FileTooLong \u2014 1521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1021 over it, 3.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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2201ebac8a47c1cc6213c96559fcb6b6bf82f3345d7d2ba2ef434e38638916f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteFavoritesPicker.NoteFavoritesPicker: FunctionTooLong \u2014 NoteFavoritesPicker runs 302 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 202 over it, 3.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":"web/features/notes/components/NoteFavoritesPicker.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"befc3f4135ce1af95b7383147f9fb487adf0f148e4430fa9f5cb7c7fec0b087b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarShell.SidebarShell: FunctionTooLong \u2014 SidebarShell 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":"web/components/sidebar/SidebarShell.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbeb04c54c27cf9fdef1871827558a2a825178d67970a92efe1158913d29fbf5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemoryRunPanel.MemoryRunPanel: FunctionTooLong \u2014 MemoryRunPanel runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed209e75dc6d34c67e26b5ee198f21ede20481e46328b699f2dbe5de761e3a1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useMemoryRun.useMemoryRun: FunctionTooLong \u2014 useMemoryRun runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/useMemoryRun.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b8ab3bb45790da29217d0e8b1196ec2feeadf2979e15e33cec6d91fe035943"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: QuestionBankPicker.QuestionBankPicker: FunctionTooLong \u2014 QuestionBankPicker runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/QuestionBankPicker.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a22a3b0232d431e4d1a79b0c7bfba0b1970ef33cb0589c6f05490742278db8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/pocketbase_store.py: FileTooLong \u2014 1430 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 930 over it, 2.86\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"621ad39419ec36e1a661051fd05488dab69e2ae14db2eab29bf1db91d67127b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PartnerChannels.PartnerChannels: FunctionTooLong \u2014 PartnerChannels runs 286 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 186 over it, 2.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":"web/components/partners/PartnerChannels.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0da963e0755d7686dba2a59baec9e1be467b652ce8d8b955ed3ef1df060279"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: home/SessionViewerPanel.tsx: FileTooLong \u2014 1427 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 927 over it, 2.85\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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deff62d64b2609a2c26a50da8744ef109ec6c8a61b3b2dd59f8590b338b6dee4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.WhisperPage: FunctionTooLong \u2014 WhisperPage runs 285 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 185 over it, 2.85\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":"web/app/(workspace)/whisper/page.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcb9947b67550e7ff6e73abab93bb397686ee3b77aa44d70542a49c336670f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteCompanion.ThreadPanel: FunctionTooLong \u2014 ThreadPanel runs 285 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 185 over it, 2.85\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":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0b00bfd8a38dff4238cf88cd8e60479666a17e77eb93ffb8b9077df2beb37c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PageCustomizeDialog.PageCustomizeDialog: FunctionTooLong \u2014 PageCustomizeDialog runs 282 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 182 over it, 2.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/customization/PageCustomizeDialog.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5707b7ad726982c5cae2deac8cef0ca6d706428f3fcd158d099665467bdf04"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/launcher.py: FileTooLong \u2014 1407 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 907 over it, 2.81\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":"deeptutor/runtime/launcher.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8810fddbd860d49e70fb71ab63530af637c3c8a6bace01580036c3e379fd6834"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: knowledge/CreateKbModal.tsx: FileTooLong \u2014 1396 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 896 over it, 2.79\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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9bc006b4cb3d51ad81e58261e9271dcf9635e378c32ba8a07b2a25eff49a32"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PdfPage.PdfPage: FunctionTooLong \u2014 PdfPage runs 278 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 178 over it, 2.78\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":"web/components/reading/PdfPage.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c252c6517b8b53c0a63d61950e83cdc5952070eeefc8f980961e5b57b65109"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemoryGraph.GraphView: FunctionTooLong \u2014 GraphView runs 277 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 177 over it, 2.77\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":"web/components/memory/MemoryGraph.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b016b5e2944e9028d33141f40852b64bc69e6f6548ef76e63b632171dc55bf7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routers/auth.py: FileTooLong \u2014 1368 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 868 over it, 2.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":"deeptutor/api/routers/auth.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf5d578876c20f7ef8b187d69b1507c0b258871419dd75d0fdfbffa27ec7687"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: partner_groups/manager.py: FileTooLong \u2014 1362 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 862 over it, 2.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":"deeptutor/services/partner_groups/manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cacdb471c16524224853cece37925d1a608275fe1dc1ced6de15989123cd89b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: home/ChatComposer.tsx: FileTooLong \u2014 1357 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 857 over it, 2.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15ecc4a77b652da66d95d1126971faf8f174e790f215cbf3f590ed6960dbdf3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionList.SessionList: FunctionTooLong \u2014 SessionList 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":"web/components/SessionList.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"23032773f1e2cd53a25edff8d5f109eab917a6e339710ea2a812c5b704e8077e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PracticeSession.PracticeTurn: FunctionTooLong \u2014 PracticeTurn 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":"web/components/learning/practice/PracticeSession.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc88104c6bdc0d76459bbac8b30e881c3949f51850cb3336b0572f4f9307d07c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/NoteEditor.tsx: FileTooLong \u2014 1327 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 827 over it, 2.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":"web/features/notes/components/NoteEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77ea00f3da920156760622d5bb23c2c7319db3f705c041d0966cec5e12c9d99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/provider_runtime.py: FileTooLong \u2014 1312 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 812 over it, 2.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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9f1e65d1d324efaf61613e3e3745aae09f1ee52aff34c6406fd8012e51bfde"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/client.ts: FileTooLong \u2014 1311 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 811 over it, 2.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":"web/features/knowledge/api/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99b4f6215c413226f071ef6265666be6c2540412d826d5e049aaf39adb18b49"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatHistorySection.ChatHistorySection: FunctionTooLong \u2014 ChatHistorySection runs 261 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 161 over it, 2.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":"web/components/space/ChatHistorySection.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e798dfbe9dca736eca50e5e0a47037dbd78cf0ec03fe097f25496bbf6b382866"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteTopBar.NoteTopBar: FunctionTooLong \u2014 NoteTopBar runs 261 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 161 over it, 2.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":"web/features/notes/components/NoteTopBar.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77b82af8dff5c6ab10637d05255b89a0ddaeb0281a07505ffe10ce7ae851907"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ServicePreviewPanel.Preview: FunctionTooLong \u2014 Preview runs 259 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 159 over it, 2.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ServicePreviewPanel.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a07a010a2e6b154b63179fc131601e7c7338a0fdcaa77fffacdc9bc30a0733b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BlockRenderer.BlockRenderer: FunctionTooLong \u2014 BlockRenderer runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.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":"web/app/(workspace)/learning/books/components/blocks/BlockRenderer.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"408e196d861b1be33fae284dacf737ade20e910336e848df29253401c9c7e972"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/_turn_runtime_shared.py: FileTooLong \u2014 1277 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 777 over it, 2.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb2731fe055443680acdd64fd40c911661a825a71e6f4d30e3c4260054d2eb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GuardianRelationshipsEditor.GuardianRelationshipsEditor: FunctionTooLong \u2014 GuardianRelationshipsEditor runs 255 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 155 over it, 2.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/multi-user/components/GuardianRelationshipsEditor.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1fcc36270dbb3bc4012d84b823113ba7a5edf7e86788f878b282c88336378d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BookLibrary.BookLibrary: FunctionTooLong \u2014 BookLibrary runs 254 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 154 over it, 2.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":"web/app/(workspace)/learning/books/components/BookLibrary.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da7f38b5bcc89548a33abbbc755e057f1002046d290bc93a53aa9e1364fd1e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteEditor.Handles: FunctionTooLong \u2014 Handles runs 254 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 154 over it, 2.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":"web/features/notes/components/NoteEditor.tsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"068f3f7a549b6d35d93d1e39852781bb63b30f4c3a092ba0475b986de1807e5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BookHealthBanner.BookHealthBanner: FunctionTooLong \u2014 BookHealthBanner 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":"web/app/(workspace)/learning/books/components/BookHealthBanner.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06669b388679e8affcbef3badaf0c89d9aeb0ed3af5130fc4e79fcc2f584e20"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NetworkSettingsSection.NetworkSettingsPage: FunctionTooLong \u2014 NetworkSettingsPage 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":"web/features/settings/sections/NetworkSettingsSection.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49af9c8b3bf62226f450b7c06700de9db636bc8c3cfbc94111f8e932252be3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: memory-graph.buildGraph: FunctionTooLong \u2014 buildGraph 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":"web/lib/memory-graph.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e462cdb60020b196366368101d45efb064ccf895dc5d905fb50477acfd4edd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: learning/storage.py: FileTooLong \u2014 1262 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 762 over it, 2.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/storage.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ec0a9037ff8d1fc33b831ab72ee3e2acc5a8f55b42f49878b391650665e589"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KnowledgeBaseDetail.KnowledgeBaseDetail: FunctionTooLong \u2014 KnowledgeBaseDetail runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.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":"web/components/knowledge/KnowledgeBaseDetail.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"672686a40d181ef4d88988e21925697e2da5a925afece9e277f08f83f745ae5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ClassicSidebarShell.ClassicSidebarShell: FunctionTooLong \u2014 ClassicSidebarShell runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.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":"web/features/ui-layout/classic/ClassicSidebarShell.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5d5510a85699d17ec20e13f9b5183b0508786883451ec0af087afcbb11b58b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RouteDraftEditor.RouteDraftEditor: FunctionTooLong \u2014 RouteDraftEditor runs 251 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 151 over it, 2.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":"web/components/space/learning/RouteDraftEditor.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e812c4bac77149b593be273b846d681efac3ee909c75c6a88375155165da6eb3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgenticLoopPipeline: TooManyMethods \u2014 75 methods. The bar is 30 methods; this is 45 over it, 2.50\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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"90daead42c49b33dd8f445704e8a1e7df9a4b1b94a5badc45470a6ad5f905844"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NotebookRecordRow.NotebookRecordRow: FunctionTooLong \u2014 NotebookRecordRow runs 250 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 150 over it, 2.50\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":"web/components/notebook/NotebookRecordRow.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6633afe5bfe09420fd19f5acd2e71f61974b833d46e2b74e6e6578bfac3efa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReadingFolder.ReadingFolderPage: FunctionTooLong \u2014 ReadingFolderPage runs 249 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 149 over it, 2.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":"web/components/reading/library/ReadingFolder.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"464ed63a3e1cc39e3a31569fdfb0a7b2ce9c0c296063cf4595a297455db5b441"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: partners/manager.py: FileTooLong \u2014 1238 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 738 over it, 2.48\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":"deeptutor/services/partners/manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"992c16ef4898f53436fe2dd10146b149e1a4c92e335ecbf2ce698d27059a2c68"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ServiceConfigEditor: ClassTooLong \u2014 988 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 588 over it, 2.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a748ee1459fbb6ba89ead5115d24a58b4bc1ee4718fc7b9675320cee5f539801"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemorySection.MemorySection: FunctionTooLong \u2014 MemorySection runs 246 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 146 over it, 2.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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf20ad2b68c5ca65218d0cd1d50bac95b35e28c81b4f4758dd75967a9387f51"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: memory/MemorySection.tsx: FileTooLong \u2014 1213 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 713 over it, 2.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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cfff7cb82e25e8746fd54e315995ef4409a32a9e7a66b2a3dab927144ef5d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.NewPartnerGroupPage: FunctionTooLong \u2014 NewPartnerGroupPage runs 241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 141 over it, 2.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":"web/app/(workspace)/partners/groups/new/page.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72c850d6d2861c21adf2d86ed04b2fabfac855de0c16a8d67cf3e7518a62a51"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateKbModal.NewModeFields: FunctionTooLong \u2014 NewModeFields runs 241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 141 over it, 2.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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9ab3f94542a5b26346383527b1d6075808d127bab1e616a38764cf7c0ae2de"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QuizViewer: ClassTooLong \u2014 957 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 557 over it, 2.39\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1242f539206be1e0de691d7cf517f7ce7aaf80a891338ca3962ac8584817f8aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: McpCatalogBrowser.EntryDetail: FunctionTooLong \u2014 EntryDetail runs 239 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 139 over it, 2.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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89a63b2176c6282ee6688dffb49d8c4b4ea272af539c5cd5cbbf472d7bf8159"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MyAgentsSection.MyAgentsSection: FunctionTooLong \u2014 MyAgentsSection runs 239 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 139 over it, 2.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":"web/components/space/MyAgentsSection.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9870aba07cc58ec5edab614226420f3699cc54d8625eb2234de01158807930"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemoryWorkbench.MemoryWorkbench: FunctionTooLong \u2014 MemoryWorkbench runs 238 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 138 over it, 2.38\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":"web/components/memory/MemoryWorkbench.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"463c11c15a2f3efc38582592574174eb1e573253ff9711a7f8022747c5658df4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KbWebSourcesSection.KbWebSourcesSection: FunctionTooLong \u2014 KbWebSourcesSection runs 237 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 137 over it, 2.37\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":"web/components/knowledge/KbWebSourcesSection.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dd6e4abf75a8bdcb4eb0822b266a0d0f1800348240d81699f02bc28334e6d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: provider_core/openai_compat_provider.py: FileTooLong \u2014 1180 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 680 over it, 2.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":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"278dff3b1b8ebb3cff5022e6bf35c3450cd4e20b48c86112a8cafaa57ef73458"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reading/store.py: FileTooLong \u2014 1179 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 679 over it, 2.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":"deeptutor/reading/store.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ade6ad269c179078401adf42ba5d2db07e3f7e230a1f862a99d6e34f7b8f40"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspacePill.WorkspacePill: FunctionTooLong \u2014 WorkspacePill runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.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":"web/components/workspaces/WorkspacePill.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afdcd86995fc87f3a5af26ab2b2f8af27bef36f9a0ebefad953b50ea2cbd2e0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PathService: TooManyMethods \u2014 70 methods. The bar is 30 methods; this is 40 over it, 2.33\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":"deeptutor/services/path_service.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce366c08376ea97b3ef73892f9df6cd07e6ac230bc8727fe06c844a6d43baeb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AppShellContext.AppShellProvider: FunctionTooLong \u2014 AppShellProvider runs 233 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 133 over it, 2.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/context/AppShellContext.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cc83810131d0e166e01246ae4ef2322483fb14bb10b4fab0f55b99ed5d7230"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TurnNavigator.TurnNavigator: FunctionTooLong \u2014 TurnNavigator 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":"web/components/chat/home/TurnNavigator.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9082f73408374d0a0973bbd0d79d47123bd391e16e3ba556e2e2da0be4f288"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KbLinkedFoldersSection.KbLinkedFoldersSection: FunctionTooLong \u2014 KbLinkedFoldersSection 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":"web/components/knowledge/KbLinkedFoldersSection.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4749a6857d9eb6c26dd01bde477c7cfde8c1e9fc9dab28e45042f9f4e133c40"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PracticeInsights.PracticeInsights: FunctionTooLong \u2014 PracticeInsights runs 231 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 131 over it, 2.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":"web/components/learning/practice/PracticeInsights.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe505bd821781abf013afb55089f9230a35c6915b78ce34021931bf2d9b6826"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/runtime_settings.py: FileTooLong \u2014 1152 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 652 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":"deeptutor/services/config/runtime_settings.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b06e1be2caddddcf84149d8416988c0af73b1f2bad4146746d9ccf951a4d975"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AnnotationPopover.AnnotationPopover: FunctionTooLong \u2014 AnnotationPopover runs 229 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 129 over it, 2.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/AnnotationPopover.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f2e88113955d6ed2960a9eb163691aa1f539d53052d1ec08eb30021d1e7225"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routers/reading.py: FileTooLong \u2014 1136 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 636 over it, 2.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":"deeptutor/api/routers/reading.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34cf2a622d59a579b8f26dd9acbcd9fb1e95239a27b46740345cf95aa5ab3b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BookCreator.BookCreator: FunctionTooLong \u2014 BookCreator 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":"web/app/(workspace)/learning/books/components/BookCreator.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a6b742a9e97c3c0a94171aa336da0069673a60733aef42b77c6da69c5afd0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReadingContext.ReadingProvider: FunctionTooLong \u2014 ReadingProvider 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":"web/context/ReadingContext.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"414c623a25818e670b3dacaa83b965085a08bf489d4b388d5faeef7b13a29f28"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: turns/executor.py: FileTooLong \u2014 1106 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 606 over it, 2.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/executor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52793f2c95dbe485cf980b538c70e4603600af9aea04ed8b07b3a9348e88d3ea"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReaderPane: ClassTooLong \u2014 880 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 480 over it, 2.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6825a8c4c50c2ca5608362d8159a137c0e6d9e1ddfa8a2af31873e5e8d0d05"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.PartnersPage: FunctionTooLong \u2014 PartnersPage 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":"web/app/(workspace)/partners/page.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd0d220073b8120808e01f1c8b48d25c029e6a54c41d0216703381566249c6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreationDraftCard.CreationDraftCard: FunctionTooLong \u2014 CreationDraftCard 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":"web/components/chat/home/CreationDraftCard.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d833958844ca2acfbed5c00295d86a28e0aa737ffd9f7db3d922a30b0621816"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LightRagRoleModelsEditor.LightRagRoleModelsEditor: FunctionTooLong \u2014 LightRagRoleModelsEditor 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":"web/components/knowledge/LightRagRoleModelsEditor.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc4c62a2191a54ea923d34977ac62c36b33fa27ffe419d44ff75f2b968299e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PartnerGroupChat.PartnerGroupChat: FunctionTooLong \u2014 PartnerGroupChat 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":"web/components/partners/group/PartnerGroupChat.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c220c683d02fe94e9867357bdb53cfc1c03a2a8076d876b6637f2c690046be8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: partners/PartnerChat.tsx: FileTooLong \u2014 1089 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: PartnerChat (296-1367). The bar is 500 significant lines; this is 589 over it, 2.18\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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cecb003a1993e66463eb7529dc1c4739af74d7032da52e20d053798420d9902"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reading/ReaderPane.tsx: FileTooLong \u2014 1088 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: ReaderPane (181-1352). The bar is 500 significant lines; this is 588 over it, 2.18\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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0809a7bba465f993091acde28e136f2b21a059c6547dffd9dc964c6d35da8115"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sections/DocumentParsingSettingsSection.tsx: FileTooLong \u2014 1084 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 584 over it, 2.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfa3055556d22db6efec0968fd4afad42f29fd896d6237e51794b8dc835b4d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: quiz/QuizViewer.tsx: FileTooLong \u2014 1083 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: QuizViewer (191-1418). The bar is 500 significant lines; this is 583 over it, 2.17\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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"695c250b02f6f4ee3dd55ba23d3831f3f3b60fa63021c91b8b8d4dc4b80ca35e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routers/mastery_path.py: FileTooLong \u2014 1081 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 581 over it, 2.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":"deeptutor/api/routers/mastery_path.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c2892c680349416fa7aa5eb6fe99bf29710d616ecaca20a5faf308f9423f76"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImaConnectionFields.ImaConnectionFields: FunctionTooLong \u2014 ImaConnectionFields runs 216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 116 over it, 2.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":"web/components/knowledge/ImaConnectionFields.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a337ef51166c19a9415c8aaff26370a732bb9443dced1e4addabd05d300c73d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemorySettingsSection.MemorySettingsPage: FunctionTooLong \u2014 MemorySettingsPage runs 216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 116 over it, 2.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":"web/features/settings/sections/MemorySettingsSection.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ec1de6bd40f52cda3cf290fb663812cbf18a07378af8f599dcf9da7ed5aaf6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useMasteryStudySession.useMasteryStudySession: FunctionTooLong \u2014 useMasteryStudySession runs 216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 116 over it, 2.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":"web/hooks/useMasteryStudySession.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25e85ee82e069c427a9eb22464d26de0019db53889def25d02ff0347f0d535e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PartnerChat: ClassTooLong \u2014 854 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 454 over it, 2.14\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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc12d715eca0cacb4cc3fc069b4c0552085ff0bdd6f5981200f1fda4d2fb4ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RuntimeSettingsService: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/runtime_settings.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba6834f53b562af39e717815834bec20a6a1b80ed5bbed2290947497c8b9bea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/ModelsWorkspace.tsx: FileTooLong \u2014 1065 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 565 over it, 2.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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"857d467f121eca463a2f5a53bbf1be673c3e44e5241f33dfdae7d965841758f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: home/AskUserOptions.tsx: FileTooLong \u2014 1062 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 562 over it, 2.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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7548f6837544a22c811783a8dd37697c95b9907866b51f8c31fe153b88f34a20"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KbFilePreview.KbFilePreview: FunctionTooLong \u2014 KbFilePreview runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.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":"web/components/knowledge/KbFilePreview.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"af261538d548132697790829d605b2d9ed7bdeb833ca0b9136f0a4c9a8de3dc3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BookSidebar.BookSidebar: FunctionTooLong \u2014 BookSidebar runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.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":"web/app/(workspace)/learning/books/components/BookSidebar.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4bde556a5a2dd103dbd9e913a28754054a935c7a864d879dfbe7739a289a5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteLearningContent.NoteLearningContent: FunctionTooLong \u2014 NoteLearningContent runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.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":"web/features/notes/components/NoteLearningContent.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e6c47bd297f6b7c3d5008f6c4ad9aac34ea73a11289075efa243be5eca0b0a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MediaReadingStage: ClassTooLong \u2014 843 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 443 over it, 2.11\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":"web/components/reading/workspace/MediaReadingStage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e93d12ff2a1d139de9ddaab6f5adc65927220b15f675ba51041c0a5df2e5af"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChannelOnboardingPanel.ChannelOnboardingPanel: FunctionTooLong \u2014 ChannelOnboardingPanel runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.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":"web/components/partners/ChannelOnboardingPanel.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb128cf98f65f9b8cb5385fc382d648ecdf1e05079e01241f00514a1f90117ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/document_extractor.py: FileTooLong \u2014 1044 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 544 over it, 2.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":"deeptutor/utils/document_extractor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe846f3cdb67f91e6a8b5c6102686c58a6c35a0750a0d8e3b268cfcd9ae55265"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: loop/agent_loop.py: FileTooLong \u2014 1039 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 539 over it, 2.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":"deeptutor/agents/loop/agent_loop.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b85542384a48336a350f34f8b7220b6e98bcf4b7ad3f543aa00528142219cd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemorySection.L1View: FunctionTooLong \u2014 L1View runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemorySection.tsx"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fcbd6e932baea4a2e3a951fd7976534d261c83e921055e08efe1127a654c4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VisualizeConfigPanel.VisualizeConfigPanel: FunctionTooLong \u2014 VisualizeConfigPanel runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/visualize/VisualizeConfigPanel.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1c97fa9df9472e889b7c877fabc40ec90d2b299a21fe76d9d5b8ced9b98b52"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StarterSuggestions.StarterSuggestions: FunctionTooLong \u2014 StarterSuggestions runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.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":"web/components/chat/home/StarterSuggestions.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce9928fd81349a723811e7f1c69553124e35d298bf0bb484dab0149119ebee7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateTopicWizard.CreateTopicWizard: FunctionTooLong \u2014 CreateTopicWizard runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.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":"web/components/space/learning/CreateTopicWizard.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0db9798b0ce73f994dab3289a50a90d47efcd369db1649d9a5ce0f3e9cd4fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: channels/weixin.py: FileTooLong \u2014 1018 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 518 over it, 2.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":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5234dd22281be239b26e384a088bd64d3381f17edbf6607b5087dfa76da5f63"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BookEngine: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/engine.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02062ab052ed2688ee7dbcacea9f781937930ebaf5dc39c245b49ca64b9738b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: McpCatalogBrowser.McpCatalogBrowser: FunctionTooLong \u2014 McpCatalogBrowser runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a484bf37b03e7ad552be2a49d73b5bfd7346797f0f35f279f84cc874602374"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToolDispatcher.run: MethodTooLong \u2014 run 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":"packages/chat-engine/src/tools/dispatcher.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d147252e36f68bb3c1e145b2591350c6157fb594782be674043ec437a891fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: codex_auth/service.py: FileTooLong \u2014 1009 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 509 over it, 2.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":"deeptutor/services/codex_auth/service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"925a05f17afa19d170e3271b8e49fd354aa2fcd5015b653b5c7be070b5ddf0e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UsageSettingsSection.UsageSettingsSection: FunctionTooLong \u2014 UsageSettingsSection runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/UsageSettingsSection.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2169a78888651f030ea522d52a61b29d02d7dd705b0a2732dbb2664f5afea5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FeishuChannel: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44ce851c713c488b5b7690da5cd68330a2d43959c300af94bf945375eee8d13"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: QuestionBankSection.QuestionBankSection: FunctionTooLong \u2014 QuestionBankSection 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":"web/components/space/question-bank/QuestionBankSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26c0f27851105b385faaec8f82a10edb79970155ab0dcefd4478a81875391d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AppearanceSettingsSection.AppearanceSettingsPage: FunctionTooLong \u2014 AppearanceSettingsPage 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":"web/features/settings/sections/AppearanceSettingsSection.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a1e5ab8e72c37cc38de074e1a70c0680f0ac6f889ad4b1f3fa478c8fe395e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LocationCrumbs.InstanceCrumb: FunctionTooLong \u2014 InstanceCrumb runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\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":"web/components/layout/LocationCrumbs.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e417f972e2f2b9a5c5e6c361a2f133a62e712cebe30d1abf36e6d80020f4aa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PracticePage.PracticeCollectionPage: FunctionTooLong \u2014 PracticeCollectionPage runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\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":"web/components/learning/practice/PracticePage.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"331cd60bb9ce5b4269f4f540ce0ad25d7808073d84631a5fd6ed7cb0b4cd4fae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useImaConnection.useImaConnection: FunctionTooLong \u2014 useImaConnection 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":"web/hooks/useImaConnection.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5881132714f36f9cb79986ba9b163f8ae589ada6a7e74732a03ad43094c1828e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KbGitHubSourcesSection.KbGitHubSourcesSection: FunctionTooLong \u2014 KbGitHubSourcesSection runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KbGitHubSourcesSection.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb5f39efa54a4fd51161351aa986402853dabb91af08c7f94c711cfcaf3e662"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteCompanion.ThreadComposer: FunctionTooLong \u2014 ThreadComposer runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"3847b79939a18e842f5a063ef9717d4b70efdec07ff8ebd7645d191ba2472fd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-completions.request: FunctionTooLong \u2014 request runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/providers/chat-completions.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b8b1845a720c9a3b19ef228bda255b59c873f2fb3b9d74c470cd92029aa2b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PdfImageZoomOverlay.PdfImageZoomOverlay: FunctionTooLong \u2014 PdfImageZoomOverlay runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/PdfImageZoomOverlay.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd75ccb9ff160ec795d50c2c5e8108ecddfe736b8df3ef83f856dcc549b6f3a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SkillsSection: ClassTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 378 over it, 1.95\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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0e019dc9ffd5262d3b51ee3f2a6c79ab7d813ed498ed000b43fde057aa9d55"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.CoWriterHomePage: FunctionTooLong \u2014 CoWriterHomePage 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":"web/app/(workspace)/co-writer/page.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f00563e2c372bf43f8d156127b520a4ef634d86e90fbbb2fa53c238f3ffc7eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FilePreviewDrawer.FilePreviewDrawer: FunctionTooLong \u2014 FilePreviewDrawer 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":"web/components/chat/preview/FilePreviewDrawer.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be706ff8dc23c2edcec89e4b600cf305ece0be518deb74a510e7a9014b35bc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImportWizard.ImportWizard: FunctionTooLong \u2014 ImportWizard 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":"web/components/space/ImportWizard.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ceb982667172136d0b46258b285c90b6f5a4e038fb24b22f5dab56329f78ca8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeSession.operate: MethodTooLong \u2014 operate 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":"packages/chat-engine/src/native/session.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"16feac2811f5a38d370ff9e994e29023eb423af67e28d38059572f2d8b51ed42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommandPalette.CommandPalette: FunctionTooLong \u2014 CommandPalette 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":"web/components/sidebar/CommandPalette.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db89ca7637a285b72808993b4d444afc3c1df572256555767db554eb8047a15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: learning/lesson_evidence.py: FileTooLong \u2014 957 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 457 over it, 1.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/lesson_evidence.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cab12b37bfbe49451ca5fbd155ab80255d3f2e71e879e38abf765cb534ec3e2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NoteEditor: ClassTooLong \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 365 over it, 1.91\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":"web/features/notes/components/NoteEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c00be0c80d60f70b3b2c8e6f61085cba5a6230cc062e7e3806da5f30580455"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GroupComposer.GroupComposer: FunctionTooLong \u2014 GroupComposer runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/group/GroupComposer.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52c17a473268148887e6e74b32ec4b5bf546866fbd9d1ca0260e1256eea96c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MaterialLibrary.MaterialLibraryPage: FunctionTooLong \u2014 MaterialLibraryPage 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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cbd1365be3a787a950a529e9a532e6d863d70835e9f1115cbb324620c74dbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KbMarginNoteDevicesSection.KbMarginNoteDevicesSection: FunctionTooLong \u2014 KbMarginNoteDevicesSection runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\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":"web/components/knowledge/KbMarginNoteDevicesSection.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fcb89c1e27502da32f06096b4bbdc5cc2bdcd48ce63536a217a87823c6a72f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NotebookSelector.NotebookSelector: FunctionTooLong \u2014 NotebookSelector runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/NotebookSelector.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57b5f1353d951be577f35ad47064c11f9be2d1f8f880b5c1a2333e534037d3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: turns/request_preparer.py: FileTooLong \u2014 934 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 434 over it, 1.87\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/request_preparer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c140ebe6405555d1e2c14c0bf607dcfd1e86fee0c90496d75af78cc3efad26f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PageOutlineNav.PageOutlineNav: FunctionTooLong \u2014 PageOutlineNav runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.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":"web/app/(workspace)/learning/books/components/PageOutlineNav.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9b547991f6414a85dd1e4a35549a21daad37e12f4e39ba9cc15116f4973b17"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KbSettingsSection.KbSettingsSection: FunctionTooLong \u2014 KbSettingsSection runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.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":"web/components/knowledge/KbSettingsSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aebf09d6afd89c63a90fbe125ba68a4c2f3e64b5da44e22b11d6e11f6669db4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reading/ingestion.py: FileTooLong \u2014 929 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 429 over it, 1.86\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/ingestion.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9588b497dada68b5d2f8ca6370a4b90091df0de41a99f7d14c9c2c84bfbde361"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PickerShell.PickerShell: FunctionTooLong \u2014 PickerShell runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\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":"web/components/common/PickerShell.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb54899a3694ac42365d4ac4562e52052f1db79efb06bc0b94dc21b9ff7d2063"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionActivityPanel.ActivityBody: FunctionTooLong \u2014 ActivityBody 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":"web/components/chat/home/SessionActivityPanel.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbfd3bdbfb9bc71b304d4a9b35df15bd7554568dd515049319d4c3592077cb3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KnowledgeBaseManager: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"3715d48ecb9db7ef15ae2009757ad458b7b3601d49d8bccf881622136fc095cf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LearningStore: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/storage.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ed1a311e34193d3db611d18745c3b556b37fb61630672ebee5cb70707ce3b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FileDropZone.FileDropZone: FunctionTooLong \u2014 FileDropZone runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\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":"web/components/knowledge/FileDropZone.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e31c1c4e9db07fefd9b11624f20ba19d90487ed3f339dac7246a84b4f30ed3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KbDocumentsSection.KbDocumentsSection: FunctionTooLong \u2014 KbDocumentsSection runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\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":"web/components/knowledge/KbDocumentsSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fb6528e680d90b5cf84ca1a4d394349d91da5162519d1f2a871e091fd51c8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ArchivedChatsSettingsSection.ArchivedChatsSettingsSection: FunctionTooLong \u2014 ArchivedChatsSettingsSection runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\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":"web/features/settings/sections/ArchivedChatsSettingsSection.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe3f5c4095ed320d9fbc502cd91059876e82d3b0886cb3a1f79ea4b306fc4f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routers/co_writer.py: FileTooLong \u2014 911 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 411 over it, 1.82\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":"deeptutor/api/routers/co_writer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"741e9d2c1d7f98e1f4cd2502aca71325f10e7c664529a8f91e40e80b04230ae5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/data_migration.py: FileTooLong \u2014 907 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 407 over it, 1.81\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":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0f5e996eb279ea3e555823ed9c050c6f7cf7915f0e655c7e7e5214e7ad9fc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: books/BooksRoute.tsx: FileTooLong \u2014 907 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: BookPageInner (105-1274). The bar is 500 significant lines; this is 407 over it, 1.81\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":"web/app/(workspace)/learning/books/BooksRoute.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b079f6b45631ee01ba42269a031f1d636f247801b804483062efa3c2724ee3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BookGenerationActivity.BookGenerationActivity: FunctionTooLong \u2014 BookGenerationActivity runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookGenerationActivity.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfa38e11ad8fd9173881f42f24c424b681a4b63e604f8a051cbd69e366b0501"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MaterialLibrary.MaterialRow: FunctionTooLong \u2014 MaterialRow runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f1b9ace7c93b0eb3e40ef8f9decb2e25b9d9abbf4c82825bbcc712c7c4920e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ResearchOutlineEditor.ResearchOutlineEditor: FunctionTooLong \u2014 ResearchOutlineEditor runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/research/ResearchOutlineEditor.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3de3f7d0daf838228908e799d34668d9723c7525ad00c3b39000ec692561fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AttachmentsSettingsSection.AttachmentSettingsPage: FunctionTooLong \u2014 AttachmentSettingsPage runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/AttachmentsSettingsSection.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d3332623db87a4918ce530c37848c411791c2a697590c698ae44d4ff60fdc5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PocketBaseSessionStore: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1170dbe59d641c4ccfa4b43f2b6266de2110ca9a87d0274276f1104421ef785"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.PartnerGroupPage: FunctionTooLong \u2014 PartnerGroupPage 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":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb55be46521f92c30e312ce7786bc10c5dec95179381741c7902c37282b497dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useMcpServers.useMcpServers: FunctionTooLong \u2014 useMcpServers 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":"web/hooks/useMcpServers.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd450c478e0789a50bb2acfa9e1c2b43f146b7003a2fb5061c3887ecd69791a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/MediaReadingStage.tsx: FileTooLong \u2014 897 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: MediaReadingStage (57-1040). The bar is 500 significant lines; this is 397 over it, 1.79\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":"web/components/reading/workspace/MediaReadingStage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5fb19b8d019d1590eb90117f70204f147880d13b36e1fd47d6ffa4898ac3dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateKbModal.LinkModeFields: FunctionTooLong \u2014 LinkModeFields runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"495d5594e2e625860f3bfcb0e0bc0b202a7bfff5c080f0322fa35c824c2a8d02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReadingExtensionBar.ExtensionToolbar: FunctionTooLong \u2014 ExtensionToolbar runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7507961cd6a0dfd78bfe0bf19490f6e35f823dee2fab471f310dc93c14c7a74c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: users/page.tsx: FileTooLong \u2014 887 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: AdminUsersPage (56-1026). The bar is 500 significant lines; this is 387 over it, 1.77\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":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f1a48b435de28257b85da1b8d2059e936c8e09652194272ec2da53fd4f429a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LearningWays.WayPanel: FunctionTooLong \u2014 WayPanel runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"web/components/learning/LearningWays.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"222afc09668b5ef6414992170bbbb99984cd35511b751606c70fb496ad19c117"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useDragSort.useDragSort: FunctionTooLong \u2014 useDragSort runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"web/hooks/useDragSort.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb8e658f8557a954eeed3925a61a767a6d94f83f435ddc34a487d53094e93c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ServerFolderPicker.ServerFolderPicker: FunctionTooLong \u2014 ServerFolderPicker 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":"web/components/workspaces/ServerFolderPicker.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f56e08eca973f79a1328ead577908f41f58f20693236b28b240faa9b782f06c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: QuizBlock.QuizQuestionCard: FunctionTooLong \u2014 QuizQuestionCard runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\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":"web/app/(workspace)/learning/books/components/blocks/QuizBlock.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae2046e484e7b2627a0a8ba7ed459aa33eed4ffd3c48cace6a01fe145a1cfc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: space/SkillsSection.tsx: FileTooLong \u2014 873 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: SkillsSection (78-1000). The bar is 500 significant lines; this is 373 over it, 1.75\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/SkillsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7a0829703e701442c6524f35d99504bfe36d47ffcc0118e2a4765cb8572f82"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useNotebookLibrary.useNotebookLibrary: FunctionTooLong \u2014 useNotebookLibrary runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/useNotebookLibrary.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5706420f0a8dfd931edab80c9abbf572cbe04b4e33368c246afe87c6c3935c29"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProviderModelDiscovery.DiscoveryForm: FunctionTooLong \u2014 DiscoveryForm runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ProviderModelDiscovery.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f361f9ec99b6b4e67d308b4da727c58697abc35cfd585e2142e4b0fcf67655"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: partners/runtime.py: FileTooLong \u2014 865 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 365 over it, 1.73\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":"deeptutor/services/partners/runtime.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7bcdbbc7545b2a60ed4947e986de07b9104000c1d8d08f9426755f3426d042"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CliAppsSection.Store: FunctionTooLong \u2014 Store runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"b826f6fd222f4ad77532bd7621fe868d51d2c2cf22745f8224e58474bbf23339"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatSessionMenu.ChatSessionMenu: FunctionTooLong \u2014 ChatSessionMenu runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/components/ChatSessionMenu.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"df98cd14a481cbc02d1100f3c512fa01c60cef8ffec9fe332d0fd4f56c6746bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DocumentParsingSettingsSection.DocumentParsingSettingsPage: FunctionTooLong \u2014 DocumentParsingSettingsPage runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a049d6b073ad4ff7fe37a7cf0c34686c1c74cdb4fff34659ac131e65d166408"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatSpaceMenu.ChatSpaceMenu: FunctionTooLong \u2014 ChatSpaceMenu runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.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":"web/components/chat/space/ChatSpaceMenu.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bea01aa7be449453c0da6432cbf14088539b6eef5b8477e24715027d8bc93e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PracticeInsights.DailyChart: FunctionTooLong \u2014 DailyChart runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.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":"web/components/learning/practice/PracticeInsights.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d195821b14005381c0c85d544fa53c24c822b286582d3e6418d28dbb64bf4921"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemoryGraph.MemoryGraph: FunctionTooLong \u2014 MemoryGraph runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.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":"web/components/memory/MemoryGraph.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a267af612ab07119ed654bb731d4bc169b7a539088ae0ecdd4abf8ed3a7549b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsReadinessPanel.SettingsReadinessPanel: FunctionTooLong \u2014 SettingsReadinessPanel runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.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":"web/components/settings/SettingsReadinessPanel.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dfd963dd2372d0574c74d29b1e5510de17d5eabe2b8992c4c45129e74b6267"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NotePageHead.NotePageHead: FunctionTooLong \u2014 NotePageHead runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.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":"web/features/notes/components/NotePageHead.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ef67cedbd805234f6966dc6a0b1e450d71e49ccf4ed679ca8c1eb1cf116d28"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: channels/telegram.py: FileTooLong \u2014 851 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 351 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":"deeptutor/partners/channels/telegram.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf8f76e33f2db54d7d1048c28f9334574ae4330ff64a5a25a5a5809531b69de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LearningService: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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":"deeptutor/learning/service.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b85ddc741286eb26bf31d35ddf77b125ce1b98f475ab381d6258d23531cf8a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PartnerManager: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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":"deeptutor/services/partners/manager.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01e8e5b3770741966fe9b98a5fac1faae43abc6c42cbf84148d086102b2aa06"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.ManageGroupDialog: FunctionTooLong \u2014 ManageGroupDialog 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":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a817820d7b94d7ce5989d2dceb92204b77ff0137d5ed7e2577c33735bf70141"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsTourOverlay.SettingsTourOverlay: FunctionTooLong \u2014 SettingsTourOverlay 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":"web/components/settings/SettingsTourOverlay.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9115234580793092590ad6fe1f293c3bf95678e645b78614cdeac733e07139"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PersonaPicker.PersonaPicker: FunctionTooLong \u2014 PersonaPicker runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\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":"web/components/chat/PersonaPicker.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"681205d16cbf9a9d04307b00f4cfde10f901028959bd6e2de92f14a31b7cb12d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OutputFileActions.OutputFileActions: FunctionTooLong \u2014 OutputFileActions runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\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":"web/components/files/OutputFileActions.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52e99ff7e327b9509cb7650772cd86af2f2a57a1abfbb63aa78e6c0e33bbdf8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SoulPicker.SoulPicker: FunctionTooLong \u2014 SoulPicker runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\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":"web/components/partners/SoulPicker.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e762ceade6cb7823144c96b49dacfa3e7a8696dded78d41b8d2bf42b2745b68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: channels/mochat.py: FileTooLong \u2014 840 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 340 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":"deeptutor/partners/channels/mochat.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30f49fb33cdd5df8480fd09030e867e5cd3a1d5a3dfdcb5c9fc92128b8821ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PartnerDraftCard.PartnerDraftCard: FunctionTooLong \u2014 PartnerDraftCard 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":"web/components/chat/home/PartnerDraftCard.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6efc0e74bec11e1064cc869372ef5179a45668c4d61012df50af1cdfd05479b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReadingStore: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\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":"deeptutor/reading/store.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2b418cda9423d7954f355e27a1d7e215689142e610f301259d21066ba985be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: notebook/NotebookConsole.tsx: 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":"web/components/notebook/NotebookConsole.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1be02dc29fb6794897c99453bac832ebb71ccc2700dae99456efeac2389e217"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IndexingModelSelector.IndexingModelSelector: FunctionTooLong \u2014 IndexingModelSelector runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"web/components/knowledge/IndexingModelSelector.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c6d5c165a632c9c6731773552a0f36c282e4a135176b860137b343088d1df9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PracticeImport.PracticeImport: FunctionTooLong \u2014 PracticeImport runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"web/components/learning/practice/PracticeImport.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b52c5cd8ff3d6ce6778023a8eed4808259c1157bebd1500023d91e82d7a021"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteTaskView.NoteTaskView: FunctionTooLong \u2014 NoteTaskView runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"web/features/notes/components/NoteTaskView.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"440c019a5a856293fd640d3930ef4d480a560ea9fe31e382d682024863f6f454"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CliAppsSection.EntryDetail: FunctionTooLong \u2014 EntryDetail runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c312aa92e7406bf3ecde99af67a775bd66ea76351acdab65dc0c02bf3728dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MonthView.MonthView: FunctionTooLong \u2014 MonthView runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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":"web/features/calendar/components/MonthView.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea5bcc8f5a8ff0afc8fc23565fb39f29ea26d819a2f65855a48abf0f693cab9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UsageFooter.UsageFooter: FunctionTooLong \u2014 UsageFooter runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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":"web/features/chat/messages/UsageFooter.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb142d0eb263aa7a423a8abe4a6930b8f9ec9dfb10c49395a8c659e89d98a5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: memory/MemoryGraph.tsx: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 318 over it, 1.64\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":"web/components/memory/MemoryGraph.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f7e6ef878484adc6f8b04452907c56c4b0c529b7dbbe8d7aa912eec274a7a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PartnerGroupManager: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/partner_groups/manager.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6412ee3c7e35b3b7e162d7ae271103cf4ca9042c977a023753c122742e25830"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MathAnimatorViewer.MathAnimatorViewer: FunctionTooLong \u2014 MathAnimatorViewer runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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":"web/components/math-animator/MathAnimatorViewer.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efcb97b48c8cc9ff5eb3bab12b237ebffe5d51883c085dd0e6df6f9ad095471"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WatchingMarksPanel.WatchingMarksPanel: FunctionTooLong \u2014 WatchingMarksPanel runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/watching/WatchingMarksPanel.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bb95117249c328d3d061299e9280e05abee248d38e14aa58ef8184a3a400d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: home/StandaloneComposer.tsx: FileTooLong \u2014 807 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: StandaloneComposerImpl (233-1074). The bar is 500 significant lines; this is 307 over it, 1.61\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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f34b5d7edd3899252dde9946823dc1749e23de135b5b0341d4752621fc33127"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/readiness.py: FileTooLong \u2014 806 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 306 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/readiness.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af59c9f6cab2356a9384c5f90c96e47cbad1b442ed2a04d0fa4957fcb01ac6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: schema-form.SchemaField: FunctionTooLong \u2014 SchemaField 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":"web/components/partners/schema-form.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3c441c81551007bf6920f0851a4547ea94d68e2b78c9daaab53ab42b078b72"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useTopicSourceLibrary.useTopicSourceLibrary: FunctionTooLong \u2014 useTopicSourceLibrary 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":"web/hooks/useTopicSourceLibrary.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7808f69c98253cf8de1efa354dd9f3383e209ee36ce5b7caf3a3c4b62e22ff8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SkillService: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/skill/service.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd79b51923a0d1b86dc89aa858120faf55ce4c5c9727f9da35228012bd114e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PartnerLinkModal.PartnerLinkModal: FunctionTooLong \u2014 PartnerLinkModal runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerLinkModal.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefd61132859595065bd1d1cbf97a307017c7f9701ac02d953c93be5cf2576ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CodeBuddyAuthCard.CodeBuddyAuthCard: FunctionTooLong \u2014 CodeBuddyAuthCard runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/CodeBuddyAuthCard.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3765272e908110d8a34c11610bf45468c14ed1860173ed8c9a500503da5907f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli-apps/CliAppsSection.tsx: FileTooLong \u2014 798 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 298 over it, 1.60\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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a137f45f536c631a57384b58a9af5cf0a56a1a9834fde12a218c0507c66dab0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KbWebSourcesSection.WebSourceCard: FunctionTooLong \u2014 WebSourceCard runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KbWebSourcesSection.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"48efd878482b759474a06d855eeb8c8c556ea22dcc1208ffdbc7ad74e8f5ba08"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReadingLibrary.ReadingLibraryPage: FunctionTooLong \u2014 ReadingLibraryPage runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/library/ReadingLibrary.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fe9c942b404953ee0432e7ef92639b0088f3ca2b17c5df38d602244ab9092d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: memory/MemoryRunPanel.tsx: FileTooLong \u2014 787 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 287 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fa82798afcc00951bce5741d65b27bf6a9cdf0733ff59b7ccefc84fbb6ae64"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PdfZoomControls.PdfZoomControls: FunctionTooLong \u2014 PdfZoomControls 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":"web/components/reading/PdfZoomControls.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd155c5beb70bb4083fd40ab399de6c99836c541f59c8171cfbb7342b157cb57"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EduHubImportModal.EduHubImportModal: FunctionTooLong \u2014 EduHubImportModal 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":"web/components/space/EduHubImportModal.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a026ef1482cfd56be73b132381c8e35f553c0a71cdcb882747dcab0bfa88326c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MonthView.MonthWeek: FunctionTooLong \u2014 MonthWeek 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":"web/features/calendar/components/MonthView.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c901bc05c73c4ff6b82f4228463d18df8498b069503616d7f256651aafcc5346"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: deeptutor_cli/init_wizard.py: FileTooLong \u2014 784 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 284 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor_cli/init_wizard.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9444447c018d161f5a2a691728301b0026e752ca9c510ab0aab7721f211756e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QuestionPipeline: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b11776243f01a6c4df15819b31fbb7b5e243d7d8d9d56e56c55a2848fd070f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolPicker.ToolPicker: FunctionTooLong \u2014 ToolPicker 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":"web/components/partners/ToolPicker.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0bb2ee6e793720ed687e87a5e762695320d901bb65776b7decabc03b3805ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VoiceModelFields.VoiceModelFields: FunctionTooLong \u2014 VoiceModelFields 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":"web/components/settings/VoiceModelFields.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6601ad553fc851db3aafa052b2a8c7637910530fe32c26a7ba6d5073295adc10"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CalendarRail.CalendarRail: FunctionTooLong \u2014 CalendarRail 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":"web/features/calendar/components/CalendarRail.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9d8f46d0810c4314151eba1bcc0828747424b58ccfba1588c5fedcf40dfc57"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NoteWorkspace: ClassTooLong \u2014 621 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 221 over it, 1.55\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":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52ea7e277dbf730351c4e48adb216014b04715f41b0c1eb04a63c1ef5dcd764"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.RegisterPage: FunctionTooLong \u2014 RegisterPage runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(auth)/register/page.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"186f9e92f9c1c671f14f1ef0c49736ef28d53af11e19f7ad20c92acd7c2dd9af"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReviewHome.ReviewHome: FunctionTooLong \u2014 ReviewHome runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/learning/practice/ReviewHome.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"907c2e7e1abc29ea11ffa34dffddeba70209e415addf7ea9e68ea30b46932746"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PartnerSeat.PartnerSeat: FunctionTooLong \u2014 PartnerSeat 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":"web/components/partners/group/PartnerSeat.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4a3e621c71d8a7353b2fd962f22d397e45086ff9761605e7776f98934677dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SpeechButton.PlayAudioButton: FunctionTooLong \u2014 PlayAudioButton 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":"web/components/voice/SpeechButton.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf76752523525b1d90aa006eecb857ee8c2ea2198d89724c155631625e29383"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MessageThreadMarker.MessageThreadMarker: FunctionTooLong \u2014 MessageThreadMarker runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.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":"web/features/chat/messages/MessageThreadMarker.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed79209a4b2eeb04e121d7fc87ba95da26b90ab60d2a241945d6f9ce4354718"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skill/service.py: FileTooLong \u2014 764 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 264 over it, 1.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/skill/service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d598d088999ec245fd4a9d58e14ddcf922742b07f01cf3dfcbe45d61f19399"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/SubagentSettingsEditor.tsx: FileTooLong \u2014 757 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: SubagentSettingsEditor (326-963). The bar is 500 significant lines; this is 257 over it, 1.51\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":"web/components/settings/SubagentSettingsEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"049dae9ae602bb377bc92225028cc5475dcf5454fc0b8d46c46a3a2acf0e436b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConnectedAgents.ConnectModal: FunctionTooLong \u2014 ConnectModal 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":"web/components/agents/ConnectedAgents.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4f0b9815180f20d81ad73b0546cb6a9647f3eff2a8768c841c0889db2de560"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AddProviderPanel.AddProviderPanel: FunctionTooLong \u2014 AddProviderPanel 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":"web/components/settings/AddProviderPanel.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf6dc687623eea5b8605ba74e0f39a6d47b8818f57e3c350279e959643aa1c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskColorPicker.ColorPanel: FunctionTooLong \u2014 ColorPanel runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"web/components/tasks/TaskColorPicker.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c7dca02ffbfc415a6ac57911b7d778bc046c34d25d5014560cca7b9188ab91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InlineFileCard.makeFileLinkRemarkPlugin: FunctionTooLong \u2014 makeFileLinkRemarkPlugin 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":"web/components/common/InlineFileCard.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c92db3286ceb3e1c783b6ed6b386fd855dd9bbf369421e0fc69878a0fdad05c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PdfDocumentView: ClassTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 194 over it, 1.49\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":"web/components/reading/PdfDocumentView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03789817064217ca39af0655a284ba28ea49d7e9f9ededb5f74ea72738b90bfa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GroupSidePanel.GroupSidePanel: FunctionTooLong \u2014 GroupSidePanel runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.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":"web/components/partners/group/GroupSidePanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93893cac55091e0778943b817ed2538c922552307d2be6aeb6901b318586cf2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspaceResourcePicker.WorkspaceResourcePicker: FunctionTooLong \u2014 WorkspaceResourcePicker runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.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":"web/components/workspaces/WorkspaceResourcePicker.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cddd0668678bafd14167ec009396ff016dafc80ac9d0943197c2c734b75effe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BookPermissionEditor.BookPermissionEditor: FunctionTooLong \u2014 BookPermissionEditor 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":"web/features/multi-user/components/BookPermissionEditor.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d278905c91a2851f7062423c8007893d6d1b327c55d3eb4b408b406efde4b5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reading/catalog_store.py: FileTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 234 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/catalog_store.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3682db6d1bc2b9a77c18c9ac3b05f290d7dc599181e186a4010a0151d6bab0f2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ResearchPipeline: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec3faa37bde81728d008ffc3f830cfabb9be40bfb5a55ab4ebd5fd334100cc8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MatrixChannel: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/matrix.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c109812e6e52183db0725840d9fc0cf935d6aab06af6a495118b4a059cd8e11c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReadingCatalogStore: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/catalog_store.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3349f1d379f1b539cfe1bdd134e2b5bfdba4669350b250c8688274e804137160"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routers/multi_user.py: FileTooLong \u2014 731 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 231 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/multi_user.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe755a57ac314de413bdd485ac3168429fdb53010133349b5c47b888457bf71e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KnowledgeSelector.KnowledgeSelector: FunctionTooLong \u2014 KnowledgeSelector 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":"web/components/chat/home/KnowledgeSelector.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bc3a21e13230a763703e49b58ae4833168997e50fb36438ff8bdeb732de453"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StartersSettingsSection.StarterSettingsPage: FunctionTooLong \u2014 StarterSettingsPage 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":"web/features/settings/sections/StartersSettingsSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0636b0c7ec6416221b571834e1fd775bce5fb6865019f405a905f2d3077ec55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/provider_registry.py: FileTooLong \u2014 727 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 227 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":"deeptutor/services/provider_registry.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d54df038b33863f70ff8c6132323fe1254cecc106af14f56d71949d5959aa8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AnnotationList.AnnotationList: FunctionTooLong \u2014 AnnotationList 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":"web/components/reading/AnnotationList.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5004ab2234986e2321df10b2350975e8bc70ac55a9259a610c4a904e2b896888"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RegistryControls.RegistryModelIdField: FunctionTooLong \u2014 RegistryModelIdField 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":"web/components/settings/RegistryControls.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5882458fe13b9d23a97c333deef17ec7aa61120f3d24990b6178952b41ae258"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MyAgentsSection.AgentCard: FunctionTooLong \u2014 AgentCard 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":"web/components/space/MyAgentsSection.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbd9aca47002db1d0a46199f632efc69f554ecb50e6056ea354ee53fe83a898"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LearningBoard.LearningBoard: FunctionTooLong \u2014 LearningBoard 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":"web/components/space/learning/LearningBoard.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffdf0f696632c5901d1921f84f0270842590236be004eccc5022c6f66ef7ff2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VideoLearningSettingsSection.VideoLearningSettingsPage: FunctionTooLong \u2014 VideoLearningSettingsPage 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":"web/features/settings/sections/VideoLearningSettingsSection.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a4df2b7268200d971505cc925b1217b9a1f259ed27ecb3657ec30a17ef0a9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/source_inventory.py: FileTooLong \u2014 723 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 223 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":"deeptutor/services/session/source_inventory.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8451c4aade4f4e7262c2819254402022dc3894229167df8f542866c3fecf694a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: [partnerId]/page.tsx: FileTooLong \u2014 723 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: PartnerDetail (65-840). The bar is 500 significant lines; this is 223 over it, 1.45\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":"web/app/(workspace)/partners/[partnerId]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09703bc64df9600f8c2bbc35df1b22f42f6f90132cf7a1fde92ccf6790ca9f7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CalendarPage: ClassTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 176 over it, 1.44\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":"web/features/calendar/components/CalendarPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca0630ab473a98c96e890805713b2879e191181372803251715ff08715affb0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NotebookConsole.NotebookList: FunctionTooLong \u2014 NotebookList runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"web/components/notebook/NotebookConsole.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc802c6db91e5047020f5068c4c4d29393d43992ca4732af2df9e48a9a527483"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReadingActionsProvider.ReadingActionsProvider: FunctionTooLong \u2014 ReadingActionsProvider runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"web/components/reading/ReadingActionsProvider.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c772a7520ef0fb88d849ab83da33b7416740cb919000ade406c79ec9d6e4c449"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsPresetsPanel.SettingsPresetsPanel: FunctionTooLong \u2014 SettingsPresetsPanel runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"web/components/settings/SettingsPresetsPanel.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"316227e7eaec4b30969dba34bb7d535d19f8d9fb888ae024d78d2465c3a6ea4b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MasteryStudy: ClassTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 175 over it, 1.44\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":"web/components/space/learning/MasteryStudy.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6b767cb892ef24e7469bef8ad3bdb3013f3971e5cd972e943b42a6afed2fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GrantEditor: ClassTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 171 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/multi-user/components/GrantEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bd88c782f8ad50bd010efe479e821cb7664cea4257f6754c5e774b3f90e92a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/NoteCompanion.tsx: FileTooLong \u2014 711 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 211 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":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0de54dff55ea99e1cd2107fffd6df94b8b2d0a5b3434ed8105447460274875"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ContextBudgetChip.ContextBudgetChip: FunctionTooLong \u2014 ContextBudgetChip 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":"web/components/chat/home/ContextBudgetChip.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"030e4d4eea14b9d03907b57dac4c56d3fd0ba7de5666df6e9996335bd5105f1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skill/hub.py: FileTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 207 over it, 1.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/skill/hub.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ac5d3429ccc058452d075c569bb7e2d77e146883d442479c6a296e75d96fad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenAICompatProvider: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"058e727073cc7c348822c166262eaf73e481994ffd5763ab704e87cb6da39293"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/service.py: FileTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 200 over it, 1.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8014350a1c9babf9d94666af62114276608127c6cf50178e58cdd488c19985d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CliAppsSection.Installed: FunctionTooLong \u2014 Installed 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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"569aaec08ba2cc1fbb26c20e2790f30a9d15061548f69b7f568ddea211c53bac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TopicWizardSteps.SourcesStep: FunctionTooLong \u2014 SourcesStep 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":"web/components/space/learning/TopicWizardSteps.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7379837b211ad936232323a277a9db130b94491a3260708a4bbd1e46c19da89a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/GrantEditor.tsx: FileTooLong \u2014 698 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: GrantEditor (161-862). The bar is 500 significant lines; this is 198 over it, 1.40\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":"web/features/multi-user/components/GrantEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a20e8b5a96f81915a035d82e0a4fe2dde442579aa8d8874f0bd1be0b006511"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: channels/matrix.py: FileTooLong \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 197 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/matrix.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6d557617053052da761dde90a210c14c596b0e999fa0cfcfcb9bc35bb1ebf1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video_learning/service.py: FileTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 195 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":"deeptutor/video_learning/service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b083016258ea51511208bcef435d645cf9670bba6fde71213328e1de6c1745"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: learning/MasteryStudy.tsx: FileTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: MasteryStudy (177-929). The bar is 500 significant lines; this is 195 over it, 1.39\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":"web/components/space/learning/MasteryStudy.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1846d573dcef2c6db51addcd67b6c70c242003307fa8c4879d30e8870d4a4ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CategoryMenu.CategoryMenu: FunctionTooLong \u2014 CategoryMenu 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":"web/components/space/question-bank/CategoryMenu.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b437052cb80cd1b4abb8380a3b2f381a48af7603e521ce484d4b838e94b74f57"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useMemoryRun.useMemoryRun.attach: FunctionTooLong \u2014 useMemoryRun.attach runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"web/components/memory/useMemoryRun.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7966468b9f76944b549ba2bb1de8fbe32fbb7d58b04c03713546d388172c467b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reading/PdfDocumentView.tsx: FileTooLong \u2014 686 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: PdfDocumentView (140-1129). The bar is 500 significant lines; this is 186 over it, 1.37\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":"web/components/reading/PdfDocumentView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c323ae92502a5f6ea9cabe1c5853aa96f959647535e7a8f03c61599bee265217"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VoiceDiscoveryField.VoiceLookup: FunctionTooLong \u2014 VoiceLookup runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"web/components/settings/VoiceDiscoveryField.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a485d25422f239c0c2e86497059869f558be7c8b2d40407570957abf296ebda2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScopePicker.ScopePicker: FunctionTooLong \u2014 ScopePicker runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"web/components/space/ScopePicker.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"207eaaeb2fe42c6b3007a9ac5da6a4637a6c8c36833b1b18fc7a4ceff23d7891"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ModuleOutline.ObjectiveDrawer: FunctionTooLong \u2014 ObjectiveDrawer runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"web/components/space/learning/ModuleOutline.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"050505ec451cb6cd4812665619ce01f5d1ed7e25213127fe8d2cb2e8a15c5014"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TurnCoordinationSettings.TurnCoordinationSettings: FunctionTooLong \u2014 TurnCoordinationSettings runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"web/features/runtime-status/TurnCoordinationSettings.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"70697fafc74cca564646870003a7d8fcc0f7d80aa73b834b7410089c03fcd27d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CreateKbModal: ClassTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 146 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1027fc1195d799ce99933b9d3442c24bdfc35104eac379087bf2af90753e132"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: [pathId]/page.tsx: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 180 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":"web/app/(workspace)/learning/mastery/[pathId]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fca630e8a815aac1c1731d34072cf48624fb7b47d177a2f09e023463875d6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CategoryManager.CategoryManager: FunctionTooLong \u2014 CategoryManager runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/question-bank/CategoryManager.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24d308deefb8644c905baa67e478731d57e4a75bed2e50b699c90f63dc7abb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agentic/tool_dispatch.py: FileTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 177 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":"deeptutor/runtime/agentic/tool_dispatch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee7038272f5426a390069d2e4244eb57e44400946e90cb5455d32847ce85415"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PartnerNavigation.PartnerNavigation: FunctionTooLong \u2014 PartnerNavigation 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":"web/components/sidebar/PartnerNavigation.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ced399ae967b3346088faf90473162371e25ba9422c2c361afcbdcaab16509"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspaceSidebar.WorkspaceSidebar: FunctionTooLong \u2014 WorkspaceSidebar 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":"web/components/sidebar/WorkspaceSidebar.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"914dd8aceb6edbacdbfa86de18a3fbd42310058932fe3955e771d550ec367dee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: deeptutor_cli/common.py: FileTooLong \u2014 673 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 173 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":"deeptutor_cli/common.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ef3dc35494b32fdcbf382d04d372ad834138579da1cd0258037e460e99ba44"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: llm/factory.py: FileTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 170 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/factory.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"206242fd137b93c51e2818e41cc259267f3d593ad4c2fa4f4d02b29e84a32942"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteInlineReviews.NoteInlineReviews: FunctionTooLong \u2014 NoteInlineReviews 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":"web/features/notes/components/NoteInlineReviews.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1b8b34e806c32e82019dffd74c9e89830fe7eb539e6b5aaa3cfeefa12d901c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ClassicLearningDashboard.ClassicLearningDashboard: FunctionTooLong \u2014 ClassicLearningDashboard 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":"web/features/ui-layout/classic/ClassicLearningDashboard.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd595770e27d97e223a213224b03c3b31ad5175ff42d60900c2ae78bae1d1ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: channels/zulip.py: FileTooLong \u2014 667 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 167 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":"deeptutor/partners/channels/zulip.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c06edfa364090304e4b9ed9a732793338b75ad0b765e51ea5b05e8d5f6dc04c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VisualizationViewer.VisualizationViewer: FunctionTooLong \u2014 VisualizationViewer runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"037c9e7834d2112a477ea646d7d2eaa5d8bc9f75715706c4e5203dc79baf1afa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/NoteWorkspace.tsx: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: NoteWorkspace (46-804). The bar is 500 significant lines; this is 164 over it, 1.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03debe1b24729de5f8bed6b4040cb46385e7abc8a1f427136dcac284cdf5e3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.LoginPageContent: FunctionTooLong \u2014 LoginPageContent 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":"web/app/(auth)/login/page.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb08c2f2acd9f6a673a09a22851c79217650ec297c573562b0be19a218da483"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: McpServerRow.McpServerRow: FunctionTooLong \u2014 McpServerRow 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":"web/components/mcp/McpServerRow.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"839dd93ab92033f41ddfcd763832982b792365c9666a50d2b194a533ba00ea80"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemoryRunPanel.systemEventDisplay: FunctionTooLong \u2014 systemEventDisplay 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":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff29d98b29c13c31544a0478010ee2464e534cac39c917ca3d05118308d68dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RegistryControls.ProbeForm: FunctionTooLong \u2014 ProbeForm 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":"web/components/settings/RegistryControls.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7553350bed3c13ff8f45f04c0d47a05160429d504924ef5aaf3addc0de24c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KbIndexVersionsSection.IndexVersionRow: FunctionTooLong \u2014 IndexVersionRow runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.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":"web/components/knowledge/KbIndexVersionsSection.tsx"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7da6acf71d615d852046e145e4eb09732694d8678f01dd167bfd02014e4d117"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GroupSessionPicker.GroupSessionPicker: FunctionTooLong \u2014 GroupSessionPicker runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.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":"web/components/partners/group/GroupSessionPicker.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e142c33d67dcfd482c285a041976bf108c0c0830133d5b909ff982350bd146"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PartnerRoster.PartnerRoster: FunctionTooLong \u2014 PartnerRoster runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.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":"web/components/sidebar/PartnerRoster.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76bc1fda2e1203e241c06a0d2ee10cac5868bac0d6a1a15971f5e046708bc19"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/runtime.py: FileTooLong \u2014 654 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 154 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":"deeptutor/plugins/runtime.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63afbe9efc19c82aac8d202588bb55d3d5c038b5530ea26af3b66f8682a1798"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/manager.py: FileTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 152 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/mcp/manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade0e2daf7ea16db6de4dcaff99e180eab1766ea39f184a8bfe711618322b07d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: voice/speech_text.py: FileTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 148 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/speech_text.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"084d6526a3bcfb02e96c9f28a6b57a2830dfea3f9b0a59ee36a37fb9693ef56e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/CalendarPage.tsx: FileTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: CalendarPage (77-760). The bar is 500 significant lines; this is 148 over it, 1.30\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":"web/features/calendar/components/CalendarPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0262319695c2d2e47ef25aea3cdda996589a99813c9e6c359534b3061982d1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/PageReader.tsx: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: PageReader (122-791). The bar is 500 significant lines; this is 147 over it, 1.29\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":"web/app/(workspace)/learning/books/components/PageReader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1df2aff2c275f1eb400b711c56ebaf14f34ead56aa9a6f8b6bc42bf2ddfb53c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: channels/msteams.py: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 145 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/msteams.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02dcbfcb4a6e6505f349c354b490e93acdd2bab3fb5bc133c8d81ecb5c23e95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConnectedAgents.ConnectedAgents: FunctionTooLong \u2014 ConnectedAgents runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.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":"web/components/agents/ConnectedAgents.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fbbde422f64ec92c4d102e8596b4fd826855ac008e6124d113349624fca81d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsMain.SettingsMain: FunctionTooLong \u2014 SettingsMain runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.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":"web/components/settings/SettingsMain.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3144ae3993947bf2af011a69779a60994a1e44f924984d9e228ec2d59e513a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UsageActivity.UsageActivity: FunctionTooLong \u2014 UsageActivity runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.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":"web/features/settings/components/UsageActivity.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de2ed74a2ca9e80b8d5956c96fe15735c58f1ea4bda7403c7abfcc18932ab02"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/TimeGrid.tsx: FileTooLong \u2014 643 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: TimeGrid (70-675). The bar is 500 significant lines; this is 143 over it, 1.29\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":"web/features/calendar/components/TimeGrid.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"839031f2dd99ade928f88339afcc7dbabd84e803f62249268e2d3e1efa7aa889"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PageReader: ClassTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 114 over it, 1.29\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":"web/app/(workspace)/learning/books/components/PageReader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1115d79dfdc2d3ddcbdc7d8e1c8ec9d00dc2330b619321427c8cc6510fb563"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SubagentSettingsEditor: ClassTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 114 over it, 1.29\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":"web/components/settings/SubagentSettingsEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"618fb9725606c82f3e738096df7a17e7c42479b82b7b99204b66855e53586077"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: library/AddMaterialsDialog.tsx: 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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3ce47de6d2a97bda390960bdba0434b3435cc1984a85103a7497d4e7c21467"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Geogebra.Geogebra: FunctionTooLong \u2014 Geogebra 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":"web/components/Geogebra.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"114e5d9d9589f24cff7dfb5b142db3c4de1c5e5c72f31bb0e8ebd1a94f02af88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NotebookRecordActions.NotebookRecordActions: FunctionTooLong \u2014 NotebookRecordActions 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":"web/components/notebook/NotebookRecordActions.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb76d7e5c8e8ac9d1c3a7df8a1a55364818f61d7cc5e39d10195e0850b1beb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatMessageList.GeneratedFileCards: FunctionTooLong \u2014 GeneratedFileCards 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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2fc8d30d36b65e0b6951fc293f51597070f02a3bf6e4704bf56d8e05a0d014"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Tooltip.Tooltip: FunctionTooLong \u2014 Tooltip 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":"web/shared/ui/Tooltip.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8a8d0ddd83792473d1f9c85408d34982efd57018b77c164763728383ec5bf5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ViewerLauncher.ViewerLauncher: FunctionTooLong \u2014 ViewerLauncher 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":"web/components/chat/home/ViewerLauncher.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09c76bd1a94789ada15583f14a1e4933bdf364298f7b9e4cd17070af37b8333"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PageIndexSettingsModal.PageIndexConfigForm: FunctionTooLong \u2014 PageIndexConfigForm 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":"web/components/knowledge/PageIndexSettingsModal.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b2afcb7264b955759300b877b126173372a272c87cd8872e9ee894c062ea22"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ThemePreviewCard.PreviewShapes: FunctionTooLong \u2014 PreviewShapes 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":"web/components/settings/ThemePreviewCard.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"de73d09eb8869266f1babe5d376ccbd607684114dfec485547be8f395871cf01"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MochatChannel: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"deeptutor/partners/channels/mochat.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"75995acf6bc2dcf1c477b7f15c3cdb77a8840cf7cf7bb49f0a32a144478990ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZulipChannel: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"deeptutor/partners/channels/zulip.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e48a8394678911e56138c4e70f623b5326ed752e7b735a0406e6c793a8f0e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routers/sessions.py: FileTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 125 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":"deeptutor/api/routers/sessions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"773fc4797d2968970b7526138f0ff7c08f6cf48300c3d81cf0da75751c3f8626"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useKnowledgeProgress.useKnowledgeProgress.openTaskStream: FunctionTooLong \u2014 useKnowledgeProgress.openTaskStream 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":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b94246093aa4cc15ac8d2bb3e6322e1d66b6cff9f5aafd3fea9d4e55ecf6b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScopeEditorModal.ScopeEditorModal: FunctionTooLong \u2014 ScopeEditorModal runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/ScopeEditorModal.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a5992de672c6e6ea8768766ded9d6b3f4dbf34872b5eb945106e5b614230d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reading/TextUnitView.tsx: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: TextUnitView (99-691). The bar is 500 significant lines; this is 115 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":"web/components/reading/TextUnitView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfb94dffb6e09e19f9133d12c9ccecdbfcb2e2f2233d62cfcb3ffabd0afc4a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AskUserOptions.QuestionBody: FunctionTooLong \u2014 QuestionBody 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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"15524d3d3dc6e398c972dfb05e1a41aac1c81a61db523853d3b713755f36d9f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/document_images.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":"deeptutor/utils/document_images.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08a57af0a7fd19d0fd965ab4292eaaa267bbbe6683315e0de5de97b70208f50"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reading/EpubDocumentView.tsx: FileTooLong \u2014 612 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: EpubDocumentView (176-759). The bar is 500 significant lines; this is 112 over it, 1.22\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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4a99d17c05acbf3199aa1ea14c83e21312717df7c437b97910a991b2b436a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: library/MaterialLibrary.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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ddd8e7103a38fdba1d4bf7d6a2126b2cf0ff5322d6709b11605a9a76b8d006"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: home/ComposerInput.tsx: FileTooLong \u2014 611 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 111 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":"web/components/chat/home/ComposerInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fd8e81b14ef3f763e78377c1695850fe6148292261e30f79df58b9e3513d6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/learning-api.ts: FileTooLong \u2014 611 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 111 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":"web/lib/learning-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b795f257efc0473c1b548bb2b89c12f94673b9403e3a15bb075c078a613f7af3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/ConnectionsEditor.tsx: FileTooLong \u2014 610 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 110 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":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e299273feceae21c38e5056c987123125e1dc8332f3b902a0340f8e142941b1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SubagentTabBody.SubagentTabBody: FunctionTooLong \u2014 SubagentTabBody 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":"web/components/chat/home/SubagentTabBody.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2a23263f384482b74a3387492ba8eead9b808532c69a920dcc31c1e44a5160"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemoryL1Workbench.MemoryL1Workbench: FunctionTooLong \u2014 MemoryL1Workbench 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":"web/components/memory/MemoryL1Workbench.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8752b8f7d983047e1a9b46cc15dde3aa086fe278831b7d3e695ec46503576f35"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DimensionField.DimensionField: FunctionTooLong \u2014 DimensionField 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":"web/components/settings/DimensionField.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6abc600ee3b381695dede0f188b301602124efd562ae81d004e38f06c14eacb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TimeGrid: ClassTooLong \u2014 487 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 87 over it, 1.22\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":"web/features/calendar/components/TimeGrid.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd3c32b33de4f18b1e83a3781ce14ca18f1b2958177fc16c2f7cf7a5c5b3f25"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: knowledge/add_documents.py: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 108 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":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38192062f7a2d749cd8b09908afdb0239fd5a14c88184a8fc8391276fb875a91"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MinerUEngineSettings: ClassTooLong \u2014 485 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 85 over it, 1.21\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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a7de2663de1de2c5bb126477e70aab31053c735c84fc7fdac0098f5c6467de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: turns/lifecycle.py: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 105 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/lifecycle.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b628d8cdba4748e222889ee20472afd37bd5822ad688a0b60b7fcc6eb64e01fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NotebookRecordRow.RecordEditor: FunctionTooLong \u2014 RecordEditor 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":"web/components/notebook/NotebookRecordRow.tsx"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0490ea7208b2184c588c25c22c91326bd175d31fb59342449964816cab6812"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionCamp.SessionCamp: FunctionTooLong \u2014 SessionCamp 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":"web/components/space/learning/SessionCamp.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"642d7048f95f426a4c67da46e9e9b8e0e9a9ede3c40870ee4874f1a5037aa6ec"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SaveToNotebookModal: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 83 over it, 1.21\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":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f08ac4a20538f180fad2988f682d32f0dba76ad16425d16d2f3ce435f0d079"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/context_builder.py: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 102 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":"deeptutor/services/session/context_builder.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d638a7cd81e8842a9c1efc0b58d50becf8ebc32c08bb817ad5cf578053f34f7a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatMessageList: ClassTooLong \u2014 481 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 81 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9414c092c7a028f502fd186b04a4f21dc37e23740d0678f91c9fb89b9e623a51"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WebFetchBackendCard.WebFetchBackendCard: FunctionTooLong \u2014 WebFetchBackendCard 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":"web/components/settings/WebFetchBackendCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ff29cbe223bc8f0f86eed35ac2222f8831538aa9e6121b189a3328ee5b76f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LevelUpCelebration.LevelUpCelebration: FunctionTooLong \u2014 LevelUpCelebration 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":"web/components/space/learning/LevelUpCelebration.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d61e4b4c9fde1c19fbd4650fd8043e0b8b0f4cfb21679f685c3d321457790da"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SideChatResponderMenu.SideChatResponderMenu: FunctionTooLong \u2014 SideChatResponderMenu 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":"web/components/chat/home/SideChatResponderMenu.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c6333ff99ba9d157a312d2cd9f35617b75f2d29d5ec7cdf4169ff236f1efa9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FollowupChatComposer.FollowupChatComposerImpl: FunctionTooLong \u2014 FollowupChatComposerImpl 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":"web/components/quiz/FollowupChatComposer.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae428ca6bb29663ca88fcdab3a72c57e96edaec635401fbe2e4aa175b3f98983"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EpubDocumentView: ClassTooLong \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 75 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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3406e78c54e0610179ff97873c457fde8418b08847d0386588c222eb789dc9df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/ReadingWorkspace.tsx: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: ReadingWorkspacePage (130-767). The bar is 500 significant lines; this is 93 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":"web/components/reading/workspace/ReadingWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bbb8c3f1f30fa3084db0603673201651e1603050377bf23621da455bbd3d9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/markdown-display.ts: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 93 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/markdown-display.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dbde7cb02502a042d3d2e8f49b10053b319f88cbf8b25e01024d63b7faa5d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/BookChatPanel.tsx: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: BookChatPanel (147-739). The bar is 500 significant lines; this is 91 over it, 1.18\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":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d56b03322ca9c432a018994ace64d569e7c28a2ed14bd78e09af4aaa32b146"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/SidebarNav.tsx: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: SidebarNav (89-531). The bar is 500 significant lines; this is 91 over it, 1.18\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":"web/components/sidebar/SidebarNav.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96a7ca87eba46c22d8f0e282566f99540442115b6969b4dbc914c6ba78291ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/McpCatalogBrowser.tsx: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 90 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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b72f763ac9931c553f7e2f028e5e074f04bf27fd557219d9fcafb8c577669e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: notebook/SaveToNotebookModal.tsx: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: SaveToNotebookModal (149-744). The bar is 500 significant lines; this is 90 over it, 1.18\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":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"135e62e60341ab95640e48cad203dda4fc1b69df029195173d478287e84cadc3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FolderDialog.FolderDialog: FunctionTooLong \u2014 FolderDialog runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/library/FolderDialog.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa1318f5bde803883282a5ee477e683c93140ff473b4c90431e885b36b38d71"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsOverview.SettingsOverview: FunctionTooLong \u2014 SettingsOverview runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/SettingsOverview.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1f6f39fac7b9757fdc08543ccc0eb7c3e45e589a537b22314052db745c3e48"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskModelsWorkspace.TaskModelsWorkspace: FunctionTooLong \u2014 TaskModelsWorkspace runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/TaskModelsWorkspace.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbfbcd9d7c02d93660ba9bac73799bad09e2acee6e26b278c0eb62b45322cb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CalendarRail.CalendarRow: FunctionTooLong \u2014 CalendarRow runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/components/CalendarRail.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"24027e8d0525b9ea1782653ba46b518544a331d722a87daeb8daeb91346fdddb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agentic/client.py: 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":"deeptutor/runtime/agentic/client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8917b11bec3a22b439112f4cc1aa58f475d9a05367946cddd46033a6e781e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/SourceNavigator.tsx: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: SourceNavigator (40-524). The bar is 500 significant lines; this is 88 over it, 1.18\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":"web/components/reading/workspace/SourceNavigator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d6d9f9262b9ea542f4dc04fc8e6da233f85e27754585392fdde26e6cc90bd5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BookChatPanel: ClassTooLong \u2014 469 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 69 over it, 1.17\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":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"300928740bca0417107a946bdb191e91d2ab1013e5ee880f622a964aded7325e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: quiz/QuizConfigPanel.tsx: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 86 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/quiz/QuizConfigPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d825b3302b33739995dc48edb7836b67eea4582d087564a027007ac00fcf5821"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: XlsxPreview.XlsxPreview: FunctionTooLong \u2014 XlsxPreview runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.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":"web/components/chat/preview/previewers/XlsxPreview.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"67631fdcd5f7ef386c5f1dbdf6607cdf9e4cadec5554dbc215b5ecfb178d1b5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ObjectiveDetail.ObjectiveDetail: FunctionTooLong \u2014 ObjectiveDetail runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.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":"web/components/space/learning/ObjectiveDetail.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d035b0e17b51f384a15adc0dab11640223c65406f5f06469993dd6a4c901c182"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BankToolbar.BankToolbar: FunctionTooLong \u2014 BankToolbar runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.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":"web/components/space/question-bank/BankToolbar.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca46a8ca77c04251d42237233b280413b9bb38c4037030ad01e83f15468c60d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lightrag/pipeline.py: FileTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 84 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/pipeline.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ece2ba0384e74ed81c764dc6e458dc2f87cbc3ec4d631a1e81e030f63bc60ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReadingExtensionBar.ExtensionResult: FunctionTooLong \u2014 ExtensionResult 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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed87cc68318b7286a95b68b36691d169b32a82b7e28a7d1ba71fb83793c555cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteInsertMenu.NoteInsertMenu: FunctionTooLong \u2014 NoteInsertMenu 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":"web/features/notes/components/NoteInsertMenu.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f93b4975c893bae934f6764736d2bf660104c5cf076ed9c19ba6f1fe22a2441"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OrganizedSessionList: ClassTooLong \u2014 463 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 63 over it, 1.16\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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb4075f17766819f181c2030906861ae2f3a58e846b109f93d7c28af0c19391"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/MyAgentsPicker.tsx: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: MyAgentsPicker (85-540). The bar is 500 significant lines; this is 77 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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a6bd6a2d2b7c09743ee871aff6b4e4617ab7525a7bec63729ff33ab53c9135"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: space/MyAgentsSection.tsx: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 77 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/MyAgentsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c9cfad8972c5b1539db740702d4e4e9fa2120b839a3dceba3d724c70cad509"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/spine_synthesizer.py: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 76 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/spine_synthesizer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1479c0ff186da3f300a51e0b0e2710303a7958ebaa3db48b3a569f7e58be8d97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/RichMarkdownRenderer.tsx: FileTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 75 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/common/RichMarkdownRenderer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91c611d62355b3c9ce9da9130ea503d61012dd7f46c846fdab211c51125915f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LearningCapturePanel.LearningCapturePanel: FunctionTooLong \u2014 LearningCapturePanel runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/LearningCapturePanel.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3666c05ec8377e83f7531b04af720ec42695e5447977b1e16901b358e55326d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PartnerModelSelect.PartnerModelSelect: FunctionTooLong \u2014 PartnerModelSelect runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerModelSelect.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"05900caffc5ad965abc08a121620a8db44fcedfe2ac97743341d287e1f1e9ca6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VoicePreviewPanel.PreviewRequest: FunctionTooLong \u2014 PreviewRequest runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/VoicePreviewPanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfba5c3469692f6e4c0f46e5520eb9c7914306328c9e9dcdef6ee7b1066b2aff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: book-progress.reduceBookEvent: FunctionTooLong \u2014 reduceBookEvent runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/book-progress.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85cb1a6b625008aa144735727cb8c013e85d5fee49a4941feea40d259c7d757"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Dialog.Dialog: FunctionTooLong \u2014 Dialog runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/shared/ui/Dialog.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5335cc6a9f85c04f71d52759966c996ef4d5bbd088145e74966446d7cd4c14fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: co_writer/docx_converter.py: FileTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 72 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":"deeptutor/co_writer/docx_converter.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a30458f2cb22956d9e5e841d8c1fc19b316802e11c22f7635257111d7e61e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: deeptutor_cli/kb.py: FileTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 71 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor_cli/kb.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d369482b25c84063c3e1e19cb50164030a74cc078cf9bc2c07dc399d5f0709"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.SessionHandoffPage: FunctionTooLong \u2014 SessionHandoffPage 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":"web/app/(utility)/session-handoff/page.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fde57577bc866ee615ceb02d0efa7793ad296271e0d57f21773c115e9b21ca2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Modal.Modal: FunctionTooLong \u2014 Modal 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":"web/components/common/Modal.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f230682ed3d1b48244ea07fbdac8cff4df11f94933a949e7ea724939c826f45"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PartnerComposer: ClassTooLong \u2014 454 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 54 over it, 1.14\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":"web/components/partners/PartnerComposer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e4725c4e83f0045f1367f7d7ac4b7aedc3232e7d672398d4fcbbf139c386a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useNotebookSelection.useNotebookSelection: FunctionTooLong \u2014 useNotebookSelection 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":"web/components/notebook/useNotebookSelection.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"30011ea9e0446df67903d2fd140cfd0b89a14a0342265fd9eb8ef97811393fd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteFavoriteBlock.NoteFavoriteBlock: FunctionTooLong \u2014 NoteFavoriteBlock 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":"web/features/notes/components/NoteFavoriteBlock.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e6bccb43a1f411d741fdda7cfef85675feb907d005394681809cea31f9da4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: subagent/acp.py: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/acp.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a6ea2752e2ae97d53d8e61563924d0c501e1836e25094fb070a9cddfd5f6f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: explore_context/explorer.py: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 62 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":"deeptutor/capabilities/explore_context/explorer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d2cfe882c1efac662ce42db0b546c3c9a69cfd7362d01a32db1ef11fa13f8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: provider_core/claude_code_provider.py: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 62 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":"deeptutor/services/llm/provider_core/claude_code_provider.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fc0ccb8fb0b6129754cdc8e451dea4c49829e2206213f579ee8efedaed098c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reading/ReadingExtensionBar.tsx: 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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"371495523a427c77e76ca015d8966455882b61a673955ce00648f0945167e1d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FaceEditor.FaceEditor: FunctionTooLong \u2014 FaceEditor 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":"web/components/partners/FaceEditor.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0da9b4c0b1aa78a605fe1961b8ea1260ee8e11577d06034df2cc6e94d26e17"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StudyOutline.StudyOutline: FunctionTooLong \u2014 StudyOutline 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":"web/components/space/learning/StudyOutline.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"abff63140ba204d2a173b76c1f2f8d36c40b5074fbf7017b2fa3401013335cdf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-round.modelRound: FunctionTooLong \u2014 modelRound 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":"packages/chat-engine/src/native/model-round.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"167512b3034261d4c1ccb3d02ea3b31dbcf57bf3b11230310fa92ab31e9a0710"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UserNoteBlock.UserNoteBlock: FunctionTooLong \u2014 UserNoteBlock 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":"web/app/(workspace)/learning/books/components/blocks/UserNoteBlock.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d984c5adc47e4606afb669b6f4484d3252c8d2c1626cbbf7e1e234d3090fd5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: McpAdminRegistry.McpAdminRegistry: FunctionTooLong \u2014 McpAdminRegistry 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":"web/components/mcp/McpAdminRegistry.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7264269efeb51380c535259412c1c2ce6fedfd6819efa60325b56d4151a8c72d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MaterialLibrary.AssignDialog: FunctionTooLong \u2014 AssignDialog 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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21784ae5cc26dfac2b0d83d099ef2b06e7eff67dab192d3cd3f2c45b24174cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/MinerUEngineSettings.tsx: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: MinerUEngineSettings (86-688). The bar is 500 significant lines; this is 54 over it, 1.11\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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74742a7487bd16ee5ce4eb807ed5bc78b866a511c4417a9d01fe97a005e60e82"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PersonasSection: ClassTooLong \u2014 442 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 42 over it, 1.11\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":"web/components/space/PersonasSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68e0967b90625601a8e38f46ee0de6f8973fc6eb9bb478017c7c4a67145ffe7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/citation_manager.py: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 51 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/research/utils/citation_manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ccd33ef5a9ddb17ebd9fa5266e49985d484c8ce002c098b48260eea6849ec3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LinkFolderModal.LinkFolderModal: FunctionTooLong \u2014 LinkFolderModal 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":"web/components/knowledge/LinkFolderModal.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"928badccfcd521d1591cfe26d0c04034bb7f06c29e762750b31c93c35d5d0507"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TextUnitView: ClassTooLong \u2014 439 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 39 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/TextUnitView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f525728695d0fa7a94995e3de17e94f8989678dcc116bf2c94709f9c7c7d273"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: notebook/service.py: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 48 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/notebook/service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ce8e499ae2a3aafb0793c1fa729d0c3ef77123d600cf1a284c0073df81f8e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sessions/OrganizedSessionList.tsx: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: OrganizedSessionList (117-711). The bar is 500 significant lines; this is 47 over it, 1.09\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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3d441a1bb27b89489fb9a6f11971bcb33ff1575a729ac73b57874e4e0d215e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WeixinQrLogin.WeixinQrLogin: FunctionTooLong \u2014 WeixinQrLogin runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/WeixinQrLogin.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"248a968d62e406f339e05fb87b4a5aae3f333438ff83317459ea3b38f1b51549"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReadingExtensionBar.QuizQuestions: FunctionTooLong \u2014 QuizQuestions runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15238371807918a90229d3e1282d48345d4a846e49284c79ff17baa3d5c0593"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReadingComposer.ReadingComposer: FunctionTooLong \u2014 ReadingComposer runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/workspace/ReadingComposer.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb43bda6abae04855391eb4d210b6775091d9ca3e61854a28e202edeb0298f4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProviderServices.ProviderServices: FunctionTooLong \u2014 ProviderServices runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ProviderServices.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"170e58a5621767b0d8cd5df603fcc7c9625d8e2417bc06a91370e2761b0f0fb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/app_update.py: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 42 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":"deeptutor/services/app_update.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3da35337313ca383cc3d4fa1aa863fe4c608044b41f5493a706ae6185b612f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NoteBlockPreview: ClassTooLong \u2014 432 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 32 over it, 1.08\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":"web/features/notes/components/NoteBlockPreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6987f5a981b2d1ae9111fc1a3e2828aa5b1a6ffeb5b8209799dc021e32905535"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ArchivedConversations.ArchivedConversations: FunctionTooLong \u2014 ArchivedConversations runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.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":"web/components/space/ArchivedConversations.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0d7c9fea315669b0a7491daec4859b4ce844258dea3d96ba38cc39476fa3d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemoryPicker.MemoryPicker: FunctionTooLong \u2014 MemoryPicker 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":"web/components/chat/MemoryPicker.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce6ef55192caaaf3cd4ebeca0a7d0604fcda88d11d6608e341e6f8829c294d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionViewerPanel.TabBar: FunctionTooLong \u2014 TabBar 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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d29b558c130fec196dd45eea9854d45def84a4b308bd81de87e35e574f8771e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: turn-event.parseTurnEvent: FunctionTooLong \u2014 parseTurnEvent 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":"web/contracts/parse/turn-event.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"18526dac60380db696b39cd98a03c02991613f31438fbbff969f2034207b95b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CitationManager: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/research/utils/citation_manager.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ac4a84c0cd1a5ad1e5cd5330fde3d6d4020991875659d42ef7cdd9c01a4686"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TelegramChannel: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/telegram.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff4c2b151eabb110d96e5aadfe3d55294fc0561dc79d60619464eb1eb0d931e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openai_responses/parsing.py: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_responses/parsing.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b546c39b3b2f7fe1168232e0f9f4ed5e456e577447981220d0a60a753c7b73"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/registry.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":"deeptutor/plugins/registry.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0d89b1957c2ac7381541e912c03615bca452ef0ff931a23ea0ed1e6d32ddaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AnswerModeMenu.AnswerList: FunctionTooLong \u2014 AnswerList runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/AnswerModeMenu.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf1fecce7035f9a6ea2f8cfa2ff2b681c1d2f10ca36fe5a2d9db410173641a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteReview.NoteReview: FunctionTooLong \u2014 NoteReview runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteReview.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11c72dad895ea305f306ecdf0138f07b0c473baf994731754d4574f081a47b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: provider_core/codebuddy_provider.py: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 29 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":"deeptutor/services/llm/provider_core/codebuddy_provider.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"921d1401534d8c0b5cc9603c638e5515a3191bf88125c0f1a27e9c0e4ebca797"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/memory-graph.ts: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 29 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":"web/lib/memory-graph.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d846ee1d7f84cf0430d374b6a63202610c058ac64053f468b1f1d9cc9564500"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sections/CapabilitiesSettingsSection.tsx: FileTooLong \u2014 527 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: CapabilitiesSettingsPage (88-560). The bar is 500 significant lines; this is 27 over it, 1.05\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":"web/features/settings/sections/CapabilitiesSettingsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3bd732e8250c8474ab607849143ba153483a26be595e2e938cf3fe5fed233a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PartnerConfigure: ClassTooLong \u2014 420 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 20 over it, 1.05\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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4155fb92715ffe469527779523fba3b1581d98e4c012ea878fedf8b01319cda1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ContextReferenceTree.ContextReferenceTree: FunctionTooLong \u2014 ContextReferenceTree runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.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":"web/components/chat/home/ContextReferenceTree.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9c7859a4183f9c0b09432ca5295b8926eae5e03dbd9e4ced1a9acc06faf242"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KbLinkedFoldersSection.LinkedFolderCard: FunctionTooLong \u2014 LinkedFolderCard runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.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":"web/components/knowledge/KbLinkedFoldersSection.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c48a800b0cb48e989d3b7837799cfb75593f35a2ef890b0acfb461d8ee46ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NotebookFavoriteContent.NotebookFavoriteContent: FunctionTooLong \u2014 NotebookFavoriteContent runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.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":"web/components/notebook/NotebookFavoriteContent.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7c920a3e006c54c352157ba5b344e58af059e43205aa3f49de4d350f8f5539"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EduHubImportModal.DetailView: FunctionTooLong \u2014 DetailView runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.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":"web/components/space/EduHubImportModal.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d575e5711833aba92c842fad3934803222ea69c48d708f24c8422cf5104373db"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CodexOAuthCard: ClassTooLong \u2014 417 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 17 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/CodexOAuthCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf47a6580e09ee0c0d7b6323bf4c9f67993170839737b331496fb3edc39277a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SourceNavigator: ClassTooLong \u2014 416 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 16 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/workspace/SourceNavigator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"244cdeb1ab26784c8d1e74bc4bd8c00bd29c63083722003f3fd95e46ffe55989"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: modes/update.py: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 20 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/consolidator/modes/update.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1742a01f66d496d040b51094241583ee2b080f9446f663bd86f2af1a14d6959"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LearningDashboard.LearningDashboard: FunctionTooLong \u2014 LearningDashboard 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":"web/components/learning/LearningDashboard.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c8abc8cf664ab4855a891e5c795872148a8f6b81aaa7671c95cbd69ae25f82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lightrag/indexing_policy.py: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/indexing_policy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a863548495acf0cbb2de6d39f4a07f54fcbe21a691e90df3df84ce5cd9c51a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContentWorkspaceService: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/service.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"02af54f804423f9517c34073817395a425c78a3dcc1ae59b7301880511198856"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KbDocumentList: ClassTooLong \u2014 413 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 13 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3f3e202e3a5c1904cbcf09bfbd889a4d36ad5fbce845c1857ca4294b506b52"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routers/memory.py: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 16 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/memory.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57719fee9bf3ee4ca518d307a52c4e03ae45940e9132a2b987081ac368ffae8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/source_explorer.py: 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":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25aa2a4c1843a281895b9c7233c2a03c64a8b5ae40bbd4d0d534dbb0da1340fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AddMaterialsDialog.PendingRow: FunctionTooLong \u2014 PendingRow 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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd32a940674525db8dd820152d2553a1c233eea9aa8b2e4bfde93a1a97710dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RuntimeHealthCard.RuntimeHealthCard: FunctionTooLong \u2014 RuntimeHealthCard 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":"web/features/runtime-status/RuntimeHealthCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbccf7b3d1600a042a13eac49319b00a46a81dc661ae4d3706441f9f6a1f22d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useMasteryPathActivity.useMasteryPathActivity: FunctionTooLong \u2014 useMasteryPathActivity 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":"web/hooks/useMasteryPathActivity.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab180c723602cbbab54fcefd3b2bf4cf778419422cdb97d763db9911c882ef16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: llamaindex/storage.py: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 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":"deeptutor/services/rag/pipelines/llamaindex/storage.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d71cc9c0048ffe4e57993fcff7400ac5c5285bb42358fa97d42dfb747db972"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: snapshot/adapters.py: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 13 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":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"308f5e2ed52ca14b19e51a7f5d2cc19518ab2f2e6e365411438b410c5e7a7a75"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FileDropZone.SelectionSummary: FunctionTooLong \u2014 SelectionSummary 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":"web/components/knowledge/FileDropZone.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb39d62bfe74ed76bba73a3150692d1d65a5e6c30a1e2a8b9362df420c538829"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useGroupSession.useGroupSession.handleFrame: FunctionTooLong \u2014 useGroupSession.handleFrame 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":"web/components/partners/group/useGroupSession.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6449e314e44e545a415ee6a8d3023d802693cc151a7ca9db9aa83c425d48950a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionActionsMenu.SessionActionsMenuItems: FunctionTooLong \u2014 SessionActionsMenuItems 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":"web/components/sessions/SessionActionsMenu.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d847461462069d415f4307483c0e61e2a6418ea5773b64b9b9fdf8bdb9a8f4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CategoryNavigation.CategoryTabs: FunctionTooLong \u2014 CategoryTabs 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":"web/components/sidebar/CategoryNavigation.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c61f37b4be55a4129ff223bb60d1032867e908efdca827fd1dbba9f99c9fd31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: knowledge/KbDocumentList.tsx: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: KbDocumentList (108-585). The bar is 500 significant lines; this is 7 over it, 1.01\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":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"782eac9d41b93a02d249c577949c16911d1829f949d22ea500deedf624563d6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: learning/models.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":"deeptutor/learning/models.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ec47275d81943fbe93095d2bf6662d34268c9a1a2c0baf300485b7571c2674"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/service.py: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 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":"deeptutor/app/service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5ea40ee0df40498b9fdf440ce6b69160ee8757e38a9457cb5fd2a01b6eac64"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsNav.SettingsNav: FunctionTooLong \u2014 SettingsNav 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":"web/components/settings/SettingsNav.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f57689e892a585cbf60be27886e5da3a2a362f3d4d6bea8c0519a71928234b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TopicWizardSteps.SourceSection: FunctionTooLong \u2014 SourceSection 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":"web/components/space/learning/TopicWizardSteps.tsx"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"807607b06de2214fd5c39382bd0f3ff799aeb1e15127a2a1fd545174bf557aab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskPanelSection.TaskPanelSection: FunctionTooLong \u2014 TaskPanelSection 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":"web/components/tasks/TaskPanelSection.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"808423ff0e9b08abcf5676096e4a84b4fdc0d2667d316db6abbb7aa42e9d631e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NoteThreadMarkers.NoteThreadMarkers: FunctionTooLong \u2014 NoteThreadMarkers 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":"web/features/notes/components/NoteThreadMarkers.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad0577c1a98d772f7da4a830422c00bf55d257410decf933db2941b01944462"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sections/ToolsSettingsSection.tsx: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: ToolsSettingsPage (78-557). The bar is 500 significant lines; this is 3 over it, 1.01\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":"web/features/settings/sections/ToolsSettingsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b8446b1b3ae6d436fc5500f301b76119282ecea0a27392a812125797d0f172"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 71 shared lines): deeptutor/agents/math_animator/capability.py:223-302 | deeptutor/agents/question/capability.py:352-468 | deeptutor/agents/visualize/capability.py:494-573 \u2014 These 3 members are variants of one another: a block of 71 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/math_animator/capability.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c980fdd44aa7a0a1f77dd18ffa718ac66e5cef86da0473a61b71fd515c6b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (151 shared lines): deeptutor/agents/math_animator/capability.py:23-220 | deeptutor/agents/visualize/capability.py:271-491 \u2014 These two members are variants of one another: 151 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":"deeptutor/agents/math_animator/capability.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2f5277ef879e8d121979e65416f7aca8ddb4746467e2deea386190eea29119"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (36 shared lines): deeptutor/reading/store.py:256-444 | deeptutor/reading/store.py:447-609 \u2014 These two members are variants of one another: 36 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":"deeptutor/reading/store.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"963b1f3d7a0aec1ddd6355500b1c01c7c172be8ed62a9cb0f94f60e7561fbb1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): deeptutor/services/config/launch_settings.py:51-79 | deeptutor/services/settings/interface_settings.py:107-157 \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":"deeptutor/services/config/launch_settings.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d1e212a05d981d9e679a792d3aef2ff3bb15260fe892ad1deb0cbeaacefb00"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): deeptutor/api/routers/book.py:954-977 | deeptutor/api/routers/book.py:996-1022 | deeptutor/api/routers/book.py:1066-1091 | deeptutor/api/routers/book.py:1111-1139 | deeptutor/api/routers/book.py:1146-1172 | deeptutor/api/routers/book.py:1231-1256 | deeptutor/api/routers/book.py:1517-1539 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d51dd08b040b265ed6e8d235ddc1319e8cdb81cf8d40ec51cacc795ad20f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): deeptutor/knowledge/manager.py:886-916 | deeptutor/knowledge/manager.py:927-969 | deeptutor/knowledge/manager.py:979-1012 | deeptutor/knowledge/manager.py:1023-1062 | deeptutor/knowledge/manager.py:1146-1193 | deeptutor/knowledge/manager.py:1204-1236 | deeptutor/knowledge/manager.py:1246-1276 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f869da2a8eead0c7ccc52b03a3141b20c0eaa7c4f889db2d6ac58533dc99fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): deeptutor/services/search/providers/bocha.py:42-132 | deeptutor/services/search/providers/deepseek.py:42-109 | deeptutor/services/search/providers/firecrawl.py:44-136 | deeptutor/services/search/providers/qianfan.py:51-149 | deeptutor/services/search/providers/zhipu.py:80-174 \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":"deeptutor/services/search/providers/bocha.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79e62e8719127b7befa4ab0cd17c609e6f3d181481881285ba65e8d0d4214fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): deeptutor/services/subagent/antigravity.py:192-240 | deeptutor/services/subagent/claude_code.py:139-179 | deeptutor/services/subagent/codex.py:133-163 | deeptutor/services/subagent/grok.py:127-178 | deeptutor/services/subagent/kimi.py:133-174 \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":"deeptutor/services/subagent/antigravity.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a41f1765532022745afc62dc93ec9e520239b2cd8dc7abbc58708919024277e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): deeptutor/api/routers/book.py:896-923 | deeptutor/api/routers/book.py:1578-1595 | deeptutor/api/routers/book.py:1600-1617 | deeptutor/api/routers/book.py:1622-1638 \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":"deeptutor/api/routers/book.py"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fe51d7a5cb82a4320488207593c1baaba669ba89ae9be926c3f21e134ce06c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): deeptutor/book/blocks/animation.py:33-137 | deeptutor/book/blocks/code.py:67-116 | deeptutor/book/blocks/figure.py:34-132 | deeptutor/book/blocks/interactive.py:34-110 \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":"deeptutor/book/blocks/animation.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f08ce06ec9d12d87e830314c4c977698416e80891a699b9ecf61d415ebe6bf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): deeptutor/services/memory/consolidator/modes/audit.py:137-258 | deeptutor/services/memory/consolidator/modes/audit.py:274-398 | deeptutor/services/memory/consolidator/modes/update.py:150-361 | deeptutor/services/memory/consolidator/modes/update.py:377-590 \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":"deeptutor/services/memory/consolidator/modes/audit.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"71efcab27638a1c1a3382280017aa119724c43e3add9cac049007ae15cea561d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): deeptutor/services/partner_groups/manager.py:865-909 | deeptutor/services/partner_groups/manager.py:918-968 | deeptutor/services/partner_groups/manager.py:978-1028 | deeptutor/services/partner_groups/manager.py:1038-1090 \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":"deeptutor/services/partner_groups/manager.py"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"d649119f75c5b65aa697918d9f234c0eda3176c7289eabfad12edc0b7aea2ae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (154 corresponding lines): deeptutor/agents/base_agent.py:364-517 | deeptutor/agents/base_agent.py:535-693 \u2014 These two members are one piece of code written twice and then edited apart: 154 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/base_agent.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"31998a483a0b6ba743312a620e867e427fed75d7b99c5a2a82ec6693bd578764"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): deeptutor/services/subagent/deepseek_harness.py:103-165 | deeptutor/services/subagent/hermes.py:96-144 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/deepseek_harness.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17a73cfbc5238e84fbb93bd5cba52bf004de2820daceeebcc06398ad51552ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): deeptutor_cli/init_wizard.py:657-718 | deeptutor_cli/init_wizard.py:780-850 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor_cli/init_wizard.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"554c41b4f6c18d891f3cfb546e307236e8cc252a73af40d70289fc9980c8f2b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): deeptutor/services/search/providers/brave.py:30-77 | deeptutor/services/search/providers/searxng.py:48-104 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/providers/brave.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"887b90e35537cd14fa454210829bc5d91962b00abba513a064732313274bc34b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): deeptutor/tools/builtin/__init__.py:1404-1459 | deeptutor/tools/partner_memory.py:171-219 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/builtin/__init__.py"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4ccc268e0bd5a1b474d767f9d863fbc838eecf1f19ef554503d0e6a8a1b8ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): deeptutor/services/skill/hub.py:206-248 | deeptutor/visualizers/store.py:220-251 \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":"deeptutor/services/skill/hub.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"9766687d985eba6d0256e5539aada4d79ce636def8f1f0f4d06697213c4a9442"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): deeptutor/tools/brainstorm.py:54-104 | deeptutor/tools/reason.py:51-119 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/brainstorm.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2e985606a85b0135fa3e804e2cadeed09ea6fd21d8514a92914f945bc00d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): deeptutor/reading/ingestion.py:661-687 | deeptutor/video_learning/service.py:84-102 \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":"deeptutor/reading/ingestion.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"613b9a0aecca6c1e567c5ba10faa71feeb0fc7ad39086a9c24b50b0393c1e13f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): deeptutor/agents/question/pipeline.py:2092-2126 | deeptutor/agents/research/pipeline.py:2773-2812 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8030a6708841537783e5b9925001ffad88a311e1178d0c89c75b93c67cd1f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): deeptutor/services/config/provider_runtime.py:1422-1450 | deeptutor/services/config/provider_runtime.py:1458-1491 | deeptutor/services/config/provider_runtime.py:1499-1531 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c3c31bba87cae09f025d747a928686ca447c8b02a6a838a194e4f0c6677817"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): deeptutor/services/imagegen/adapters/dashscope.py:228-256 | deeptutor/services/videogen/adapters/dashscope.py:211-243 \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":"deeptutor/services/imagegen/adapters/dashscope.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf5c490a4c4469ad6574a3cc7f87b2861e111fa0dfd547d6b097c4521ec9856"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): deeptutor/knowledge/add_documents.py:795-836 | deeptutor/knowledge/initializer.py:405-444 \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":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf94402b42d04c38b9018352ac3b9456fc7a866c6f50b4585b7b37722cefec66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): deeptutor/services/partner_groups/manager.py:500-562 | deeptutor/services/partner_groups/manager.py:573-629 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/partner_groups/manager.py"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6188a6f53cce0c008c2878140a472110ada6570b9be4e529e42aba3d5f5b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): deeptutor/services/chat_hints.py:207-237 | deeptutor/services/reading_hints.py:361-403 \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":"deeptutor/services/chat_hints.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"07825b2ea7834381ad2d475c4f9f4ddb7f516044162eb77fa18431e0bf3a15df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): deeptutor/api/routers/render_storage.py:81-110 | deeptutor/api/routers/render_storage.py:165-193 \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":"deeptutor/api/routers/render_storage.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2603da8d8f064046d34e96f9c44cf44c5797f043957a5f1c38241e053e6070"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): deeptutor/api/routers/partner_groups.py:242-262 | deeptutor/api/routers/partner_groups.py:271-295 \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":"deeptutor/api/routers/partner_groups.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"27156980e30febb5c522cc948c5168b7111f0e7d852fe9465d752c1837501c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): deeptutor/services/chat_hints.py:105-127 | deeptutor/services/mastery_hints.py:152-179 | deeptutor/services/reading_hints.py:145-168 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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":"deeptutor/services/chat_hints.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c1a113697e851f2e2c0e958ad610c7265f7d188d0100e0d5a06660e13f997b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): deeptutor/partners/channels/manager.py:51-102 | deeptutor/partners/channels/manager.py:108-154 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/manager.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0add9a0d8a381a64967c2f58c031d4d628677ffcf9bb930306268bf4171603"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): deeptutor/services/rag/pipelines/graphrag/pipeline.py:89-121 | deeptutor/services/rag/pipelines/pageindex/pipeline.py:110-143 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/graphrag/pipeline.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd57cfed0b2762977e34711d32bcdf52fcfcc9ad88b5685b17d35bd16f270ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): deeptutor/services/memory/consolidator/modes/audit.py:83-121 | deeptutor/services/memory/consolidator/modes/update.py:90-134 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/consolidator/modes/audit.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8261173aeab4fffe9c59789c99799da0f37d95c67422e1e453b17b52644fae46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): deeptutor/learning/topic_naming.py:120-163 | deeptutor/services/mastery_hints.py:309-351 \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":"deeptutor/learning/topic_naming.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cd3aca90e37fb28a3e8f80245c135098f34cca64bc3bf0ee196471aed42723"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): deeptutor/runtime/coordination/redis.py:391-412 | deeptutor/runtime/coordination/redis.py:451-476 \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":"deeptutor/runtime/coordination/redis.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"8692442e3b8797ce1e08ded33f6b954ef6c59429163d7f3ddd5c0307afe7f0fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): deeptutor/services/llm/provider_core/claude_code_provider.py:102-142 | deeptutor/services/llm/provider_core/codebuddy_provider.py:92-124 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/claude_code_provider.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cf9b18d6c212ff505707a7a40e28bd7b25c4b2ac75c17be5a181764d625646"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): deeptutor/services/config/provider_runtime.py:902-918 | deeptutor/services/config/provider_runtime.py:1100-1116 \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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"80df09c659d956cdc6ea1d6497f8b3abcb9940d852dafc76dff3dabb6ae5ae2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): deeptutor/services/partner_groups/store.py:60-79 | deeptutor/services/persona/service.py:351-375 \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":"deeptutor/services/partner_groups/store.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5561815ad9a7eca658f214cc616014f28553824c246ff1f2af626ffe42f644b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): deeptutor/services/config/model_catalog.py:301-320 | deeptutor/services/config/settings_draft.py:86-107 \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":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f62bd340c34dc087fef255d46f8ecc1c652aff8254ecbd936853ca5838d33b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): deeptutor/services/parsing/engines/docling/remote.py:42-69 | deeptutor/services/parsing/engines/tika/remote.py:41-67 \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":"deeptutor/services/parsing/engines/docling/remote.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c933f8b9a260b4024d0401184fe4c0e930dd0522149afef3265b570d3b24d27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): deeptutor/services/skill/hub.py:513-538 | deeptutor/services/skill/hub.py:575-597 \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":"deeptutor/services/skill/hub.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba6801cc6b7e2ec25928aad0e605f65ba01d2699fc019f3fbf111b84338f64a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): deeptutor/services/parsing/engines/_install.py:232-260 | deeptutor/services/parsing/engines/mineru/models.py:179-208 \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":"deeptutor/services/parsing/engines/_install.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7989bba38c8d9807cddd9ee81633b409485ff248a946d4546c22829ceeea86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): deeptutor/agents/loop/pipeline.py:1149-1167 | deeptutor/agents/research/pipeline.py:2167-2185 \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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fc963c5df25ee3098aaf2451b0d108d8d8f97948130ea159cc14e38b46cc32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): deeptutor/services/llm/provider_core/base.py:454-488 | deeptutor/services/llm/provider_core/base.py:505-536 \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":"deeptutor/services/llm/provider_core/base.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"419500c9fdd55cd8045b31855422d1f3a7506fe470b30508035f64d08be8e91e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): deeptutor/services/memory/consolidator/modes/audit.py:407-432 | deeptutor/services/memory/consolidator/modes/audit.py:438-454 \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":"deeptutor/services/memory/consolidator/modes/audit.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c0e7b51a59134613593a8f3533ea9d821d5658ae9be20854581aa4e3699efd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): deeptutor/services/memory/consolidator/references.py:239-266 | deeptutor/services/memory/consolidator/references.py:275-296 \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":"deeptutor/services/memory/consolidator/references.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"e072ac8027f0072dac901236735d2e9fb1a9ec221d6d0d4c12eaf2b2c52b381b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): deeptutor/services/parsing/cache.py:105-134 | deeptutor/tools/question/question_extractor.py:30-55 \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":"deeptutor/services/parsing/cache.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a7ad4b5ec3f786476d3e5463361abed9fe3903a02cbaa6f758d6ce2a29f840"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): deeptutor/services/llm/multimodal.py:98-130 | deeptutor/services/subagent/images.py:69-90 \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":"deeptutor/services/llm/multimodal.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0084d8b0efeb66b1b9ed797aafc9a33533a852a6bb1cf966cde5a3263ef0302"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): deeptutor/services/voice/speech_text.py:470-488 | deeptutor/services/voice/speech_text.py:529-548 \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":"deeptutor/services/voice/speech_text.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ebad66dcf26d8062200f8499b2799c089c854195e05b115463c7eb0445c6b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 25\u002B corresponding lines): deeptutor/multi_user/grants.py:49-76 | deeptutor/services/codex_auth/storage.py:56-82 | deeptutor/services/cron/repository.py:50-75 | deeptutor/services/learning_journal/store.py:326-352 | deeptutor/services/partners/web_continuity.py:28-52 | deeptutor/video_learning/service.py:376-404 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 25 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":"deeptutor/multi_user/grants.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc8ed214a76f5d4fd7a5b64dc8da19827e9ff38d01ca9b7e1e84931bbf07e53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): deeptutor/partners/channels/mochat.py:607-638 | deeptutor/partners/channels/mochat.py:641-668 \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":"deeptutor/partners/channels/mochat.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"1665329719bc92002e535e5e3e66b2ea20727c9cc6965b0592b7b2ad1a5a67a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): deeptutor/partners/channels/feishu.py:1104-1128 | deeptutor/partners/channels/feishu.py:1131-1162 \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":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5744d942cef1e41c4e72a830f420d112c6e08c72ef04d4e11b7673aa017b032"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): deeptutor/services/memory/recall.py:148-186 | deeptutor/services/memory/recall.py:203-234 \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":"deeptutor/services/memory/recall.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f44de3a811175e1e29f8cd504268bca8edd3cb27cbd4e79f7cb46467636b112"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): deeptutor/services/rag/pipelines/graphrag/completion_adapter.py:137-158 | deeptutor/services/rag/pipelines/graphrag/completion_adapter.py:166-187 \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":"deeptutor/services/rag/pipelines/graphrag/completion_adapter.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"847c684ab2e4b0860dfaa66917480c1ad4ab3d90dc4c278c50768bee3e25ed7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): deeptutor/learning/pending.py:98-116 | deeptutor/learning/pending.py:140-166 \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":"deeptutor/learning/pending.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"79925086bbbfd31ba06c93755f3672f804b54c7c61bf2f6d2c35b287dde853c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): deeptutor/services/session/_turn_runtime_shared.py:999-1029 | deeptutor/services/session/source_inventory.py:667-695 \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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a0c76a82764b020bc4d91b02a61b2536e2a64b8f577e93dd0aa4a572087596"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): deeptutor/services/parsing/engines/_versions.py:24-35 | deeptutor/services/parsing/engines/docling/formats.py:131-142 \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":"deeptutor/services/parsing/engines/_versions.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"708bb3150ffd20d234b0c7228f694355cd715e60e411631a4defd4217992b10b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): deeptutor/co_writer/storage.py:274-300 | deeptutor/learning/migration.py:118-143 \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":"deeptutor/co_writer/storage.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"5567a8ec03fa1778ae8414ac6a3ac65deb8435059c88b24fcca1c07d66e34070"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): deeptutor/api/routers/multi_user.py:885-934 | deeptutor/api/routers/skills.py:245-277 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/multi_user.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41516a55634a5d078822953e4b48d95be25669a90e4707e495a03f983fe433e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): deeptutor/api/routers/plugins.py:189-206 | deeptutor/api/routers/plugins.py:214-232 \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":"deeptutor/api/routers/plugins.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"83264beef512cd425bee516960109f8583c6c32cac1169a1dfe179b0d5399b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): deeptutor/partners/channels/zulip.py:681-704 | deeptutor/partners/channels/zulip.py:708-732 \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":"deeptutor/partners/channels/zulip.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e656ba1404716b5721badfcc41b24471d6dfcc8b079e35d012463fb23a8c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): deeptutor/agents/notebook/analysis_agent.py:25-37 | deeptutor/agents/notebook/summarize_agent.py:17-30 \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":"deeptutor/agents/notebook/analysis_agent.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de0bb545d2b2a5e6629bc37107e221dba636e311016debba895ab6def78f381"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): deeptutor/api/routers/book.py:1181-1199 | deeptutor/api/routers/book.py:1204-1226 \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":"deeptutor/api/routers/book.py"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"6debf155c331cdc4b4a9859b4709c1261cea08dec8030b957dc184bfeeac1831"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): deeptutor/book/engine.py:1961-1976 | deeptutor/book/engine.py:2142-2159 \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":"deeptutor/book/engine.py"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"2354a1e236ef2ea2ab91b5054c17fba8b786b003a8b26767920749fc3ada8d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): deeptutor/services/session/pocketbase_store.py:1474-1495 | deeptutor/services/session/pocketbase_store.py:1499-1523 \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":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be069e7080b1db69f9a8df5f8a4d9ff96cd4b50c3ec43b515291489c14b2895"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): deeptutor/api/routers/knowledge.py:1600-1619 | deeptutor/api/routers/knowledge.py:1856-1873 \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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ff87aa766afae0d64caa2af7fa8cd9dddf7b834da3195f60a64bd201223d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): deeptutor/partners/channels/weixin.py:1360-1387 | deeptutor/partners/channels/weixin.py:1391-1422 \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":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a1836d9cb92e79cf33becae5023b6afa8dd248c7b36b3562eafe12af470980"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): deeptutor/services/chat_hints.py:296-324 | deeptutor/services/mastery_hints.py:358-377 \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":"deeptutor/services/chat_hints.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5684fffacecd702fba23c6ea13cd9e1543d9d22d54304f9e9be48c3fba8628"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): deeptutor/partners/channels/feishu.py:1545-1576 | deeptutor/partners/channels/feishu.py:1579-1613 \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":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ba9a10ae246e90429af82d946f1ef97977f0f2a42d79a5b732b75117f82731"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): deeptutor/api/routers/skills.py:155-176 | deeptutor/api/routers/skills.py:181-197 \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":"deeptutor/api/routers/skills.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"452451ea6ed7f5f91cb6cd228d1c1552f24811ee2180ab2a72fdd1360f955c1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): deeptutor/services/rag/pipelines/lightrag/pipeline.py:383-399 | deeptutor/services/rag/pipelines/lightrag/pipeline.py:480-503 \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":"deeptutor/services/rag/pipelines/lightrag/pipeline.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbeb0f7b22c6dc616c6f6c3e079cd2df00b53437038a01d5437567ac7007238b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): deeptutor/services/session/sqlite_store.py:2794-2823 | deeptutor/services/session/sqlite_store.py:2900-2963 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":2794}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03842d185605d1cbf21e2dc1e578689da81c732429e1e5ee9fcab4ef4b18827"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): deeptutor/services/file_io.py:89-108 | deeptutor/services/file_io.py:112-130 \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":"deeptutor/services/file_io.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96bb64be9b6a1d56ad38eb77bbfaa8f3b8d9c7deb0ac7e73855b786de4c54d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): deeptutor/modules/lifecycle.py:138-149 | deeptutor/services/codex_auth/storage.py:86-103 \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":"deeptutor/modules/lifecycle.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afb49ef2273779859893b7f18d45689a7005819f2ca25c5c03723dc8c01f86c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): deeptutor/services/embedding/adapters/dashscope_native.py:104-135 | deeptutor/services/embedding/adapters/dashscope_native.py:138-166 \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":"deeptutor/services/embedding/adapters/dashscope_native.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b1a37aa94f5f23c807f0da6e0af0ecbdca19b4e2725e915f32da4676748e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): deeptutor/services/videogen/adapters/async_task.py:53-64 | deeptutor/services/videogen/adapters/dashscope.py:60-72 \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":"deeptutor/services/videogen/adapters/async_task.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a3e305aaf01f7c4a7074b727ef9eaf54547949170b97d42be49475c676b2ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/services/llm/provider_core/anthropic_provider.py:81-94 | deeptutor/services/llm/provider_core/openai_compat_provider.py:1153-1162 \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":"deeptutor/services/llm/provider_core/anthropic_provider.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a28e5b93368985950007c11caf432ad288e4b553043d0bde2b53a9059b19567"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): deeptutor/reading/page_render.py:33-72 | deeptutor/reading/page_render.py:76-98 \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":"deeptutor/reading/page_render.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f983e781111f0c7bef4b1feb184bfef56f668c3f7679ee7604418d6715208b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): deeptutor/multi_user/device_credentials.py:114-128 | deeptutor/multi_user/guardians.py:59-73 \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":"deeptutor/multi_user/device_credentials.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5ec001867bec9717e29a0d06a59290e31d459f52444f00ee1837d7cc65e653"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): deeptutor/capabilities/handoff/capability.py:172-193 | deeptutor/capabilities/handoff/capability.py:196-215 \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":"deeptutor/capabilities/handoff/capability.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86698182e86aeab1dfc014a447d155e646979c8cfb2e76fe12c8e815995ed27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): deeptutor/runtime/coordination/redis.py:362-386 | deeptutor/runtime/coordination/redis.py:421-446 \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":"deeptutor/runtime/coordination/redis.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1837ab18221ed5d2a4c1b02893f76a6b4c55ad3dd7e0ff3313fb0d02a83dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): deeptutor/services/mcp/config.py:136-153 | deeptutor/services/mcp/user_config.py:215-226 \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":"deeptutor/services/mcp/config.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea803ef8be931df12e2f87e778c4ac2a0fae0aea83ea28b7c7c9f67269ed3e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): deeptutor/api/routers/book.py:1027-1039 | deeptutor/api/routers/book.py:1044-1061 | deeptutor/api/routers/book.py:1380-1404 \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":"deeptutor/api/routers/book.py"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"b228b58e4b4d91e0f6839807d15adcd86af533deca4e242c23b2f1713c8e8e70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): deeptutor/api/routers/calendar.py:188-211 | deeptutor/api/routers/task_board.py:48-74 \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":"deeptutor/api/routers/calendar.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"5071c73d5b53fd5af8d40ed042a14f6b7af9db76e4cc2178bbf505deeeacf526"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/services/mcp/oauth.py:125-135 | deeptutor/services/mcp/secrets.py:172-181 \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":"deeptutor/services/mcp/oauth.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"00512c99f7ba66c4d8ab083a4d6ec93d7f2423e376f8a428584b7b4b9821ab10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): deeptutor/agents/question/pipeline.py:2214-2234 | deeptutor/agents/research/pipeline.py:3089-3108 \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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dc7bf5d4ee63bd3fc0518a71d3a00e88438aae9855fa50000fbd91dc231c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): deeptutor/api/routers/render_storage.py:120-134 | deeptutor/api/routers/render_storage.py:203-224 \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":"deeptutor/api/routers/render_storage.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a422e6b7377df4ccf473adf6696039db3ce47e97d0e969a2171b45961f601e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): deeptutor/services/chat_hints.py:271-289 | deeptutor/services/reading_hints.py:435-451 \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":"deeptutor/services/chat_hints.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"842194967912216f691b2e05c0448d4af9b294049e55342ea0b5f59bb588d4d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/services/llm/provider_core/claude_code_provider.py:420-433 | deeptutor/services/llm/provider_core/codebuddy_provider.py:520-529 \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":"deeptutor/services/llm/provider_core/claude_code_provider.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b421a448e40c2dfa2937c15d8b424e9039d11695b36f7576d268cb1fdd2613"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): deeptutor/agents/research/data_structures.py:274-286 | deeptutor/agents/research/pipeline.py:2566-2576 \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":"deeptutor/agents/research/data_structures.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8edf6b322538f90706624688236b33a377ead7ef7a8e30decd787f9bc3cf2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): deeptutor/services/llm/provider_core/codebuddy_http_provider.py:128-156 | deeptutor/services/llm/provider_core/github_copilot_provider.py:164-187 \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":"deeptutor/services/llm/provider_core/codebuddy_http_provider.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"925351d3336121aeaa830a3b8f8cb8e8c5493160bed114cb226d2ed9306cda5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): deeptutor/services/subagent/claude_code.py:326-339 | deeptutor/services/subagent/opencode_family.py:451-459 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/claude_code.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab160b4eaca6c699fbd03f12835529fa073af081126cbdb9b4787efbbeea910"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): deeptutor/services/learning_journal/store.py:192-216 | deeptutor/services/learning_journal/store.py:224-245 \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":"deeptutor/services/learning_journal/store.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f99ef827f9c93fdbca0d3a04c1840a01ec7753ec7f1e1ea2ed83965c8644827"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): deeptutor/services/parsing/engines/mineru/local.py:470-503 | deeptutor/tools/question/question_extractor.py:385-412 \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":"deeptutor/services/parsing/engines/mineru/local.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8113357c203e580749f74b0d8ba43be8468e1d29138286ac75fd36b5117e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): deeptutor/services/subagent/antigravity.py:152-179 | deeptutor/services/subagent/openclaw.py:59-79 \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":"deeptutor/services/subagent/antigravity.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0345219f21db064bf54bd10edc8ad8fcfa1ecdb697a36face242abb3d097571e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): deeptutor/api/routers/partners.py:1510-1529 | deeptutor/api/routers/partners.py:1565-1584 \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":"deeptutor/api/routers/partners.py"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83d3f69699656a9445966cfdde599f4295d2e8b93ad0635c7c803b913771a3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): deeptutor/services/session/sqlite_store.py:3264-3291 | deeptutor/services/session/sqlite_store.py:3300-3321 \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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":3264}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3f8b28ba92b7f8cb03ce53a3568961bad4b8192498aa03b679caa2a24d84f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/plugins/manifest.py:414-421 | deeptutor/plugins/manifest.py:444-453 \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":"deeptutor/plugins/manifest.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1def18dbe8c537f50b50c2d5cedb48b05c29b50c5ef0e91d2757a2a0475b44d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): deeptutor/agents/question/pipeline.py:210-233 | deeptutor/agents/question/pipeline.py:272-293 \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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0f3e22f79794e9105a061953d0d7f0d06545575caf27273595ffc155a25aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/services/setup/init.py:237-246 | deeptutor/services/setup/init.py:250-259 \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":"deeptutor/services/setup/init.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a81464f6d495e978ba5104f5eeaea8fcf407a62a7463d4088287339c51416a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): deeptutor/tools/workspace.py:56-70 | deeptutor/tools/workspace.py:101-113 | deeptutor/tools/workspace.py:139-153 \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":"deeptutor/tools/workspace.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cc72b8ff1e113a2f4b70eb3a47c187e57f8f44f2731d63e0f7fdaa98ac71a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): deeptutor/partners/channels/discord.py:170-184 | deeptutor/partners/channels/discord.py:262-279 \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":"deeptutor/partners/channels/discord.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef1be1cdb973a9ac014061c4536c756d911b1d5e160e9f9df5a7ff410a7de24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): deeptutor_cli/chat.py:369-377 | deeptutor_cli/common.py:116-126 \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":"deeptutor_cli/chat.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"59beaa9559830139c7e89e5e58398d70809d6928da91de9be8d2d1433e225a97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): deeptutor/book/learning_overlay.py:76-92 | deeptutor/book/storage.py:254-271 \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":"deeptutor/book/learning_overlay.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2162e7130fde1aa1dd4f6fe719cc5086d6c25cd42d86d0826eaf4b0f11f829d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): deeptutor/capabilities/marginnote4/binding.py:31-44 | deeptutor/capabilities/obsidian/binding.py:34-46 \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":"deeptutor/capabilities/marginnote4/binding.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6c6fd9de66b6ab914b7d9bd55d168f7a4f8ef8f4b457390123387289741b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/co_writer/docx_converter.py:596-605 | deeptutor/co_writer/docx_converter.py:609-621 \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":"deeptutor/co_writer/docx_converter.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea297fae78a78b675b1bffb073cc26fd6b46beaaa631deebfee7df2b588ab7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): deeptutor/services/session/pocketbase_store.py:369-389 | deeptutor/services/session/pocketbase_store.py:500-515 | deeptutor/services/session/pocketbase_store.py:519-534 | deeptutor/services/session/pocketbase_store.py:538-557 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5272d3579f705d9496ed89a9136648ba5faa18c65cc06ff79e17951920ed858c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/api/routers/knowledge.py:943-955 | deeptutor/multi_user/knowledge_access.py:205-214 \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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5723fc55dd2b28580087dcf39358389401a7adfc27da61faace602e525fad87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): deeptutor/api/routers/partners.py:1277-1287 | deeptutor/api/routers/partners.py:1292-1302 | deeptutor/api/routers/partners.py:1316-1329 \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":"deeptutor/api/routers/partners.py"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68a0fd4fc9d43385042f5a36a0ffa14d1716d0cb74d47601584ff66660cb935"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): deeptutor/services/imagegen/__init__.py:26-44 | deeptutor/services/videogen/__init__.py:30-48 \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":"deeptutor/services/imagegen/__init__.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18c18016474a8d22f35c30206192b52abb81b294c2ce91d5e8fd236ae24e5c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): deeptutor/services/session/thread_attribution.py:268-282 | deeptutor/services/session/thread_attribution.py:286-301 \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":"deeptutor/services/session/thread_attribution.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b7b6ab38cc8e0c9f7f9026e22f9b2512815a353c75aa6f973aa4dcd4afd212"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): deeptutor/multi_user/partner_access.py:53-60 | deeptutor/multi_user/skill_access.py:12-18 \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":"deeptutor/multi_user/partner_access.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01fd2d2135f895340fd812e95c321aa79010d8d632f993f3b6cdd40b2d437a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): deeptutor/services/rag/pipelines/lightrag_server/pipeline.py:68-88 | deeptutor/services/rag/pipelines/weknora/pipeline.py:32-49 \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":"deeptutor/services/rag/pipelines/lightrag_server/pipeline.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3342b74e492abec0fc453ad3aa3b25a92290a0cd53f30375ba4d7892586a87b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): deeptutor/services/session/pocketbase_store.py:842-856 | deeptutor/services/session/pocketbase_store.py:895-909 \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":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a26a4e5b7ae4771eee6d739c756d8f2e1708ef22aa9d732ce1d089cdb6e6ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): deeptutor/utils/bibtex_converter.py:132-149 | deeptutor/utils/bibtex_converter.py:153-171 \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":"deeptutor/utils/bibtex_converter.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa21579be62c03f024fb254a87fb5af1a1679c5558201b9b743cf6ec6731f589"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): deeptutor/api/routers/book.py:2039-2047 | deeptutor/api/routers/book.py:2052-2062 \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":"deeptutor/api/routers/book.py"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"652ab1763ade81686df236c62e622e5a88143e38c581ca3434c3b28748783730"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): deeptutor/runtime/launcher.py:1485-1497 | deeptutor/runtime/launcher.py:1501-1517 \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":"deeptutor/runtime/launcher.py"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0527fbb56c99912d189d2e18d71d193db766cb7f6daaeeba3b1d359b2c6cfc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): deeptutor/services/chat_hints.py:251-267 | deeptutor/services/reading_hints.py:417-431 \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":"deeptutor/services/chat_hints.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc3f88f8186a68bebdcfa73e5cc9841006522bc1697bbd21e4483593f8af580"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): deeptutor/services/llm/image_caption_cache.py:77-87 | deeptutor/services/llm/image_caption_cache.py:133-146 \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":"deeptutor/services/llm/image_caption_cache.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff13642224cad055281e162376dc6da528323bfb93f792fc54ae234fea6806ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): deeptutor/services/parsing/engines/mineru/backend.py:140-163 | deeptutor/services/parsing/engines/mineru/models.py:41-57 \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":"deeptutor/services/parsing/engines/mineru/backend.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"33476c49f216c192d9e757a9f9219d55991a48194179b3172e34a64357e5aa4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): deeptutor/api/routers/co_writer.py:523-548 | deeptutor/api/routers/co_writer.py:582-601 \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":"deeptutor/api/routers/co_writer.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"493d2433ba0e70a82013aa0c5e956490f18619740902327538d7802bbe28279d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): deeptutor/api/routers/knowledge.py:3063-3086 | deeptutor/api/routers/knowledge.py:4815-4826 \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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":3063}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5d8c40dc28767a2524684791f442caef6c054a48a213f12ae8003c50cf0aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): deeptutor/reading/store.py:1508-1518 | deeptutor/reading/store.py:1527-1537 \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":"deeptutor/reading/store.py"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"9854eba6ec4c140482851fd2ce2f48c0f8376f145bbcf2e27403c7654deade39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): deeptutor/runtime/coordination/redis.py:244-259 | deeptutor/runtime/coordination/redis.py:262-275 \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":"deeptutor/runtime/coordination/redis.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"15edf57fabe510248b536f3d3363557bad304c455a8ba3bef9b284c8e2af0e0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): deeptutor/runtime/update_worker.py:90-111 | deeptutor/services/app_update.py:630-657 \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":"deeptutor/runtime/update_worker.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"219b922904ca3aa77ce0f1c5a87e7af7ba93d0d497813b1182db4f96ca301c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): deeptutor/api/routers/knowledge.py:1670-1685 | deeptutor/api/routers/knowledge.py:1710-1720 \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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f117e90e17eafc70c132c123ca5918777698ab8bca8d4b08cf7a51fe732686f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): deeptutor/runtime/providers/text.py:41-57 | deeptutor/runtime/providers/text.py:61-83 \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":"deeptutor/runtime/providers/text.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"222be92462f85e4bddf35f600d4d283cfea369b86367016c914ca698f33912c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/partners/channels/telegram.py:315-331 | deeptutor/partners/channels/zulip.py:91-100 \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":"deeptutor/partners/channels/telegram.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bec07e2e494500b3bb95288addad1918f60a6811bb6142c8db0331dda64553"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): deeptutor/api/routers/notebook.py:228-248 | deeptutor/api/routers/notebook.py:277-303 \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":"deeptutor/api/routers/notebook.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd20c75261f28867b4f8fa9eeb5710e48e7d1cddda868805cceb89eabfd777ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): deeptutor/api/routers/personas.py:109-123 | deeptutor/api/routers/personas.py:128-142 \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":"deeptutor/api/routers/personas.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3c41caecd53665ff7bb57b3feb0a5478c87a7c44a061b6b83c1bdf0a4ce9ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/knowledge/manager.py:2326-2336 | deeptutor/knowledge/manager.py:2422-2431 \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":"deeptutor/knowledge/manager.py"},"region":{"startLine":2326}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cc3df4c8e1b1e7b55ad19f15593c5af2dc6c05095f7c0bfd22def6d7786fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): deeptutor/learning/storage.py:912-924 | deeptutor/learning/storage.py:928-938 \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":"deeptutor/learning/storage.py"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"4070d269c85bef65240a6970a7d9ad953e227e737aa146a4c6efb20c57cd6b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): deeptutor/services/subagent/models.py:270-283 | deeptutor/services/subagent/models.py:373-384 \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":"deeptutor/services/subagent/models.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2dbd6b1a0d43acbcfdf4b4c43ff629aabe31e91011052646dcb2b75d9b785ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/api/routers/co_writer.py:736-745 | deeptutor/api/routers/co_writer.py:758-763 \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":"deeptutor/api/routers/co_writer.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"701af677c02aec470df9aad61464ea398a0c763eef037e8d06f51ba0aeffd7c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): deeptutor/services/creations/drafts.py:100-110 | deeptutor/services/partners/drafts.py:87-97 \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":"deeptutor/services/creations/drafts.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6070c2203140cff13095eb04914e76978b5b3d1480407691840bdb04b90bdc8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/services/storage/attachment_store.py:195-200 | deeptutor/services/storage/attachment_store.py:203-210 \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":"deeptutor/services/storage/attachment_store.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"51422175cf141d433c579f819dc6e8304a9854dddc9ef820314e14f9883ff95d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): deeptutor/agents/math_animator/request_config.py:25-36 | deeptutor/agents/research/request_config.py:54-63 | deeptutor/runtime/request_contracts.py:99-107 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/math_animator/request_config.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7297c063307e864bc3d5d26580358b5d082de4d4b13242eed7a79d6bd7bef82e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/capabilities/obsidian/vault.py:290-299 | deeptutor/capabilities/obsidian/vault.py:314-324 \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":"deeptutor/capabilities/obsidian/vault.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2091a558e38e3f7dcb3bf03eb0c94c921c530a642ca4f1cc7c02596b24f246"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): deeptutor/services/rag/pipelines/ima/notes.py:162-175 | deeptutor/services/rag/pipelines/ima/notes.py:178-198 \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":"deeptutor/services/rag/pipelines/ima/notes.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"356e28c78c2429ad0762add124fbf49a28c9b14cbb679010237c1b4a62fe00b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): deeptutor/agents/loop/pipeline.py:1011-1033 | deeptutor/agents/loop/pipeline.py:1041-1057 | deeptutor/agents/loop/pipeline.py:1064-1080 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"850c3943c9c4c3addfcb481800ef7b762ead2f234c3e014586f978a001c1fa6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): deeptutor/capabilities/marginnote4/binding.py:48-63 | deeptutor/capabilities/obsidian/binding.py:50-70 | deeptutor/capabilities/subagent/binding.py:85-105 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/marginnote4/binding.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4133c427a30cb81db2920f025cfcfdb2f26be7f76700ae233a42fa894523224d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): deeptutor/capabilities/marginnote4/tools.py:135-141 | deeptutor/capabilities/marginnote4/tools.py:210-214 | deeptutor/capabilities/obsidian/tools.py:132-137 | deeptutor/capabilities/obsidian/tools.py:194-197 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/marginnote4/tools.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6aac60a8d1bcd0d30008f94b5595e0addca2fa8275c2809f88de835d909146f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): deeptutor/reading/models.py:154-161 | deeptutor/reading/models.py:479-485 \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":"deeptutor/reading/models.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa3971dd7ecb9d207126950ca19e0b671f5f18863e145d2be05605ed24f5ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): deeptutor/services/creations/drafts.py:113-122 | deeptutor/services/partner_groups/store.py:109-120 | deeptutor/services/partners/drafts.py:100-109 \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":"deeptutor/services/creations/drafts.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1898e7ea87a6b7b196ab2367bb66b29e9635dbbf3dd96bcb6c7349a172ea93c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): deeptutor/services/cron/repository.py:213-232 | deeptutor/services/cron/repository.py:235-248 \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":"deeptutor/services/cron/repository.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"212dbfe56aea61030785a60c309706654e579d96a34957ed911cb50989c0e819"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): deeptutor/services/learning_journal/models.py:31-38 | deeptutor/services/learning_journal/models.py:57-63 \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":"deeptutor/services/learning_journal/models.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d993c388cd5267aaca74136f5adbba19bd2f78f1ade391c9a436d864c83603ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/services/mcp/secrets.py:159-168 | deeptutor/services/skill/service.py:824-837 \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":"deeptutor/services/mcp/secrets.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"243dc247bed38b27fbcdba96c09d14eec102af54b1094590804e68c58739a2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): deeptutor/agents/question/pipeline.py:189-206 | deeptutor/agents/question/pipeline.py:251-265 \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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"37676b24f8f0e69cba65e88313e8086e61e12cca09fbf3733cff83c55afad4de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): deeptutor/services/memory/consolidator/modes/audit.py:465-478 | deeptutor/services/memory/consolidator/modes/update.py:687-698 \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":"deeptutor/services/memory/consolidator/modes/audit.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc987d7939fc79c56d99b0d5c0b58072565e4f4ed0b884b9eb484c9730cf176"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): deeptutor/services/session/source_inventory.py:367-383 | deeptutor/services/session/source_inventory.py:393-413 \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":"deeptutor/services/session/source_inventory.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3aa69613ba27810995713a5dcfb237ea1f84510ec915a38625e5d9fcf860aa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): deeptutor/services/fetch/providers/__init__.py:22-40 | deeptutor/services/search/providers/__init__.py:28-57 \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":"deeptutor/services/fetch/providers/__init__.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c50bbf78b3490d4a03492401d6a42c3928c739b058ad7385c96439557dbd545"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): deeptutor/services/imagegen/adapters/dashscope.py:181-184 | deeptutor/services/videogen/adapters/dashscope.py:176-179 | deeptutor/services/voice/adapters/dashscope.py:54-64 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/imagegen/adapters/dashscope.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebdd1738b385fd5e73e6f3a58345002a7eaff3d87dae1c184e788d226fd13cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): deeptutor/api/routers/reading.py:974-986 | deeptutor/api/routers/reading.py:993-1008 \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":"deeptutor/api/routers/reading.py"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e45e6222cd35120180abd0e5aaa65bf66860f9a7254ec23a8038d43203f61f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/runtime/isolated_worker.py:149-158 | deeptutor/services/subagent/process.py:134-149 \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":"deeptutor/runtime/isolated_worker.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"de34a952caf52d1f5e4de043ac4c9063b5b515458575b04f185a5a331605a01b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): deeptutor/services/mcp/oauth.py:108-121 | deeptutor/services/skill/credentials.py:38-46 | deeptutor/services/skill/hub.py:667-679 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/mcp/oauth.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38418a33410fffc375aec124c48df001941fceccdab3c630ef0e7e434120b3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): deeptutor/services/session/sqlite_store.py:4694-4704 | deeptutor/services/session/sqlite_store.py:4757-4768 \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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":4694}}}],"partialFingerprints":{"codehealthFindingId/v1":"f024c0bf2bed2ece5d10c7c2754d431563b8c04efe27e79bf431c8afa4d84614"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/services/skill/hub.py:252-262 | deeptutor/visualizers/store.py:211-216 \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":"deeptutor/services/skill/hub.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"629ed2a13cf6f011b999c41c4084ea8119e46b319740fcb3a48191d6ecf2d2ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): deeptutor/api/routers/plugins.py:106-115 | deeptutor/api/routers/plugins.py:123-131 \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":"deeptutor/api/routers/plugins.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9076469706acb1b1dcb64d4667d805a37c73f2fe5ac4ff26965fa7ff781c7899"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/api/routers/skills.py:93-100 | deeptutor/api/routers/skills.py:105-114 \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":"deeptutor/api/routers/skills.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daecaccaa2baee5debb9f16489d491d4808b851e746953cb20bf9f2ea97d882"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): deeptutor/services/imagegen/adapters/dashscope.py:188-195 | deeptutor/services/videogen/adapters/async_task.py:169-178 | deeptutor/services/videogen/adapters/dashscope.py:183-190 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 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":"deeptutor/services/imagegen/adapters/dashscope.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"74def31c6c865638fab40cd2504814a0167b76497087be024600c467fe3e39a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): deeptutor/services/parsing/engines/mineru/checkpoints.py:88-98 | deeptutor/services/storage/attachment_store.py:179-192 \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":"deeptutor/services/parsing/engines/mineru/checkpoints.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f84256396acb2fd1fc5717c25857136e43fb2ec12fa935c932637087072f0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): deeptutor/api/routers/plugins.py:141-151 | deeptutor/api/routers/plugins.py:155-165 \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":"deeptutor/api/routers/plugins.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9515bd27bd3c8e9b2cd8115749c64084afbdc0f265e9d1c2f03070fc8b003acd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): deeptutor/book/inputs.py:167-177 | deeptutor/book/inputs.py:301-312 \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":"deeptutor/book/inputs.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"86717c8086230bbbc945121ae4199c5b8087210b3a4285339a632d48e13106e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/book/storage.py:130-141 | deeptutor/co_writer/storage.py:196-203 \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":"deeptutor/book/storage.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"113f1ecc000d5bbd2fd1e13cb3def912bb3d64e738b1d799be2f9b46d1a05399"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): deeptutor/capabilities/obsidian/tools.py:312-320 | deeptutor/capabilities/obsidian/tools.py:340-344 \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":"deeptutor/capabilities/obsidian/tools.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"29eec96913af5976da6e0633950f2c1d6e330f04857979af25d82275dd87bc22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/services/rag/pipelines/ima/transport.py:67-74 | deeptutor/services/rag/pipelines/ima/transport.py:83-90 \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":"deeptutor/services/rag/pipelines/ima/transport.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7b8255c22c013b4fef842c1bea284891b315b540e3a5acf71c7d56543af851"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): deeptutor/api/routers/mastery_path.py:1350-1366 | deeptutor/api/routers/mastery_path.py:1382-1395 | deeptutor/api/routers/mastery_path.py:1400-1406 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 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":"deeptutor/api/routers/mastery_path.py"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"032551e9383dc03d641ef983ef9aaa0b55a7947304f5bda49de8bbbae58c6a18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): deeptutor/api/routers/notebook.py:253-272 | deeptutor/api/routers/notebook.py:308-327 | deeptutor/api/routers/notebook.py:377-397 | deeptutor/api/routers/notebook.py:444-455 | deeptutor/api/routers/notebook.py:478-493 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/notebook.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"96145e00dc5629054738ff6f38f5b5b7fe1e05d29bc192940f2895762e6a5841"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): deeptutor/api/routers/co_writer.py:855-866 | deeptutor/api/routers/co_writer.py:892-904 \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":"deeptutor/api/routers/co_writer.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf03309cac40650f06a008f1c006c4e80460dbe0675349d2de4e9c6d8d97ca95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): deeptutor/api/routers/partner_groups.py:174-180 | deeptutor/api/routers/partner_groups.py:304-315 | deeptutor/api/routers/partner_groups.py:324-335 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 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":"deeptutor/api/routers/partner_groups.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b201db9ac1b27b88e363f9672bfbeffca39b05afa6438d64dcbfeb44b5cf09e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/services/llm/provider_core/claude_code_provider.py:560-567 | deeptutor/services/llm/provider_core/claude_code_provider.py:609-616 \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":"deeptutor/services/llm/provider_core/claude_code_provider.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9011d21a9dffee0f2121478546adc210eb4a25435e40f7d507ee4c9d23cd9b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/services/mcp/oauth.py:192-201 | deeptutor/services/mcp/oauth.py:213-224 \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":"deeptutor/services/mcp/oauth.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ecaaf59feb8e24e7ec713f1fe4a6e6781e56d6622b00dd20076f40d33586d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/api/routers/knowledge.py:4452-4465 | deeptutor/api/routers/knowledge.py:4470-4479 \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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":4452}}}],"partialFingerprints":{"codehealthFindingId/v1":"311d15ca4df606a0ff0baa917dcceb47fa7e5443493a9807f4ae2d7a5fb30b2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): deeptutor/book/generation_context.py:78-93 | deeptutor/book/generation_context.py:110-123 \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":"deeptutor/book/generation_context.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29f139fa4a49c3791cb7326cdeab47c612a889c4400b61b097047010f92bd0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): deeptutor/book/storage.py:159-170 | deeptutor/book/storage.py:321-333 \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":"deeptutor/book/storage.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9e92b8eff9695c2fbbd7b14f20b1a3066d4c28c393cc819551d486922617b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/partners/channels/weixin.py:293-300 | deeptutor/partners/channels/weixin.py:309-316 \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":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e431da398d50831694ad0dbc801b1b79c38f8489f17742e87eaaa5d1d341ffdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): deeptutor/services/config/model_catalog.py:45-51 | deeptutor/services/subagent/hermes_remote.py:312-318 \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":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce59bf67698daf3ba43cab730d7687932733faeaccbc3c9a8174b92caacf2b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/visualizers/registry.py:83-88 | deeptutor/visualizers/registry.py:91-96 \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":"deeptutor/visualizers/registry.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a3c0f9be454a5e20048884f664e6d2fec32a62f8e513462b949b09abb87363"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): deeptutor_cli/skill_prompts.py:140-145 | deeptutor/services/skill/service.py:733-737 \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":"deeptutor_cli/skill_prompts.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e406181a82cbe1d70bedcee5be96ea09d3e424d7185ece7d6751300d7f564b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): scripts/export_discord_history.py:73-82 | deeptutor/multi_user/device_credentials.py:38-46 \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":"scripts/export_discord_history.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d9b94bca3072c2f9b12e109bf9a94715fa6aa5e70c79bd620ae5405f612732"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/api/routers/personas.py:147-154 | deeptutor/api/routers/skills.py:306-315 \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":"deeptutor/api/routers/personas.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd05ee460b1eeb8ba5091b028a8a5f547590f9303edabf83b317107e229aaff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): deeptutor/capabilities/marginnote4/store.py:377-389 | deeptutor/services/session/sqlite_store.py:2597-2624 \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":"deeptutor/capabilities/marginnote4/store.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cbc3e3fff6e99f9a276fb1da4f438ad37a13486ce70c6ff50275b2c59f33c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/services/rag/kb_paths.py:38-47 | deeptutor/services/rag/provider_binding.py:20-29 \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":"deeptutor/services/rag/kb_paths.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c71df4c1b56bcf3826b0c04a9766bc64757f5c7e415456f8ce815e957f7038"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): deeptutor/api/routers/partner_groups.py:153-160 | deeptutor/api/routers/partners.py:1391-1397 \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":"deeptutor/api/routers/partner_groups.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2657010541ca6430fb131f5172afaabc9e94eb6c5446fae1699421458db0de3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): deeptutor/api/routers/partner_groups.py:206-217 | deeptutor/api/routers/partner_groups.py:222-232 \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":"deeptutor/api/routers/partner_groups.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e305e704c0d81f3bd9b0a794bc31902034b334941795636b2abf125f5337a757"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): deeptutor/api/routers/video_learning.py:389-393 | deeptutor/capabilities/reading/capability.py:476-479 | deeptutor/reading/ingestion.py:1167-1170 | deeptutor/video_learning/notes.py:25-30 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/video_learning.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"214027bc52f86f4ece1abd3754a8950afe9b1560b70ac43eb7ccb61bf70d3b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): deeptutor/learning/storage.py:2163-2181 | deeptutor/services/storage/file_library.py:322-333 \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":"deeptutor/learning/storage.py"},"region":{"startLine":2163}}}],"partialFingerprints":{"codehealthFindingId/v1":"191f8f9ecc5a20cd868cfdea0e62b846b9c28c253f70b75aca91c0f3cb7f26c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/reading/translation.py:49-54 | deeptutor/reading/quiz.py:49-54 \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":"deeptutor/reading/translation.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f71a5cfea0fa61f4cfb72a71c52f0de6638879d1f6301603128c81df3a8096a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/services/memory/snapshot/store.py:74-81 | deeptutor/services/partner_groups/memory.py:177-193 \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":"deeptutor/services/memory/snapshot/store.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"442dce697ea6266e97103b5a79718b3c91439d86607843f6a6354874e5b28220"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): deeptutor/agents/research/pipeline.py:2496-2505 | deeptutor/learning/objective_relations.py:30-38 \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":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":2496}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d295bd2f7ba4c7c4bcc989a0ac6035a5f08d55eed532c7fb1d9829d31eeb5e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): deeptutor/services/config/provider_runtime.py:1136-1152 | deeptutor/services/session/_turn_runtime_shared.py:51-59 \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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00db5c87049b6c31bd6ad8356f972a6f4f120407cf82cf76ef117d08a0b4176"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/services/subagent/opencode_family.py:94-103 | deeptutor/services/subagent/antigravity.py:135-142 \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":"deeptutor/services/subagent/opencode_family.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"37efc447faeb0734ca0745f673e83da831aefeeed2da525c957601160d52d478"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): deeptutor/knowledge/add_documents.py:93-101 | deeptutor/knowledge/manager.py:2466-2474 \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":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c88c4e45c14eeb79ab8f6118ea8cd9a121ccf910ce37438cbfb57e488a4054"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/learning/storage.py:2002-2011 | deeptutor/reading/catalog_store.py:361-371 \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":"deeptutor/learning/storage.py"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c051a62f25add424580a97a0fb5252a5536d79c97a40dba6ad2a428ff20b390"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): deeptutor/multi_user/device_credentials.py:394-405 | deeptutor/multi_user/guardians.py:167-178 \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":"deeptutor/multi_user/device_credentials.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c193d4fbf763bd0d77b995bebd67e33d730ada3845c8116d2b1ba850ca9bcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/reading/references.py:167-174 | deeptutor/services/session/_turn_runtime_shared.py:1146-1159 \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":"deeptutor/reading/references.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bde09f8d9432b236e76f787808708fde4f713e7ffe0984a314203ccbbcf12b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): deeptutor/services/voice/adapters/dashscope.py:42-50 | deeptutor/services/generation_http.py:77-83 \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":"deeptutor/services/voice/adapters/dashscope.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"149345ac3898446a0a9442835961822e826756d91c97a322e5930d2017ff3785"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): deeptutor/runtime/agentic/__init__.py:75-80 | deeptutor/runtime/registry/__init__.py:23-29 | deeptutor/services/llm/provider_core/__init__.py:49-55 | deeptutor/tools/builtin/__init__.py:2474-2482 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/agentic/__init__.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba92f274f756a8dca82962092df1be8c83f45dc56c14e7826e482a1532672a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/services/cron/repository.py:108-117 | deeptutor/services/web_source/repository.py:124-134 \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":"deeptutor/services/cron/repository.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31cb1da072de04e2fd062d80c25e6d84cd4f36412b10ee0c8e7f1a0f333e3fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): deeptutor/services/parsing/engines/_install.py:108-116 | deeptutor/services/parsing/engines/mineru/models.py:99-105 \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":"deeptutor/services/parsing/engines/_install.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad7e67bc0fd0d23228bcbffbf6e0580c9733260235c4d4b1ade8e6ca19b0b64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/agents/loop/prompt_blocks.py:322-327 | deeptutor/capabilities/explore_context/explorer.py:718-723 \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":"deeptutor/agents/loop/prompt_blocks.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a627c1c1a06d0e0151bdc62e0833393607ee989e320321813ab08c2dffb743"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): deeptutor/capabilities/marginnote4/tools.py:286-288 | deeptutor/capabilities/obsidian/tools.py:269-271 \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":"deeptutor/capabilities/marginnote4/tools.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd3d1213277400f20f6e5edcf1f6b7cf85d694eacbf68923c8e411e72c6fb35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/partners/channels/weixin.py:278-283 | deeptutor/partners/channels/weixin_qr.py:181-187 \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":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"7882eb4779b75a38398e70f7c535303e2ca1dcc23189e7d3b3605589e2b35369"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/services/rag/pipelines/lightrag/storage.py:178-187 | deeptutor/services/rag/index_probe.py:288-295 \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":"deeptutor/services/rag/pipelines/lightrag/storage.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac355c5a4422d80f5338eee65da411766f72b04ddb69bb0248a463716d6b3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/book/storage.py:182-190 | deeptutor/co_writer/storage.py:261-268 \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":"deeptutor/book/storage.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fc9b8ca8f29549620be0a7de560d467580b510902cac05b3f134198ae6c99c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): deeptutor/services/config/capabilities_settings.py:149-155 | deeptutor/utils/config_manager.py:49-53 \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":"deeptutor/services/config/capabilities_settings.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f971322365af7d98d5628eb406361272914be7b65826bfdff55a7391b1e92d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): deeptutor/book/kb_health.py:56-64 | deeptutor/knowledge/staging.py:21-26 | deeptutor/services/parsing/cache.py:39-45 \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":"deeptutor/book/kb_health.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc35c4a7f27890f23efd4f0cba31b661623b360a44551866cffdcc8ee41a7f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): deeptutor/services/rag/source_pages.py:41-45 | deeptutor/services/rag/visual_assets.py:88-92 \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":"deeptutor/services/rag/source_pages.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd1b97555969a4596507e12baf6121825fa0137b06bda240c06673ec3e5c28f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): deeptutor/partners/helpers.py:11-20 | deeptutor/api/routers/auth.py:1339-1352 \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":"deeptutor/partners/helpers.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef131127642d95658b4083bdde518058ac0730a4db0abe064c4e3681556e4f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): deeptutor/services/rag/pipelines/graphrag/pipeline.py:68-72 | deeptutor/services/rag/pipelines/pageindex/pipeline.py:299-305 \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":"deeptutor/services/rag/pipelines/graphrag/pipeline.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"15aa9e6c95eadaa26a5a07d28a797c9ef9a753199f4ce2e8829749f73d6d14ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/api/routers/auth.py:328-337 | deeptutor/api/routers/multi_user.py:95-102 \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":"deeptutor/api/routers/auth.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fbea16e015864ad0a1eb6ceeb76b7be980d7d3b7a9417168d2b9088326c8e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): deeptutor/capabilities/obsidian/vault.py:206-213 | scripts/install_extras.py:37-43 \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":"deeptutor/capabilities/obsidian/vault.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8221f1468889e09482722033c139b949edac349136d6411ed0be0894c5b2b44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): deeptutor/learning/storage.py:791-800 | deeptutor/services/session/sqlite_store.py:1136-1144 \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":"deeptutor/learning/storage.py"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"6081aa20624dadc9bcb6398f0c8c8f73f85586ca48fa83cc8f66cebc4dd3e303"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/learning/storage.py:1049-1055 | deeptutor/reading/catalog_store.py:353-358 \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":"deeptutor/learning/storage.py"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"941e4668dc466f0686e65ba9220b4ee1bea65d2363bfeae95af69b461b6ade87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/runtime/agentic/client.py:257-262 | deeptutor/services/llm/provider_core/base.py:141-155 \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":"deeptutor/runtime/agentic/client.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"82152ca89dc5695949ecccbbbd087c5922fb9c060cbd6db6869894df9f6ab685"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): deeptutor/services/rag/pipelines/ima/media.py:160-167 | deeptutor/services/mcp/catalog/loader.py:234-236 \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":"deeptutor/services/rag/pipelines/ima/media.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"faaff59476a57dcf6a7d87666fb0ddeb3ab702acf4ee15f7e0c138a96c21cf7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): deeptutor/textbook_struct/chapter_rebuild.py:42-44 | deeptutor/textbook_struct/page_headers.py:22-24 \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":"deeptutor/textbook_struct/chapter_rebuild.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b788e44a508d842f73d74e2079811b76a02162bd9eafbdd425ffe720c1646360"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): deeptutor/capabilities/mastery/tools.py:3447-3458 | deeptutor/services/rag/eval/matching.py:55-67 \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":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":3447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0d9781aca3694dcfa9ce83c2e014988a721df27588c661025875808dc5c2e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): deeptutor/services/subagent/claude_models.py:108-111 | deeptutor/services/subagent/sessions.py:50-52 \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":"deeptutor/services/subagent/claude_models.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fed9fe1a22e2af34c7adf5ee22baaa90ac1b0c90b171396d6f53464a6a50871"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/learning/prompts.py:23-28 | deeptutor/services/prompt/lookup.py:16-22 \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":"deeptutor/learning/prompts.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30e5a7935cadf730d8e64bb43fc1d5d8e53f57a0a8c345a5a9a4d9452787335"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/learning/storage.py:1424-1430 | deeptutor/services/session/sqlite_store.py:1336-1341 \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":"deeptutor/learning/storage.py"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"df16a3940cad0805379bff28a5c0139166ab8973bca78368daf83d2a5b1237e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): deeptutor/services/cron/executor.py:33-36 | deeptutor/services/learning_journal/store.py:39-42 | deeptutor/video_learning/notes.py:34-37 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/cron/executor.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97f84401c32b9f80d2d70f7ac85ec570e0655f2f889af8d21b19f262a009f41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/services/mcp/secrets.py:49-56 | deeptutor/video_learning/invidious_account_storage.py:34-39 \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":"deeptutor/services/mcp/secrets.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0a7182f836000b3d7fba38b1cd353c207c8b5a56ae80471e1b564b20dff7bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/services/session/sqlite_store.py:1599-1612 | deeptutor/services/storage/file_library.py:308-315 \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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"030eeee1bec751e15efede8460ab21e20135e0e54b20f191402bc7f187f4ff59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/services/memory/consolidator/line_doc.py:428-433 | deeptutor/services/memory/document.py:92-98 \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":"deeptutor/services/memory/consolidator/line_doc.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3b23f48f2f7db831079bdf29f864f556091af3b60e6f9a87e9b40502d097ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): deeptutor/services/notebook/service.py:748-752 | deeptutor/services/session/sqlite_store.py:4894-4898 \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":"deeptutor/services/notebook/service.py"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48a0a29234d1ce7d6e04ce6e7f9768f231dc5db672d767943324c0b6668d05e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/services/partner_groups/manager.py:106-111 | deeptutor/services/partners/manager.py:344-351 \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":"deeptutor/services/partner_groups/manager.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd81239136a0524958a0ae88a26d6669c53c16f4913ea0c51f650963aec67370"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 3\u002B corresponding lines): deeptutor/capabilities/ask_questions/loop.py:48-50 | deeptutor/capabilities/ima/capability.py:87-89 | deeptutor/capabilities/marginnote4/capability.py:76-78 | deeptutor/capabilities/obsidian/capability.py:78-80 | deeptutor/capabilities/setup/capability.py:103-105 | deeptutor/capabilities/solve/loop.py:78-80 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 3 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":"deeptutor/capabilities/ask_questions/loop.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4c917d9811a7041478f8928b49a708be207d0e401f66f43200c90e72780ce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): deeptutor/partners/channels/mochat.py:1063-1069 | deeptutor/runtime/agentic/messages.py:100-112 \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":"deeptutor/partners/channels/mochat.py"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df1620166c854c5b03696fadbadb660f9a2554414807ba42c78cd1335faddb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): deeptutor/capabilities/marginnote4/capability.py:61-68 | deeptutor/capabilities/obsidian/capability.py:61-70 \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":"deeptutor/capabilities/marginnote4/capability.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4852f1dc7112543d9a0d938adc9842d44bd1b7df5b68666b0a6d9fe4163fa393"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): deeptutor/reading/catalog_store.py:962-968 | deeptutor/services/storage/file_library.py:403-413 | deeptutor/services/web_source/repository.py:280-289 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 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":"deeptutor/reading/catalog_store.py"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb72130f06bd4494c8e842c1c579970f9964e16f1b7ecec4901670d5abe7503e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): deeptutor/services/creations/drafts.py:179-182 | deeptutor/services/partner_groups/store.py:133-136 | deeptutor/services/partners/drafts.py:118-121 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/creations/drafts.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"623e7c360d0616bfde56e361522d7c2de97fd982762e2a0d6bdae3084fc8d8e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): deeptutor/services/parsing/engines/docling/content_list.py:85-87 | deeptutor/services/rag/pipelines/lightrag/pipeline.py:81-83 \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":"deeptutor/services/parsing/engines/docling/content_list.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf9eaf2646de784d0c857880b8ce378ac9d58660aefcc1a534fec172e68da32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): deeptutor/agents/notebook/_text.py:7-11 | deeptutor/services/session/_turn_runtime_shared.py:301-304 \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":"deeptutor/agents/notebook/_text.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef8861f353a04fbda954c3adb2582990fd8cceb50d03ca0830e2239fecb06d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 2\u002B corresponding lines): deeptutor/capabilities/reading/capability.py:483-484 | deeptutor/capabilities/reading/tools.py:650-651 | deeptutor/tools/question_bank.py:73-74 | deeptutor/video_learning/reading_migration.py:42-43 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 2 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":"deeptutor/capabilities/reading/capability.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7fd87d2e4ceade8ba286db7fe45b7330f3918fec8036d986d2e89799c0cac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): deeptutor/partners/channels/weixin.py:253-259 | deeptutor/partners/channels/weixin_qr.py:69-71 \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":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"635ed8084353c8b8628b889fcccdd9025618a8029125452c7f2abb9f31e03075"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): deeptutor/services/llm/provider_core/claude_code_provider.py:363-366 | deeptutor/services/llm/provider_core/codebuddy_provider.py:355-358 \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":"deeptutor/services/llm/provider_core/claude_code_provider.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d9e3ee39a006b0d68700669685a82fadfda2aeddf5d585adad18a54c4a1df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): deeptutor/services/subagent/claude_code.py:343-347 | deeptutor/services/subagent/kimi.py:262-265 | deeptutor/services/subagent/opencode_family.py:502-505 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/claude_code.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"01de604978109e45f1dcb8839133f08e02481352ca957d90e004e71c983e94b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): deeptutor/api/routers/quiz_judge.py:335-344 | deeptutor/services/llm/multimodal.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":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc063a6f7dcefaab1d5d5074a38a7caeb739af6f87ef1e18b382c62566a05757"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 4\u002B corresponding lines): deeptutor/book/agents/source_explorer.py:101-104 | deeptutor/book/agents/spine_agent.py:21-24 | deeptutor/book/agents/spine_synthesizer.py:57-60 | deeptutor/book/blocks/section.py:55-58 | deeptutor/book/inputs.py:89-92 | deeptutor/learning/topic_materials.py:89-92 | deeptutor/services/session/source_inventory.py:226-229 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e60a004d17ab1afe8e971a4e58ae85a733a672057b2337a0513a9f003a996c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): deeptutor/book/engine.py:361-381 | deeptutor/multi_user/book_access.py:60-75 \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":"deeptutor/book/engine.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74a40db3c35c661ea4eacef6da9546f4f6e2d119616834ba8a2228f563825b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): deeptutor/book/storage.py:395-398 | deeptutor/co_writer/storage.py:389-392 \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":"deeptutor/book/storage.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6f7f3e918ea6ac7bd3aad0e5472588da5354b77a72213e8888cbc91754623d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): deeptutor/services/config/provider_runtime.py:1156-1163 | deeptutor/services/llm/context_window.py:166-171 | deeptutor/services/model_selection/llm.py:69-73 \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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"245d88845e841513a9de4297e04c9f29aad9c11cca2f00d1a3374862e4e1b8d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): deeptutor/services/parsing/engines/mineru/formats.py:34-36 | deeptutor/services/parsing/engines/tika/formats.py:212-214 \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":"deeptutor/services/parsing/engines/mineru/formats.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37d0fb1d0fc31a0359b0e3105874600b8770d61613298b64081c456d44b267b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/services/session/_turn_runtime_shared.py:122-128 | deeptutor/services/voice/speech_text.py:361-366 \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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"421527e7d53474da1e4c9259852e4bddea8f4f7f8c2a8da1baa6ff352ae63b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): deeptutor/capabilities/marginnote4/store.py:277-279 | deeptutor/learning/storage.py:1413-1421 | deeptutor/services/cron/repository.py:195-199 | deeptutor/services/session/sqlite_store.py:1676-1688 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 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":"deeptutor/capabilities/marginnote4/store.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee135cfd6d9a2adaa157826cd5f62f4c36b2d06154dbfdb42c9abf9505f2b569"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): deeptutor/agents/question/pipeline.py:1624-1625 | deeptutor/agents/research/pipeline.py:2111-2112 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f11cf51845097b82b6146add8b140e2333048be03056eb46193e1c9cc78e01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): deeptutor/services/persona/service.py:117-120 | deeptutor/services/skill/service.py:238-241 \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":"deeptutor/services/persona/service.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8668ec6e25652c478ca5ea68f190e982c64ed54feed17d5d94e9a99ac6b2e076"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): deeptutor/capabilities/reading/tools.py:627-632 | deeptutor/services/rag/pipelines/ima/client.py:335-340 \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":"deeptutor/capabilities/reading/tools.py"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1dd99c25359bf865643ad1b690a0a8e06973e541caffb93ebdb6905ff8a826"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): deeptutor/runtime/registry/scoped_registry.py:102-103 | deeptutor/runtime/registry/tool_registry.py:150-152 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/registry/scoped_registry.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45ae7e27486191c1414839ef6de0fef6451cdada9d7dca9b923cfd940f98225"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): deeptutor/services/config/embedding_endpoint.py:177-178 | deeptutor/services/config/provider_runtime.py:578-580 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/embedding_endpoint.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c868a86af5ed317d3498aed309c46fdc705440eec6423aa462b0621e3d8098"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): deeptutor/api/routers/file_library.py:99-103 | deeptutor/api/routers/sessions.py:472-482 \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":"deeptutor/api/routers/file_library.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32d94e7d40bfb453803c09820e3a3cb530b094d6e8b9df0d20f65740645ea95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (110 lines \u00D7 2): deeptutor/services/memory/consolidator/modes/audit.py:149-258 | deeptutor/services/memory/consolidator/modes/audit.py:289-398 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/memory/consolidator/modes/audit.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e8780bc4bf275633e8332fee1baaf327012c3dabd20f462095a8439030969d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60\u201383 lines \u00D7 2): deeptutor/agents/math_animator/capability.py:138-220 | deeptutor/agents/visualize/capability.py:408-467 \u2014 \u0060deeptutor/agents/math_animator/capability.py\u0060 and \u0060deeptutor/agents/visualize/capability.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 6 separate duplicated blocks between them, totalling at least 246 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/agents/math_animator/capability.py:138\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":"deeptutor/agents/math_animator/capability.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db2fdcf1e7cc76906e77571534d11e47765609f7fa76fd5b5347dd5b1be6e24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (74 lines \u00D7 2): deeptutor/agents/math_animator/capability.py:63-136 | deeptutor/agents/visualize/capability.py:330-403 \u2014 \u0060deeptutor/agents/math_animator/capability.py\u0060 and \u0060deeptutor/agents/visualize/capability.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 6 separate duplicated blocks between them, totalling at least 246 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/agents/math_animator/capability.py:63\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":"deeptutor/agents/math_animator/capability.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"890fe95af5a69c4ab63901ff28c83cb4fa10f8b1ae63f31b85fc33c1dc79cb10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): deeptutor/services/memory/consolidator/modes/update.py:257-314 | deeptutor/services/memory/consolidator/modes/update.py:488-545 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/services/memory/consolidator/modes/update.py:257\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":"deeptutor/services/memory/consolidator/modes/update.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d46952a7b9b579c6ab7f010a4b3358dc8ccb5f8f042765b82d05e5f8645a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201344 lines \u00D7 2): deeptutor/services/memory/consolidator/modes/update.py:318-361 | deeptutor/services/memory/consolidator/modes/update.py:548-590 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/memory/consolidator/modes/update.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dee4186fe1b0750b87ac274b03c14fbe6f38a935a72f222b189382e538569d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 3): deeptutor/agents/math_animator/capability.py:238-276 | deeptutor/agents/question/capability.py:365-403 | deeptutor/agents/visualize/capability.py:509-547 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/agents/math_animator/capability.py:238\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, 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":"deeptutor/agents/math_animator/capability.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fc7d3d584bd195ac195ba363d2102e0b859573e70744ab1d248a21ff582384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): deeptutor/services/session/turns/learning_adapter.py:234-271 | deeptutor/services/session/turns/learning_adapter.py:378-415 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/session/turns/learning_adapter.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"480324fc7da965fdbe08b00e60ca33c8b7c7fb1fdaf12a3373e7838672475145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201337 lines \u00D7 2): deeptutor/tools/brainstorm.py:54-75 | deeptutor/tools/reason.py:51-87 \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":"deeptutor/tools/brainstorm.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d9bdff050ec355765dbeb13fa571232b8d077e132e628860e91c7417ef6932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201336 lines \u00D7 2): deeptutor/services/embedding/client.py:177-212 | deeptutor/services/embedding/client.py:269-301 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/embedding/client.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"131680a4251ae075b2b52b5bd25997398f64a4723bfaf0e4f7c81140cde29813"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): deeptutor/services/search/providers/searchapi.py:105-137 | deeptutor/services/search/providers/serply.py:88-120 \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":"deeptutor/services/search/providers/searchapi.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"472472458877b3517c1319659cd6258115530081372d17da2600d39625e9de88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): deeptutor/agents/base_agent.py:402-432 | deeptutor/agents/base_agent.py:574-603 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/agents/base_agent.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"b864a8100fd5a0e35742edb2870a4722e5348444ab3274f1aacf8641e88b22ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201329 lines \u00D7 2): deeptutor/services/parsing/engines/_install.py:232-257 | deeptutor/services/parsing/engines/mineru/models.py:179-207 \u2014 before extracting anything, compare \u0060deeptutor/services/parsing/engines/_install.py\u0060 and \u0060deeptutor/services/parsing/engines/mineru/models.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/parsing/engines/_install.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b593b932b5a420f96501d37814ea6bdc20f14fa99353efd36327c6d8a577b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): deeptutor/book/agents/source_explorer.py:297-324 | deeptutor/book/agents/source_explorer.py:703-730 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/book/agents/source_explorer.py:297\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":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"880412a704de0f871bf4f5b0170c6858a889d12a7fbdee4adcd41475b5c1811b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): deeptutor/knowledge/manager.py:1167-1193 | deeptutor/knowledge/manager.py:1211-1236 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/knowledge/manager.py"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db4b11577b02f505ea0218f7667a4cd700f994f0f8ff91cc22004de8770025b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): deeptutor/tools/brainstorm.py:80-104 | deeptutor/tools/reason.py:94-119 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, 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":"deeptutor/tools/brainstorm.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21a8dbdaddde19d8e4e52bc426a3c12e4a9f447effe18123b3a778dd085c124"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201325 lines \u00D7 5): deeptutor/book/blocks/animation.py:44-47 | deeptutor/book/blocks/animation.py:48-70 | deeptutor/book/blocks/code.py:68-71 | deeptutor/book/blocks/figure.py:38-62 | deeptutor/book/blocks/interactive.py:38-62 \u2014 there are 5 copies across 4 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/book/blocks/animation.py:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060deeptutor/book/blocks/figure.py:36\u0060 calls \u0060get\u0060, \u0060str\u0060 and \u0060deeptutor/book/blocks/animation.py:44\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":"deeptutor/book/blocks/animation.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e33be2c05694f410cceee369741b33e1100ece5445a37d3299e0f531f347ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): deeptutor/book/blocks/deep_dive.py:27-51 | deeptutor/book/blocks/timeline.py:25-49 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060deeptutor/book/blocks/deep_dive.py:52\u0060 calls \u0060str\u0060, \u0060get\u0060, \u0060strip\u0060 and \u0060deeptutor/book/blocks/timeline.py:50\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":"deeptutor/book/blocks/deep_dive.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb70961e6270ded5d535b6e1dae65c77e4022193c3cf7147d7ccdd5fe454ecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): deeptutor/services/config/launch_settings.py:54-78 | deeptutor/services/settings/interface_settings.py:128-152 \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":"deeptutor/services/config/launch_settings.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a907ae99cdd790e4c734ff8936cdb0709ec1e4177f9144c2a6b0173d7708b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): deeptutor/agents/math_animator/capability.py:278-300 | deeptutor/agents/question/capability.py:405-428 | deeptutor/agents/visualize/capability.py:549-571 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/agents/math_animator/capability.py:278\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/math_animator/capability.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefe7d2202485aa0e59f4964c9c0dc3a30527e7eed02423d8b0517c3be21439b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): deeptutor/services/partner_groups/manager.py:1005-1028 | deeptutor/services/partner_groups/manager.py:1068-1090 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/services/partner_groups/manager.py:1005\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/partner_groups/manager.py"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ea6cafe9afead38b7172185471e7c12ef62a6381e6e6364e940972be72dd9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 3): deeptutor/knowledge/manager.py:1036-1056 | deeptutor/knowledge/manager.py:1168-1190 | deeptutor/knowledge/manager.py:1212-1233 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060deeptutor/knowledge/manager.py:1057\u0060 calls \u0060strip\u0060, \u0060lower\u0060 and \u0060deeptutor/knowledge/manager.py:1191\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":"deeptutor/knowledge/manager.py"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdacfac6a0e7557eed08efa8be2e62d2cbe588d48a56cd85f19c83c01e07ddf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): deeptutor/knowledge/manager.py:2279-2301 | deeptutor/knowledge/manager.py:2372-2396 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/knowledge/manager.py"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc0d28f7729dcb5ff5201fb21e35830cb5184fe7421539f5d9eb3e42404eeda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201323 lines \u00D7 2): deeptutor/services/llm/provider_core/base.py:454-476 | deeptutor/services/llm/provider_core/base.py:505-522 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/services/llm/provider_core/base.py:454\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/base.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5f8f64d0cf40d8a776013ae1fad04eea0b43aa77f1b0e547374f3c09f0cb23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 2): deeptutor/services/mastery_hints.py:152-174 | deeptutor/services/reading_hints.py:145-163 \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":"deeptutor/services/mastery_hints.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1b684a9c9dc54a4544abb4d1b075473a0ba2d4a0638e2d3f400eef3448d3d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): deeptutor/services/memory/consolidator/modes/update.py:219-241 | deeptutor/services/memory/consolidator/modes/update.py:447-469 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/consolidator/modes/update.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdd6b6ff0469ba43248a41cf47537c4dc002cb45785158006dfe2f4e686a1d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): deeptutor/services/llm/provider_core/claude_code_provider.py:574-593 | deeptutor/services/llm/provider_core/codebuddy_provider.py:466-487 \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":"deeptutor/services/llm/provider_core/claude_code_provider.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c1493b93dd25a987983090004f9e7612d4ccff427f1d9bf584e567ec794098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 4): deeptutor/api/routers/book.py:1835-1853 | deeptutor/api/routers/book.py:1861-1881 | deeptutor/api/routers/book.py:1890-1909 | deeptutor/api/routers/book.py:1917-1936 \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 \u0060deeptutor/api/routers/book.py:1835\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 before the matched lines, \u0060deeptutor/api/routers/book.py:1833\u0060 calls \u0060get_book_bus\u0060, \u0060attach\u0060, \u0060send\u0060 and \u0060deeptutor/api/routers/book.py:1861\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":"deeptutor/api/routers/book.py"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8508aaf9460d4bfcee343e4177057afcefd4163fa548676de45bab8bad8637"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 3): deeptutor/knowledge/manager.py:899-916 | deeptutor/knowledge/manager.py:994-1012 | deeptutor/knowledge/manager.py:1256-1276 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060deeptutor/knowledge/manager.py:992\u0060 calls \u0060str\u0060, \u0060resolve\u0060 and \u0060deeptutor/knowledge/manager.py:897\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":"deeptutor/knowledge/manager.py"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"c805be5e6c15d18469943671c1e96f9d1ed3a33c2203980f8d45a8f29fb8257e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): deeptutor/book/blocks/figure.py:70-90 | deeptutor/book/blocks/interactive.py:69-89 \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":"deeptutor/book/blocks/figure.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"18224de3753576b1eb7c4d09e45e8f05078e33c02c757b7943801d28ba17e4b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201321 lines \u00D7 2): deeptutor/learning/pending.py:98-109 | deeptutor/learning/pending.py:140-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. The matched lines also transfer control out of the body holding them, 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":"deeptutor/learning/pending.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb505471ce4f93313455962f51435bd36995c7cbfd4da080344a278dc18d1d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): deeptutor/services/search/source_filter.py:399-419 | deeptutor/services/search/source_filter.py:422-442 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/search/source_filter.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bc37edcb098044a11e390c626f7254457312f798abf96dd24668ff320f8b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): deeptutor/agents/question/pipeline.py:1820-1839 | deeptutor/agents/research/pipeline.py:2289-2308 \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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3fae1a33eba138d848646ade334a517921b68cf13d1cf4afe30abc06223906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): deeptutor_cli/init_cmd.py:38-57 | deeptutor_cli/init_cmd.py:452-470 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor_cli/init_cmd.py:38\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":"deeptutor_cli/init_cmd.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53f89de09adc91134b8070d424d803a7d65d1669e16e96048d4e78158741397"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): deeptutor/services/partner_groups/manager.py:947-964 | deeptutor/services/partner_groups/manager.py:1006-1024 | deeptutor/services/partner_groups/manager.py:1068-1086 \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 \u0060deeptutor/services/partner_groups/manager.py:947\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":"deeptutor/services/partner_groups/manager.py"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85cfe35752d62b6f85e3bbbe2e322dd07b4cd77e4275f6eff3e4d8c48c01e56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201319 lines \u00D7 2): deeptutor/agents/loop/pipeline.py:1011-1029 | deeptutor/agents/loop/pipeline.py:1064-1077 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"e514f9b537b4c652996a655acc397e42fe50f4b8dd474eacf1dbb49d8b22c10e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): deeptutor/api/routers/knowledge.py:1198-1216 | deeptutor/api/routers/knowledge.py:3888-3906 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/api/routers/knowledge.py:1198\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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad46da95fd8299e53adfca3d6287f95dd44618fa6be7edcc282ee9c2c5c35dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): deeptutor/multi_user/session_handoff.py:339-357 | deeptutor/multi_user/session_handoff.py:411-427 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/multi_user/session_handoff.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fbd30c47d5ab1bc107223f2d80fa658e8a0b36941ff4cbc5474c6aef6b4a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): deeptutor/services/mastery_hints.py:265-279 | deeptutor/services/reading_hints.py:253-271 \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 \u0060deeptutor/services/reading_hints.py:253\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/mastery_hints.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37727876abb0c90eba1f4de64df96f07e5a78357eb1d841c80835948cc7760e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): deeptutor/services/memory/consolidator/modes/update.py:181-199 | deeptutor/services/memory/consolidator/modes/update.py:408-426 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/memory/consolidator/modes/update.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b5fc1782184ddc99e11e2aaeee93c26513c82dd191f0f6b2defdcad756f418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): deeptutor/services/web_source/bilingual.py:180-196 | deeptutor/services/web_source/bilingual.py:230-248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note 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":"deeptutor/services/web_source/bilingual.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a5c548e5efa561aace27ac05ca18002f77ae86be3b2f0276ddd6f5fe4dfcf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201318 lines \u00D7 3): deeptutor/reading/store.py:427-444 | deeptutor/reading/store.py:597-608 | deeptutor/reading/store.py:760-771 \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 \u0060deeptutor/reading/store.py:427\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060deeptutor/reading/store.py:759\u0060 calls \u0060_reanchor_annotations\u0060 and \u0060deeptutor/reading/store.py:427\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":"deeptutor/reading/store.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64bbb1f623381c3d1e1671fef7de92d97390abf0d5142e7bfb467709856a4d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): deeptutor/api/routers/system.py:505-520 | deeptutor/api/routers/system.py:560-577 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/api/routers/system.py:505\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":"deeptutor/api/routers/system.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4cb6a35c2336ff2f33cd9ca44663bfbc96a67e740e24882564d7be17f6644a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): deeptutor/partners/channels/discord.py:212-229 | deeptutor/partners/channels/telegram.py:697-714 \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":"deeptutor/partners/channels/discord.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5c78478926065eb859876259b6cbc36957e9ad1879f4f44519c3bd70d13c62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): deeptutor/services/session/sqlite_store.py:2802-2817 | deeptutor/services/session/sqlite_store.py:2929-2946 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/services/session/sqlite_store.py:2929\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060leaf_message_id\u0060 to \u0060int\u0060 in one and \u0060int | None = None\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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":2802}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a63a3d9ebdbab7e0593c4420ec1a921ae0aa2fd5b6d99845662b2c685d175d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): deeptutor/knowledge/manager.py:944-960 | deeptutor/knowledge/manager.py:1039-1056 | deeptutor/knowledge/manager.py:1171-1190 | deeptutor/knowledge/manager.py:1215-1233 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060deeptutor/knowledge/manager.py:1057\u0060 calls \u0060strip\u0060, \u0060lower\u0060 and \u0060deeptutor/knowledge/manager.py:1191\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":"deeptutor/knowledge/manager.py"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbadcc6729a677d1a4fb3662011b79683914555ee831fb61bc84557f6479b50d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): deeptutor/api/routers/knowledge.py:2369-2385 | deeptutor/api/routers/knowledge.py:2480-2495 | deeptutor/api/routers/knowledge.py:2550-2566 \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 \u0060deeptutor/api/routers/knowledge.py:2369\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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"588fc893e34a1f18b8de05ca93558ebe70ab7a1e10f94e6cea41739ae627df34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): deeptutor/book/agents/ideation_agent.py:58-72 | deeptutor/book/agents/source_explorer.py:299-315 | deeptutor/book/agents/source_explorer.py:705-721 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/book/agents/source_explorer.py:299\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":"deeptutor/book/agents/ideation_agent.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"24855a8ac3561c38742053ce8c1ba5b5ac76d12e66f15a845a009beab9b18740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): deeptutor/agents/loop/pipeline.py:2081-2097 | deeptutor/agents/loop/pipeline.py:2098-2114 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"1017d7c4ad678e7be4ccc2b989fab96085f616d606b5c97bacaafab4b9a97ea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): deeptutor/agents/math_animator/capability.py:39-53 | deeptutor/agents/visualize/capability.py:305-321 \u2014 \u0060deeptutor/agents/math_animator/capability.py\u0060 and \u0060deeptutor/agents/visualize/capability.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 6 separate duplicated blocks between them, totalling at least 246 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. 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":"deeptutor/agents/math_animator/capability.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"577ed08f32a76f9e94e090a21e84296d1f06ce9db9ef295b6f649ff9c96dd35e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): deeptutor/api/routers/render_storage.py:81-97 | deeptutor/api/routers/render_storage.py:165-180 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/api/routers/render_storage.py:81\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":"deeptutor/api/routers/render_storage.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07f65bc944b1fae1b17fcd22c5f371341a775e7caf45b0fa1045e87af6d4ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): deeptutor/capabilities/explore_context/capability.py:49-65 | deeptutor/capabilities/reading/capability.py:77-93 \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":"deeptutor/capabilities/explore_context/capability.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"92584005642b69811ee344189d7cae6df6fec532e0ba21751e4f75f8a5fe319b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): deeptutor/learning/service.py:1028-1044 | deeptutor/learning/service.py:1071-1087 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/learning/service.py"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"6593687e856c9fc72fb56d7d01749d09a05d45abc33de06208a57e921e79f36a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): deeptutor/services/chat_hints.py:207-223 | deeptutor/services/reading_hints.py:361-377 \u2014 before extracting anything, compare \u0060deeptutor/services/chat_hints.py\u0060 and \u0060deeptutor/services/reading_hints.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/chat_hints.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"52094920e9b73cba6e5fa76c4f44a7a39cff596626ff576efd82d6d6d795b971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): deeptutor/services/memory/consolidator/modes/audit.py:83-99 | deeptutor/services/memory/consolidator/modes/update.py:96-112 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060deeptutor/services/memory/consolidator/modes/update.py:92\u0060 calls \u0060llm_selection\u0060 and \u0060deeptutor/services/memory/consolidator/modes/audit.py:82\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":"deeptutor/services/memory/consolidator/modes/audit.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee4a9f0b34c28cffc5cc2ce98daaa62ba9bfa65cc9e4c60f7547819e4aaeff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201317 lines \u00D7 2): deeptutor/services/memory/snapshot/adapters.py:491-507 | deeptutor/services/memory/snapshot/adapters.py:549-559 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dc2538bfa476bb2431c4b95868764734ffae555aa0b962ba3255f963ad4a23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): deeptutor/services/partner_groups/manager.py:985-1001 | deeptutor/services/partner_groups/manager.py:1047-1063 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/services/partner_groups/manager.py:985\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":"deeptutor/services/partner_groups/manager.py"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2a80ded77ea455118b6b1ffea715880b02a9983d0cd216b7a6ea17fe79879c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): deeptutor/services/session/pocketbase_store.py:1476-1491 | deeptutor/services/session/pocketbase_store.py:1501-1517 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"405a1c70e78a7a580eda9c891f52f3964cb48404669fb7f0d18507f2c4a346db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): deeptutor/services/skill/hub.py:524-538 | deeptutor/services/skill/hub.py:581-597 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/services/skill/hub.py:524\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":"deeptutor/services/skill/hub.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae72236a2d9b76522e2a2769e6443ec30658a9427aeea6c794baf6dc83ab48f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): deeptutor/services/subagent/deepseek_harness.py:150-165 | deeptutor/services/subagent/hermes.py:128-144 \u2014 before extracting anything, compare \u0060deeptutor/services/subagent/deepseek_harness.py\u0060 and \u0060deeptutor/services/subagent/hermes.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/services/subagent/hermes.py:128\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/deepseek_harness.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fce1f9fdaf79cf5c7627250e2f8f002af7684059030956095fbcb099461fcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): deeptutor/services/voice/adapters/dashscope.py:286-302 | deeptutor/services/voice/audio.py:43-59 \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 \u0060deeptutor/services/voice/adapters/dashscope.py:286\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":"deeptutor/services/voice/adapters/dashscope.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"4481fe4fb7a0a448241aacde044a20a202c91de4bd31b355e7b5d375251df2c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): deeptutor/services/search/providers/brave.py:62-77 | deeptutor/services/search/providers/duckduckgo.py:50-65 | deeptutor/services/search/providers/google_browser_scraper.py:117-132 \u2014 before extracting anything, compare \u0060deeptutor/services/search/providers/brave.py\u0060 and \u0060deeptutor/services/search/providers/duckduckgo.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/services/search/providers/brave.py:62\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":"deeptutor/services/search/providers/brave.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9ea36a4a6c65d683368bf2aa5b93b6c3928735ec09964884c6dcf22147d198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): deeptutor/agents/math_animator/agents/concept_analysis_agent.py:63-78 | deeptutor/agents/math_animator/agents/visual_review_agent.py:69-84 \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 \u0060deeptutor/agents/math_animator/agents/concept_analysis_agent.py:63\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":"deeptutor/agents/math_animator/agents/concept_analysis_agent.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9fdb17d505451eecd8a0a63ea9dbcf1527707116c99f793f466e045aa663db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): deeptutor/agents/question/capability.py:276-291 | deeptutor/agents/question/capability.py:306-321 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/agents/question/capability.py:276\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":"deeptutor/agents/question/capability.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"0548575f7f44a8a380d5fdb3d67ee6e13daa390db6e7f706d4525f1e0fd68dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): deeptutor/agents/question/pipeline.py:1606-1621 | deeptutor/agents/research/pipeline.py:2068-2083 \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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39e475420deaffcfe85908b3d67f70ed3f94bcdac0c3c34ed6d164f22103105"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): deeptutor/capabilities/obsidian/binding.py:50-65 | deeptutor/capabilities/subagent/binding.py:85-100 \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 \u0060deeptutor/capabilities/obsidian/binding.py:50\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":"deeptutor/capabilities/obsidian/binding.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd8024936dc0f7d63c47a4ffef84fbfe0a2361dfed01efb5a0a7bf3f5cbcf4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): deeptutor/services/llm/multimodal.py:108-123 | deeptutor/services/subagent/images.py:73-86 \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":"deeptutor/services/llm/multimodal.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"318e0c6fd2040223ef985a7e1a40f671346fe96038d286a538a85e870a2eb2bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): deeptutor/services/search/providers/aliyun_iqs.py:132-147 | deeptutor/services/search/providers/bocha.py:106-121 \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 \u0060deeptutor/services/search/providers/aliyun_iqs.py:132\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":"deeptutor/services/search/providers/aliyun_iqs.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"047af7b3838c1b89775a5581a770f2b23048042014a1306d2a74a66bae88071a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): deeptutor/tools/builtin/__init__.py:1423-1438 | deeptutor/tools/partner_memory.py:196-210 \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 \u0060deeptutor/tools/builtin/__init__.py:1423\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060deeptutor/tools/partner_memory.py:191\u0060 calls \u0060get_partner_turn_context\u0060, \u0060get_current_path_service\u0060, \u0060memory_path_service_override\u0060 and \u0060deeptutor/tools/builtin/__init__.py:1421\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":"deeptutor/tools/builtin/__init__.py"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"c107cd56be58b32592501bbcc4ed80a094b8239e31368bdf95d0ac0912e3f326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 5): deeptutor/multi_user/grants.py:57-70 | deeptutor/services/codex_auth/storage.py:61-75 | deeptutor/services/cron/repository.py:56-69 | deeptutor/services/partners/web_continuity.py:33-46 | deeptutor/video_learning/service.py:385-398 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060deeptutor/multi_user/grants.py:54\u0060 calls \u0060mkdir\u0060 and \u0060deeptutor/services/partners/web_continuity.py:30\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":"deeptutor/multi_user/grants.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0335007cf6dc98c2216a7ac7949a455ad58cc59ce1edd8063e1bae7b191bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): deeptutor/api/routers/knowledge.py:819-833 | deeptutor/api/routers/knowledge.py:849-863 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/api/routers/knowledge.py:819\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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7393670328d95ce13ce426ae1ccf5d4d39e5c44de8899ee7e7d1de4d0d1af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): deeptutor/api/routers/partners.py:1515-1529 | deeptutor/api/routers/partners.py:1570-1584 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/api/routers/partners.py"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b28b7b7f49f88ddae6c8af55b9de654bf330cb4232f16281ad9673e1e8d8807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): deeptutor/book/blocks/callout.py:45-57 | deeptutor/book/blocks/text.py:62-76 \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 \u0060deeptutor/book/blocks/callout.py:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/callout.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aec110eabfbb757bb6ba8ba46169493bfcbfb126e1d1dddcbe8db8c94d0ba16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): deeptutor/partners/channels/weixin.py:1164-1178 | deeptutor/partners/channels/weixin.py:1315-1329 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f39ddb6949bf38c216281451227787baaca33a4b459510a4cf4090de6c9ebaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): deeptutor/reading/store.py:352-362 | deeptutor/reading/store.py:538-552 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/reading/store.py:352\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":"deeptutor/reading/store.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a6c6e47cf0ab437bd610f291d7a939c5138fe56d7b22ce64cdbff80fd4000b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): deeptutor/runtime/launcher.py:1485-1495 | deeptutor/runtime/launcher.py:1501-1515 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/runtime/launcher.py:1501\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":"deeptutor/runtime/launcher.py"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d581641730d0ee87f6d16da9f3b9000b7c24642de1ea8f0c3de59b09220a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): deeptutor/services/llm/config.py:218-232 | deeptutor/services/model_selection/runtime.py:15-29 \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":"deeptutor/services/llm/config.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcf55571f918223d9db1367394e825b5b2b02ea8f32cbb17bb918c6f97b0785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): deeptutor/services/partner_groups/store.py:60-70 | deeptutor/services/persona/service.py:351-365 \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":"deeptutor/services/partner_groups/store.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fd6ddb208edfdf2f9d99f35d4b8743d5580fad19517d2b9832a5d47b29becc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 3): deeptutor/api/routers/system.py:513-524 | deeptutor/api/routers/system.py:568-581 | deeptutor/api/routers/system.py:620-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 \u0060deeptutor/api/routers/system.py:513\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":"deeptutor/api/routers/system.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"a436b13e3677ee23d24fb4ed3acc234b1ddb196595f460ce3173340c8d9fd803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): deeptutor/reading/quiz.py:98-111 | deeptutor/reading/study_guidance.py:77-90 | deeptutor/reading/vocabulary.py:115-128 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060TaskKind\u0060 to \u0060\u0022Reading quiz requires visible text.\u0022) from deeptutor.services.model_selection.tasks import\u0060 in one and \u0060\u0022Study guidance requires selected text.\u0022) from deeptutor.services.model_selection.tasks import\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":"deeptutor/reading/quiz.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8de18d6a90ae15e1eac35847ef16d9cbb61ee98a6decb2ca285afd3dd6d14f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): deeptutor/agents/notebook/analysis_agent.py:98-111 | deeptutor/agents/notebook/analysis_agent.py:226-239 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/agents/notebook/analysis_agent.py:98\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":"deeptutor/agents/notebook/analysis_agent.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a663e164b5fa3b3f7ec6a6e855c3550b71badd664c18743b8472859900fbd7f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): deeptutor/partners/channels/mochat.py:607-620 | deeptutor/partners/channels/mochat.py:641-654 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/partners/channels/mochat.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1830cd13a68ce13bf362089953d1db49095adfaa443e9b53e211feef823b85a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): deeptutor/plugins/lifecycle.py:423-435 | deeptutor/plugins/registry.py:564-577 \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 \u0060deeptutor/plugins/lifecycle.py:423\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/plugins/lifecycle.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5c870a1c6560a2bcebe2bc80999109cb1e16ea38542a70b8d8e1f2c82e9ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): deeptutor/runtime/orchestrator.py:88-101 | deeptutor/runtime/orchestrator.py:121-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/runtime/orchestrator.py:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/orchestrator.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fbbac6d211b871f6efc77091cf5b87b5dd697cbe158507f38c95c7493abe09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): deeptutor/services/embedding/adapters/cohere.py:126-139 | deeptutor/services/embedding/adapters/jina.py:112-125 \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":"deeptutor/services/embedding/adapters/cohere.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"472e6295a4b8a88259ac9155b5b81fd12c5abfdd92a0e6b779795c343abe8414"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): deeptutor/services/llm/factory.py:451-464 | deeptutor/services/llm/factory.py:509-522 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/services/llm/factory.py:451\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":"deeptutor/services/llm/factory.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6d4a1a6675b2ddeff0a4e3f06a4cd474d3109b8334551fd4d8357089a64037"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): deeptutor/services/search/providers/bocha.py:96-109 | deeptutor/services/search/providers/qianfan.py:109-122 \u2014 before extracting anything, compare \u0060deeptutor/services/search/providers/bocha.py\u0060 and \u0060deeptutor/services/search/providers/qianfan.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/services/search/providers/bocha.py:96\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, \u0060deeptutor/services/search/providers/qianfan.py:125\u0060 calls \u0060get\u0060 and \u0060deeptutor/services/search/providers/bocha.py:110\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":"deeptutor/services/search/providers/bocha.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a81d5dc70c20bfec5d79433bd505ef2cf2354ffad28f9decbc9875834dd8db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): deeptutor/services/subagent/acp.py:479-492 | deeptutor/services/subagent/acp.py:510-521 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/subagent/acp.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17fac64f31e1c728403d488b331217f91f72e4f8495393281b4c90c3cf5e3b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): deeptutor/services/subagent/deepseek_harness.py:109-122 | deeptutor/services/subagent/hermes.py:100-113 \u2014 before extracting anything, compare \u0060deeptutor/services/subagent/deepseek_harness.py\u0060 and \u0060deeptutor/services/subagent/hermes.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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":"deeptutor/services/subagent/deepseek_harness.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8410b93940f3a648137abc4438f17d4bbe218bafb5e1c27f6944e6192678c4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): deeptutor_cli/kb.py:289-302 | deeptutor_cli/kb.py:349-360 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor_cli/kb.py:289\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060docs\u0060 to \u0060list[str] = typer.Option([], \u0022--doc\u0022, \u0022-d\u0022, help=\u0022Document paths.\u0022)\u0060 in one and \u0060list[str] = typer.Option([], \u0022--doc\u0022, \u0022-d\u0022, help=\u0022Document paths to add.\u0022)\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":"deeptutor_cli/kb.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee8f8fe8664bd3de549d9f8d4eb5a10f464ae7eac628249907f2c72995c03ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): deeptutor/multi_user/grants.py:64-76 | deeptutor/services/cron/repository.py:63-75 | deeptutor/services/learning_journal/store.py:340-352 | deeptutor/services/partners/web_continuity.py:40-52 | deeptutor/video_learning/service.py:392-404 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/multi_user/grants.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10ff55996d7316fd83cfa015fa300baf0250bbbcef6808197b76f35d0012f2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): deeptutor/agents/loop/agent_loop.py:913-925 | deeptutor/runtime/agentic/labeled_step.py:533-544 \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":"deeptutor/agents/loop/agent_loop.py"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad5db667048b7b08829008c03d939bf0f9b17cfcd9b3fd39f7ce0874ed93330"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): deeptutor/agents/question/pipeline.py:2041-2053 | deeptutor/agents/research/pipeline.py:2358-2370 \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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":2041}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50f8a3dc4a6358b587c64a25823fa75ab1e4387e38bb766b30740eb8c1c616a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): deeptutor/book/agents/spine_agent.py:117-129 | deeptutor/book/agents/spine_synthesizer.py:426-438 \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":"deeptutor/book/agents/spine_agent.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cbcb4eaf3d97938ff17da1141fed50c7a4de7b153debd7bd57ddac574d39f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): deeptutor/knowledge/manager.py:2304-2315 | deeptutor/knowledge/manager.py:2399-2411 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/knowledge/manager.py"},"region":{"startLine":2304}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d10b7884dc16b9da23f398da63a6acc6f4abe14454f4f89494608c299e2df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): deeptutor/learning/service.py:1047-1059 | deeptutor/learning/service.py:1157-1169 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/learning/service.py"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dc131f53430b4d0d1d7dc06fef1830500fd294b74e265e2e0909f24411f593"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): deeptutor/multi_user/device_credentials.py:116-128 | deeptutor/multi_user/guardians.py:61-73 \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":"deeptutor/multi_user/device_credentials.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21e806211e88dcc7d70178687b9e037266d695b059771f8b24f3561584d987c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): deeptutor/reading/store.py:1112-1120 | deeptutor/reading/store.py:1333-1345 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/reading/store.py"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6864b37103d3c460a616e5d471146b44061c67ca2048c8b5b952636f4eee7d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): deeptutor/services/memory/snapshot/adapters.py:183-195 | deeptutor/services/memory/snapshot/adapters.py:217-229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, 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, \u0060deeptutor/services/memory/snapshot/adapters.py:215\u0060 calls \u0060is_dir\u0060 and \u0060deeptutor/services/memory/snapshot/adapters.py:182\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":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"30efd8a901e6e6eb7c074d28e26bbb8c1fb40255441e9e3679f0819416b1258f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): deeptutor/services/parsing/engines/_install.py:158-170 | deeptutor/services/parsing/engines/mineru/models.py:162-174 \u2014 before extracting anything, compare \u0060deeptutor/services/parsing/engines/_install.py\u0060 and \u0060deeptutor/services/parsing/engines/mineru/models.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/parsing/engines/_install.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db0648ccda64a2da7238960ac31980e77e6cd023cf2aacee064443b81b015ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): deeptutor/services/search/providers/bocha.py:88-100 | deeptutor/services/search/providers/zhipu.py:131-142 \u2014 before extracting anything, compare \u0060deeptutor/services/search/providers/bocha.py\u0060 and \u0060deeptutor/services/search/providers/zhipu.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/services/search/providers/bocha.py:88\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":"deeptutor/services/search/providers/bocha.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fe8422e8028eaa0c965b790f23b5debd59c163fe860a5b43bea5c4c025372a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): deeptutor/services/search/providers/bocha.py:115-127 | deeptutor/services/search/providers/zhipu.py:157-169 \u2014 before extracting anything, compare \u0060deeptutor/services/search/providers/bocha.py\u0060 and \u0060deeptutor/services/search/providers/zhipu.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/services/search/providers/bocha.py:115\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":"deeptutor/services/search/providers/bocha.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cf8feff5150393f29e99738149ba3ba1af9b50d05d7fe04b3b3a69ae8fd52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): deeptutor/services/session/_turn_runtime_shared.py:140-152 | deeptutor/services/session/_turn_runtime_shared.py:156-168 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b5ffaa749d336c5b6b576d322d808661fd64c3dca5abf23e47961d447b1838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): deeptutor/tools/media_gen_tool.py:190-201 | deeptutor/tools/media_gen_tool.py:281-293 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/tools/media_gen_tool.py:190\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/media_gen_tool.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ce0295da08f021abb36e475f2ae0a1670b41fa7e1211ea89b4643de50e0b90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): deeptutor/utils/document_extractor.py:890-902 | deeptutor/utils/document_extractor.py:930-942 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/utils/document_extractor.py"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3899dfad2fddca2f291fc701b8edcdb4266f9736ced49eeb8bce2fd60750fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): deeptutor_cli/kb.py:605-617 | deeptutor_cli/kb.py:638-650 \u2014 both copies are in the same file, so extract the block 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":"deeptutor_cli/kb.py"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5eccd735b17566eef6daba893f84c8a25c06c646cd7801119908f4f1b6b24f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): deeptutor/services/memory/consolidator/modes/audit.py:149-160 | deeptutor/services/memory/consolidator/modes/audit.py:289-300 | deeptutor/services/memory/consolidator/modes/update.py:202-213 | deeptutor/services/memory/consolidator/modes/update.py:429-440 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060deeptutor/services/memory/consolidator/modes/update.py:215\u0060 calls \u0060load_prompt\u0060, \u0060surface_focus\u0060, \u0060load_doc\u0060 and \u0060deeptutor/services/memory/consolidator/modes/audit.py:162\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":"deeptutor/services/memory/consolidator/modes/audit.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd51ebb5e1b7e7c939557bef43fdcd5565e815b26d18a463f518a4a1870dc909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): deeptutor/services/partner_groups/manager.py:894-905 | deeptutor/services/partner_groups/manager.py:949-964 | deeptutor/services/partner_groups/manager.py:1008-1024 | deeptutor/services/partner_groups/manager.py:1070-1086 \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 \u0060deeptutor/services/partner_groups/manager.py:894\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":"deeptutor/services/partner_groups/manager.py"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"958d5f1cf1c6f548b8494a2f18b47c24c65b849a3520a10844ee07054d141bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): deeptutor/agents/math_animator/retry_manager.py:114-125 | deeptutor/agents/math_animator/retry_manager.py:147-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/agents/math_animator/retry_manager.py:114\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":"deeptutor/agents/math_animator/retry_manager.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac0c29bfd28e5ab4080fd90426447ebb8882edc48444d0ff03e014cc3d42066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/agents/question/pipeline.py:2092-2103 | deeptutor/agents/research/pipeline.py:2773-2784 \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 \u0060deeptutor/agents/question/pipeline.py:2092\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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a36e20dd7ed4381c60bfed4e6d162d7be7fdf18edf533509fc95d21eb7e3360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/agents/question/pipeline.py:2105-2116 | deeptutor/agents/research/pipeline.py:2786-2797 \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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4114482b9ba6adbd7b33772229a84280795c931e7c3702ac9da9cc7edf47c056"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/api/routers/dashboard.py:128-139 | deeptutor/api/routers/dashboard.py:253-264 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/api/routers/dashboard.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd10570aa92aa906bd1f45e256ce7978d067b2d20f5db0f17fa7f37262affa7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/api/routers/knowledge.py:5150-5161 | deeptutor/api/routers/knowledge.py:5219-5230 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":5150}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c4621199c9847f507992cc85d72eacbe5d23980161f651f516b4caa2d3407f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/api/routers/render_storage.py:99-110 | deeptutor/api/routers/render_storage.py:182-193 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/api/routers/render_storage.py:99\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":"deeptutor/api/routers/render_storage.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd966b96941890cbab63c6a77691709817824672f61aa088db6a16fe5766dc6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/knowledge/add_documents.py:795-806 | deeptutor/knowledge/initializer.py:405-416 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060deeptutor/knowledge/initializer.py:417\u0060 calls \u0060add_argument\u0060 and \u0060deeptutor/knowledge/add_documents.py:807\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":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf8d1c4fad9d045fbd5df055d3659da979aad766cfeef13705c3d87953598e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): deeptutor/partners/channels/telegram.py:316-327 | deeptutor/partners/channels/zulip.py:91-99 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060deeptutor/partners/channels/telegram.py:328\u0060 calls \u0060isdigit\u0060 and \u0060deeptutor/partners/channels/zulip.py:100\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":"deeptutor/partners/channels/telegram.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e6bb4ec9ae233ebf33b9b25ba6081fbcff3b9c71d0d28ca4eccc76231dcb93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): deeptutor/reading/store.py:313-324 | deeptutor/reading/store.py:516-524 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/reading/store.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f499c6845a8624a3c02a7dd9b6270bcd7c0fae23607c8098e6c66f2d82eb29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/services/chat_hints.py:272-285 | deeptutor/services/reading_hints.py:436-447 \u2014 before extracting anything, compare \u0060deeptutor/services/chat_hints.py\u0060 and \u0060deeptutor/services/reading_hints.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/services/chat_hints.py:272\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/chat_hints.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bcedb1470f64b8f40957c928fb45fe6ec739aed67fb9d93c58a0966396c370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/services/config/model_catalog.py:309-320 | deeptutor/services/config/settings_draft.py:96-107 \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 \u0060deeptutor/services/config/model_catalog.py:309\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"504817dd730357fb30f6e46d69d3d895f26b131e4e2892337af712ef498ab829"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/services/file_io.py:89-100 | deeptutor/services/file_io.py:112-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":"deeptutor/services/file_io.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1717ec5076ebb86d979717e8f6825765b0a51e646d1a28b2441c9123a690efea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/services/github_source/sync.py:140-151 | deeptutor/services/github_source/sync.py:155-166 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/github_source/sync.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2059d16733a2efbc4b7bf2275895605b87ab4a8ad499a0436a736b6a52fbf3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): deeptutor/services/imagegen/adapters/dashscope.py:244-255 | deeptutor/services/videogen/adapters/dashscope.py:228-237 \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":"deeptutor/services/imagegen/adapters/dashscope.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf72cfa43a8d24a1e3c442afedf9d8f884e3809904477567b3195ca0ea797e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/services/llm/provider_core/anthropic_provider.py:562-573 | deeptutor/services/llm/provider_core/anthropic_provider.py:593-604 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/llm/provider_core/anthropic_provider.py"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"87169c294d25083e46af7208e4b22b63d04428053126e27bc3d58f831aa75e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/services/persona/service.py:132-143 | deeptutor/services/skill/service.py:353-364 \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":"deeptutor/services/persona/service.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"00abe5bcb04c68ce5ed198be5046bc59ffc2689a9f7cde4d8dad6bcac8278d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/services/search/providers/bocha.py:64-76 | deeptutor/services/search/providers/deepseek.py:62-73 \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":"deeptutor/services/search/providers/bocha.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e31ea3104b0b3f32122ae3b2018d8d4f3062fad4b67e52942f32c09213d67d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/services/search/providers/brave.py:43-54 | deeptutor/services/search/providers/duckduckgo.py:32-43 \u2014 before extracting anything, compare \u0060deeptutor/services/search/providers/brave.py\u0060 and \u0060deeptutor/services/search/providers/duckduckgo.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/services/search/providers/brave.py:43\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, \u0060deeptutor/services/search/providers/brave.py:55\u0060 calls \u0060str\u0060, \u0060get\u0060 and \u0060deeptutor/services/search/providers/duckduckgo.py:44\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":"deeptutor/services/search/providers/brave.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"35969a925d1852b759cee7b0d83f9239bc8246a81a1902f8ea34962e92c86ee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): deeptutor/services/search/providers/google_browser_scraper.py:30-41 | deeptutor/services/search/providers/searxng.py:21-30 \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":"deeptutor/services/search/providers/google_browser_scraper.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf525eb9a26d3f4cb4b45bc7539595320fb69396d68f4a46d498683abfd2b7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 2): deeptutor/services/session/_turn_runtime_shared.py:1680-1687 | deeptutor/services/session/_turn_runtime_shared.py:1723-1734 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"4deb204ca949b26541b08a82a1575ec7734c4b1df2a031ac87822c44a6e38cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/services/skill/hub.py:320-331 | deeptutor/services/skill/hub.py:453-464 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/skill/hub.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f43b000c6d832f88a6f705460f7c17d1f8fce72016aed928be43716a8e93e26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/services/subagent/antigravity.py:209-220 | deeptutor/services/subagent/claude_code.py:155-166 \u2014 before extracting anything, compare \u0060deeptutor/services/subagent/antigravity.py\u0060 and \u0060deeptutor/services/subagent/claude_code.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/antigravity.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3975c9b46b93a90ab64737dd2e45f1227da19fe8d9baa987ec73e26cdbda00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/services/web_source/snapshot_assets.py:110-121 | deeptutor/tools/web_fetch.py:180-191 \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":"deeptutor/services/web_source/snapshot_assets.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"265b96e650db81f0c1ccc25a8f8530515dc8f9ac135b792f716e15ca423a58f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): deeptutor/services/workspace/data_migration.py:519-530 | deeptutor/services/workspace/data_migration.py:600-611 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f85860c30404b8f21f65e0b288abf081271c7897c98d9a89df7d8bf1f14fdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): deeptutor_cli/kb.py:660-671 | deeptutor_cli/kb.py:708-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 \u0060deeptutor_cli/kb.py:660\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":"deeptutor_cli/kb.py"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf57fe5d08a9c22778ca06ace28941576f5c900223a99f7146d66333a37a41b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): deeptutor/services/subagent/antigravity.py:213-223 | deeptutor/services/subagent/claude_code.py:159-169 | deeptutor/services/subagent/kimi.py:156-166 \u2014 before extracting anything, compare \u0060deeptutor/services/subagent/antigravity.py\u0060 and \u0060deeptutor/services/subagent/claude_code.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/antigravity.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5216c321dd84c1b7e328f606aa25ba257ce00be7282e35c83b896d5f6053e4f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): deeptutor/agents/question/pipeline.py:1590-1600 | deeptutor/agents/research/pipeline.py:1092-1101 \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 \u0060deeptutor/agents/question/pipeline.py:1590\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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aba0bd9c75fbc6b30b75a73a3f1c0bbb025cb03c9efd00031b3ced1e8734d6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): deeptutor/api/routers/memory.py:531-541 | deeptutor/api/routers/memory.py:546-556 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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 \u0060payload\u0060 to \u0060UpdateRequest | None = None\u0060 in one and \u0060AuditRequest | None = None\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":"deeptutor/api/routers/memory.py"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66b86fb1cb117a7366c1fa7d82eec334b9f86b1f3ca7444dffdac90b0e055f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): deeptutor/api/routers/multi_user.py:902-911 | deeptutor/api/routers/skills.py:257-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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payload\u0060 to \u0060SkillInstallPayload\u0060 in one and \u0060InstallSkillRequest\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":"deeptutor/api/routers/multi_user.py"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"885485e30f1a76a269d0dbab8eaec9f51c42bb13a2a0a8f31ff75675c1581d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): deeptutor/api/routers/system.py:339-349 | deeptutor/api/routers/system.py:351-360 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/api/routers/system.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9198f2145ec47e95a27b269b26c3d9c02ed59ba38f7bd97175e14b8c1357209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): deeptutor/api/utils/task_log_stream.py:54-64 | deeptutor/api/utils/task_log_stream.py:126-135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"deeptutor/api/utils/task_log_stream.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"905157701dc62a7a72a36eacb124f5c79a4628fea8dd13110ec120609b5735ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): deeptutor/capabilities/solve/tools.py:111-121 | deeptutor/capabilities/solve/tools.py:260-270 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/capabilities/solve/tools.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8d677d5290d0ff2aea8c5593d725dc628def4cf32f8261502c2c1b74af0c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): deeptutor/co_writer/storage.py:285-295 | deeptutor/learning/migration.py:126-136 \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":"deeptutor/co_writer/storage.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"156df252edff1134d87aa4860c483309aea1344a30f0e4a9047577759f02a177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): deeptutor/knowledge/add_documents.py:808-817 | deeptutor/knowledge/initializer.py:418-428 \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":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafb4c42a7bbf7e32347d0a536af0fdeb3749876392d61dc378abfa21465daa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): deeptutor/partners/channels/feishu.py:1176-1186 | deeptutor/partners/channels/feishu.py:1211-1221 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/partners/channels/feishu.py:1176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad87c742c69299afd60edd67766d45a00f73968589c81654b27bef305aac197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): deeptutor/reading/extract.py:351-360 | deeptutor/utils/document_extractor.py:558-568 \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. 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":"deeptutor/reading/extract.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b0b6a3e769d6a2be729fad661271d0a70182dd7a4915827f3f4e58c8ec4609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): deeptutor/services/parsing/engines/mineru/local.py:362-372 | deeptutor/services/skill/service.py:701-711 \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":"deeptutor/services/parsing/engines/mineru/local.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f68287e73d4bb2dd53e8b5c89056191a57b1346d7a60168922199d737ec08f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): deeptutor/services/rag/pipelines/lightrag/pipeline.py:389-398 | deeptutor/services/rag/pipelines/lightrag/pipeline.py:492-502 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/services/rag/pipelines/lightrag/pipeline.py:492\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":"deeptutor/services/rag/pipelines/lightrag/pipeline.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0bc1ff5ea99e45249f62a6b0fd2071828866c440124720547ae1c441a7a489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): deeptutor/services/search/providers/google_browser_scraper.py:67-77 | deeptutor/services/search/providers/searxng.py:56-66 \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":"deeptutor/services/search/providers/google_browser_scraper.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f978cb7e9f8c12333290596150e29e4f6b3fc6c0ffe5d532f5c37f860f1e1073"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): deeptutor/services/voice/adapters/mistral.py:125-135 | deeptutor/services/voice/adapters/xai.py:132-140 \u2014 before extracting anything, compare \u0060deeptutor/services/voice/adapters/mistral.py\u0060 and \u0060deeptutor/services/voice/adapters/xai.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/services/voice/adapters/mistral.py:125\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":"deeptutor/services/voice/adapters/mistral.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4c4f5a55b3f4242bac41c9afe11e47300fd66fca76c061da05ad0f8374a1ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): deeptutor/services/voice/speech_text.py:474-484 | deeptutor/services/voice/speech_text.py:533-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. The matched lines also transfer control out of the body holding them, 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":"deeptutor/services/voice/speech_text.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe7a7eebd00e4c682418bb449c79250dbf217a83f4a0010eac32cec13ca9991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): deeptutor/services/voice/adapters/mistral.py:37-46 | deeptutor/services/voice/adapters/openai_compat.py:79-88 | deeptutor/services/voice/adapters/xai.py:40-49 \u2014 before extracting anything, compare \u0060deeptutor/services/voice/adapters/mistral.py\u0060 and \u0060deeptutor/services/voice/adapters/xai.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/adapters/mistral.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e087899f421bbe9c24a254d2daa86bee43e3a1cad5dd4d4093b926e03d7d078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/agents/_shared/tool_composition.py:150-159 | deeptutor/services/settings/interface_settings.py:251-260 \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":"deeptutor/agents/_shared/tool_composition.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a427568b8cc4436d712a837d3b6bf254c1f8c3e9b3af033a5f15690e36c09e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/agents/loop/pipeline.py:331-340 | deeptutor/agents/research/pipeline.py:493-502 \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 \u0060deeptutor/agents/loop/pipeline.py:331\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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbc78d149ab84e33997b9ca4368dee9ddc6fbc5d72962c4ce85fb6f257afb71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/agents/loop/pipeline.py:1151-1160 | deeptutor/agents/research/pipeline.py:2171-2180 \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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5173e811b2104fa3757f84b3754fd28d9c31e2ea3aeac9a2d24265471279b46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/api/routers/notebook.py:294-303 | deeptutor/api/routers/notebook.py:430-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/api/routers/notebook.py:294\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":"deeptutor/api/routers/notebook.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b89c48560d56b3340c6f5198eb24c07f9e7a42001af0a134fc76ba38ef33144"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/api/routers/partner_groups.py:463-472 | deeptutor/api/routers/partner_groups.py:474-483 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/api/routers/partner_groups.py:463\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":"deeptutor/api/routers/partner_groups.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c797fb6a5ae3300b46c9de1dc991a48f4221acdb559cae09b2e8cdb6b96400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): deeptutor/api/routers/settings.py:1366-1375 | deeptutor/api/routers/settings.py:1794-1802 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/api/routers/settings.py"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1a30551d213f1ab5b553f8d4d0e21246cd98bc47f974f6f17fc64e4d503ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/app/container.py:288-297 | deeptutor/services/session/legacy_migration.py:254-263 \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":"deeptutor/app/container.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3250be6278be18570e53c6fe21dc095cffdc281ede3d79e100ee48c1efcc49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/book/agents/spine_agent.py:165-174 | deeptutor/book/agents/spine_synthesizer.py:445-454 \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":"deeptutor/book/agents/spine_agent.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"faad66f10635cb954da5874321519a5c4b4cc305895dd11357f49e212d819dec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/knowledge/manager.py:895-904 | deeptutor/knowledge/manager.py:940-949 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060deeptutor/knowledge/manager.py:939\u0060 calls \u0060normalize_provider_name\u0060 and \u0060deeptutor/knowledge/manager.py:894\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":"deeptutor/knowledge/manager.py"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"dead0c54be568fcccf016e30898e46be89e8273064fab47b3f8eab58ff277e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/services/config/provider_runtime.py:909-918 | deeptutor/services/config/provider_runtime.py:1107-1116 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"57906338bf59937202430e319354e8db55ef2696cbaf47c13a5f0e3f2d0bdc8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/services/memory/consolidator/modes/audit.py:413-422 | deeptutor/services/memory/consolidator/modes/audit.py:438-447 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/memory/consolidator/modes/audit.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf5c1ec80b4896ab8f7416932756ab9e2cbe6227e0d9d78e5d6474a3449b075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/services/partner_groups/manager.py:718-727 | deeptutor/services/partner_groups/manager.py:1265-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/partner_groups/manager.py"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"8595b71855a9ad0beede6fcdb972cd0a3825636a429f19be61f31ae362b6ebf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/services/rag/pipelines/graphrag/completion_adapter.py:137-146 | deeptutor/services/rag/pipelines/graphrag/completion_adapter.py:166-175 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/rag/pipelines/graphrag/completion_adapter.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"87923b22b6d56dcf3488fbcc3aeb6c2f6292ea73d83ea6f916e1a48c6df4f825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/services/search/providers/qianfan.py:80-89 | deeptutor/services/search/providers/zhipu.py:114-123 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060deeptutor/services/search/providers/zhipu.py:113\u0060 calls \u0060get\u0060 and \u0060deeptutor/services/search/providers/qianfan.py:79\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":"deeptutor/services/search/providers/qianfan.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b02928f4ff453cdc13f253f783d5f9a4f0bc024b29afd1cfe39302d38025d2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/services/workspace/data_migration.py:680-689 | deeptutor/services/workspace/data_migration.py:1072-1081 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/services/workspace/data_migration.py:680\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":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"98459ba59a12136222cfe287eb152fc4b9bada3a9b17b9ad5ee3dcc0a40ebde8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20139 lines \u00D7 5): deeptutor/services/subagent/antigravity.py:203-211 | deeptutor/services/subagent/claude_code.py:149-157 | deeptutor/services/subagent/codex.py:139-147 | deeptutor/services/subagent/grok.py:131-134 | deeptutor/services/subagent/kimi.py:145-153 \u2014 before extracting anything, compare \u0060deeptutor/services/subagent/antigravity.py\u0060 and \u0060deeptutor/services/subagent/claude_code.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/services/subagent/antigravity.py:203\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":"deeptutor/services/subagent/antigravity.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4051be4d0342972208daf5baf47fe073a802d7aefc646c6ac7f1fcf2aabdfb4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): deeptutor/tools/vision/coord_transform.py:164-172 | deeptutor/tools/vision/coord_transform.py:175-183 | deeptutor/tools/vision/coord_transform.py:185-193 | deeptutor/tools/vision/coord_transform.py:209-217 \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":"deeptutor/tools/vision/coord_transform.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22bff88539c8b32042acfe66b3ee68c0842d418c2cbd9d36abee38b3b8cb6be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): deeptutor/agents/math_animator/capability.py:223-231 | deeptutor/agents/question/capability.py:352-360 | deeptutor/agents/visualize/capability.py:494-502 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/math_animator/capability.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff377dafd3be4b184daf27938f789b745a37f11a697e1f30401665cbd7145010"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): deeptutor/services/search/providers/bocha.py:96-104 | deeptutor/services/search/providers/qianfan.py:109-117 | deeptutor/services/search/providers/specstream.py:77-85 \u2014 before extracting anything, compare \u0060deeptutor/services/search/providers/bocha.py\u0060 and \u0060deeptutor/services/search/providers/qianfan.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/services/search/providers/bocha.py:96\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":"deeptutor/services/search/providers/bocha.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8850326efddecdb0f089cf02c1efa9d6a20ea0b2fd314fdc5a43cb6a6f745bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): deeptutor/api/routers/file_library.py:111-119 | deeptutor/api/routers/file_library.py:138-145 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/api/routers/file_library.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f0f8a38bbb69a85bca8d3baf2484f949dbe5b0d702a97e11a6f045507c12a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): deeptutor/api/routers/notebook.py:319-327 | deeptutor/api/routers/notebook.py:389-397 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/api/routers/notebook.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7c0bbae6c8b413a13fa8710071281c9690376cb4af056ee621989fd6b640a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): deeptutor/api/routers/partner_groups.py:307-315 | deeptutor/api/routers/partner_groups.py:327-335 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/api/routers/partner_groups.py:307\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/partner_groups.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc84ab7fb34b7a5632897608db151782cd5181a7282a2fb56dc7280373a51fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): deeptutor/api/routers/subagents.py:166-174 | deeptutor/api/routers/subagents.py:205-213 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/api/routers/subagents.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f906c9effcc8d45cd591b4213fa2b26db2c9465fc456fe0155a1fdcddd9ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): deeptutor/api/routers/video_learning.py:466-474 | deeptutor/video_learning/service.py:497-505 \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":"deeptutor/api/routers/video_learning.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d7ca18386153b346f0edb8e43c51f4f1d8b84af14a5ff0bf30c438905ac68f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): deeptutor/book/blocks/callout.py:38-46 | deeptutor/book/blocks/code.py:74-82 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060deeptutor/book/blocks/code.py:71\u0060 calls \u0060str\u0060, \u0060get\u0060 and \u0060deeptutor/book/blocks/callout.py:36\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":"deeptutor/book/blocks/callout.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb2a1d4d40de84956ee8681fab6769bb5b6366353a3ae98072d1f957978e9e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): deeptutor/plugins/runtime.py:247-255 | deeptutor/plugins/runtime.py:335-343 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/plugins/runtime.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d82c17022f9fda73b2c43a48e36b00e9a3d68ef186b31f2f9a5890026dce82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): deeptutor/runtime/registry/scoped_registry.py:91-99 | deeptutor/runtime/registry/tool_registry.py:139-147 \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":"deeptutor/runtime/registry/scoped_registry.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c8b9f2e7f9bb89a64b9a450bd54ff4495e9a132d5c7d9bc2e60afa4fdc2fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): deeptutor/services/embedding/adapters/cohere.py:152-160 | deeptutor/services/embedding/adapters/ollama.py:120-130 \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 \u0060deeptutor/services/embedding/adapters/cohere.py:152\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":"deeptutor/services/embedding/adapters/cohere.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e5b37e6d7ac4dcfbe0bf19f149785e668d8025cb29f90d67bef4ffb747ec2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): deeptutor/services/llm/provider_core/openai_compat_provider.py:1240-1248 | deeptutor/services/llm/provider_core/openai_compat_provider.py:1466-1474 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/services/llm/provider_core/openai_compat_provider.py:1240\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":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3354c6eb6072b4645ec7e7e3f63f18be0dd0c4910cf2f95d3c99ae59a371ff77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): deeptutor/services/mcp/oauth.py:127-135 | deeptutor/services/mcp/secrets.py:173-181 \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":"deeptutor/services/mcp/oauth.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5ed4f9e6088db8a592e406146ab5a59a74808be35bf5d1519e2dc2b758bb03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): deeptutor/services/search/providers/doubao.py:137-145 | deeptutor/services/search/providers/zhipu.py:137-145 \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 \u0060deeptutor/services/search/providers/doubao.py:137\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":"deeptutor/services/search/providers/doubao.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f912f452dd33ba31218fb27252a86e788cfef6fc3b72d938bac4e9fa995d3a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): deeptutor/services/videogen/adapters/async_task.py:73-81 | deeptutor/services/videogen/adapters/dashscope.py:81-89 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060deeptutor/services/videogen/adapters/async_task.py:83\u0060 calls \u0060get\u0060 and \u0060deeptutor/services/videogen/adapters/dashscope.py:90\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":"deeptutor/services/videogen/adapters/async_task.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c122f5539fd390326cd5c352b79ee2b7bf2d37b1e7e5369e6c6881f7c638cd6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): deeptutor/api/routers/book.py:969-976 | deeptutor/api/routers/book.py:1014-1021 | deeptutor/api/routers/book.py:1083-1090 | deeptutor/api/routers/book.py:1248-1255 | deeptutor/api/routers/book.py:1531-1538 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/api/routers/book.py:969\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":"deeptutor/api/routers/book.py"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1492c359cd6633e69752e4582e7c686747b6fbb1e1188033f94510b9f12875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): deeptutor/services/search/providers/bocha.py:70-79 | deeptutor/services/search/providers/deepseek.py:67-76 | deeptutor/services/search/providers/firecrawl.py:82-91 | deeptutor/services/search/providers/qianfan.py:83-92 | deeptutor/services/search/providers/zhipu.py:117-126 \u2014 before extracting anything, compare \u0060deeptutor/services/search/providers/bocha.py\u0060 and \u0060deeptutor/services/search/providers/qianfan.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 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":"deeptutor/services/search/providers/bocha.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca30289f11c52641bd06d767ef5534b574361d3932cbeeda30b120bfb6ebe82b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): deeptutor/services/search/providers/bocha.py:95-102 | deeptutor/services/search/providers/firecrawl.py:102-109 | deeptutor/services/search/providers/qianfan.py:108-115 | deeptutor/services/search/providers/specstream.py:76-83 \u2014 before extracting anything, compare \u0060deeptutor/services/search/providers/bocha.py\u0060 and \u0060deeptutor/services/search/providers/qianfan.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/services/search/providers/bocha.py:95\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 before the matched lines, \u0060deeptutor/services/search/providers/qianfan.py:105\u0060 calls \u0060str\u0060, \u0060get\u0060 and \u0060deeptutor/services/search/providers/firecrawl.py:100\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":"deeptutor/services/search/providers/bocha.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e53f994701968d47acfcd9951478e0bfafceee4b543ce8ce976084b1da22d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): deeptutor/agents/loop/pipeline.py:1150-1157 | deeptutor/agents/research/pipeline.py:2170-2177 | deeptutor/capabilities/explore_context/explorer.py:487-494 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ad7d7058fadb82d8a94c7690c7994615e985e3fe9b062404df8e9ff0989d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): deeptutor/agents/question/pipeline.py:2111-2118 | deeptutor/agents/research/pipeline.py:2792-2799 | deeptutor/agents/research/pipeline.py:3178-3185 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":2111}}}],"partialFingerprints":{"codehealthFindingId/v1":"415cb6132a12a7cfbe8b06785c7f1c56305e8016cb3cb87c2eea57b4c6842af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): deeptutor/services/search/providers/brave.py:46-53 | deeptutor/services/search/providers/duckduckgo.py:35-42 | deeptutor/services/search/providers/searxng.py:74-81 \u2014 before extracting anything, compare \u0060deeptutor/services/search/providers/brave.py\u0060 and \u0060deeptutor/services/search/providers/duckduckgo.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/services/search/providers/brave.py:46\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, \u0060deeptutor/services/search/providers/brave.py:55\u0060 calls \u0060str\u0060, \u0060get\u0060 and \u0060deeptutor/services/search/providers/duckduckgo.py:44\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":"deeptutor/services/search/providers/brave.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0cc9ae1c131a3b26e4ab19ed5e7f1159777c48eafaa06dcdda42c705ac656b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/agents/loop/pipeline.py:1758-1765 | deeptutor/agents/loop/pipeline.py:1780-1787 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/agents/loop/pipeline.py:1758\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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7aa38899eae49eb59f04769e4c5f5b3c5f6c77ae766206f3fa5229c622a07f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/agents/research/pipeline.py:2513-2520 | deeptutor/agents/research/pipeline.py:2539-2546 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":2513}}}],"partialFingerprints":{"codehealthFindingId/v1":"07da32dcd1db68bad2326887f7f3d006478037483542064c7f4db45713a10176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): deeptutor/api/routers/knowledge.py:2428-2434 | deeptutor/api/routers/knowledge.py:2456-2463 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2428}}}],"partialFingerprints":{"codehealthFindingId/v1":"70414d8778d7ad37688ba3995ed56924ba20bbea3c4bf28fbecb2face24b1810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/api/routers/partners.py:1280-1287 | deeptutor/api/routers/partners.py:1295-1302 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/api/routers/partners.py"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80e391dfda8c0b9bfe3ee6eaf32bb7cc0eb90394fb0cce51d2a68e8c6c57855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/api/routers/question_notebook.py:195-202 | deeptutor/learning/assessment.py:188-195 \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":"deeptutor/api/routers/question_notebook.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbb8e45870341b410083249f45e465562b03fd00cc4c6af75c2b843eedcd2c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/api/routers/question_notebook.py:311-318 | deeptutor/api/routers/question_notebook.py:442-449 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question_notebook.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb77f09777e09aa511c02590221db147d1c08892b91ae652bdc84942c803fc48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/api/routers/quiz_judge.py:450-457 | deeptutor/api/routers/quiz_judge.py:471-478 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e915743ff3db877febf7821d033aa7c55d8356b585dc3d7352ba106d45372d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/learning/storage.py:457-464 | deeptutor/learning/storage.py:1743-1750 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/learning/storage.py:457\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/storage.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"0333df2259128ab28ad1cdda8d347f76bbc5b92fbf261f16b3d22b8e3ff98beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/services/codex_auth/storage.py:92-99 | deeptutor/services/settings/interface_settings.py:311-318 \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 \u0060deeptutor/services/codex_auth/storage.py:92\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060deeptutor/services/codex_auth/storage.py:100\u0060 calls \u0060chmod\u0060 and \u0060deeptutor/services/settings/interface_settings.py:319\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":"deeptutor/services/codex_auth/storage.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc989471f95d6bb8e2ce28c25df17860679a1ee207400d8af4e32983b0e345d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/services/config/provider_runtime.py:1479-1486 | deeptutor/services/config/provider_runtime.py:1520-1527 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb066daae99fc375478e887dc8a9cc72c6dde3a636058c7a6b7371346b10e8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/services/session/sqlite_store.py:1194-1203 | deeptutor/services/session/sqlite_store.py:1254-1261 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcf9ce8f214a97f2d563a3d6fd9736b9dbc7b4209cf6b4ea8e3b2ece44b600d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/services/subagent/claude_code.py:332-339 | deeptutor/services/subagent/opencode_family.py:452-459 \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":"deeptutor/services/subagent/claude_code.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbd5fb590a42078d7b761c916908ab5f087d3ff93ff9a9df8a4073313994383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/services/voice/adapters/gemini.py:60-69 | deeptutor/services/voice/adapters/mimo.py:24-31 \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":"deeptutor/services/voice/adapters/gemini.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9214013c13b04db8fb273addfee6299ce2d221772500951ca2c00d0283d1d5e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/services/voice/adapters/mistral.py:80-87 | deeptutor/services/voice/adapters/xai.py:91-98 \u2014 before extracting anything, compare \u0060deeptutor/services/voice/adapters/mistral.py\u0060 and \u0060deeptutor/services/voice/adapters/xai.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 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":"deeptutor/services/voice/adapters/mistral.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7817ad1640da837399415e5dc08d61283b81315c0a589399a25a6b8cd3774913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/services/workspace/service.py:468-475 | deeptutor/services/workspace/service.py:584-591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060deeptutor/services/workspace/service.py:581\u0060 calls \u0060str\u0060, \u0060strip\u0060, \u0060WorkspaceError\u0060 and \u0060deeptutor/services/workspace/service.py:465\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":"deeptutor/services/workspace/service.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16ef8d0bb36e980b0259f8366b177298db5189cf48e4d111f597a6c75ea0033"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/tools/workspace.py:63-70 | deeptutor/tools/workspace.py:146-153 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/tools/workspace.py:63\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":"deeptutor/tools/workspace.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"722ffc55fe25e23e12c42d64f5080cec041d7aed71177d76fcf3edf211595bd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/utils/document_extractor.py:1112-1119 | deeptutor/utils/document_images.py:742-749 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/document_extractor.py"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1364e547db2c45b10e2ec7d69dd6aaa4beae77e4df5e77c4805027965f8678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): deeptutor_cli/init_wizard.py:699-706 | deeptutor_cli/init_wizard.py:821-827 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060deeptutor_cli/init_wizard.py:696\u0060 calls \u0060warn\u0060, \u0060format\u0060 and \u0060deeptutor_cli/init_wizard.py:819\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":"deeptutor_cli/init_wizard.py"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ccbb144941409d8caf7711d6d275384aa4b66646c8585ca087873bf8f4c278"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor_cli/kb.py:678-685 | deeptutor_cli/kb.py:694-701 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor_cli/kb.py:678\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":"deeptutor_cli/kb.py"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32cf5ca64ba15fb991aba5dd4425cab386ac687a7d20b11a31c4d633b293985"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor_cli/plugin.py:274-281 | deeptutor_cli/plugin.py:289-296 \u2014 both copies are in the same file, so extract the block 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":"deeptutor_cli/plugin.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dd37815887cf8e49a4768d89018bfdb3c770c8eff5c3cfbc86c982fd467fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): deeptutor/services/search/providers/bocha.py:95-101 | deeptutor/services/search/providers/doubao.py:137-143 | deeptutor/services/search/providers/firecrawl.py:102-108 | deeptutor/services/search/providers/qianfan.py:108-114 | deeptutor/services/search/providers/specstream.py:76-82 | deeptutor/services/search/providers/zhipu.py:137-143 \u2014 before extracting anything, compare \u0060deeptutor/services/search/providers/bocha.py\u0060 and \u0060deeptutor/services/search/providers/qianfan.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor/services/search/providers/bocha.py:95\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 before the matched lines, \u0060deeptutor/services/search/providers/bocha.py:91\u0060 calls \u0060str\u0060, \u0060get\u0060 and \u0060deeptutor/services/search/providers/zhipu.py:133\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":"deeptutor/services/search/providers/bocha.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9483fcb7411ea32ac718166fdcb36eea030767e91aa5cca2e6610b763ac4f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/agents/math_animator/retry_manager.py:103-112 | deeptutor/agents/math_animator/retry_manager.py:139-145 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/agents/math_animator/retry_manager.py:103\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":"deeptutor/agents/math_animator/retry_manager.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d3a4f1090555204978d676c99f7448717a5907ffeea3fb9d4ea82bc8904e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/agents/question/pipeline.py:432-438 | deeptutor/agents/research/pipeline.py:499-505 \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 \u0060deeptutor/agents/question/pipeline.py:432\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060deeptutor/agents/question/pipeline.py:439\u0060 calls \u0060default_optional_tools\u0060 and \u0060deeptutor/agents/research/pipeline.py:509\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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6575767ed743c9e8cdaad61041f908a16a2c7b8c59825e33e87da1e40599ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/book/engine.py:2086-2092 | deeptutor/book/engine.py:2209-2215 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/book/engine.py:2086\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":"deeptutor/book/engine.py"},"region":{"startLine":2086}}}],"partialFingerprints":{"codehealthFindingId/v1":"7123f194bf5c1ceca1b119d3b3b95cdb1ddef5ce11451a0b399de26ea313b9d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/capabilities/reading/tools.py:450-457 | deeptutor/capabilities/reading/tools.py:541-547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, 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, \u0060deeptutor/capabilities/reading/tools.py:448\u0060 calls \u0060to_thread\u0060 and \u0060deeptutor/capabilities/reading/tools.py:539\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":"deeptutor/capabilities/reading/tools.py"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbfe704bb4cf87494dea973061016b722bf79e85f776277857b6e15b6311dbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/learning/storage.py:915-921 | deeptutor/learning/storage.py:929-935 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/learning/storage.py"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5241384ef7b626888aaa55d8517e558bf6c792430a0802c3edfcdb64cbc1f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/reading/catalog_store.py:425-432 | deeptutor/reading/catalog_store.py:645-652 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/reading/catalog_store.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"531c112983555f3f2e819c19d9f424bf8c935dc4bf65fddf34cbd8b6f83cf3b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/reading/ingestion.py:650-657 | deeptutor/video_learning/service.py:73-80 \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":"deeptutor/reading/ingestion.py"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a9ec0db15eaf08875771894838298dc6586f188bdec49274a82d962a116fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/runtime/ts_engine/client.py:171-177 | deeptutor/runtime/ts_engine/client.py:260-266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/ts_engine/client.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64fc6f44ba0ab5dfd5171549bb24e22350d01114c668a8f09158dbac7b77515"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/services/config/provider_runtime.py:1368-1374 | deeptutor/services/config/provider_runtime.py:1422-1428 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"60338ed30751219c3e0804f6bd82a76ab0a985f0d0b20305e7b29659fac566b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/services/mcp/config.py:144-150 | deeptutor/services/mcp/user_config.py:216-222 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060deeptutor/services/mcp/user_config.py:223\u0060 calls \u0060chmod\u0060 and \u0060deeptutor/services/mcp/config.py:151\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":"deeptutor/services/mcp/config.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48db075f1b7badc65e34757c89d4870fb4f95e51d1618247f640b8211d5bb73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): deeptutor/services/session/_turn_runtime_shared.py:73-78 | deeptutor/services/session/_turn_runtime_shared.py:91-97 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bd3dfb93c2d0cbb3db5bff995e3e453d3fe3d60305cd5de2c8eba3926b9653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor_cli/common.py:137-143 | deeptutor_cli/common.py:172-178 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060deeptutor_cli/common.py:137\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":"deeptutor_cli/common.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5ad3b56a0183899920bcc76e2dcc2831e8e785a9105bdffd6c072d4bf656cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): deeptutor/services/chat_hints.py:117-123 | deeptutor/services/mastery_hints.py:169-175 | deeptutor/services/reading_hints.py:158-164 \u2014 before extracting anything, compare \u0060deeptutor/services/chat_hints.py\u0060 and \u0060deeptutor/services/reading_hints.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 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":"deeptutor/services/chat_hints.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2108da58fc172718348e913612ccc995f2f8f7e65e5e62e35892fc3642b9e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): deeptutor/services/cli_apps/state.py:198-203 | deeptutor/services/mcp/oauth.py:126-131 | deeptutor/services/mcp/secrets.py:172-177 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060deeptutor/services/mcp/oauth.py:132\u0060 calls \u0060chmod\u0060 and \u0060deeptutor/services/cli_apps/state.py:204\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":"deeptutor/services/cli_apps/state.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c19e7a97820b495880c51fdb8e5f4ffff020d978828752b366d5d28d78a3fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/agents/math_animator/request_config.py:31-36 | deeptutor/agents/research/request_config.py:58-63 \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":"deeptutor/agents/math_animator/request_config.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8826a273237f414fdf182520f324d04722ce7346a6ef8e2a663e90e5f01d3785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/agents/question/history.py:76-81 | deeptutor/services/model_selection/llm.py:94-99 \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":"deeptutor/agents/question/history.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ea2318ae630cb00b6426c5d84210ce85d4f36bc0f73a3ce1796e1e0206e0e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/api/routers/book.py:1133-1138 | deeptutor/api/routers/book.py:1166-1171 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/api/routers/book.py:1133\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":"deeptutor/api/routers/book.py"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b633684917a620ae75ac7ceb1ee823b31244a33305587eaa14a1ba9c3851f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/api/routers/book.py:1194-1199 | deeptutor/api/routers/book.py:1220-1226 \u2014 both copies are in the same file, so extract the block 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 \u0060deeptutor/api/routers/book.py:1220\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddb32616422865ee155f1d4355465be0ad3f4e3419098506b7f06c23184e81b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/reading/knowledge_capture.py:38-43 | deeptutor/reading/knowledge_capture.py:135-140 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/reading/knowledge_capture.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1343bf01113aa45ed6052ae2dc580bbf78dd2e2f678f255edc5815c7df49c02c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/runtime/ts_engine/client.py:124-129 | deeptutor/runtime/ts_engine/client.py:190-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":"deeptutor/runtime/ts_engine/client.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfa00566ba90f3e9f77acf3e505f6f88dba547d1d6f4e72b8dff7f7a0dbd37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/services/cli_apps/state.py:201-206 | deeptutor/video_learning/invidious_account_storage.py:78-83 \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":"deeptutor/services/cli_apps/state.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0772fcd0b465e38c5daed6c1dffe289e219c6b153679ef8d5c2422fd97a128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/services/embedding/adapters/openai_compatible.py:118-123 | deeptutor/services/embedding/adapters/openai_compatible.py:124-129 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/embedding/adapters/openai_compatible.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4b1790a62555f6f5838a837d8171a93f795749ea15ec1bcd1d0fd3b6f358e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/services/memory/consolidator/modes/audit.py:138-143 | deeptutor/services/memory/consolidator/modes/audit.py:278-283 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/memory/consolidator/modes/audit.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5076c39e84f782e2eb371d99a4d4f6eb93c15760b98b8363c22102e92e412f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/tools/builtin/__init__.py:1408-1413 | deeptutor/tools/partner_memory.py:177-182 \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 \u0060deeptutor/tools/builtin/__init__.py:1408\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/builtin/__init__.py"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"975c1a7f1aa1086ad686f18ab2436f5944e28e11da69e5dbd543228d86c5812b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): deeptutor/api/routers/book.py:972-976 | deeptutor/api/routers/book.py:1017-1021 | deeptutor/api/routers/book.py:1086-1090 | deeptutor/api/routers/book.py:1133-1138 | deeptutor/api/routers/book.py:1166-1171 | deeptutor/api/routers/book.py:1251-1255 | deeptutor/api/routers/book.py:1534-1538 \u2014 all 7 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 \u0060deeptutor/api/routers/book.py:1133\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060deeptutor/api/routers/book.py:971\u0060 calls \u0060_book_paused_http\u0060 and \u0060deeptutor/api/routers/book.py:1133\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":"deeptutor/api/routers/book.py"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3832f2f8f59e3875251345d1a48378989c4c7d633034e9170795b08eedb27aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): deeptutor/api/routers/book.py:917-922 | deeptutor/api/routers/book.py:1590-1594 | deeptutor/api/routers/book.py:1612-1616 | deeptutor/api/routers/book.py:1633-1637 \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 \u0060deeptutor/api/routers/book.py:917\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":"deeptutor/api/routers/book.py"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98e7edc8c38abdb783ae65aa872d15c89bfb961a6779ceffbdbd3fc4216cc11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): deeptutor/services/search/providers/aliyun_iqs.py:113-118 | deeptutor/services/search/providers/firecrawl.py:98-103 | deeptutor/services/search/providers/qianfan.py:102-107 | deeptutor/services/search/providers/specstream.py:71-76 \u2014 before extracting anything, compare \u0060deeptutor/services/search/providers/firecrawl.py\u0060 and \u0060deeptutor/services/search/providers/qianfan.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060deeptutor/services/search/providers/qianfan.py:109\u0060 calls \u0060str\u0060, \u0060get\u0060 and \u0060deeptutor/services/search/providers/firecrawl.py:105\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":"deeptutor/services/search/providers/aliyun_iqs.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a264f93bb4f4b62df795d77e5f93ffa6648fc071cb77ffa881f95a714275070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): deeptutor/services/search/providers/bocha.py:88-92 | deeptutor/services/search/providers/brave.py:43-47 | deeptutor/services/search/providers/duckduckgo.py:32-36 | deeptutor/services/search/providers/zhipu.py:131-135 \u2014 before extracting anything, compare \u0060deeptutor/services/search/providers/bocha.py\u0060 and \u0060deeptutor/services/search/providers/zhipu.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060deeptutor/services/search/providers/bocha.py:94\u0060 calls \u0060str\u0060, \u0060get\u0060 and \u0060deeptutor/services/search/providers/zhipu.py:137\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":"deeptutor/services/search/providers/bocha.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eedbdb1903dced9c8a485577822bd604158d6a6e284f4d9f08fb55691654408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): deeptutor/agents/math_animator/request_config.py:31-35 | deeptutor/agents/research/request_config.py:58-62 | deeptutor/runtime/request_contracts.py:102-106 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/math_animator/request_config.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7af36f96ae6afaa5a3b6b7c58a91c4cecbf959f9dd5fcb6e2e10482308e8926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): deeptutor/services/subagent/deepseek_harness.py:111-117 | deeptutor/services/subagent/hermes.py:102-108 | deeptutor/services/subagent/opencode_family.py:122-128 \u2014 before extracting anything, compare \u0060deeptutor/services/subagent/deepseek_harness.py\u0060 and \u0060deeptutor/services/subagent/hermes.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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":"deeptutor/services/subagent/deepseek_harness.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d222742ce733030d59fa6d53540dda30700eea7179b699df73c1f6586a8f9ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/agents/loop/pipeline.py:134-139 | deeptutor/api/routers/unified_ws.py:35-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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"540c43c39407436e1d894611ffb71d1a2007141697cbd3cc04a872ce807b2d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): deeptutor/agents/research/utils/citation_manager.py:719-725 | deeptutor/agents/research/utils/citation_manager.py:729-733 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/agents/research/utils/citation_manager.py"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d08588b11de070c82dad5d20898643bb118de2baed5c0c884ee653098956c9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): deeptutor/api/routers/co_writer.py:736-744 | deeptutor/api/routers/co_writer.py:758-762 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/co_writer.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ea7ad6d567f7ad27124a78f3b7d8787e43d65c7c59949c7a1dccb439f35000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): deeptutor/api/routers/workspace.py:75-79 | deeptutor/api/routers/workspace.py:218-222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/workspace.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"23445e2cf30ded717658b13d0000f7f902bd050590a7cba5f21a370589f12d39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/multi_user/partner_access.py:54-60 | deeptutor/multi_user/skill_access.py:12-18 \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":"deeptutor/multi_user/partner_access.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d62a730e4eb95ca32814acd41ff49dc797f8ebd1453737a5d252fd33f82f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): deeptutor/reading/ingestion.py:671-675 | deeptutor/video_learning/service.py:87-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/ingestion.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdea1bbfdb2378d5e3044c7359a0e9d05b26a1e196e21c6ddddd86c95efd26f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/services/config/provider_runtime.py:902-907 | deeptutor/services/config/provider_runtime.py:1100-1105 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"c199141986b6d15285aa042dcf8c6063b3d365ed3304cd6af2495b0b1a81587c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/services/config/provider_runtime.py:1399-1405 | deeptutor/services/config/provider_runtime.py:1442-1448 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"51819606e53214bce450df1b0a580390c4430ac772cefc8705e757ad16565131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): deeptutor/services/session/sqlite_store.py:3580-3584 | deeptutor/services/session/sqlite_store.py:3649-3653 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":3580}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ec55c7f2338307b5b25775c498cb3c9ee22ef2094d285bd16b2f023e7a4b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): deeptutor/services/session/sqlite_store.py:3609-3613 | deeptutor/services/session/sqlite_store.py:3731-3735 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060deeptutor/services/session/sqlite_store.py:3608\u0060 calls \u0060str\u0060, \u0060get\u0060 and \u0060deeptutor/services/session/sqlite_store.py:3730\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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":3609}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf10d6df399b733cac7654ac1cfe0cdfdbe8bf21000fefa4371976d95c5f5cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): deeptutor/services/storage/attachment_store.py:195-199 | deeptutor/services/storage/attachment_store.py:203-207 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/services/storage/attachment_store.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6764d180792faeed97d5bd7076fcbcbb23f9cd6a7349476463fcd2f6d29bcbd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/tools/list_notebook.py:191-196 | deeptutor/tools/write_note.py:108-113 \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":"deeptutor/tools/list_notebook.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"087f39ae11064927fd5be525166736ec00dc8d8a369113eedf707ac7993f1c6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor_cli/kb.py:274-281 | deeptutor_cli/kb.py:340-347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060name\u0060 to \u0060str = typer.Argument(..., help=\u0022Knowledge base name.\u0022)\u0060 in one and \u0060str = typer.Argument(..., help=\u0022New KB name.\u0022)\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":"deeptutor_cli/kb.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda540203eb8b107eae92e1c2151ba7c61fd0c38f8e56440fee2dfc7161405d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): deeptutor/agents/_shared/tool_composition.py:367-374 | deeptutor/services/memory/consolidator/references.py:349-356 | deeptutor/services/skill/service.py:276-283 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/_shared/tool_composition.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4806ffa5035947d8a14cd2342e7442d879702a2ae04745942be213eb4ef73b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): deeptutor/agents/loop/agent_loop.py:119-127 | deeptutor/capabilities/explore_context/explorer.py:114-122 \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":"deeptutor/agents/loop/agent_loop.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2445eeca4bcdfa189c8e2200f738bcebd8979b24374f09af07421944028d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/agents/loop/pipeline.py:116-123 | deeptutor/agents/research/pipeline.py:2674-2681 \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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8f0df39e03ceb5984e0cd4a620e153f661f0843b379fcb204448816bf4a61e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): deeptutor/agents/math_animator/agents/code_generator_agent.py:39-46 | deeptutor/agents/math_animator/agents/concept_analysis_agent.py:22-29 | deeptutor/agents/math_animator/agents/concept_design_agent.py:22-29 | deeptutor/agents/math_animator/agents/summary_agent.py:22-29 | deeptutor/agents/math_animator/agents/visual_review_agent.py:24-31 | deeptutor/agents/visualize/agents/analysis_agent.py:21-28 | deeptutor/agents/visualize/agents/code_generator_agent.py:22-29 | deeptutor/agents/visualize/agents/review_agent.py:22-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/math_animator/agents/code_generator_agent.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fe941e2e20b81c2e571b6f8bf85acd6162ccfb626866fa507cd1b6464cfc69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/agents/question/pipeline.py:1729-1738 | deeptutor/agents/research/pipeline.py:2232-2241 \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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"85381f6c05557ec5df4b902177fe17f08638b75f6abf2d6c85f3e6cfb7188d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/agents/question/pipeline.py:1794-1803 | deeptutor/agents/research/pipeline.py:2262-2271 \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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"76990b35b69fc2611304db323e35c6f58dcc8c05199e73efb0b39fbacd78a7d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/agents/question/pipeline.py:1851-1860 | deeptutor/agents/research/pipeline.py:2320-2329 \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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87538474dec2ed7a6c7afcfefcb6ae44dd070bba60eaacb4a2c411971b2e012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): deeptutor/agents/question/pipeline.py:1873-1883 | deeptutor/agents/research/pipeline.py:2342-2352 \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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3e462989b2e88325574b660f832b690c59e182d6f154bd378183200fe41c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): deeptutor/book/agents/ideation_agent.py:36-44 | deeptutor/book/agents/spine_agent.py:42-50 \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":"deeptutor/book/agents/ideation_agent.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2845481f35a6e4bb37161fcc70418d4723a5e177efd171e3b6cef02247ab7e9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/book/export.py:137-142 | deeptutor/partners/channels/mochat.py:86-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, 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":"deeptutor/book/export.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb1817559da4a11fdaa14b9412a082e4583fbde10915f03992cfa228827d20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/book/storage.py:83-90 | deeptutor/co_writer/storage.py:77-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, 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":"deeptutor/book/storage.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"25508515e1e1c5b36ca65143aa5b7526a59a3276f412e553c3ef5d0b84e6a698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): deeptutor/capabilities/marginnote4/binding.py:20-27 | deeptutor/capabilities/obsidian/binding.py:23-30 | deeptutor/capabilities/subagent/binding.py:24-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/marginnote4/binding.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf16ce9e81c6cc9a4e4b941ed94c59984bf7f3c4077d405d40393827aced343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): deeptutor/learning/migration.py:49-53 | deeptutor/plugins/lifecycle.py:351-355 | deeptutor/services/rag/pipelines/lightrag/ingress.py:55-59 | deeptutor/services/workspace/data_migration.py:123-127 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/migration.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcc1377c6b47072609c3b6b0ec334681615567beb1fe3b3920bc52e83d831e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/reading/catalog_store.py:68-75 | deeptutor/services/practice/storage.py:106-113 \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":"deeptutor/reading/catalog_store.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63d9232a602caf6b2d576620bdc9b6c338dd15369bf597b20e13bd8abe8e994"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/services/chat_hints.py:241-247 | deeptutor/services/reading_hints.py:407-413 \u2014 before extracting anything, compare \u0060deeptutor/services/chat_hints.py\u0060 and \u0060deeptutor/services/reading_hints.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/chat_hints.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef3cc71198bd2570fb0cecb548c2b11bb521d1bfb571ece4beab115d91672bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/services/config/launch_settings.py:31-37 | deeptutor/services/config/runtime_settings.py:491-497 \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":"deeptutor/services/config/launch_settings.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f830a96526656b25198e6f1aed198c9f4572e34b2158dec2608ce3e4608c408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): deeptutor/services/config/model_catalog.py:263-267 | deeptutor/services/config/settings_draft.py:62-66 \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":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c883c09e7dae1255a12086e90e165e91eb03a19a152021e49c8b30398b5b76a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): deeptutor/services/embedding/adapters/jina.py:143-161 | deeptutor/services/embedding/adapters/openai_compatible.py:411-429 \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":"deeptutor/services/embedding/adapters/jina.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed4c694ea36c620df6b7780fd806cdafcbf1cda11eab45bb1b80ebb3f2f00af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): deeptutor/services/memory/consolidator/modes/dedup.py:207-211 | deeptutor/services/memory/consolidator/modes/merge.py:209-213 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, 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":"deeptutor/services/memory/consolidator/modes/dedup.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"707469672b891789924c8f53b75301f93a8fd4f99ffc7aca16307e37261fca77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/services/parsing/engines/_install.py:263-268 | deeptutor/services/parsing/engines/mineru/models.py:211-216 \u2014 before extracting anything, compare \u0060deeptutor/services/parsing/engines/_install.py\u0060 and \u0060deeptutor/services/parsing/engines/mineru/models.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/parsing/engines/_install.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc9f560221ced1db63035c8609f54f2d683932459311c5f4b8a0e00e8f5962c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): deeptutor/services/rag/pipelines/lightrag/sidecar.py:16-20 | deeptutor/services/subagent/codex.py:255-259 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, 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":"deeptutor/services/rag/pipelines/lightrag/sidecar.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8538ba07e6c869a0424ff5ec1412ee375a114d05415791437adb685fe7e74ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/services/session/pocketbase_store.py:913-919 | deeptutor/services/session/sqlite_store.py:3347-3353 \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":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59816783cf02c6934484bbee89dd8ffc83366041e99480e60026b23724012fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): deeptutor/services/subagent/claude_code.py:72-79 | deeptutor/services/subagent/codex.py:72-79 | deeptutor/services/subagent/kimi.py:81-88 \u2014 before extracting anything, compare \u0060deeptutor/services/subagent/claude_code.py\u0060 and \u0060deeptutor/services/subagent/kimi.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/claude_code.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f219ffd0a72bb7203f6bc9b541a2457a448f25e2f4cd2d92c8bb80bb0cda4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): deeptutor/services/subagent/claude_code.py:307-314 | deeptutor/services/subagent/codex.py:236-243 | deeptutor/services/subagent/kimi.py:251-258 | deeptutor/services/subagent/opencode_family.py:491-498 \u2014 before extracting anything, compare \u0060deeptutor/services/subagent/claude_code.py\u0060 and \u0060deeptutor/services/subagent/kimi.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/subagent/claude_code.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36eab526c450ed380accc88996b0f497e4363d56aa8d32a937bce5dcee91db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/services/subagent/hermes.py:43-50 | deeptutor/services/subagent/openclaw.py:41-48 \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":"deeptutor/services/subagent/hermes.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"da102e9c216dabff8780ac40b5763a45219e6486a8010567e02dcdce7b115ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/services/voice/adapters/mistral.py:50-57 | deeptutor/services/voice/adapters/xai.py:53-60 \u2014 before extracting anything, compare \u0060deeptutor/services/voice/adapters/mistral.py\u0060 and \u0060deeptutor/services/voice/adapters/xai.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/adapters/mistral.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"014967ed1e7fad289a520e8c5e91acce45dbcc5da966c5feb05971b6ac090e0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/api/routers/creations.py:35-41 | deeptutor/api/routers/partners.py:128-134 \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":"deeptutor/api/routers/creations.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bd4f99acda5b6e22108a80c4382821edb8dbe6fbbe88b0aa7c72be6e9018fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): deeptutor/reading/catalog_store.py:883-889 | deeptutor/services/session/sqlite_store.py:1640-1653 | deeptutor/services/session/sqlite_store.py:1659-1670 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The \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":"deeptutor/reading/catalog_store.py"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e801475409b02bb4a40c0c3e959aca680dd62a6ac386ffc02426c12c26c95a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): deeptutor/services/rag/pipelines/graphrag/pipeline.py:56-65 | deeptutor/services/rag/pipelines/lightrag/pipeline.py:113-122 \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":"deeptutor/services/rag/pipelines/graphrag/pipeline.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a57ddad5db63452131f6949adb306c91676dddf9a54c336d8e7a7c1acef89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): deeptutor/agents/loop/pipeline.py:262-269 | deeptutor/agents/research/pipeline.py:484-491 \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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"988c62de2c22a8f0e3e6e1af95228a83797a62ba93c0eea2606d1edcd8166f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): deeptutor/agents/notebook/analysis_agent.py:25-31 | deeptutor/agents/notebook/summarize_agent.py:17-23 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060deeptutor/agents/notebook/summarize_agent.py:24\u0060 calls \u0060getattr\u0060 and \u0060deeptutor/agents/notebook/analysis_agent.py:35\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":"deeptutor/agents/notebook/analysis_agent.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0449d3eb520c9c4bd22d5ae9fbae99070c20387bb40d06f2edb15811d9806eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): deeptutor/book/blocks/flash_cards.py:25-29 | deeptutor/book/blocks/quiz.py:20-24 \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":"deeptutor/book/blocks/flash_cards.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"535a9b971fe5ae6fa655df0a85770117fbc79b0b9f680d402eb5fedf053ed47b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): deeptutor/multi_user/knowledge_access.py:82-86 | deeptutor/multi_user/knowledge_access.py:318-322 \u2014 both copies are in the same file, so extract the block 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":"deeptutor/multi_user/knowledge_access.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7f0cbccc021e05c9795c01052973530a237b297cb3baedf0342ac860cb80c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): deeptutor/services/llm/provider_core/claude_code_provider.py:425-430 | deeptutor/services/llm/provider_core/codebuddy_provider.py:520-525 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060session\u0060 to \u0060_ClaudeCodeSession\u0060 in one and \u0060_CodeBuddySession\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":"deeptutor/services/llm/provider_core/claude_code_provider.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ac3b03a685423191032f802275cf96b11bff73f9159cd83370344065803a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): scripts/export_discord_history.py:312-342 | scripts/export_discord_history.py:345-368 \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":"scripts/export_discord_history.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a0c896ee0ac7cdce819980cdb6192d40fd1ae871e4cb65eb7613153c0ad5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): scripts/export_discord_history.py:312-324 | scripts/export_discord_history.py:345-357 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/export_discord_history.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1dda8ad264ed326dfdf828b2e79217ce386ae76fb2b793cf16647daea6f11a4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AgenticLoopPipeline (LCOM4 8): AgenticLoopPipeline\u0027s methods fall into 8 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 8 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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c7aadfd3b995092ed012c8fc6ac4482b5d21ec39049ac60344f199eea3dba4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PocketBaseSessionStore (LCOM4 7): PocketBaseSessionStore\u0027s methods fall into 7 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 7 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":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8471dc1a3b45aa917b9b5b3e8824d0b3570bbe05728ef939b507ee04727006"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MemoryStore (LCOM4 4): MemoryStore\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/store.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0658c8241aad1c26f1b4e52d3f5505406bcaa6f95be9e14c3d701927e01888c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/tests/e2e/multi-worker-turns.audit.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1871da3f62864d9c5e7c5f8448e216fd099e4bd3c2a2b00d66baf3b215206df3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/tests/e2e/turn-lifecycle.audit.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09f1d9a403c46fb69738330060e7ba29080dac9cede3c4cbe48322aabcee79b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: displays unreadable or missing source states rather than permanent loading: 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":"web/tests/kb-visual-coverage.spec.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"244f977efaa29a314b1274433c46623630f6634667b8e749b80e2c9ddbf18015"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: distinguishes voice failure from an empty live list and allows retry: 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":"web/tests/settings-service-preview.spec.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4292addfa8c7372cd96418082337bb08b6fbd56e27e6bc04228b94f612c4aa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: shows an actionable instance failure: 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":"web/tests/watching-browser.spec.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8283def1d0c030fdfdd870bcb7cdad95942943716634adc5a09bd0207fa0b72"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: api error surfaces user-friendly feedback (alert or message): 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":"web/tests/e2e/compliance-and-ux.audit.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"70aef7af2cde5881dd73a5107dd2e37ad5c71d32ed60dff92c33bab962a4210e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports CFI progress inside the final chapter, including one-chapter books (#1673): 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 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":"web/tests/epub-display-preferences.spec.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42019798d8e9d3c3e5b926770b84b6cb8f863bf6ae2876106ef19f9be708fe7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: inserts original text with its exact source link and closes the picker: 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":"web/tests/favorites-flow.spec.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1981da63c61fb1783b4622d3a99e3c295c8e77300390dcb952c7681031ab3c45"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loads linked folders with the qualified workspace KB reference: 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":"web/tests/knowledge-linked-folders.spec.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2368f4615a2c46f6a22aa4fb7d370121d7640666b41078b33afff9b46bc4c85"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: routes the %s LightRAG retry through refreshed rebuild confirmation: This test sets up 11 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 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":"web/tests/lightrag-lifecycle.spec.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"64aec8b222cbf1d10be718a657ea75fb71efc16c8207027c22b4909f0bbb2604"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps successful saves and their callbacks working: 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":"web/tests/notebook-save-cancellation.spec.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5ea68e5eb66e6b8b7b7d8b5a35e5a571b07d9e0dbac635cacc58d6efa1f62a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rotates the selected shared key when its conversation is deleted: 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":"web/tests/partner-continuity.spec.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd59a5d3f84c4f5d4dae2b08f832cca5d41391ed8f3bd2c9d6f581ff12430d0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps preview open after captured %s pointer clicks: 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":"web/tests/pdf-image-zoom-overlay.spec.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4025d3f524f29d0c9b4c9445d8bae8e0284226155a4daf25eeff23661bba893d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a successful preview available when import saving fails: 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 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":"web/tests/practice-workflow.spec.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4eedbd5664ed9e5db967e33bc2047a77b6cdf1e73a9ae5fcce824fc37febf9d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loads later pages and selects only the visible search matches: 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":"web/tests/question-bank-picker.spec.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba2470e90104ad03c29690bc72a93663ee07ab9cd34b530d42487a177bf4c6a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: takes pointer capture only once the drag has travelled: 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 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":"web/tests/reader-image-lightbox.spec.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"5659624249ad9002e0b5bfe00aeb5d77dfe8e2fde4cdb03e55c03710b0ebc34e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns a selection to Reading instead of opening the Watching route: 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":"web/tests/watching-browser.spec.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a336132eb5f400298a500a334363049b6d1a1d814f6264daa5aa2f98536c1fe3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows anonymous search and guides account-only browsing: 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":"web/tests/watching-browser.spec.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c74460d225b3701e56f563652881eafc940cc3b645df615aa39999a87b2293b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: pyte: \u0060pyte\u0060 0.8.2 is published on PyPI under \u0060LGPL-3.0\u0060, which this policy bans, and it is in the SHIPPED closure of this repository \u2014 so it is installed by everything that depends on this repository, not just by its test environment. A distribution offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package, or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7aec82e2d42c473f1437175d247054ac1ff4bd26a083093f4d6585eb8d425053"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/chat/ChatStateAdapter.tsx: web/features/chat/ChatStateAdapter.tsx changed 54 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 464 in ChatStateAdapter.ChatStateAdapterProvider at line 2104. 35 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/chat/ChatStateAdapter.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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c23e54888c1c60b3cafca0195f2f6be329c4bc93cd6cfe92fd3bfddb703923"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/chat/components/ChatWorkspace.tsx: web/features/chat/components/ChatWorkspace.tsx changed 57 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 365 in ChatWorkspace.ChatWorkspace at line 278. 25 of those changes were fix/bug commits, and the other 32 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/chat/components/ChatWorkspace.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":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b49b9f95d908d35bafaebefe7b192ca8bba3cc172afe663c58fa0115d679d34"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/session/turns/executor.py: deeptutor/services/session/turns/executor.py changed 43 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 224 in TurnExecutor._run_turn at line 143. 23 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/session/turns/executor.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/executor.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ce1ebb2162a7a68edd7e15e9c4dd3cd5042815925adacd5daedb089a12ac24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/settings/store/SettingsStore.tsx: web/features/settings/store/SettingsStore.tsx changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 285 in SettingsStore.SettingsProvider at line 644. 10 of those changes were fix/bug commits, and the other 22 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/settings/store/SettingsStore.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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a698969f8d0edb87bd11196564f42537d606019563e21e20373d21379b4a969"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/home/ChatComposer.tsx: web/components/chat/home/ChatComposer.tsx changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 210 in ChatComposer.ChatComposer at line 203. 11 of those changes were fix/bug commits, and the other 18 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/home/ChatComposer.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":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfe7da176c324687db538d8670bebdba784e9a0cbd570eec50509d744a86582"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/chat/messages/ChatMessageList.tsx: web/features/chat/messages/ChatMessageList.tsx changed 57 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 106 in ChatMessageList.ChatMessageList at line 1951. 28 of those changes were fix/bug commits, and the other 29 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/chat/messages/ChatMessageList.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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8621f7cb71ea033d0b339e888653a1f7655a92cf962694b54a866539f72b8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/session/turns/request_preparer.py: deeptutor/services/session/turns/request_preparer.py changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 181 in TurnRequestPreparer.start_turn at line 182. 17 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/session/turns/request_preparer.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":"deeptutor/services/session/turns/request_preparer.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"80384cb4c11c976b1954f51e924e8393edd634a82b2b4b68d5d61c1ba959b24a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/ReaderPane.tsx: web/components/reading/ReaderPane.tsx changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 165 in ReaderPane.ReaderPane at line 181. 9 of those changes were fix/bug commits, 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/ReaderPane.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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef6996070bc8c4d08fcf7f57463cb680980d9630de43b164a5179d4e7276656"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/agents/loop/agent_loop.py: deeptutor/agents/loop/agent_loop.py changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 109 in AgentLoop._call_llm at line 640. 15 of those changes were fix/bug commits, and the other 25 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/agents/loop/agent_loop.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":"deeptutor/agents/loop/agent_loop.py"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7891303dce2a9043ff17f987716c1515aa821019c9d9b5b5e22fc269e2d3b26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/learning/books/BooksRoute.tsx: web/app/(workspace)/learning/books/BooksRoute.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 243 in BooksRoute.BookPageInner at line 105. 6 of those changes were fix/bug commits, and the other 10 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/learning/books/BooksRoute.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":"web/app/(workspace)/learning/books/BooksRoute.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccb00c3cd103f0def3a842d520b6ec87571c85f2edd6d701a439fa40568b25d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/co-writer/components/CoWriterWorkspace.tsx: web/features/co-writer/components/CoWriterWorkspace.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 297 in CoWriterWorkspace.CoWriterWorkspace at line 182. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/co-writer/components/CoWriterWorkspace.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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e0f6193aae969552b3da504ae3af0766cf371062656c5ab7ba9793434844dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/settings/ServiceConfigEditor.tsx: web/components/settings/ServiceConfigEditor.tsx changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 141 in ServiceConfigEditor.ServiceConfigEditor at line 102. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/settings/ServiceConfigEditor.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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c95e401b04f28db19a0099b118f5015d2e70cc59bf68343ee19c36fcb4e618e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/capabilities/mastery/tools.py: deeptutor/capabilities/mastery/tools.py changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in MasteryQuizTool.execute at line 1318. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/capabilities/mastery/tools.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/mastery/tools.py"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0292878f82aae5ac42fdb85a9179bec1af641f02f920cd9ff7e24545ebbb261"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/partners/PartnerChat.tsx: web/components/partners/PartnerChat.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 181 in PartnerChat.PartnerChat at line 296. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/partners/PartnerChat.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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"814b08154a80bffbe64f1365189cec71e75a7c32274a35fa88bce2e425958f30"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/session/sqlite_store.py: deeptutor/services/session/sqlite_store.py changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in SQLiteSessionStore._serialize_notebook_entry at line 4106. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/session/sqlite_store.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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":4106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9f7577414498b62835bc6b68e9fa629c9108695fd5745f2d8e064721315a32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/knowledge/manager.py: deeptutor/knowledge/manager.py changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in KnowledgeBaseManager._get_info at line 1487. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/knowledge/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":"deeptutor/knowledge/manager.py"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37d53bb3601651d25f3c5b89acebca9bf679c1988a06c48b79f81531766e2c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/home/SessionViewerPanel.tsx: web/components/chat/home/SessionViewerPanel.tsx changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 113 in SessionViewerPanel.SessionViewerPanelInner at line 508. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/home/SessionViewerPanel.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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fa5bb35fac2e7444ce9fabe85062ea9dadacea6dda3f5b72b65616e929b04f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/space/learning/MasteryStudy.tsx: web/components/space/learning/MasteryStudy.tsx changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in MasteryStudy.MasteryStudy at line 177. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/space/learning/MasteryStudy.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":"web/components/space/learning/MasteryStudy.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66d969e0593e5855ef3c7a3f722a59e2c0989c3dbe288c28bfec3cb3259d374"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/knowledge/CreateKbModal.tsx: web/components/knowledge/CreateKbModal.tsx changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 121 in CreateKbModal.CreateKbModal at line 129. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/knowledge/CreateKbModal.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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42a0123c4adc28949076ddd46f31f5053ee617006fb5aa352bf59d760f7b6dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/quiz/QuizViewer.tsx: web/components/quiz/QuizViewer.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 194 in QuizViewer.QuizViewer 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/quiz/QuizViewer.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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e177ed97f3b3954db6df43e3d21be9de31408afcb5b60da913ed16a58f4d826"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/TextUnitView.tsx: web/components/reading/TextUnitView.tsx changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in TextUnitView.TextUnitView at line 99. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/TextUnitView.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":"web/components/reading/TextUnitView.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0864628a6e5c0c791059813c6018ebba76744db96f48ad6c45476fa895cdc72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/config/provider_runtime.py: deeptutor/services/config/provider_runtime.py changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in provider_runtime.resolve_llm_runtime_config at line 971. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/config/provider_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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"2377140b59c51ef18e807668654072c0869e1152f4e9a5881d1df6c75deb8f9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/learning/service.py: deeptutor/learning/service.py changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in LearningService._replace_module_set at line 1757. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/learning/service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/service.py"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1eecf39c4f215b437608e52d7f1140ed0cc7f731fdbb08a0915a641521c389"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/llm/provider_core/openai_compat_provider.py: deeptutor/services/llm/provider_core/openai_compat_provider.py changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in OpenAICompatProvider.chat_stream at line 1282. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/provider_core/openai_compat_provider.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":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6c27e51cc21d89f3e118229760b0ac015854b308fc7fede1ecbd3a29fa083e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/workspace/ReadingWorkspace.tsx: web/components/reading/workspace/ReadingWorkspace.tsx changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in ReadingWorkspace.ReadingWorkspacePage at line 130. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/workspace/ReadingWorkspace.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":"web/components/reading/workspace/ReadingWorkspace.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0796f7c822b07df2b460f8616decf1aa2c8ff7c4400b00dd090edf5342638cff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/PdfDocumentView.tsx: web/components/reading/PdfDocumentView.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 132 in PdfDocumentView.PdfDocumentView at line 140. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/PdfDocumentView.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":"web/components/reading/PdfDocumentView.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7185ec753d4bdd402ad0d56e3c57366c330a4a83b8ec6eea2574f092beab943f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/home/StandaloneComposer.tsx: web/components/chat/home/StandaloneComposer.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 92 in StandaloneComposer.StandaloneComposerImpl at line 233. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/home/StandaloneComposer.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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0857b704e33d8fbe2eb2b8f4929cdd4890bfdcec993c467727ece5d67533373"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/partners/[partnerId]/page.tsx: web/app/(workspace)/partners/[partnerId]/page.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 132 in page.PartnerDetail at line 65. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/partners/[partnerId]/page.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":"web/app/(workspace)/partners/[partnerId]/page.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"08212db4bb6cfcafd8a55bef6c7dd28e018f980394040e76f31ada9c9f2bc4fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/knowledge/KnowledgeBaseDetail.tsx: web/components/knowledge/KnowledgeBaseDetail.tsx changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in KnowledgeBaseDetail.KnowledgeBaseDetail 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/knowledge/KnowledgeBaseDetail.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":"web/components/knowledge/KnowledgeBaseDetail.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fc727dd4c7f61f73345f588c0ebb5daaa2dcd28368fb0db589f8ae48d9c8c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/home/AskUserOptions.tsx: web/components/chat/home/AskUserOptions.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 94 in AskUserOptions.extractMessageSegments at line 348. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/home/AskUserOptions.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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdf2f64000d09390281dc76d182524a887ef745a819ce4d4201045b88a13f73"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/tools/builtin/__init__.py: deeptutor/tools/builtin/__init__.py changed 41 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in RAGTool._retrieve at line 377. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/tools/builtin/__init__.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/builtin/__init__.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcaea187915d5504b2182ab9c8947960b7c980d8ab627adedecb6a66833c62f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/learning/mastery/[pathId]/page.tsx: web/app/(workspace)/learning/mastery/[pathId]/page.tsx changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in page.MasteryTopicPage at line 70. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/learning/mastery/[pathId]/page.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":"web/app/(workspace)/learning/mastery/[pathId]/page.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"958ec3b97d21b26ec1895f127f61988b0ad4cd6e297e8bc1bed77a1faea18693"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/knowledge/KnowledgePage.tsx: web/components/knowledge/KnowledgePage.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in KnowledgePage.KnowledgePage 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/knowledge/KnowledgePage.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":"web/components/knowledge/KnowledgePage.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b06132ca16b2ae5c123d92b26af90329f3818c1a39e204fbcd2a44bcfbaef7c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/api/routers/sessions.py: deeptutor/api/routers/sessions.py changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in sessions.update_session_organization at line 574. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/api/routers/sessions.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":"deeptutor/api/routers/sessions.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbd2e6fdd945d9f3623fcc2f7233a86009af8c5b9864482661aea88ea632e73"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/settings/ModelsWorkspace.tsx: web/components/settings/ModelsWorkspace.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 119 in ModelsWorkspace.ModelEditor at line 735. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/settings/ModelsWorkspace.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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6aa26cfff2dbfdf7aa0ca9a58b139fe359cc6e9feb230d5c1fac0618e86eb7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/knowledge/KbIndexVersionsSection.tsx: web/components/knowledge/KbIndexVersionsSection.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 85 in KbIndexVersionsSection.KbIndexVersionsSection 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/knowledge/KbIndexVersionsSection.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":"web/components/knowledge/KbIndexVersionsSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa26ca28b4723351a287b6091bf6acb0d24b6ec9c9fea25e60d97ac9f8971cfa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/reading/store.py: deeptutor/reading/store.py changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in ReadingStore.ingest_units at line 611. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/reading/store.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":"deeptutor/reading/store.py"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"02660f773d3bd6ef0ad89a9d3cfa4c503ad1b19a9127d0abc3a568243a1a92d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/api/routers/book.py: deeptutor/api/routers/book.py changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in book.book_websocket at line 1699. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/api/routers/book.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":"deeptutor/api/routers/book.py"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"db22c512d5e647ed8891ca6969f6af3b43d908e411685d22e920cf93def7f68e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/sessions/OrganizedSessionList.tsx: web/components/sessions/OrganizedSessionList.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in OrganizedSessionList.OrganizedSessionList at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/sessions/OrganizedSessionList.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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"947f252f97d113e883ceb475288242ad86a5979ce707027436e553c354d62088"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/agents/loop/pipeline.py: deeptutor/agents/loop/pipeline.py changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in AgenticLoopPipeline._augment_tool_kwargs at line 1477. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/agents/loop/pipeline.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0896d876145ec883b172b9e5b3f0385f51c3f1575882f49d2bc20dd9bbf2162"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/space/question-bank/QuestionCard.tsx: web/components/space/question-bank/QuestionCard.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 90 in QuestionCard.QuestionCard at line 136. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/space/question-bank/QuestionCard.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":"web/components/space/question-bank/QuestionCard.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8fb458424422f356215da39d092821f48c6bd4444d408ea6ba27bd9ad7db3e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/partners/runtime.py: deeptutor/services/partners/runtime.py changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in PartnerRunner._execute_turn at line 437. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/partners/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":"deeptutor/services/partners/runtime.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7899652afcdf412e7cc233bc61c5bae46d26dfde9205197c5f03e6e603942f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/EpubDocumentView.tsx: web/components/reading/EpubDocumentView.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 116 in EpubDocumentView.EpubDocumentView at line 176. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/EpubDocumentView.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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9947f2ceac2a25a58199b24f6dd99d069b4a7d00bbb011ea7ebd795ad881892d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/sidebar/SidebarShell.tsx: web/components/sidebar/SidebarShell.tsx changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in SidebarShell.SidebarShell 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/sidebar/SidebarShell.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":"web/components/sidebar/SidebarShell.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"51eeb974a346c207e2ed0041a62139a04a731eab6b18e61f56eb3e57bca7204a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/learning/books/components/BookChatPanel.tsx: web/app/(workspace)/learning/books/components/BookChatPanel.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 102 in BookChatPanel.BookChatPanel at line 147. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/learning/books/components/BookChatPanel.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":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3eee37bbcd7b0f23f64dea89516e5ff99fd88d36af626e34fffafaece6f56d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/api/routers/settings.py: deeptutor/api/routers/settings.py changed 46 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in settings.fetch_models_from_provider at line 2113. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/api/routers/settings.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":"deeptutor/api/routers/settings.py"},"region":{"startLine":2113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10ff8dd8f242399b9a1ff59fe3d4f7bf84ea490f5f3c6338f512d833a1d6b1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/api/routers/auth.py: deeptutor/api/routers/auth.py changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in auth._install_request_workspace at line 508. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/api/routers/auth.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":"deeptutor/api/routers/auth.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"5add6a0dbc09510137012d750cac26f39dd6ac66ccebfa48c9d216e41d89629a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/ReadingExtensionBar.tsx: web/components/reading/ReadingExtensionBar.tsx changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in ReadingExtensionBar.ExtensionToolbar at line 99. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/ReadingExtensionBar.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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1808099775c8d914f36d6dcf505fc60f3569470754d78f5ef04a0a9b7f2cfbd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/session/_turn_runtime_shared.py: deeptutor/services/session/_turn_runtime_shared.py changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in _turn_runtime_shared._resolve_selection_tutor_context at line 1656. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/session/_turn_runtime_shared.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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"4159a23b00509f34b617390c87824c77e3b306dbd35946c0eeedbab581ddfe08"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/capabilities/mastery/loop.py: deeptutor/capabilities/mastery/loop.py changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in MasteryLoopCapability.augment_kwargs at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/capabilities/mastery/loop.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":"deeptutor/capabilities/mastery/loop.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"71abc268e672091077c875ac5b63505af1504e9da81ac1c40a170a8ca56dfd87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(admin)/admin/users/page.tsx: web/app/(admin)/admin/users/page.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 100 in page.AdminUsersPage 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(admin)/admin/users/page.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":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"46279e3bfff6fe471168889df0dccd212853db0a71e1e644ac9359f2acacde7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/api/main.py: deeptutor/api/main.py changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in main.lifespan 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/api/main.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/main.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"831d09b9797ace9527cda6fcabfe88ce1bc64fbb29d20c13f1f0ae1099f42101"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/config/runtime_settings.py: deeptutor/services/config/runtime_settings.py changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in RuntimeSettingsService._apply_system_process_overrides at line 936. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/config/runtime_settings.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":"deeptutor/services/config/runtime_settings.py"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b94f75d0f24b6b14977aab9343f8507b4fff2bf3117c3b8aa2a91af0bf3cb2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/context/QuizFollowupContext.tsx: web/context/QuizFollowupContext.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in QuizFollowupContext.QuizFollowupProvider at line 241. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/context/QuizFollowupContext.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":"web/context/QuizFollowupContext.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bdd349201a47270121972f345974ab30c04f8d6c80145d9a477d2333193191"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/learning/books/components/PageReader.tsx: web/app/(workspace)/learning/books/components/PageReader.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 121 in PageReader.PageReader at line 122. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/learning/books/components/PageReader.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":"web/app/(workspace)/learning/books/components/PageReader.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e4d25b9f7dc2f6511650bf66fe6a484ccf0a95d72b9ac684bbbd15434b1fa9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/workspace/MediaReadingStage.tsx: web/components/reading/workspace/MediaReadingStage.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 137 in MediaReadingStage.MediaReadingStage at line 57. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/workspace/MediaReadingStage.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":"web/components/reading/workspace/MediaReadingStage.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6850d0369446eaa6088cfc929eef8fde87d7c2b5e7c764867d443a77fb75ab0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/runtime/launcher.py: deeptutor/runtime/launcher.py changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in launcher.start at line 1520. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/runtime/launcher.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":"deeptutor/runtime/launcher.py"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1c78800d2a8931be0782521649b6ce096aa52376e9eaf61b46b3ab23ce5915"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/api/routers/reading_extensions.py: deeptutor/api/routers/reading_extensions.py changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in reading_extensions.run_extension_action at line 201. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/api/routers/reading_extensions.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":"deeptutor/api/routers/reading_extensions.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"831ba58e792fbbdfa8c9da59c50a5d5c3aaee74c74142d70c668efde56bc1dc1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/session/context_builder.py: deeptutor/services/session/context_builder.py changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in ContextBuilder.build at line 629. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/session/context_builder.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":"deeptutor/services/session/context_builder.py"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"49312f8a547fb1bb66ed2b7abbd6b10996d4d1afe2ae05a27d2ea9a4459b230a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/common/RichMarkdownRenderer.tsx: web/components/common/RichMarkdownRenderer.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in RichMarkdownRenderer.RichMarkdownRenderer 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/common/RichMarkdownRenderer.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":"web/components/common/RichMarkdownRenderer.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"42de4cefcabc84a84629b07e90838b2b64d3647b4282d680690ae3a34391f02c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/api/routers/quiz_judge.py: deeptutor/api/routers/quiz_judge.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in quiz_judge.websocket_quiz_judge at line 348. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/api/routers/quiz_judge.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":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff1257989a6834efdda6f6a5c61c6f51255a9b9e94044cd8440a8e20fcae15e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/settings/interface_settings.py: deeptutor/services/settings/interface_settings.py changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in interface_settings._normalize_language 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/settings/interface_settings.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":"deeptutor/services/settings/interface_settings.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47db1f83df456ec68061edf12d5cb5e9c06b04cf7525dd0e4c7a4a446e8f2ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/knowledge/KbDocumentsSection.tsx: web/components/knowledge/KbDocumentsSection.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in KbDocumentsSection.KbDocumentsSection at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/knowledge/KbDocumentsSection.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":"web/components/knowledge/KbDocumentsSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db05be7687e5f360c0c68044815526c405af418375bce9689f173818f1289cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/app/service.py: deeptutor/app/service.py changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in TurnApplicationService.subscribe_turn at line 285. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/app/service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/app/service.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d7520166cc6699b86a1238efa4a5fb8d58e4125dbec03c327590883b35113c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/settings/ProvidersWorkspace.tsx: web/components/settings/ProvidersWorkspace.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in ProvidersWorkspace.ProvidersWorkspace at line 48. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/settings/ProvidersWorkspace.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":"web/components/settings/ProvidersWorkspace.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba8b091c58d896dbb63a47d664fea3c181db2b85391cb594ed1720977a0cf70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/settings/sections/ToolsSettingsSection.tsx: web/features/settings/sections/ToolsSettingsSection.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in ToolsSettingsSection.ToolsSettingsPage 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/settings/sections/ToolsSettingsSection.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":"web/features/settings/sections/ToolsSettingsSection.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4244cc0a076daf4ec72e4e0ab482ce97749aa0246b425ea2d646c12af3ac7a13"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/llm/provider_core/openai_responses/parsing.py: deeptutor/services/llm/provider_core/openai_responses/parsing.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in parsing.consume_sdk_stream at line 553. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/provider_core/openai_responses/parsing.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":"deeptutor/services/llm/provider_core/openai_responses/parsing.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e62448746bfb2cc889b192549af650ec7a5d2fb61fa74431106957addef130"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/notebook/NotebookConsole.tsx: web/components/notebook/NotebookConsole.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in NotebookConsole.NotebookDetail at line 458. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/notebook/NotebookConsole.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":"web/components/notebook/NotebookConsole.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"746632e4ff64aaa1484bf95355ef19415b939b5968a6344e5332507b08ac6f69"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/home/MasteryQuestionCard.tsx: web/components/chat/home/MasteryQuestionCard.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in MasteryQuestionCard.SingleMasteryQuestionCard at line 125. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/home/MasteryQuestionCard.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":"web/components/chat/home/MasteryQuestionCard.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60162573911f39894483e610b5845715a0e1fce98815a796539395ff8c800d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/workspace/SourceNavigator.tsx: web/components/reading/workspace/SourceNavigator.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in SourceNavigator.SourceNavigator 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/workspace/SourceNavigator.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":"web/components/reading/workspace/SourceNavigator.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"097d3833f04161737a43837a2c100b615224927a0ec922379e5835b414388e29"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/whisper/page.tsx: web/app/(workspace)/whisper/page.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in page.WhisperPage at line 39. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/whisper/page.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":"web/app/(workspace)/whisper/page.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fa9bfa36a73e6ae5ae1b5dd0d76a2c6d19eaaa89775d842569e071a3738801"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/parsing/engines/mineru/local.py: deeptutor/services/parsing/engines/mineru/local.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in local.parse_document_with_mineru_result 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/parsing/engines/mineru/local.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":"deeptutor/services/parsing/engines/mineru/local.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e92943205e26f87f51bd2800635b9bdbeee41ef6556e9b7b63e9a2b7711c70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/learning/lesson_evidence.py: deeptutor/learning/lesson_evidence.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in lesson_evidence.prepare_lesson at line 678. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/learning/lesson_evidence.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":"deeptutor/learning/lesson_evidence.py"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dcac3c1ce1bb2b653386932484d7c4c6def6d98b0aa4feea7b45d74b775e31"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/config/model_catalog.py: deeptutor/services/config/model_catalog.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in ModelCatalogService._normalize 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/config/model_catalog.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":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddda766e4e2b9e4373a04c54345622c06e9ebadcb9672009109b05a57ea3fa1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/partners/manager.py: deeptutor/services/partners/manager.py changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in PartnerManager._outbound_router at line 770. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/partners/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":"deeptutor/services/partners/manager.py"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f30553b07c967ce15d4e4e73690de7098e4027049a1b61b04dd6a5e3e019c82"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/workspace/ReadingCompanion.tsx: web/components/reading/workspace/ReadingCompanion.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ReadingCompanion.ReadingCompanion 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/workspace/ReadingCompanion.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":"web/components/reading/workspace/ReadingCompanion.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc21666cbb8c3f68feb9c40448c5dde9b2c9c9202ba3b4d9ffabb77510d463bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/session/turns/lifecycle.py: deeptutor/services/session/turns/lifecycle.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in TurnLifecycle.subscribe_turn at line 382. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/session/turns/lifecycle.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":"deeptutor/services/session/turns/lifecycle.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"84aabd485c82bf2e27daedd444932189fa73b1b58b8038808bd07b20b1230472"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/common/InlineFileCard.tsx: web/components/common/InlineFileCard.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in InlineFileCard.makeFileLinkRemarkPlugin at line 180. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/common/InlineFileCard.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":"web/components/common/InlineFileCard.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d533df270b75be635584372e3a42a732419180eae9c9f4458898287afc42651"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/utils/document_extractor.py: deeptutor/utils/document_extractor.py changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in document_extractor._epub_package_navigation at line 813. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/utils/document_extractor.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":"deeptutor/utils/document_extractor.py"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6a0dada537e95ba1ac1bd804e06cf5cd06ebf99937237cefabf10f46b5a236"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/i18n/languages.ts: web/i18n/languages.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in languages.normalizeLanguage at line 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/i18n/languages.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":"web/i18n/languages.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6787019fb36c6b333deb7d6637ab3f68f75b35861dae1bcfd60040c07d6faa3e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/rag/pipelines/llamaindex/pipeline.py: deeptutor/services/rag/pipelines/llamaindex/pipeline.py changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in LlamaIndexPipeline.search at line 324. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/pipelines/llamaindex/pipeline.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e469154fb64d11888ae07e4ee61a4d738b4e062bea90edd6ad74039e1d42e55"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/agents/research/pipeline.py: deeptutor/agents/research/pipeline.py changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ResearchPipeline.__init__ at line 350. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/agents/research/pipeline.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"191fd98538285dcdebeac36ca48cc2484e9c0293257d83c53bd90e49678396c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/rag/pipelines/lightrag/pipeline.py: deeptutor/services/rag/pipelines/lightrag/pipeline.py changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in LightRagPipeline._reconcile at line 154. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/pipelines/lightrag/pipeline.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/pipeline.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9b787d7d6d031129a5fc8e8b37700da3388880347f41e722c2a47529795202"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/settings/SubagentSettingsEditor.tsx: web/components/settings/SubagentSettingsEditor.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in SubagentSettingsEditor.SubagentSettingsEditor at line 326. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/settings/SubagentSettingsEditor.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":"web/components/settings/SubagentSettingsEditor.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4a429cf661bc937fd68d4acec68e1ff3336f15b490b4b51e7dc0cb84b34eb7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/rag/pipelines/llamaindex/document_loader.py: deeptutor/services/rag/pipelines/llamaindex/document_loader.py changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in LlamaIndexDocumentLoader.load at line 77. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/pipelines/llamaindex/document_loader.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":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f78c02d7b2f6dafb03d8fe39ae4151608ec0260d3c71e7a3ca77e32a8f87c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/PdfPage.tsx: web/components/reading/PdfPage.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in PdfPage.PdfPage at line 99. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/PdfPage.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":"web/components/reading/PdfPage.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b278125a61807ddab55c7d1c015a2c0a6d6187f18573c14aa7ff4a02e740ebd6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/partners/PartnerArchives.tsx: web/components/partners/PartnerArchives.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in PartnerArchives.PartnerArchives at line 144. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/partners/PartnerArchives.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":"web/components/partners/PartnerArchives.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71a8500a38bc4e3947b3321a621ed6add3cd68dc3587583408ebbbbdee2cdd1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/context/ReadingContext.tsx: web/context/ReadingContext.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in ReadingContext.ReadingProvider 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/context/ReadingContext.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":"web/context/ReadingContext.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cab7989a83e18d4bd2f25c299349c4a3ece4d8832a41fd8925be7937d1bdf0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/hooks/useMasteryStudySession.ts: web/hooks/useMasteryStudySession.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in useMasteryStudySession.useMasteryStudySession at line 38. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/hooks/useMasteryStudySession.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":"web/hooks/useMasteryStudySession.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45f7ba47cfaad34eed2fcdaa8a43f2952fce25a1855634a9a77d3eeb9338b3e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/workspace/useReadingWorkspace.ts: web/components/reading/workspace/useReadingWorkspace.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in useReadingWorkspace.useReadingWorkspace 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/workspace/useReadingWorkspace.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":"web/components/reading/workspace/useReadingWorkspace.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d3edda0300273ee833bc775e19cd2f608fd210a7c2eeaed1ea1ccf3e07752b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/llm/factory.py: deeptutor/services/llm/factory.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in factory._resolve_call_config at line 161. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/factory.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":"deeptutor/services/llm/factory.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2d03051329607c0d7e4913cb04f571d6b4811a9220d80beeec18429673960d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/llm/provider_factory.py: deeptutor/services/llm/provider_factory.py changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in provider_factory._build_runtime_provider at line 70. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/provider_factory.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":"deeptutor/services/llm/provider_factory.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35ba30a37975f99ea4db5f5a5cb05a7638bff1db364b089aa9d0ca5920066c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/api/routers/unified_ws.py: deeptutor/api/routers/unified_ws.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in unified_ws.unified_websocket at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/api/routers/unified_ws.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":"deeptutor/api/routers/unified_ws.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8c45bbc82af17ad645a022e6a4acd716d13cdf96b395304b92899e8897dca9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/runtime/agentic/labeled_step.py: deeptutor/runtime/agentic/labeled_step.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in labeled_step.run_labeled_step 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/runtime/agentic/labeled_step.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":"deeptutor/runtime/agentic/labeled_step.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84273e7cec5e5f0f0bcbbb65ae4ce8b1fd1d3c0ad1eabd39705ae5373bf79f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/space/SkillsSection.tsx: web/components/space/SkillsSection.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in SkillsSection.SkillsSection 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/space/SkillsSection.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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad83da47e5eb086da4fe38ee374e774995ff45d72a3c5750be70dead04316b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/notebook/NotebookRecordRow.tsx: web/components/notebook/NotebookRecordRow.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in NotebookRecordRow.NotebookRecordRow 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/notebook/NotebookRecordRow.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":"web/components/notebook/NotebookRecordRow.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cbb1a968b083d881478490925266be8824209ad5cc68b50cbc815ae6817604"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/memory/MemorySection.tsx: web/components/memory/MemorySection.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in MemorySection.MemorySection at line 264. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/memory/MemorySection.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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfe40a0abc49e18345d36bf8fd5023931cb8c527ce46f7ba0c3bef078762f2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/workspace/dependencies.py: deeptutor/services/workspace/dependencies.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in dependencies._forward_closure at line 165. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/workspace/dependencies.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":"deeptutor/services/workspace/dependencies.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adee2b67411de8c79f76a0d6c3fa34034adb844b6b1fd47edaca425c98f5153"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/notebook/SaveToNotebookModal.tsx: web/components/notebook/SaveToNotebookModal.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in SaveToNotebookModal.SaveToNotebookModal at line 149. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/notebook/SaveToNotebookModal.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":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1a70c65f27df0dd03f9d914cb974f215f444a2f17becb1b984b52812c8f163"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/learning/policy.py: deeptutor/learning/policy.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in policy.next_objective at line 281. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/learning/policy.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":"deeptutor/learning/policy.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"385469311a5f5707b8a394ca1db0c33d357d06e4212e399faa575b68e7d94e21"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/partners/channels/feishu.py: deeptutor/partners/channels/feishu.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in FeishuChannel.send at line 2115. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/partners/channels/feishu.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":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f003247c18fb0e41765916a83312367e34409ea394b92dcc600ea9d1351210f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/search/source_filter.py: deeptutor/services/search/source_filter.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in source_filter.filter_web_search_response at line 352. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/search/source_filter.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":"deeptutor/services/search/source_filter.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f658521f26d8b49f36267e7b09276fc52900ce0617df0ebfd877014f4c356ba4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/runtime/agentic/tool_dispatch.py: deeptutor/runtime/agentic/tool_dispatch.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in tool_dispatch._collect_outcome at line 940. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/runtime/agentic/tool_dispatch.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":"deeptutor/runtime/agentic/tool_dispatch.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda088b4fa86d3172e370d2fe49c997c3ad41ad463df0b5032bddd934c06dac4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/agents/loop/prompt_blocks.py: deeptutor/agents/loop/prompt_blocks.py changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in LoopPromptAssembler.blocks at line 119. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/agents/loop/prompt_blocks.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":"deeptutor/agents/loop/prompt_blocks.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1dbe2b60981eb1a29d495a1fcd8a68d73b9be499461e47e2fe5688752b08fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/common/SimpleMarkdownRenderer.tsx: web/components/common/SimpleMarkdownRenderer.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in SimpleMarkdownRenderer.SimpleMarkdownRenderer at line 30. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/common/SimpleMarkdownRenderer.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":"web/components/common/SimpleMarkdownRenderer.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b07489f5a37cee9751460f1bf69cc4e53b326e8afb7481a032caa61d04d487"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/llm/reasoning_params.py: deeptutor/services/llm/reasoning_params.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in reasoning_params.build_openai_compatible_reasoning_kwargs at line 173. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/reasoning_params.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":"deeptutor/services/llm/reasoning_params.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a6914de2bcf8886f3b1f5c6dc951d99898563fa53ed5c3a363dc9354f2c895"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/runtime/agentic/client.py: deeptutor/runtime/agentic/client.py changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in _ProviderOpenAIAdapter._create_completion at line 457. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/runtime/agentic/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":"deeptutor/runtime/agentic/client.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"828cfc6c0ed0d350aae568a0205643b38136840c0d80a68327bf7d52872ae6e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/session/source_inventory.py: deeptutor/services/session/source_inventory.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in source_inventory._collect_from_user_message at line 467. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/session/source_inventory.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":"deeptutor/services/session/source_inventory.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb97419944f0508bbdc804116a8a849ec82f08fcaa9cb2b0996e65ca49bb0f95"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/hooks/useKnowledgeProgress.ts: web/hooks/useKnowledgeProgress.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in useKnowledgeProgress.useKnowledgeProgress.subscribeWs at line 149. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/hooks/useKnowledgeProgress.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":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f51802380020cc73390832f00be14537f80a76bde3decd364b0137d73d7b8e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(utility)/profile/page.tsx: web/app/(utility)/profile/page.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in page.ProfilePage 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(utility)/profile/page.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":"web/app/(utility)/profile/page.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4791c10c7267604b2be0891126fc40ec59ef4eb1bbd2763633afb4f83aab71a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/partners/new/page.tsx: web/app/(workspace)/partners/new/page.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in page.NewPartnerPage 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/partners/new/page.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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f7c45dbe6eb3be5e89bc72a50fb56f2579a1310241ec63d6fc83b4c075e067"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/calendar/components/CalendarPage.tsx: web/features/calendar/components/CalendarPage.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 107 in CalendarPage.CalendarPage at line 77. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/calendar/components/CalendarPage.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":"web/features/calendar/components/CalendarPage.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f47cde83d040ab0369438293127fd8e86d3c8e08f715fa7e42b5eb9198bb8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/model_selection/llm.py: deeptutor/services/model_selection/llm.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in llm.list_llm_options at line 83. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/model_selection/llm.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":"deeptutor/services/model_selection/llm.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e143b9e8c003ac1ebf0d7b3609a554b0d4e8046d805d9e21eea9d66b110a281"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/config/launch_settings.py: deeptutor/services/config/launch_settings.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in launch_settings._normalize_language 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/config/launch_settings.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":"deeptutor/services/config/launch_settings.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20139e034fffc02645857f65a43675dc963bece16e8caf388c1b99c544ead9b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/notes/components/NoteWorkspace.tsx: web/features/notes/components/NoteWorkspace.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 155 in NoteWorkspace.NoteWorkspace at line 46. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/notes/components/NoteWorkspace.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":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8ec8a5be8593e14c31c7c170da8f586ddbc68b208053201858f1a1b20692a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/knowledge/IndexingModelSelector.tsx: web/components/knowledge/IndexingModelSelector.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in IndexingModelSelector.IndexingModelSelector at line 81. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/knowledge/IndexingModelSelector.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":"web/components/knowledge/IndexingModelSelector.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b3332fae1d02fd5abeb9bd65c31f36922c3f56c34d3b81aedad36616694c44"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/workspace/data_migration.py: deeptutor/services/workspace/data_migration.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in data_migration.migrate_data at line 561. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/workspace/data_migration.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":"deeptutor/services/workspace/data_migration.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf60eb5cd5f3509da30c5d3a8df68f0ebfaf76dd218bfcaff5218d01538bdc1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/sidebar/SidebarNav.tsx: web/components/sidebar/SidebarNav.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in SidebarNav.SidebarNav at line 89. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/sidebar/SidebarNav.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/sidebar/SidebarNav.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea96968d44c31e906e82e9542b7f10bf59003defdfd2479bc31d303b89052e0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/learning/topic_generation.py: deeptutor/learning/topic_generation.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in topic_generation.materialize_modules at line 308. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/learning/topic_generation.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":"deeptutor/learning/topic_generation.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5037182622327ed5e6413e0d51c41244e81457fb6537e5481d7a4fa3e6434b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/utils/document_images.py: deeptutor/utils/document_images.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in document_images._render_omml at line 341. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/utils/document_images.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":"deeptutor/utils/document_images.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"134a140d069452a5ed6c0b55cd292c8c98d89eb8df7a07a4c1c8c0d42044bb79"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/space/learning/ReviewTrail.tsx: web/components/space/learning/ReviewTrail.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ReviewTrail.ReviewTrail at line 81. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/space/learning/ReviewTrail.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":"web/components/space/learning/ReviewTrail.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7d6a1f5e4b9577b9ad1c7d935a2f2ec9fc4578dc0f5716e253e110f8c8e08a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/lib/notebook-api.ts: web/lib/notebook-api.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in notebook-api.listNotebookEntries 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/lib/notebook-api.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":"web/lib/notebook-api.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c6606d8605e8e837a24af0c7e6baddb34a54126c35b021ad2a814e6cc3740d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/quiz/QuizFollowupTabBody.tsx: web/components/quiz/QuizFollowupTabBody.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in QuizFollowupTabBody.QuizFollowupTabBody at line 71. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/quiz/QuizFollowupTabBody.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":"web/components/quiz/QuizFollowupTabBody.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4460a4fe489e795adeae579d02232eda1e0fe63db94a16735d269bd9dc93d474"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/agents/question/pipeline.py: deeptutor/agents/question/pipeline.py changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in QuestionPipeline.__init__ at line 373. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/agents/question/pipeline.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bca1a0e5acc56e4b41e76c91dbc43534fdd86eb8765ed62cc2243fe2757ecb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/reading/models.py: deeptutor/reading/models.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in MaterialManifest.from_dict at line 261. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/reading/models.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/models.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53add303488d990e6659a7d401cd73c09d33bd6b1cc7499b00bc61966aa6ddb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/home/StarterSuggestions.tsx: web/components/chat/home/StarterSuggestions.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in StarterSuggestions.StarterSuggestions 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/home/StarterSuggestions.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":"web/components/chat/home/StarterSuggestions.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"905bc9ff65732b919b1f99e8622491fdef4f5254d6f52d9d4e8d964e4e64f704"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/AnnotationPopover.tsx: web/components/reading/AnnotationPopover.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in AnnotationPopover.AnnotationPopover 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/AnnotationPopover.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":"web/components/reading/AnnotationPopover.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2226140e049340deaf1ecc192658c6dbeb5c2990c639eadc476e2ae029c54b16"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/learning/semantic_assessment.py: deeptutor/learning/semantic_assessment.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in semantic_assessment._support_contract at line 427. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/learning/semantic_assessment.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":"deeptutor/learning/semantic_assessment.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c9e85aed65142174f20c1381dfc60918eba40e38998c806b4bc526cb67c7a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/knowledge/KbSettingsSection.tsx: web/components/knowledge/KbSettingsSection.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in KbSettingsSection.KbSettingsSection 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/knowledge/KbSettingsSection.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":"web/components/knowledge/KbSettingsSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c814f093e4dd8c52b7b5fa063b3e6a2f09b39baf0c87820d3ee6befa6ef9c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/config/readiness.py: deeptutor/services/config/readiness.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in readiness.catalog_service_rows at line 230. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/config/readiness.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":"deeptutor/services/config/readiness.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"1545864c97ddc91916ce68c1f89751b38225fc443c5ddbbfa8baa47e44924e40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/knowledge/LightRagRoleModelsEditor.tsx: web/components/knowledge/LightRagRoleModelsEditor.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in LightRagRoleModelsEditor.LightRagRoleModelsEditor 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/knowledge/LightRagRoleModelsEditor.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":"web/components/knowledge/LightRagRoleModelsEditor.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a89a95951fef5eea3cf94baeb3523450358024dd5790919c5ae1fa854413bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/llm/provider_core/openai_responses/converters.py: deeptutor/services/llm/provider_core/openai_responses/converters.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in converters.convert_messages at line 31. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/provider_core/openai_responses/converters.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":"deeptutor/services/llm/provider_core/openai_responses/converters.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dadc4f0dacf12b1831386949578957638daa5bbdf38a8f952797561ae8371d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/path_service.py: deeptutor/services/path_service.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in PathService.resolve_public_output_path at line 143. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/path_service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/path_service.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae262f9dbd0a1ae37c90a5bbaf65699cdfc36cbef7b96aaba0f33300453dd3f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/search/__init__.py: deeptutor/services/search/__init__.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in search.web_search 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/search/__init__.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/__init__.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5954c74e8b3a7d624660627940b2d29cf995610dc2443d13f0922a1052ac1219"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/settings/MinerUEngineSettings.tsx: web/components/settings/MinerUEngineSettings.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in MinerUEngineSettings.MinerUEngineSettings 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/settings/MinerUEngineSettings.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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8babdcd3ebadf0146e8984447ac0abc38ecafafe1a93839deee0c96e4e36b5b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/context/AppShellContext.tsx: web/context/AppShellContext.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in AppShellContext.AppShellProvider 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/context/AppShellContext.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":"web/context/AppShellContext.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75bdaf63fdc53141da086848b7d399458fe4ff5380e5b639dcc610a77dd4e95"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/settings/sections/GuardianSettingsSection.tsx: web/features/settings/sections/GuardianSettingsSection.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in GuardianSettingsSection.GuardianSettingsPage at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/settings/sections/GuardianSettingsSection.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":"web/features/settings/sections/GuardianSettingsSection.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78c5eb9b44c92d11306753b37e2863424934beb9e33441257bc45cd125ad497"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/book/engine.py: deeptutor/book/engine.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in engine._source_quality_summary at line 171. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/book/engine.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":"deeptutor/book/engine.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef350fda2136cdbae27fa9e2aaad21a2c51040904077362064ce46d9ac8c9f50"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/space/ChatHistorySection.tsx: web/components/space/ChatHistorySection.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ChatHistorySection.ChatHistorySection 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/space/ChatHistorySection.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":"web/components/space/ChatHistorySection.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a3d49c122f8b87441f2ec35c84f7bfd5356f7c2b2024bdb1ca4b7138235644"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/preview/FilePreviewDrawer.tsx: web/components/chat/preview/FilePreviewDrawer.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in FilePreviewDrawer.FilePreviewDrawer 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/preview/FilePreviewDrawer.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":"web/components/chat/preview/FilePreviewDrawer.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fd89e6002162b0a0640f9ae70be8940188bc495d9af3dc84a64bc1bae45fb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/api/routers/partners.py: deeptutor/api/routers/partners.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in partners.partner_chat_ws at line 1857. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/api/routers/partners.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":"deeptutor/api/routers/partners.py"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b62f1648f3f98fb1856f7f2a347f77e19443d3b24762f8b9a1ff4c91f2c89ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/sidebar/WorkspaceSidebar.tsx: web/components/sidebar/WorkspaceSidebar.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in WorkspaceSidebar.WorkspaceSidebar 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/sidebar/WorkspaceSidebar.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":"web/components/sidebar/WorkspaceSidebar.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3290856e3a1fc433709dd5dde6d0370a28418a7f7710387a99405afc0e24d80a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/partners/commands.py: deeptutor/services/partners/commands.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in PartnerCommandHandler._model at line 236. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/partners/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":"deeptutor/services/partners/commands.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07dba2374c1f00a1d98559cd0c55867e2480c883321d8647aba963d3a063d56"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/multi-user/components/GrantEditor.tsx: web/features/multi-user/components/GrantEditor.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in GrantEditor.GrantEditor at line 161. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/multi-user/components/GrantEditor.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":"web/features/multi-user/components/GrantEditor.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a61233471905dc3203264754b0ae6755c7a4fbf8716ba865c7af6b3aacd1b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/capabilities/explore_context/explorer.py: deeptutor/capabilities/explore_context/explorer.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ContextExplorer._call_llm at line 388. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/capabilities/explore_context/explorer.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":"deeptutor/capabilities/explore_context/explorer.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"b413466b8fad39d42de23df06233f7c775fc7ce2a23631cd73ca6be1730815c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/learning/books/components/BookCreator.tsx: web/app/(workspace)/learning/books/components/BookCreator.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in BookCreator.BookCreator at line 87. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/learning/books/components/BookCreator.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":"web/app/(workspace)/learning/books/components/BookCreator.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f975655b49a471050b3774d5faec0031dea34963ae4c78c5a2b23f73648e60c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/MyAgentsPicker.tsx: web/components/chat/MyAgentsPicker.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in MyAgentsPicker.MyAgentsPicker 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/MyAgentsPicker.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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"15beacee671164e3f63d312ef75128bada404acbdc0b45a55b412ee8aec396e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/chat/controllers/buildStartTurnInput.ts: web/features/chat/controllers/buildStartTurnInput.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in buildStartTurnInput.buildStartTurnInput 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/chat/controllers/buildStartTurnInput.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":"web/features/chat/controllers/buildStartTurnInput.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cb517b1f788319e6a5e7e112750d460e05d35416ca435a0ed1ea8b7b95abf6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/partners/PartnerChannels.tsx: web/components/partners/PartnerChannels.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in PartnerChannels.PartnerChannels at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/partners/PartnerChannels.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":"web/components/partners/PartnerChannels.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3329a5a9db5df855622570840362debef020823fa58a1227892fe9b689bd34ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/partners/PartnerConfigure.tsx: web/components/partners/PartnerConfigure.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in PartnerConfigure.PartnerConfigure at line 67. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/partners/PartnerConfigure.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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d159820719b42f79c76e4f4dc006e9902ce6cbf6ffbf2f06b6de492bb4f764b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/HistorySessionPicker.tsx: web/components/chat/HistorySessionPicker.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in HistorySessionPicker.HistorySessionPicker at line 53. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/HistorySessionPicker.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":"web/components/chat/HistorySessionPicker.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"69605e830023f098278924b22254bfe183b9c294011cd4d6c3fbbc34f40d0634"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/settings/provider_probe.py: deeptutor/services/settings/provider_probe.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in provider_probe.probe_provider 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/settings/provider_probe.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":"deeptutor/services/settings/provider_probe.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bb8c46dfa0c2d4ccab080862e8c12c701aaa171a4ad9c1680e780e8457516b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/space/learning/ObjectiveDetail.tsx: web/components/space/learning/ObjectiveDetail.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in ObjectiveDetail.ObjectiveDetail at line 19. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/space/learning/ObjectiveDetail.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":"web/components/space/learning/ObjectiveDetail.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b12b708e6a73d555e93761afa0f5152b05e94e9e0d13c055d13a6459059899"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/lib/reasoning-effort.ts: web/lib/reasoning-effort.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in reasoning-effort.tableReasoningEffortOptions 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/lib/reasoning-effort.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":"web/lib/reasoning-effort.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"87769ff0a9c18f495fbb2845feae2f92918fc18ed3721964b2f3f4460c4ecef6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/common/AssistantResponse.tsx: web/components/common/AssistantResponse.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AssistantResponse.AssistantResponseImpl 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/common/AssistantResponse.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":"web/components/common/AssistantResponse.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ed418aa7ae86741be30e3f825fc6584dc18f3fa776fcfb243706a1f0b4a0a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/settings/sections/DataMigrationSettingsSection.tsx: web/features/settings/sections/DataMigrationSettingsSection.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in DataMigrationSettingsSection.DataMigrationSettingsSection at line 74. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/settings/sections/DataMigrationSettingsSection.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":"web/features/settings/sections/DataMigrationSettingsSection.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"844dd03c32c04554ee05a10518864bec8ddc50969b52f65c0cd03c727a184e79"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/co-writer/page.tsx: web/app/(workspace)/co-writer/page.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in page.CoWriterHomePage at line 144. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/co-writer/page.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":"web/app/(workspace)/co-writer/page.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedb1eb6f2ca59487467c2dd33c393dca586451bf1026ec102870ef18e3abb7b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/home/ComposerResources.tsx: web/components/chat/home/ComposerResources.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in ComposerResources.ComposerResources at line 55. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/home/ComposerResources.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":"web/components/chat/home/ComposerResources.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b368b9d28993d6faa878bfe7a8cbcddae0b21ac60890be4ce3e4e8bfc248c8f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/web_source/crawler.py: deeptutor/services/web_source/crawler.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in crawler.crawl_docs_site at line 347. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/web_source/crawler.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":"deeptutor/services/web_source/crawler.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e9ef4654e992a97c27f719dfad255d4530c58a33381153f56971589ed08643"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/scripts/i18n_audit.mjs: web/scripts/i18n_audit.mjs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in i18n_audit.reportUntranslatedKeys at line 129. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/scripts/i18n_audit.mjs\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":"web/scripts/i18n_audit.mjs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba433f04ae3619c777ec07268b8381b1694525f93a0549694efac9a1d35ec560"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/codex_auth/service.py: deeptutor/services/codex_auth/service.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in service.reconcile_codex_catalog_update at line 237. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/codex_auth/service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/codex_auth/service.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"48acf4281e43242b5892f1c85d61cbdd7beca72937efd3db74a43ee5093beeb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/settings/CodexOAuthCard.tsx: web/components/settings/CodexOAuthCard.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in CodexOAuthCard.CodexOAuthCard at line 32. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/settings/CodexOAuthCard.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":"web/components/settings/CodexOAuthCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"674c635cdbaa8c65697bd95fccfb147a1c1b31dbb7a992bff4076649cd4c1c80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/multi_user/model_access.py: deeptutor/multi_user/model_access.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in model_access.redacted_model_access at line 72. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/multi_user/model_access.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":"deeptutor/multi_user/model_access.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe249eedcd1ba44d2aa5dd1ac9eec7371c7db0ff6366d3c923ffbd4ba0258d43"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/knowledge/components/engines/EngineDetail.tsx: web/features/knowledge/components/engines/EngineDetail.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in EngineDetail.LightRagModelsForm at line 1176. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/knowledge/components/engines/EngineDetail.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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3bd52bc9fd6b46a9b5e62baa2635ecd00368162426c773f1fd779a3cccfc82"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/space/learning/TopicWizardSteps.tsx: web/components/space/learning/TopicWizardSteps.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in TopicWizardSteps.SourcesStep 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/space/learning/TopicWizardSteps.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":"web/components/space/learning/TopicWizardSteps.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee3a2c1815eb3a581d6dd4da126ca59345b3a89158c1f383e1839195ca543e9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/hooks/useTopicSourceLibrary.ts: web/hooks/useTopicSourceLibrary.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in useTopicSourceLibrary.useTopicSourceLibrary at line 165. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/hooks/useTopicSourceLibrary.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":"web/hooks/useTopicSourceLibrary.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7b240bbd3a8c8817dbcb5dd88bb3e798a63f855ff22b62229dc9ff190642d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/watching/WatchingBrowser.tsx: web/components/watching/WatchingBrowser.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in WatchingBrowser.WatchingBrowser at line 30. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/watching/WatchingBrowser.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":"web/components/watching/WatchingBrowser.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"133b3c3ebefeb5123069f4e5255301edb4c08d1679166b293132918d706dcf93"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/llm/provider_core/anthropic_provider.py: deeptutor/services/llm/provider_core/anthropic_provider.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AnthropicProvider._assistant_blocks at line 196. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/provider_core/anthropic_provider.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":"deeptutor/services/llm/provider_core/anthropic_provider.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38770d334ca1b187abf78c42a42db301801e44014966c2a0b7df22a4f4b55b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/reading/extract.py: deeptutor/reading/extract.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in extract.split_markdown_by_headings at line 441. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/reading/extract.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":"deeptutor/reading/extract.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4629bf7441200dea9a9fcb7487a700bcac2432c0279377e8d704070e6ec9e7b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/session/attachment_parsing.py: deeptutor/services/session/attachment_parsing.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in attachment_parsing.parse_chat_pdf_attachments at line 19. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/session/attachment_parsing.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":"deeptutor/services/session/attachment_parsing.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ee320b343fe701c2b9086b01b135fba2554290bfaf9671213ac780bd1a9789"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/home/TurnNavigator.tsx: web/components/chat/home/TurnNavigator.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in TurnNavigator.TurnNavigator 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/home/TurnNavigator.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":"web/components/chat/home/TurnNavigator.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef85b20db2a06fe7033ebd0b53476a3f49345592be4e7d065eafb3fce6acfbc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/space/question-bank/useQuestionBank.ts: web/components/space/question-bank/useQuestionBank.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in useQuestionBank.useQuestionBank at line 142. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/space/question-bank/useQuestionBank.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":"web/components/space/question-bank/useQuestionBank.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb23d20c5057499788c6284bb4b0283f827e23b060c7161f63096838369cb56a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/SessionList.tsx: web/components/SessionList.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in SessionList.SessionList at line 31. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/SessionList.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":"web/components/SessionList.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c3fbb5f7cd58c0fc952526a1d49b36d2ebb66f6f4736e672da5493400f135c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/library/AddMaterialsDialog.tsx: web/components/reading/library/AddMaterialsDialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in AddMaterialsDialog.AddMaterialsDialog at line 69. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/library/AddMaterialsDialog.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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9d0d9b2b497b9ed3762412d5a3691f74ca21b5964e4dd1795789a565e7c71d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/settings/RegistryControls.tsx: web/components/settings/RegistryControls.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in RegistryControls.ProbeForm at line 144. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/settings/RegistryControls.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":"web/components/settings/RegistryControls.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e31c7a2529034993f2470bd6042a35159db414440fcbd3f1583fc2a808e9f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/settings/sections/AboutSettingsSection.tsx: web/features/settings/sections/AboutSettingsSection.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in AboutSettingsSection.AboutSettingsPage at line 61. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/settings/sections/AboutSettingsSection.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":"web/features/settings/sections/AboutSettingsSection.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"57de10a984c82ca5e46b8fdbec4041b55aa1f74b3f6ec4b8588ce8673f34a40d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/book/agents/source_explorer.py: deeptutor/book/agents/source_explorer.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SourceExplorer._design_queries 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/book/agents/source_explorer.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":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0bfe9a97f50c2bf480ff196a4d6e104c4d333c6fa61825d8680a1f45ce2b1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/learning/practice/PracticeSession.tsx: web/components/learning/practice/PracticeSession.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in PracticeSession.PracticeTurn at line 126. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/learning/practice/PracticeSession.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":"web/components/learning/practice/PracticeSession.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa78b7f1a84829794103161fee811a80591c249a8e14f6a14a739ebb23568c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/llm/provider_core/openai_codex_provider.py: deeptutor/services/llm/provider_core/openai_codex_provider.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in OpenAICodexProvider._call_codex 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/provider_core/openai_codex_provider.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":"deeptutor/services/llm/provider_core/openai_codex_provider.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb1d8f89f3a943a3ffb0bf5c5a84cc738758ae7c1cb0b3cc4dfc67023bcf2a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/learning/practice/PracticePage.tsx: web/components/learning/practice/PracticePage.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in PracticePage.PracticeCollectionPage 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/learning/practice/PracticePage.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":"web/components/learning/practice/PracticePage.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb377fa55455f011eb37e3d4eb7ab03b7156c3861cb1545301d693da6de82bfe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/book/kb_health.py: deeptutor/book/kb_health.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in kb_health.detect_kb_drift at line 177. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/book/kb_health.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":"deeptutor/book/kb_health.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41da874c2ddf92a9959348593de893ff5703851f6031c514503131d89919376"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat-engine/src/native/session.ts: packages/chat-engine/src/native/session.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in NativeSession.operate at line 170. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- packages/chat-engine/src/native/session.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/chat-engine/src/native/session.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aff57b8a255c4f10e024a45565c8c1bc5830f030f6973869139b05994bd2dee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/rag/source_visuals.py: deeptutor/services/rag/source_visuals.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in source_visuals.retrieve_visual at line 209. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/source_visuals.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":"deeptutor/services/rag/source_visuals.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6dc456d821ebeff1d22f3f010599e2001b61bd7063efb214e5f199f5bc1d22"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/capabilities/mastery/memory.py: deeptutor/capabilities/mastery/memory.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in MasteryContextBuilder._summarize at line 290. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/capabilities/mastery/memory.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":"deeptutor/capabilities/mastery/memory.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58e4662eb79f333f81133f9a2ef2e00916f7b757ee5e2e321c5e0205589bf96"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/tools/web_fetch.py: deeptutor/tools/web_fetch.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in web_fetch.fetch_url_as_markdown at line 81. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/tools/web_fetch.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":"deeptutor/tools/web_fetch.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1dc8b501b16b6d2b55805ca0a5d7b73507df883ea08a91d35cb6704ea406cda"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/runtime/agentic/loop.py: deeptutor/runtime/agentic/loop.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in loop.run_agentic_loop at line 178. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/runtime/agentic/loop.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":"deeptutor/runtime/agentic/loop.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dac902f632075bda102915d774c75af131e181897b75a8fdec65d694bc9e81"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/embedding/adapters/openai_compatible.py: deeptutor/services/embedding/adapters/openai_compatible.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in OpenAICompatibleEmbeddingAdapter.embed at line 226. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/embedding/adapters/openai_compatible.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":"deeptutor/services/embedding/adapters/openai_compatible.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9526a40a08dfb4d217734f7b9d1c1dad623c64d10425c1f2c99b76eed52f9e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/lib/failed-submissions.ts: web/lib/failed-submissions.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in failed-submissions.clearFailedSubmission at line 358. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/lib/failed-submissions.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":"web/lib/failed-submissions.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2c9541b46f5d1f07721417e5c4ab24f2973ef7979f800d893622988be38f9f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/rag/pipelines/llamaindex/storage.py: deeptutor/services/rag/pipelines/llamaindex/storage.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in storage.resolve_resumable_rebuild_dir 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/pipelines/llamaindex/storage.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":"deeptutor/services/rag/pipelines/llamaindex/storage.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e54a9ead62c9e34323959932de3ab522c4d46dea01709f389b942bdcff58f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/chat/transport/TurnRuntimeClient.ts: web/features/chat/transport/TurnRuntimeClient.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in TurnRuntimeClient.handleMessage at line 404. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/chat/transport/TurnRuntimeClient.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":"web/features/chat/transport/TurnRuntimeClient.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"315190d7e56130280ea51d424774f03986a8bbeb914116428e4cd5814525de34"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/QuestionBankPicker.tsx: web/components/chat/QuestionBankPicker.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in QuestionBankPicker.QuestionBankPicker at line 57. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/QuestionBankPicker.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":"web/components/chat/QuestionBankPicker.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a5574b7d1e038b2a739666a0c97c9bc448e2d08cc8cc0a56aa000e35720d87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/lib/reading-citations.ts: web/lib/reading-citations.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in reading-citations.linkifyLocatorCitations at line 236. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/lib/reading-citations.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":"web/lib/reading-citations.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a329f6684a9119570f9a9c3f983404e4f117e5efc4c8ea11363834938ca648"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/knowledge/KbWebSourcesSection.tsx: web/components/knowledge/KbWebSourcesSection.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in KbWebSourcesSection.KbWebSourcesSection at line 33. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/knowledge/KbWebSourcesSection.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":"web/components/knowledge/KbWebSourcesSection.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4799fb2c09446ef56d33feb2556e1eb1f0121419b1f5f55c304bf169fcc07b82"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/sidebar/CategoryNavigation.tsx: web/components/sidebar/CategoryNavigation.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in CategoryNavigation.CategoryTabs at line 88. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/sidebar/CategoryNavigation.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":"web/components/sidebar/CategoryNavigation.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"edec7faf7f2072cec4ad80fa7b1fb2e974a004d90772f28da58e0840698bbeec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/knowledge/KnowledgeHome.tsx: web/components/knowledge/KnowledgeHome.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in KnowledgeHome.KnowledgeHome 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/knowledge/KnowledgeHome.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":"web/components/knowledge/KnowledgeHome.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a07b23c0046d1ef6dd92c867b9ccc5c1b530a8cade4de83aa034f803387edc4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/memory/MemoryRunPanel.tsx: web/components/memory/MemoryRunPanel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in MemoryRunPanel.MemoryRunPanel at line 59. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/memory/MemoryRunPanel.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":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a044f220dff47e2458f0e6a99407daf185aa52d82bd1df83e40c794138b67f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/agents/video_lesson/capability.py: deeptutor/agents/video_lesson/capability.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in VideoLessonCapability.run at line 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/agents/video_lesson/capability.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":"deeptutor/agents/video_lesson/capability.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6a6c0028d6705a098b60f976bda0c1b010c2be6c265abed4b0660ec29f3992"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/knowledge/KbFilePreview.tsx: web/components/knowledge/KbFilePreview.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in KbFilePreview.KbFilePreview at line 112. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/knowledge/KbFilePreview.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":"web/components/knowledge/KbFilePreview.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0809cdf7df5f0a652527206564862d060970e83a18bdff8b5d571e006847f8f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/settings/sections/DocumentParsingSettingsSection.tsx: web/features/settings/sections/DocumentParsingSettingsSection.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in DocumentParsingSettingsSection.DocumentParsingSettingsPage at line 66. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/settings/sections/DocumentParsingSettingsSection.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":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac390fda85725da030d7994622a8e674bc0f43a3524ab632f5087c99ee0cdb1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/sidebar/CommandPalette.tsx: web/components/sidebar/CommandPalette.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in CommandPalette.CommandPalette 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/sidebar/CommandPalette.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":"web/components/sidebar/CommandPalette.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd966358a0d2ccc4471a31c263fa805b2d52bcdb6243b8bdc294a87b695bbcfc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/settings/ConnectionsEditor.tsx: web/components/settings/ConnectionsEditor.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ConnectionsEditor.ConnectionsEditor at line 82. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/settings/ConnectionsEditor.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":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda92e569aaf8105d1f253cd97d4d93d2fd4c2e48f968b218a60673d57f8b69f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/api/routers/co_writer.py: deeptutor/api/routers/co_writer.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in co_writer._run_react_edit 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/api/routers/co_writer.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":"deeptutor/api/routers/co_writer.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af7509e809a7e34dfab6b2bddcc252b5072f5667b46535d6fbb42c60c6b62f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/learning/books/components/BookLibrary.tsx: web/app/(workspace)/learning/books/components/BookLibrary.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in BookLibrary.BookLibrary at line 82. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/learning/books/components/BookLibrary.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":"web/app/(workspace)/learning/books/components/BookLibrary.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4d6798b8f50b154c608b490f54d139e0d7f74bbc6cbea8c0c1e256412e8383"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/space/question-bank/QuestionBankSection.tsx: web/components/space/question-bank/QuestionBankSection.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in QuestionBankSection.QuestionBankSection at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/space/question-bank/QuestionBankSection.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":"web/components/space/question-bank/QuestionBankSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"54163c3f12e798a25493c429ceac259d962bd023c0533ae3afc6ed637f20ee97"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/partners/page.tsx: web/app/(workspace)/partners/page.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in page.PartnersPage at line 32. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/partners/page.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":"web/app/(workspace)/partners/page.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb9492d63ce894664df0c583e1a72a1ab73b2fe7f74d6dcd9f5386cc9c53af0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/learning/topic_materials.py: deeptutor/learning/topic_materials.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in topic_materials.build_topic_materials at line 431. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/learning/topic_materials.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":"deeptutor/learning/topic_materials.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4a3035cd064cc329f1c4625022dc69753b6e403a659431d52b80dd26a0a4be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/agents/question/capability.py: deeptutor/agents/question/capability.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in DeepQuestionCapability.run at line 32. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/agents/question/capability.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":"deeptutor/agents/question/capability.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bb0c5e71b4ecb5af7075b020eab882839367e6fd709018419070f4c12758f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/runtime/update_worker.py: deeptutor/runtime/update_worker.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in update_worker.run_update_worker at line 163. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/runtime/update_worker.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":"deeptutor/runtime/update_worker.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46706b1843483cd36ad63ae966e20e7d731e410e12e027e66499d8bbdd46288"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/session/model_history.py: deeptutor/services/session/model_history.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in model_history.replay_group at line 165. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/session/model_history.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/model_history.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fd2198a285d79331660a5b5f3ef2998063f6ef8b726f38ac1612a7057811d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/model_selection/reasoning.py: deeptutor/services/model_selection/reasoning.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in reasoning.supported_reasoning_efforts at line 16. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/model_selection/reasoning.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":"deeptutor/services/model_selection/reasoning.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee020669672eec03dd680b158f44049c53520db26551fd5b45e12c8414de608c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/hooks/useWorkspaceChatActions.ts: web/hooks/useWorkspaceChatActions.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in useWorkspaceChatActions.useWorkspaceChatActions 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/hooks/useWorkspaceChatActions.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":"web/hooks/useWorkspaceChatActions.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb454a2d2619e86fbc56573d8eccd10dc5177062e7cad5b7969e3884210faa8f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/lib/message-branches.ts: web/lib/message-branches.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in message-branches.buildVisiblePath 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/lib/message-branches.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":"web/lib/message-branches.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1399a14d7c742e03aa9c44e389590e078a6e9748c78e65b592590316b7788e44"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/web_source/html_extractor.py: deeptutor/services/web_source/html_extractor.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in html_extractor._element_to_markdown at line 420. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/web_source/html_extractor.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":"deeptutor/services/web_source/html_extractor.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"86649f2d99fedb138bd0cdab811dafef0600a4f0be185efaafd50f325bd1e32e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/space/learning/CreateTopicWizard.tsx: web/components/space/learning/CreateTopicWizard.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CreateTopicWizard.CreateTopicWizard at line 48. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/space/learning/CreateTopicWizard.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":"web/components/space/learning/CreateTopicWizard.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"717b6454002afbf547707ce04ac8f1bff51f1a90fffec8cc84479d714e197edc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/agents/visualize/capability.py: deeptutor/agents/visualize/capability.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in VisualizeCapability.run at line 92. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/agents/visualize/capability.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":"deeptutor/agents/visualize/capability.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f939e9038de6166a6e8bc72d9f09f8928ba454fcc81818a4181dec586f8222"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/settings/sections/WorkspaceSettingsSection.tsx: web/features/settings/sections/WorkspaceSettingsSection.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in WorkspaceSettingsSection.WorkspaceRow at line 23. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/settings/sections/WorkspaceSettingsSection.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":"web/features/settings/sections/WorkspaceSettingsSection.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ffef38f9409f0efedd09a59d0b15f838ce6458387eb263974b1e2c9dca250f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/library/ReadingLibrary.tsx: web/components/reading/library/ReadingLibrary.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ReadingLibrary.ReadingLibraryPage 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/library/ReadingLibrary.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":"web/components/reading/library/ReadingLibrary.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"143eed85e8a8b01959dba00f90937811100f14e037ae987dcc6ed1af4bc72501"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/shared/ui/Tooltip.tsx: web/shared/ui/Tooltip.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in Tooltip.Tooltip at line 41. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/shared/ui/Tooltip.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":"web/shared/ui/Tooltip.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"00845c5e30bdeafe77ac54adf2bb120b1c5b2ca5e84663de9c79a48fe2c5249c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/partners/PartnerComposer.tsx: web/components/partners/PartnerComposer.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in PartnerComposer.PartnerComposer 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/partners/PartnerComposer.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":"web/components/partners/PartnerComposer.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4644418efd5452149313f0abaf4a87d7220ee12f983d71369b81ebeae71698ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/space/PersonasSection.tsx: web/components/space/PersonasSection.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in PersonasSection.PersonasSection at line 63. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/space/PersonasSection.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":"web/components/space/PersonasSection.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6f5fc8ad3162181a58e08467e11f0f53fd9517b44964065b4cb50ac3d87531"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/partners/groups/[groupId]/page.tsx: web/app/(workspace)/partners/groups/[groupId]/page.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in page.PartnerGroupPage at line 38. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/partners/groups/[groupId]/page.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":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"256f5c08124ead0f907be2a8af0325da0027c96d8d484bb3fb966071f9b68b4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/workspaces/WorkspacePill.tsx: web/components/workspaces/WorkspacePill.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in WorkspacePill.WorkspacePill at line 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/workspaces/WorkspacePill.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":"web/components/workspaces/WorkspacePill.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aee83f6250a44e11ce487172771d9ad46927fbde6b4b715d2040d4c5371681e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/workspace/session_transfer.py: deeptutor/services/workspace/session_transfer.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in session_transfer.transfer_sessions at line 19. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/workspace/session_transfer.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":"deeptutor/services/workspace/session_transfer.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"651b6e955e86f3d1057c9eb50b1bc7298a47fdfa087aab87883bd9c55e994d02"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/utils/bibtex_converter.py: deeptutor/utils/bibtex_converter.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in bibtex_converter._scan_entry at line 227. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/utils/bibtex_converter.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":"deeptutor/utils/bibtex_converter.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f037bd8418650dc9473a77e1a24f6db33df1ead1d95aeef5e4ed81e3291b5c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/rag/service.py: deeptutor/services/rag/service.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in RAGService.search 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/service.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3920273b05677a238fcfac975260739d9e1d58ddccdec6f97e51282866595653"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/learning/books/components/BookSidebar.tsx: web/app/(workspace)/learning/books/components/BookSidebar.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in BookSidebar.BookSidebar at line 67. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/learning/books/components/BookSidebar.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":"web/app/(workspace)/learning/books/components/BookSidebar.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11e2cc5a4271fe257f23b52fa27168c29b5bd1fa6b3d7441f29418e33503d53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/runtime/agentic/tool_call_stream.py: deeptutor/runtime/agentic/tool_call_stream.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in ToolCallAccumulator.feed at line 179. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/runtime/agentic/tool_call_stream.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":"deeptutor/runtime/agentic/tool_call_stream.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8f7e813ad40c68f315189f6880903378891e074955c12b5aae1fd0594e6188"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/library/MaterialLibrary.tsx: web/components/reading/library/MaterialLibrary.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in MaterialLibrary.MaterialRow at line 321. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/library/MaterialLibrary.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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2a612dd103ed2a6a65a76b4e66f0d51b43cd54ace7d5b926ca97d2f74dfced"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/home/ModelSelector.tsx: web/components/chat/home/ModelSelector.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ModelSelector.ModelSelector 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/home/ModelSelector.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":"web/components/chat/home/ModelSelector.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17c73427492c825ec8764c3597c8df58d4c1e8d2573394212c614ad623b7db4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/config/provider_links.py: deeptutor/services/config/provider_links.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in provider_links.resolve_profile_provider 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/config/provider_links.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":"deeptutor/services/config/provider_links.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d03c1012df1022736a525752cda2c9cd4a2d99d5c35e8b7e18a524f62d269b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/doctor.py: deeptutor/services/doctor.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in doctor._rag_check at line 224. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/doctor.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":"deeptutor/services/doctor.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"df76d4a7d673865ff903075592a4c2a1d0f93ab8e1f26582d8cfbc7264e3f21f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/parsing/service.py: deeptutor/services/parsing/service.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ParseService._parse at line 161. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/parsing/service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/parsing/service.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5702f83a9d9a54408ca6e1507f0aa3bda1a67c8d4da0cdfda6780a24b60b7756"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/github_source/sync.py: deeptutor/services/github_source/sync.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in sync.sync_source at line 169. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/github_source/sync.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":"deeptutor/services/github_source/sync.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be6445bd57e1f0d6da58de47873ba0f3a51d028e874cf42cb6099cb0d420f8f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/notes/components/NoteBlockPreview.tsx: web/features/notes/components/NoteBlockPreview.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in NoteBlockPreview.NoteBlockPreview at line 25. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/notes/components/NoteBlockPreview.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":"web/features/notes/components/NoteBlockPreview.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"59243a4d0993c590391d8c480ca0dce9b33d9d65d059ffd65f8786de24ada22c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/math-animator/MathAnimatorViewer.tsx: web/components/math-animator/MathAnimatorViewer.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in MathAnimatorViewer.MathAnimatorViewer at line 10. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/math-animator/MathAnimatorViewer.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":"web/components/math-animator/MathAnimatorViewer.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faeaea4d9f55f6f67697777cdd7081dc352cc25aae7458d60d45ef9fda686a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/workspace/kb_move.py: deeptutor/services/workspace/kb_move.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in kb_move.move_kb at line 326. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/workspace/kb_move.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":"deeptutor/services/workspace/kb_move.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80b2c12dd1c36ab14c5e9b0064b4ff5456050df7cf2f28fca4d1f63bf831f59"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/tools/ask_user.py: deeptutor/tools/ask_user.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ask_user._build_question at line 243. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/tools/ask_user.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":"deeptutor/tools/ask_user.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7ffa2b3fafad8c8eb56b69f765e32a46bb71d6309011540eb322af5ad275dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/rag/visual_assets.py: deeptutor/services/rag/visual_assets.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in visual_assets._block_details 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/visual_assets.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":"deeptutor/services/rag/visual_assets.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef301d1b843195ecf647ebdf9f9b238613203f9e2ddf1cecd2175f7de7f8799"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/memory/snapshot/adapters.py: deeptutor/services/memory/snapshot/adapters.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in adapters.read_quiz_entities at line 548. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/memory/snapshot/adapters.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":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"f656d97db78a64d1e73cee3aedac277cc9bf7ce658b969fc9d6b7334bdd6ce52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/utils/archive_extractor.py: deeptutor/utils/archive_extractor.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in archive_extractor.safe_extract_zip 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/utils/archive_extractor.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":"deeptutor/utils/archive_extractor.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5b9aa6ed5652708f589b754a51cc54dfd0c9bf105b134f39b93e57bcdc685d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/space/MyAgentsSection.tsx: web/components/space/MyAgentsSection.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in MyAgentsSection.MyAgentsSection at line 89. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/space/MyAgentsSection.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":"web/components/space/MyAgentsSection.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b7c7d1f239254041bc641bc436c8a0743f5eb2cd878f9aa4fe895d00e4a24c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/learning/books/components/BookHealthBanner.tsx: web/app/(workspace)/learning/books/components/BookHealthBanner.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in BookHealthBanner.BookHealthBanner at line 47. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/learning/books/components/BookHealthBanner.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":"web/app/(workspace)/learning/books/components/BookHealthBanner.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c04e545d31aefc7f7bc3f7cea76aab34b1135edb9b724ad71a6794339431a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/AnnotationList.tsx: web/components/reading/AnnotationList.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AnnotationList.AnnotationList at line 37. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/AnnotationList.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":"web/components/reading/AnnotationList.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7771babd583dccaa68b3bf9c2a272fa42167c51f940ececd7f1b3e6730c61d58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/sidebar/LearningNavigation.tsx: web/components/sidebar/LearningNavigation.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in LearningNavigation.RecordNode at line 159. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/sidebar/LearningNavigation.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":"web/components/sidebar/LearningNavigation.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b22482e83cd45f01538bc6d6641f259fca636763280e2067b50343997b42f96"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/session/turns/title_service.py: deeptutor/services/session/turns/title_service.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in SessionTitleService._maybe_generate_session_title 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/session/turns/title_service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/title_service.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb693b6e890829b3d79b83a6b1b8ffa632544c4edaab88ce4f191069eaa3121e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/learning/books/components/PageOutlineNav.tsx: web/app/(workspace)/learning/books/components/PageOutlineNav.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in PageOutlineNav.PageOutlineNav at line 99. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/learning/books/components/PageOutlineNav.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":"web/app/(workspace)/learning/books/components/PageOutlineNav.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eced007ba39449e390c8b4dba366e3c3ce25ebd2b2c5c1408284bc64aa8f985"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/tasks/components/KanbanBoard.tsx: web/features/tasks/components/KanbanBoard.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in KanbanBoard.KanbanBoard at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/tasks/components/KanbanBoard.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":"web/features/tasks/components/KanbanBoard.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d788fa84b066069b9e4db92c9dd88355bd0455e3efe04ee25c1e7be2874c135"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/notebook/useNotebookLibrary.ts: web/components/notebook/useNotebookLibrary.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in useNotebookLibrary.useNotebookLibrary at line 63. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/notebook/useNotebookLibrary.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":"web/components/notebook/useNotebookLibrary.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c534ac4acb4a80c4b91ce2e386c1caf51f4e0f1fc2b1550f484337ee8ce80e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/ReadingReferencePicker.tsx: web/components/chat/ReadingReferencePicker.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in ReadingReferencePicker.ReadingReferencePicker 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/ReadingReferencePicker.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":"web/components/chat/ReadingReferencePicker.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc87227c89fe5b48323adf380136c5340beead9d54561b6e7274a9662618539b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/learning/LearningDashboard.tsx: web/components/learning/LearningDashboard.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in LearningDashboard.LearningDashboard at line 33. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/learning/LearningDashboard.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":"web/components/learning/LearningDashboard.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67ff5c14fed2b4ac98ec38650a4eac4ad2c83950a9bc9b7370f7a252e6a3e98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/learning/migration.py: deeptutor/learning/migration.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in migration._prepare_mastery_v2_root at line 185. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/learning/migration.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":"deeptutor/learning/migration.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a316c103a8623858b15d20ee3f0df017b6bfcfc039b2d79af3b00a848a7384"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/learning/visual_practice.py: deeptutor/learning/visual_practice.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in visual_practice.prepare_visual at line 92. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/learning/visual_practice.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":"deeptutor/learning/visual_practice.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3d63ae113f212fa2241175d5af50113340dc88a7f82ae8cc335f0a21037900"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/learning/books/components/SpineEditor.tsx: web/app/(workspace)/learning/books/components/SpineEditor.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in SpineEditor.SpineEditor 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/learning/books/components/SpineEditor.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":"web/app/(workspace)/learning/books/components/SpineEditor.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2236f78f447ffccceadbb0f561baceb161bbc249703066dc311ba51ce30b59"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/rag/factory.py: deeptutor/services/rag/factory.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in factory._build_pipeline at line 136. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/factory.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":"deeptutor/services/rag/factory.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d4a609fb240dbd736e6eeff4afdc0d1c62711bb9dcbe1f697113b12ce7cbbd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/space/learning/RouteDraftEditor.tsx: web/components/space/learning/RouteDraftEditor.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in RouteDraftEditor.RouteDraftEditor at line 31. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/space/learning/RouteDraftEditor.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":"web/components/space/learning/RouteDraftEditor.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"26194555c5943ce428bc3968f6b65d7d09e207c82790f53215171aa5ef20db8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/knowledge/progress_tracker.py: deeptutor/knowledge/progress_tracker.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ProgressTracker.update at line 176. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/knowledge/progress_tracker.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":"deeptutor/knowledge/progress_tracker.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"beddbcc888d915339d6010524541daf47735039362bf63f2fce87489b1043a3a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/parsing/engines/mineru/_process.py: deeptutor/services/parsing/engines/mineru/_process.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in _process.cli_process at line 29. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/parsing/engines/mineru/_process.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":"deeptutor/services/parsing/engines/mineru/_process.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"607c1015b5ac04004d289b69c1331b147180b3455856957be7069656684044fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/capabilities/audio_overview/capability.py: deeptutor/capabilities/audio_overview/capability.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AudioOverviewCapability.run 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/capabilities/audio_overview/capability.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":"deeptutor/capabilities/audio_overview/capability.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb170b2bba3b802f4e4bed6cd7fa30166f628d5b4f56dcf47176dc785d533a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/learning/practice/PracticeInsights.tsx: web/components/learning/practice/PracticeInsights.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in PracticeInsights.PracticeInsights at line 32. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/learning/practice/PracticeInsights.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":"web/components/learning/practice/PracticeInsights.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c4abef0ee84dccc58edb49489fcab367990e80b95decd7a0db530c5bce62ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/learning/books/components/blocks/BlockRenderer.tsx: web/app/(workspace)/learning/books/components/blocks/BlockRenderer.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in BlockRenderer.BlockRenderer 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/learning/books/components/blocks/BlockRenderer.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":"web/app/(workspace)/learning/books/components/blocks/BlockRenderer.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bb10fbf621fb69c78ffa5855f0a468a9f88659b301a9692d4bea1903fe3b22"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/partners/groups/new/page.tsx: web/app/(workspace)/partners/groups/new/page.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in page.NewPartnerGroupPage at line 17. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/partners/groups/new/page.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":"web/app/(workspace)/partners/groups/new/page.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bafd0cc0be7a765ebf9c6011c7104c522fc71ff7b0f44fed1bb27aeaeae060"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/multi-user/components/GuardianRelationshipsEditor.tsx: web/features/multi-user/components/GuardianRelationshipsEditor.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in GuardianRelationshipsEditor.GuardianRelationshipsEditor 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/multi-user/components/GuardianRelationshipsEditor.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":"web/features/multi-user/components/GuardianRelationshipsEditor.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad67b4008cdecd9cf1b22cd1d0340956787d5eed5c87b64231a61c9b104578d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/partners/group/GroupComposer.tsx: web/components/partners/group/GroupComposer.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in GroupComposer.GroupComposer at line 34. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/partners/group/GroupComposer.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":"web/components/partners/group/GroupComposer.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa76b6f34ffed29868ee59eaae795f883890fefa2170b8f2a58cf2c0c0eeb6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/learning/books/components/blocks/QuizBlock.tsx: web/app/(workspace)/learning/books/components/blocks/QuizBlock.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in QuizBlock.QuizQuestionCard at line 134. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/learning/books/components/blocks/QuizBlock.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":"web/app/(workspace)/learning/books/components/blocks/QuizBlock.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8bda67531c4ef5f3ed7db24af5b31a55b2c563778d08f3227889bfba1d05fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/rag/pipelines/pageindex/client.py: deeptutor/services/rag/pipelines/pageindex/client.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in client.resolve_oss_sdk_config at line 32. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/pipelines/pageindex/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":"deeptutor/services/rag/pipelines/pageindex/client.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9158ccc55397fe20e64f5973c5cd1751488e593d88c5fd6f51c6c64cb140f81e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/session/event_preview.py: deeptutor/services/session/event_preview.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in event_preview.compact_trace_preview at line 95. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/session/event_preview.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":"deeptutor/services/session/event_preview.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ea2df44afff3fc48e6641422095d6a6e0511dff383f80921f40bff1dc0bbdf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/lib/mastery-question.ts: web/lib/mastery-question.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in mastery-question.parseQuestion at line 89. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/lib/mastery-question.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":"web/lib/mastery-question.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1222fcd801578094d7e800b5935d0c01dee4a3e553492aa5e50005825928d3d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/space/ChatSpaceMenu.tsx: web/components/chat/space/ChatSpaceMenu.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in ChatSpaceMenu.ChatSpaceMenu at line 105. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/space/ChatSpaceMenu.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":"web/components/chat/space/ChatSpaceMenu.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9836393587036dbc042059c509d7798882954f23e263e94ac0c73fbe4c0f94"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/session/turns/learning_adapter.py: deeptutor/services/session/turns/learning_adapter.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in LearningTurnAdapter._grade_submitted_card_answer at line 164. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/session/turns/learning_adapter.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/turns/learning_adapter.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4532ad28c4c5732f4566b5340ab9251451e77423a6f1aa274a90a57b96f6a878"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/partners/workspace.py: deeptutor/services/partners/workspace.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in workspace.list_assets at line 332. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/partners/workspace.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":"deeptutor/services/partners/workspace.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"740149fbc59add42d711a3475c8d67307663ea3e83fd66abe016074db859c92c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/library/ReadingFolder.tsx: web/components/reading/library/ReadingFolder.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ReadingFolder.ReadingFolderPage 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/library/ReadingFolder.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":"web/components/reading/library/ReadingFolder.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0647200e4104aa7b1bee5c3145f9084dbca223740f00c10a1c0bf842d7d477"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/home/KnowledgeSelector.tsx: web/components/chat/home/KnowledgeSelector.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in KnowledgeSelector.KnowledgeSelector at line 26. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/home/KnowledgeSelector.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":"web/components/chat/home/KnowledgeSelector.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93caf10c7333c4fa7f39102eb4f1d175654d87dab18d0867bc457859e26f2a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/lib/latex.ts: web/lib/latex.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in latex.normalizeEditorMdInlineMathInProse at line 92. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/lib/latex.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":"web/lib/latex.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8974513c340ea34d670ffc33d0a35102c1230309a5d14b649a40cadb5d986c49"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/reading/references.py: deeptutor/reading/references.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in references.resolve_reading_sources at line 84. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/reading/references.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":"deeptutor/reading/references.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02886299eaab68c45025636f5ff42f318c7fb4bfca80fe557fa6e1cd1e4d9f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/parsing/engines/docling/content_list.py: deeptutor/services/parsing/engines/docling/content_list.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in content_list.build_content_list at line 309. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/parsing/engines/docling/content_list.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":"deeptutor/services/parsing/engines/docling/content_list.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79a07fd2aaa81bb850ef7af0d5da171cd45998ba5b9e4c184abb7c8591662c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/settings/AddProviderPanel.tsx: web/components/settings/AddProviderPanel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in AddProviderPanel.AddProviderPanel at line 58. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/settings/AddProviderPanel.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":"web/components/settings/AddProviderPanel.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6405d8921f2d65ea22c8cd5279301fcc5e24ad66934ea1883c4efddcc6d41b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/knowledge/KbIndexingRun.tsx: web/components/knowledge/KbIndexingRun.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in KbIndexingRun.KbIndexingRun at line 26. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/knowledge/KbIndexingRun.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":"web/components/knowledge/KbIndexingRun.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f159c2c28eaf39f6705197efb15c4bff8c1bcb4b72f3ebdf02fc2cfb74ea9ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/space/question-bank/CategoryMenu.tsx: web/components/space/question-bank/CategoryMenu.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in CategoryMenu.CategoryMenu at line 38. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/space/question-bank/CategoryMenu.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":"web/components/space/question-bank/CategoryMenu.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf592c03571916897ade4cfa4f1a2995aff5bb2f8bc53f445bb1694b03aaba2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/research/ResearchOutlineEditor.tsx: web/components/research/ResearchOutlineEditor.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in ResearchOutlineEditor.ResearchOutlineEditor at line 25. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/research/ResearchOutlineEditor.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":"web/components/research/ResearchOutlineEditor.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f982c06750be06f9bd79471a6d947c599d38f0feefa2e3627df5273dac5a6802"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/Geogebra.tsx: web/components/Geogebra.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Geogebra.Geogebra at line 98. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/Geogebra.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":"web/components/Geogebra.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8ef47f0431d417ff2969420e3dc14cb53c1569e8e91a946c77ca05da771f72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/partners/group/PartnerSeat.tsx: web/components/partners/group/PartnerSeat.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in PartnerSeat.PartnerSeat at line 39. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/partners/group/PartnerSeat.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":"web/components/partners/group/PartnerSeat.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc17479fba6aa94af392da47744263a50e37f7eff26bb985a68e4d6f6d4e84c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/knowledge/KbLinkedFoldersSection.tsx: web/components/knowledge/KbLinkedFoldersSection.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in KbLinkedFoldersSection.KbLinkedFoldersSection 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/knowledge/KbLinkedFoldersSection.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":"web/components/knowledge/KbLinkedFoldersSection.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd57b63952c94baf007ea7e218ca9e8fc73f06343ce0e6e6389f50b334fec5c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/partners/SoulPicker.tsx: web/components/partners/SoulPicker.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in SoulPicker.SoulPicker at line 47. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/partners/SoulPicker.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":"web/components/partners/SoulPicker.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff40e3da32fc34eb545475e030cd91d399d54ce7322cdc34512c2c940e790fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/partners/schema-form.tsx: web/components/partners/schema-form.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in schema-form.SchemaField 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/partners/schema-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":"web/components/partners/schema-form.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a6713e05c0a7312278de8f24a75514e6085d0dc6e2e5780fe6b7ef097607f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/partners/group/PartnerGroupChat.tsx: web/components/partners/group/PartnerGroupChat.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PartnerGroupChat.PartnerGroupChat at line 34. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/partners/group/PartnerGroupChat.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":"web/components/partners/group/PartnerGroupChat.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d7cc3ae051d816b9913104f955f03f632d78cb7951aacc2795161353602411"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/agents/base_agent.py: deeptutor/agents/base_agent.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in BaseAgent.stream_llm at line 519. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/agents/base_agent.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":"deeptutor/agents/base_agent.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b14723b919986ae79bc2aa71e9b169e323006b5b1b2d56fd70fa4cf5821c3b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/knowledge/indexing_run.py: deeptutor/knowledge/indexing_run.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in IndexingRun._start at line 179. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/knowledge/indexing_run.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":"deeptutor/knowledge/indexing_run.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2e1a84b05ff484a1908cc9c2b0732b0cdfb40c89e4e2c5843c3483016abdfe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat-engine/src/providers/sse.ts: packages/chat-engine/src/providers/sse.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in sse.sse at line 7. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- packages/chat-engine/src/providers/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/chat-engine/src/providers/sse.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed18b1e55844174c31816c13df693728e2f5c3fb2d631a7bac042ef95504a4b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/reading/ReadingActionsProvider.tsx: web/components/reading/ReadingActionsProvider.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ReadingActionsProvider.ReadingActionsProvider at line 38. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/reading/ReadingActionsProvider.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":"web/components/reading/ReadingActionsProvider.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02e4fb0bbd959d0a57a6d76560cab4a1b231e4854641e1e072b61095c132b42"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/book/blocks/animation.py: deeptutor/book/blocks/animation.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in AnimationGenerator._generate at line 30. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/book/blocks/animation.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":"deeptutor/book/blocks/animation.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6770fd232d85da7e1c55b8efcd9002713b1f3e379839c61f0c9d93d4d6411ba3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/codebuddy_auth.py: deeptutor/services/codebuddy_auth.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CodeBuddyAuthService.start_login 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/codebuddy_auth.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":"deeptutor/services/codebuddy_auth.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dedcea53925e50a1933fe7fa7810dfb2cf710014ca3c54048132cd65324b49"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/mcp/McpServerForm.tsx: web/components/mcp/McpServerForm.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in McpServerForm.McpServerForm 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/mcp/McpServerForm.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":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ec9187587935cc8133e2ecf932153ccb521c9c41e8f4c01c3a939eb55469d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/shared/api/client.ts: web/shared/api/client.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in client.normalizedHttpError at line 74. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/shared/api/client.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":"web/shared/api/client.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0865a8513ee5b0ac501abf9e4aefaa05593ee1673b9660dade26c19c52797b07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/calendar/layers.py: deeptutor/services/calendar/layers.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in layers.read_layers at line 26. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/calendar/layers.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":"deeptutor/services/calendar/layers.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec9af361e06f8f44975046fd2b6fc2641be7383cc4aaadb3e8c804fb816f300"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/hooks/useChatAutoScroll.ts: web/hooks/useChatAutoScroll.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in useChatAutoScroll.useChatAutoScroll at line 19. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/hooks/useChatAutoScroll.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":"web/hooks/useChatAutoScroll.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d46b710380a25722ec1a712ff8ac39c340b578d5e5dd9c1b72abd83dd34585c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/home/ComposerTrayMenu.tsx: web/components/chat/home/ComposerTrayMenu.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ComposerTrayMenu.TrayMenu at line 83. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/home/ComposerTrayMenu.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":"web/components/chat/home/ComposerTrayMenu.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09300d11e694efde7b7f013c896a311980d0095706a5d5868bf526a2965c98d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/settings/sections/StartersSettingsSection.tsx: web/features/settings/sections/StartersSettingsSection.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in StartersSettingsSection.StarterSettingsPage 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/settings/sections/StartersSettingsSection.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":"web/features/settings/sections/StartersSettingsSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ef66afdf1b185354c4f29fb69e14c8cf198162d64bf732b268276288f7b6b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/desktop/src/runtime.mjs: apps/desktop/src/runtime.mjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in SourceRuntime.start at line 69. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- apps/desktop/src/runtime.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/runtime.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"98408da5af359b6870e89f92980364f5b60447b3112d94ef76d737883e7739f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/capabilities/subagent/binding.py: deeptutor/capabilities/subagent/binding.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in binding._resolve at line 34. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/capabilities/subagent/binding.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":"deeptutor/capabilities/subagent/binding.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b58a20d4baaab0c4dbb32e510aecae48ee571db327452852c74a889c2fa4cb0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/visualize/VisualizeConfigPanel.tsx: web/components/visualize/VisualizeConfigPanel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in VisualizeConfigPanel.VisualizeConfigPanel 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/visualize/VisualizeConfigPanel.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":"web/components/visualize/VisualizeConfigPanel.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7b9f9b7b7d42c8b0dea4368c0d1d71fc46a5c7f10f4df8535e0b56af3a291c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/book/blocks/_rag_helpers.py: deeptutor/book/blocks/_rag_helpers.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in _rag_helpers.optional_rag_lookup at line 47. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/book/blocks/_rag_helpers.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":"deeptutor/book/blocks/_rag_helpers.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d648a1f473a5a8c245ec3a70551e2e7c21ba51340d30c774a62d97c0ac376bff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/ui-layout/classic/ClassicLearningDashboard.tsx: web/features/ui-layout/classic/ClassicLearningDashboard.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ClassicLearningDashboard.ClassicLearningDashboard 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/ui-layout/classic/ClassicLearningDashboard.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":"web/features/ui-layout/classic/ClassicLearningDashboard.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c08012db603454d6bcd82a509a0b572733729b15eb07f9b06e116b7fcf0cfe2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/runtime/providers/view.py: deeptutor/runtime/providers/view.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in view._build 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/runtime/providers/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":"deeptutor/runtime/providers/view.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c9500dd5e9d72388e7b5adf825d0af5f2cbf84da9e6af77aeb8700694e1e0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/agents/visualize/utils.py: deeptutor/agents/visualize/utils.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in utils.validate_visualization at line 112. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/agents/visualize/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":"deeptutor/agents/visualize/utils.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01d682d2c7cb06e8a971864784a85c4d1a3623442f72b8164cd71dc0d0b3f0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/session/thread_attribution.py: deeptutor/services/session/thread_attribution.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in thread_attribution.backfill_thread_sources at line 466. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/session/thread_attribution.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":"deeptutor/services/session/thread_attribution.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea44beca430006859ea3f7dc14daac5bc11d4bfac29fe2ea945baeb49467294"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/cli-apps/CliAppsSection.tsx: web/components/cli-apps/CliAppsSection.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CliAppsSection.Installed 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/cli-apps/CliAppsSection.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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1460fe9d34633e9417507dbf598db1192ef951b3c7d844d6c72337ea1c922c0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/calendar/components/CalendarRuntime.tsx: web/features/calendar/components/CalendarRuntime.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in CalendarRuntime.CalendarRuntime at line 14. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/calendar/components/CalendarRuntime.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":"web/features/calendar/components/CalendarRuntime.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7814a0ce822cf5e2d7e0222c9b03ec2abec3183054992def3d152f1a57a3810"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/partners/group/GroupSidePanel.tsx: web/components/partners/group/GroupSidePanel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in GroupSidePanel.GroupSidePanel at line 34. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/partners/group/GroupSidePanel.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":"web/components/partners/group/GroupSidePanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe771513e2f678e6c1d5a62df1973e246cb61fc5d56e9bb0d10c03e4e4856ddb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/whisper/WhisperMessageList.tsx: web/components/whisper/WhisperMessageList.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in WhisperMessageList.WhisperMessageList 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/whisper/WhisperMessageList.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":"web/components/whisper/WhisperMessageList.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"96356973e6fce7a39be1a2b385a28747c12600710106e5f396237cabc01ffb28"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/home/ComposerTray.tsx: web/components/chat/home/ComposerTray.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ComposerTray.ComposerTray at line 130. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/home/ComposerTray.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":"web/components/chat/home/ComposerTray.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b50cdadfaaf7de40ba8f74d7dc7cf5b4f61f94259d0b1d06c1ab41657be8af6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/sandbox/artifacts.py: deeptutor/services/sandbox/artifacts.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in artifacts.collect_public_artifact_batch at line 121. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/sandbox/artifacts.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":"deeptutor/services/sandbox/artifacts.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d127fcf282a78f3882aa4659e669217b7a0b959a5a1ba59f3bdcea2f081f5d77"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/llm/multimodal.py: deeptutor/services/llm/multimodal.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in multimodal._inject_images at line 199. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/multimodal.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":"deeptutor/services/llm/multimodal.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"3665c7b6a1b9b34a479ac5c478f02d0ded8b12a2ed9ea39c45cb17f5295a58ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/chat/preview/previewerFor.ts: web/components/chat/preview/previewerFor.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in previewerFor.previewKindFor 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/preview/previewerFor.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":"web/components/chat/preview/previewerFor.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aba7e8ead6dfca92523e1fa14dc1297750fefa2a1d871d3b54376c276e1525e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/settings/VoicePreviewPanel.tsx: web/components/settings/VoicePreviewPanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in VoicePreviewPanel.PreviewRequest at line 34. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/settings/VoicePreviewPanel.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":"web/components/settings/VoicePreviewPanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5d3c1fa8c03adb49b2f3dbcf4cd4853742c823526f1fb2151225f47e980273"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/memory/evaluation.py: deeptutor/services/memory/evaluation.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in evaluation.evaluate at line 245. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/memory/evaluation.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":"deeptutor/services/memory/evaluation.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df4096fd421d6d4213b0ed3f0e80576fe02e2679ef799b252939972bc96b300"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/notes/components/NoteTaskBlock.tsx: web/features/notes/components/NoteTaskBlock.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in NoteTaskBlock.NoteTaskBlock at line 12. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/notes/components/NoteTaskBlock.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":"web/features/notes/components/NoteTaskBlock.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d8c5e20024d4b904e7941a3e2d84109e6f9d62aca9c786994c070dd79ce419"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/settings/VoiceModelFields.tsx: web/components/settings/VoiceModelFields.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in VoiceModelFields.VoiceModelFields at line 14. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/settings/VoiceModelFields.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":"web/components/settings/VoiceModelFields.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7fdfb4d16d73b8f71a458a10b586aa1df09041a56d3d35d1e2a968ba35204e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/lib/visualize-types.ts: web/lib/visualize-types.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in visualize-types.extractVisualizeResult at line 143. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/lib/visualize-types.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":"web/lib/visualize-types.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd93534f44bdb0336d77c9aa8a2e62b291e8ab42914cc0d1daa05a1dff0a20f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/services/llm/usage_frame.py: deeptutor/services/llm/usage_frame.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in usage_frame.usage_breakdown at line 80. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/usage_frame.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":"deeptutor/services/llm/usage_frame.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"87346fe2cd8fad966ad577e9fee0687a561ffcb07a7736acd7be20fc23e71402"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/learning/books/components/blocks/UserNoteBlock.tsx: web/app/(workspace)/learning/books/components/blocks/UserNoteBlock.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in UserNoteBlock.UserNoteBlock at line 26. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/learning/books/components/blocks/UserNoteBlock.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":"web/app/(workspace)/learning/books/components/blocks/UserNoteBlock.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bb72bd2678d02076e14dc7417074445c813d92f17b59664c2da4fd173d6cf9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/book/agents/page_planner.py: deeptutor/book/agents/page_planner.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SectionArchitect.plan_blocks_async 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/book/agents/page_planner.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":"deeptutor/book/agents/page_planner.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e33689124cdb57056be4f1ab6f2d63c032b5850290cbcc4f46b68914212a40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: deeptutor/multi_user/guardian_reading.py: deeptutor/multi_user/guardian_reading.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in guardian_reading._read_report at line 67. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/multi_user/guardian_reading.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":"deeptutor/multi_user/guardian_reading.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"deec5d9b176a473dd58253c1fa963d495dc433215504962ae0f0caca6229d82a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/notes/components/NoteSourcePicker.tsx: web/features/notes/components/NoteSourcePicker.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in NoteSourcePicker.NoteSourcePicker at line 14. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/notes/components/NoteSourcePicker.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":"web/features/notes/components/NoteSourcePicker.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2410acf7232d844ae3ffc95b150ad86a95fef75cf47e6313011589d3e00f08"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/learning/practice/ReviewHome.tsx: web/components/learning/practice/ReviewHome.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ReviewHome.ReviewHome at line 19. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/learning/practice/ReviewHome.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":"web/components/learning/practice/ReviewHome.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"300cc88ec0e07d9b0b5ea356cb7fac6920adf872a292d05bbaec6f3e38a21576"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/app/(workspace)/learning/books/components/LearningCapturePanel.tsx: web/app/(workspace)/learning/books/components/LearningCapturePanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in LearningCapturePanel.LearningCapturePanel at line 53. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/app/(workspace)/learning/books/components/LearningCapturePanel.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":"web/app/(workspace)/learning/books/components/LearningCapturePanel.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecb71c8fc3a44a96d1531d90d962dff0574971f72780cde0489d96f73aa21b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/components/settings/MemoryUsageItem.tsx: web/components/settings/MemoryUsageItem.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in MemoryUsageItem.MemoryUsageItem at line 62. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/settings/MemoryUsageItem.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":"web/components/settings/MemoryUsageItem.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d0983dd1ada87368a67b2bd43ac9661f2a84ad7765ee4caeebd4567e12af95"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/features/multi-user/components/BookPermissionEditor.tsx: web/features/multi-user/components/BookPermissionEditor.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in BookPermissionEditor.BookPermissionEditor at line 21. 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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/multi-user/components/BookPermissionEditor.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":"web/features/multi-user/components/BookPermissionEditor.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"27508f79136ae38fd7da29f14bdf67e822b96cfc16d3fa8cab06adbc8f9dd5a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/knowledge/add_documents.py: deeptutor/knowledge/add_documents.py changed 19 times in last 90 days and 11 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 DocumentAdder.__init__ at line 165), 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: publish one LlamaIndex version per folder sync\u201D; \u201Cfix(knowledge): keep same-named documents when creating a KB\u201D; \u201Cfix: support Windows data volume permission checks\u201D; \u201Cfix(knowledge): track confirmed files during empty-index bootstrap (#1481)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/knowledge/add_documents.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":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45ca81dbe78e23e7fd24bf9bcc6f798d6c16bb9648f0425534a70d2c548d9f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/core/turn_request.py: deeptutor/core/turn_request.py changed 19 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is TurnRequest._translate_legacy_runtime_config at line 272), 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(core): keep reasoning-effort vocabulary in core to satisfy layer contracts (#641)\u201D; \u201Cfix(turn): accept a blank answer_by so \u0022Ask Dito\u0022 side chats start\u201D; \u201Cfix(mastery): retain incremental grouped replies and partial feedback\u201D; \u201Cfix(reading): accept video playback time in the reading viewport\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/core/turn_request.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":"deeptutor/core/turn_request.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ff4af2c8904de3ccccc542e827b924395190173ab92171ff85d8638c01a387"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/llm/request_compat.py: deeptutor/services/llm/request_compat.py changed 10 times in last 90 days and 8 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 request_compat.is_transient_transport_error at line 224), 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(llm): bound effective progress and recover known responses\u201D; \u201Cfix(llm): detect response_format value rejections that omit the param name\u201D; \u201Cfix: scope GLM image retries to text-only content validation\u201D; \u201Cfix(llm): match zhipu/GLM multimodal rejection so text-only retry fires\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/request_compat.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":"deeptutor/services/llm/request_compat.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4f0a2c888c463317b42fb26d466173bdfe146c3037357c81b37bfe9d21feb1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/learning/scheduler.py: deeptutor/learning/scheduler.py changed 10 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 SpacedRepetitionScheduler.schedule_review at line 282), 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: clear baseline type and EOF gate failures\u201D; \u201Cfix(learning): preserve legacy review history and idempotent strategy bindings\u201D; \u201Cfix(learning): prevent compounding SRS lapses during multi-turn qualitative repairs (#1781) (#1794)\u201D; \u201Cfix(learning): replay retention changes and late evidence consistently (#1541)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/learning/scheduler.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/scheduler.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ff419714edc7400875a4903aaa5f4658c9395f6c317aae7ef288e4b1557904"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/rag/pipelines/llamaindex/retrievers.py: deeptutor/services/rag/pipelines/llamaindex/retrievers.py changed 9 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 9 (its worst body is retrievers._scoped_index at line 304), 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: match scoped RAG sources by exact path (#2374)\u201D; \u201Cfix: scope text source_path RAG queries to their document (#2374)\u201D; \u201Cfix: handle adjacent identifiers and reuse BM25 rebuilds\u201D; \u201Cfix: preserve dotted identifiers in BM25 retrieval\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/pipelines/llamaindex/retrievers.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":"deeptutor/services/rag/pipelines/llamaindex/retrievers.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbd5f48a9f38202e5d6b9fad22b5f4862f53502d4b1267a0556241980cda0f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/app_update.py: deeptutor/services/app_update.py changed 9 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 11 (its worst body is app_update.detect_installation at line 219), 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(update): keep installed modules on the target version\u201D; \u201Cfix(update): distinguish desktop scopes from systemd services (#1555)\u201D; \u201Cfix(update): refuse in-app handoff inside systemd services (#1555)\u201D; \u201Cfix(errors): finish the sweep for failure notices that hide their cause\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/app_update.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":"deeptutor/services/app_update.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"845cf47e5657cb715c31bdc856dc2696af300de82c7205c68f1d2ebd95867f6b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: web/lib/markdown-display.ts: web/lib/markdown-display.ts changed 9 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 12 (its worst body is markdown-display.normalizeAtxHeadings at line 914), 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: repair CJK emphasis boundaries for Japanese and Korean replies too\u201D; \u201Cfix(web): normalize malformed ATX headings safely\u201D; \u201CRevert \u0022feat: add remote Hermes connected agent backend (#1208)\u0022 (#1212)\u201D; \u201Cfix: preserve raw content during Chinese Markdown streaming (#1178)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/lib/markdown-display.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":"web/lib/markdown-display.ts"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"5923d35556afc9973f7ba8eb3d897905a15791b7b23ca0dc4dec1a789e1a06fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/rag/pipelines/lightrag/indexing_policy.py: deeptutor/services/rag/pipelines/lightrag/indexing_policy.py changed 9 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 14 (its worst body is indexing_policy.snapshot_from_persisted at line 366), 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: retain bound index provenance and embedding-only controls\u201D; \u201Cfix: keep recovered LightRAG index policy and provenance aligned\u201D; \u201Cfix: enforce native LightRAG embedding compatibility\u201D; \u201Cfix(lightrag): use provider defaults for automatic reasoning\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/pipelines/lightrag/indexing_policy.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":"deeptutor/services/rag/pipelines/lightrag/indexing_policy.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cf9056f3201643dcfcd9486e5c4df565fb553215cef9f17cd3c2941178378f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/sandbox/backends.py: deeptutor/services/sandbox/backends.py changed 8 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 BwrapBackend._build_argv at line 197), 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(sandbox): give executed code its home and temp folders on Windows\u201D; \u201Cfix(video-lesson): isolate render checks and clean up cancelled processes\u201D; \u201Cfix(sandbox): preserve network isolation during fallback\u201D; \u201Cfix(runtime): tolerate bwrap loopback denial on modern Linux (#1516)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/sandbox/backends.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":"deeptutor/services/sandbox/backends.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d617e03c8fe07552a6df2463896dc9ac9aad25f48a8ddd1f214150e8a9ca6b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/knowledge/initializer.py: deeptutor/knowledge/initializer.py changed 11 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is KnowledgeBaseInitializer.process_documents at line 179), 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(knowledge): keep same-named documents when creating a KB\u201D; \u201Cfix(knowledge): make long-document indexing recoverable and publication verified (#1612)\u201D; \u201Cfix: support Windows data volume permission checks\u201D; \u201Cfix(docker): remap PUID/PGID for Unraid bind mounts (#1458)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/knowledge/initializer.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":"deeptutor/knowledge/initializer.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa2d849bf0808631718c23f6a0f4d99a1949784e10ff574a124005847ec2f17"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/learning/pending.py: deeptutor/learning/pending.py changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is pending.resolve_answer 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(mastery): let a new reply supersede an ungraded clarification\u201D; \u201Cfix(ci): restore the ruff gate on dev\u201D; \u201Cfix(tools): decode unicode escapes in ask_user payloads\u201D; \u201Cfix(mastery): require explicit choice answer intent\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/learning/pending.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":"deeptutor/learning/pending.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b76f7d64bb00d25b38561def9fe32f741441ca0d07607c1bf7e9e69060d0f63"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/learning/assessment.py: deeptutor/learning/assessment.py changed 9 times in last 90 days and 6 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 assessment.record_assessment at line 427), 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(learning): preserve latest assessment projections on retries (#1542)\u201D; \u201Cfix(learning): persist cross-surface assessment evidence safely (#1542)\u201D; \u201Cfix(notebook): decouple evidence from chat sessions (#1519)\u201D; \u201Cfix(mastery): bind repairs to exact question evidence\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/learning/assessment.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":"deeptutor/learning/assessment.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d455bac04ea7359b8c333b9beb42f1344cc3fb51e267a3f7b6703bf0413006"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/parsing/engines/mineru/backend.py: deeptutor/services/parsing/engines/mineru/backend.py changed 8 times in last 90 days and 6 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 backend._parse_local at line 193), 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(storage): isolate attachment writes and settle document parsing\u201D; \u201Cfix(knowledge): make long-document indexing recoverable and publication verified (#1612)\u201D; \u201Cfix(parsing): preserve failed MinerU attempts and usable outputs (#1612)\u201D; \u201Cfix(parsing): add opt-in normalization for tiny scanned PDF pages\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/parsing/engines/mineru/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":"deeptutor/services/parsing/engines/mineru/backend.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d3637c47280e36bde7f92f0021952bd38a1ac19cc27202591787073f2c771a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/embedding/client.py: deeptutor/services/embedding/client.py changed 7 times in last 90 days and 6 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 EmbeddingClient.embed at line 118), 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(embedding): reject multimodal vector width changes across batches\u201D; \u201Cfix: embedding local keyless, qwen3-Instruct thinking, embedding concurrency (#1797)\u201D; \u201Cfix: embedding concurrency, local Lemonade, reading fences, and learner nav (#1783)\u201D; \u201Cfix(rag): log swallowed embedding/image progress and LightRAG meta failures (#1703)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/embedding/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":"deeptutor/services/embedding/client.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9268feb371dc9a9fe098dcff067e80ab32383f5bb1347bc678d3364ddf8f413"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/rag/pipelines/lightrag/storage.py: deeptutor/services/rag/pipelines/lightrag/storage.py changed 9 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 12 (its worst body is storage.failure_summary at line 137), 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(rag): count LightRAG docs from the native workspace store\u201D; \u201Cfix: retain bound index provenance and embedding-only controls\u201D; \u201Cfix: keep recovered LightRAG index policy and provenance aligned\u201D; \u201Cfix: enforce native LightRAG embedding compatibility\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/pipelines/lightrag/storage.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":"deeptutor/services/rag/pipelines/lightrag/storage.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"07effb5385487de3b8c67b8164351dc4f5d175b5d6f761c3e74bf363799bdc3b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/book/blocks/_llm_writer.py: deeptutor/book/blocks/_llm_writer.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 8 (its worst body is _llm_writer._normalize_json_payload at line 83), 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(book): snapshot workspace instructions for generation\u201D; \u201Cfix(book): retry output-capped structured responses\u201D; \u201Cfix(book): isolate scratchpad from generated content (#1366)\u201D; \u201Cfix(question): tell a starved plan apart from an empty one, and retry it\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/book/blocks/_llm_writer.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":"deeptutor/book/blocks/_llm_writer.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6212ceded1154714a66f4130f76e070d2a221756dc0a7d2ca061aa7c87d8750f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/rag/index_versioning.py: deeptutor/services/rag/index_versioning.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 index_versioning._entry_from_flat_version at line 159), 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(knowledge): skip unreadable index versions instead of failing the KB list\u201D; \u201Cfix(rag): keep batch publishing independent of version retention\u201D; \u201Cfix: publish one LlamaIndex version per folder sync\u201D; \u201Cfix(knowledge): make long-document indexing recoverable and publication verified (#1612)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/index_versioning.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":"deeptutor/services/rag/index_versioning.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b587a370956bbcb1fc8959b2d654d34d6a6f24689410ce7f0c86915b439a3793"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/llm/provider_core/codebuddy_provider.py: deeptutor/services/llm/provider_core/codebuddy_provider.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 12 (its worst body is codebuddy_provider._build_tool_options at line 455), 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(llm): name a reason when a local SDK turn fails with no text\u201D; \u201Cfix(llm): sync CodeBuddy models when the CLI path has a space on Windows\u201D; \u201Cfix(llm): bound Claude session lifecycle and share SDK wire adaptation\u201D; \u201Cfix(codebuddy): omit SDK exception bodies from warning logs\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/provider_core/codebuddy_provider.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":"deeptutor/services/llm/provider_core/codebuddy_provider.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"464aa36bb4f98bb972fecf3adb6f56ce73f512506f01cc6838e857342ee4cc0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/runtime/stream_bus.py: deeptutor/runtime/stream_bus.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 9 (its worst body is StreamBus.subscribe at line 113), 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(runtime): wake input waiters on their owning loop\u201D; \u201Cfix: preserve tutoring replies and stabilize preview runtime\u201D; \u201Cfix(runtime): preserve incomplete capability terminal outcome\u201D; \u201Cfix(mastery): bind teaching records to visible delivered explanation\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/runtime/stream_bus.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":"deeptutor/runtime/stream_bus.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27e4e27de0defacf7b727e91635626474e8d82e380d88fdd986fc480ddba0b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/llm/config.py: deeptutor/services/llm/config.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 6 (its worst body is config._get_llm_config_from_resolver at line 193), 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(settings): require a model ID and keep model panels URL-driven\u201D; \u201Cfix(llm): survive api_key key pools in the config resolver (#1300)\u201D; \u201Cfix(tests): stop the partner suite writing to the real account store\u201D; \u201Cfix(embedding): survive provider rate limits \u2014 key rotation, retry budget, global throttle (#962)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/config.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/config.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd4e5f5ac7048fd2836dfc851fd028ce605273adf3bed7fdc95eecb011f672f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: web/features/chat/trace/memory.ts: web/features/chat/trace/memory.ts 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 13 (its worst body is memory.compactTracePreview at line 99), 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 tutoring replies and stabilize preview runtime\u201D; \u201Cfix: resolve verified learning, ingestion and delivery regressions\u201D; \u201Cfix(chat): keep a just-finished turn\u0027s reasoning where the reader left it\u201D; \u201CRevert \u0022feat: add remote Hermes connected agent backend (#1208)\u0022 (#1212)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/features/chat/trace/memory.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":"web/features/chat/trace/memory.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfff2bedac7cc082169e3323b21133400f360d976a1a3edc1dc32ac95402cbd8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/llm/provider_core/base.py: deeptutor/services/llm/provider_core/base.py changed 6 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 LLMProvider._sanitize_empty_content at line 158), 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(llm): bound effective progress and recover known responses\u201D; \u201Cfix: trust explicit HTTP status in retry classification\u201D; \u201Cfix: tolerate process probe decoding errors and avoid spurious LLM retries\u201D; \u201Cfix(llm): make native web search terminal and model-scoped\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/provider_core/base.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/base.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0487cb7f00ecc4082221d04857d6a61eaca420da44e23dd4477dc3dda8b75bac"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/rag/pipelines/ima/pipeline.py: deeptutor/services/rag/pipelines/ima/pipeline.py changed 6 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 ImaPipeline.search at line 74), 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(rag): surface IMA content restrictions and seed retrieval failures\u201D; \u201Cfix(ima): report never-extractable items as unsupported_format\u201D; \u201Cfix(ima): distinguish retrieval failures and expose incomplete source evidence (#1500)\u201D; \u201Cfix(rag): reject IMA title-only matches without readable text (#1500)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/pipelines/ima/pipeline.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/ima/pipeline.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9841f28c1126c388bb7a7c02e2282e7cbbbaa19cd79cdb273cb90bb5e4c84c37"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/co_writer/docx_converter.py: deeptutor/co_writer/docx_converter.py changed 6 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 docx_converter._numbering_formats at line 197), 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(co_writer): don\u0027t italicize intra-word underscores in DOCX export\u201D; \u201Cfix: sanitize XML text before rendering every DOCX block\u201D; \u201Cfix(co_writer): don\u0027t crash DOCX export on a literal NUL in Markdown\u201D; \u201Cfix(co-writer): keep a placeholder row and warn when DOCX table row parsing fails (#1700)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/co_writer/docx_converter.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":"deeptutor/co_writer/docx_converter.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf3ea7a19ac5abc4b22f36597480c8c9620724c33f96d037a2e2a520640912d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/parsing/engines/mineru/config.py: deeptutor/services/parsing/engines/mineru/config.py changed 6 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 12 (its worst body is config.resolve_mineru_config at line 108), 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(parsing): isolate native MinerU failures during KB indexing (#1982)\u201D; \u201Cfix(parsing): add opt-in normalization for tiny scanned PDF pages\u201D; \u201Cfix(parsing): map local MinerU failures to actionable errors (#1612)\u201D; \u201Cfix(embedding): survive provider rate limits \u2014 key rotation, retry budget, global throttle (#962)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/parsing/engines/mineru/config.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/parsing/engines/mineru/config.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f659f5aa5e0ef95ef15dfb24accf5d4d00f936223986235022269aa3ea7e989"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: web/lib/reading-outline.ts: web/lib/reading-outline.ts changed 6 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 8 (its worst body is reading-outline.stepMarkdownFence at line 78), 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: embedding concurrency, local Lemonade, reading fences, and learner nav (#1783)\u201D; \u201Cfix(reading): preserve annotation offsets around heading anchors\u201D; \u201Cfix(reading): keep heading anchors through highlights\u201D; \u201Cfix(reading): separate outline views and stabilize heading jumps\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/lib/reading-outline.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":"web/lib/reading-outline.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c2aa945f894530c69cf9541332d0650c4f26b1ecd36318de26a536efad7815"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/utils/file_types.py: deeptutor/utils/file_types.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 11 (its worst body is FileTypeRouter.get_document_type at line 185), 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(parsing): validate uploads against available parser formats\u201D; \u201Cfix(import): use locale hints for ambiguous legacy text encodings\u201D; \u201Cfix: sync and index MDX documentation in knowledge bases\u201D; \u201Cfix(utils): finish UTF-8 characters at text probe boundaries\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/utils/file_types.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":"deeptutor/utils/file_types.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"18573ec76a884854b1e73fe6522107ae4131719f60e8e34ca216fd06a3142a6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/mcp/oauth.py: deeptutor/services/mcp/oauth.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 9 (its worst body is oauth.build_auth at line 285), 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(mcp): reconnect after consent and refresh authorization status\u201D; \u201Cfix(mcp): pass the server name into the OAuth store during Test (#2587)\u201D; \u201Cfix(mcp): preserve SDK issuer provenance after authorization\u201D; \u201Cfix(mcp): refresh persisted OAuth grants after restart\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/mcp/oauth.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":"deeptutor/services/mcp/oauth.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98fc402c44c8bd57eaee485f6b7b5bfbb2341babb24bd5534948e6f4e037dd3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/videogen/adapters/dashscope.py: deeptutor/services/videogen/adapters/dashscope.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 15 (its worst body is DashScopeVideogenAdapter._size at line 135), 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(videogen): enforce the complete polling time budget\u201D; \u201Cfix(media): reject unsupported Wan 2.2 video size\u201D; \u201Cfix(media): send valid DashScope video sizes\u201D; \u201Cfix(media): use the real DashScope image/video submit endpoints\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/videogen/adapters/dashscope.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":"deeptutor/services/videogen/adapters/dashscope.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b200d52da06aaf007a689e921f6dd62dd8636547f31fc7e778a59ed6e79e060"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/parsing/engines/mineru/readiness.py: deeptutor/services/parsing/engines/mineru/readiness.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 12 (its worst body is readiness.mineru_models_ready at line 45), 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(readiness): fail closed when MinerU model cache root is unreadable\u201D; \u201Cfix: verify MinerU repository names in ModelScope cache\u201D; \u201Cfix: detect MinerU models in ModelScope cache layout\u201D; \u201Cfix(embedding): survive provider rate limits \u2014 key rotation, retry budget, global throttle (#962)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/parsing/engines/mineru/readiness.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":"deeptutor/services/parsing/engines/mineru/readiness.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"824e3b5b1990435e548261d36d43d888b1f74379428cdd620b4c2d6a10b21266"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/memory/consolidator/chunker.py: deeptutor/services/memory/consolidator/chunker.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 9 (its worst body is chunker.chunk_with_boundary at line 43), 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: recognize unspaced CJK memory sentence boundaries\u201D; \u201Cfix(memory): size chunk windows by the stride that overlap leaves\u201D; \u201Cfix(llm): correlate interleaved tool calls through one accumulator\u201D; \u201Cfix(memory): size chunk windows by the stride overlap leaves\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/memory/consolidator/chunker.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":"deeptutor/services/memory/consolidator/chunker.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5440c8de2be080f3f171ca4791010e4cfcc39ee126916bdefbb7850ad52d5413"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/textbook_struct/chapter_rebuild.py: deeptutor/textbook_struct/chapter_rebuild.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 chapter_rebuild.detect_frames at line 149), 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(textbook_struct): keep the higher-page chapter hit when deduping\u201D; \u201Cfix(chat, text): replay the visible failed turn and retain repeated section titles\u201D; \u201Cfix(textbook): retain shared boundary pages in chapter spans\u201D; \u201Cfix(textbook): expose header rebuild and preserve final page range\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/textbook_struct/chapter_rebuild.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":"deeptutor/textbook_struct/chapter_rebuild.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43ff288cc64d2755548df370357b1df86427937afb0ffd506ad2ab4456d99dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/llm/error_mapping.py: deeptutor/services/llm/error_mapping.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 error_mapping.parse_retry_after_seconds at line 59), 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: resolve verified learning, ingestion and delivery regressions\u201D; \u201Cfix(embedding): parse HTTP-date Retry-After values\u201D; \u201Cfix(rag): improve local LlamaIndex pipeline compatibility (#864)\u201D; \u201Cfix: converge LightRAG transport failures and cancellation (#940)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/error_mapping.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":"deeptutor/services/llm/error_mapping.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4284dd367a60678956027f818be2da1710f8810024b1340e7bca5ef89b65f8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/cli_apps/installer.py: deeptutor/services/cli_apps/installer.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 8 (its worst body is installer._install_blocking at line 130), 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(cli-apps): preserve backups after rollback failures (#2395)\u201D; \u201Cfix(cli-apps): resolve Windows Python venv executables (#2393)\u201D; \u201Cfix(cli-apps): preserve backups after rollback failures\u201D; \u201Cfix(cli-apps): resolve Windows Python venv executables\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/cli_apps/installer.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":"deeptutor/services/cli_apps/installer.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bf24bbd6c065a1aad9f3c154938393c6b62ccfeedad7039844221638031f19"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/capabilities/marginnote4/store.py: deeptutor/capabilities/marginnote4/store.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 6 (its worst body is MarginNoteStore.ingest at line 291), 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(capabilities): escape LIKE wildcards in the MarginNote store\u201D; \u201Cfix(marginnote4): close the store\u0027s SQLite connections\u201D; \u201Cfix(marginnote4): one rule for where a library\u0027s store lives\u201D; \u201Cfix(marginnote4): close the device bridge\u0027s auth boundary\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/capabilities/marginnote4/store.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":"deeptutor/capabilities/marginnote4/store.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0731d49707a3cd8e980aa1b16a9a494fa126c87eeda053e6fc4508b9d25eab"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: apps/desktop/src/main.mjs: apps/desktop/src/main.mjs 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 15 (its worst body is main.boot at line 239), 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(desktop): adopt the bundled core when there is no workspace to back up\u201D; \u201Cfix(desktop): activate the bundled core after an in-place upgrade\u201D; \u201Cfix(desktop): support Unicode paths during Windows first launch\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- apps/desktop/src/main.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/main.mjs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d3e9215780755cf2f3e61e175501492d843988cd94f5dac94fcc5a1e7a9380"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/agents/loop/loop_host.py: deeptutor/agents/loop/loop_host.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 13 (its worst body is AgentLoopHost.call_round at line 150), 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(llm): keep a full input context out of the output-truncation recovery\u201D; \u201Cfix: preserve tutoring replies and stabilize preview runtime\u201D; \u201Cfix(ci): align preview fixtures and formatting with current contracts\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/agents/loop/loop_host.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":"deeptutor/agents/loop/loop_host.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0419147c5117fbfc46fbfb01c79fa7e2efe19a0f8ab3a829483f02e793eef661"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/rag/index_probe.py: deeptutor/services/rag/index_probe.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 7 (its worst body is index_probe._inspect_llamaindex at line 136), 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(rag): count LightRAG docs from the native workspace store\u201D; \u201Cfix(knowledge): make long-document indexing recoverable and publication verified (#1612)\u201D; \u201Cfix(knowledge): bootstrap empty KBs on first upload\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/index_probe.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":"deeptutor/services/rag/index_probe.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76b2303b58002290613b63938e119af3706d92ce5d7c05ef8301cc1f73f4d19"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/tools/vision/ggb_validator.py: deeptutor/tools/vision/ggb_validator.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 ggb_validator.validate_text_command at line 250), 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(vision): track escapes when splitting GeoGebra command args\u201D; \u201Cfix(visualize): repair GeoGebra Text coordinates\u201D; \u201Cfix(visualize): reject fatal GeoGebra Text patterns and surface evalCommand failures (#1346)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/tools/vision/ggb_validator.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":"deeptutor/tools/vision/ggb_validator.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecafe5744b0864c654c15d2d4eeaf39b55f70239b423b505f3335f0baf83680"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: web/lib/pdfjs-loader.ts: web/lib/pdfjs-loader.ts 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 3 (its worst body is pdfjs-loader.loadPdfjs at line 37), 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(web): pass cMapUrl so CID fonts are not dropped\u201D; \u201Cfix(web): load the polyfilled PDF.js build so older engines can render\u201D; \u201Cfix(reading): package PDF.js decoder assets (#1305)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/lib/pdfjs-loader.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":"web/lib/pdfjs-loader.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce9a561c7ec19ca4e1eed9db1921d30a088ebf96559303fc80aeb077e8cc3a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/core/tool_protocol.py: deeptutor/core/tool_protocol.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 9 (its worst body is ToolParameter.to_schema at line 56), 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(mastery): validate visual hints and select original source excerpts\u201D; \u201Cfix(mastery): separate source inspection from assessment delivery\u201D; \u201Cfix(rag): align tool selector contract with execution (#1928)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/core/tool_protocol.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":"deeptutor/core/tool_protocol.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8957c3caf4425e2eecf114e769e2503999504dce7ea850c95349c2f1cb757b58"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: web/scripts/build.mjs: web/scripts/build.mjs 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 4 (its worst body is build.packageStandaloneAssets at line 56), 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(web): package standalone static and public assets (#1424)\u201D; \u201Cfix(web): skip forced --webpack on Vercel to fix ENOENT build (#1431)\u201D; \u201Cfix(reading): package PDF.js decoder assets (#1305)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/scripts/build.mjs\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":"web/scripts/build.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9884add5de078eaa2fa25e233bfe8723efa44434cf45a07458302837911608f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/book/agents/ideation_agent.py: deeptutor/book/agents/ideation_agent.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 9 (its worst body is IdeationAgent._coerce_proposal at line 85), 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(book): snapshot workspace instructions for generation\u201D; \u201Cfix(book): retry output-capped structured responses\u201D; \u201Cfix(book): give Book a reachable token budget, and retry a starved plan\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/book/agents/ideation_agent.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":"deeptutor/book/agents/ideation_agent.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"231c86c28aa9f49f65e947f25e2efba6a4b6ea71eb645ceb48811cd9a6cd2f05"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/agents/video_lesson/narration.py: deeptutor/agents/video_lesson/narration.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 narration._configured_voice at line 82), 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(video_lesson): match the Settings Edge voice against the lesson language\u201D; \u201Cfix(narration): retain PCM metadata and reap cancelled audio conversions\u201D; \u201Cfix(video_lesson): narrate with the Edge voice chosen in Settings\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/agents/video_lesson/narration.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":"deeptutor/agents/video_lesson/narration.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"26189e3ad1c40e26bc0860feab937ab4014de80b04c0f43ea78b908efdeb154e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/storage/file_library.py: deeptutor/services/storage/file_library.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 9 (its worst body is FileLibraryStore._delete_file at line 201), 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(library): match Unicode filename case during search\u201D; \u201Cfix(library): report restore content conflicts without a server error\u201D; \u201Cfix(storage): escape LIKE wildcards in file library search\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/storage/file_library.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":"deeptutor/services/storage/file_library.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e43a60c64fdbb210199d1b32d68c7dc416397735ae0d4a216e1cf2cf39bcc78"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/workspace/render_storage.py: deeptutor/services/workspace/render_storage.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 10 (its worst body is render_storage._chat_exec_output at line 14), 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: expose actions for exec turn attachments\u201D; \u201Cfix: manage direct chat output attachments\u201D; \u201Cfix: match generated chat output paths\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/workspace/render_storage.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":"deeptutor/services/workspace/render_storage.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"013b03c223a0abe352846da6e6007682a7a783ced90173472ef0e9838f67c3b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: web/components/chat/GeneratedOutputFileActions.tsx: web/components/chat/GeneratedOutputFileActions.tsx 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 1 (its worst body is GeneratedOutputFileActions.GeneratedOutputFileActions at line 41), 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: expose actions for exec turn attachments\u201D; \u201Cfix: manage direct chat output attachments\u201D; \u201Cfix: match generated chat output paths\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/components/chat/GeneratedOutputFileActions.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":"web/components/chat/GeneratedOutputFileActions.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9404a02aa56281272609f86ddfcfc5a8be942edb69b1e22bc1d83e2eede96385"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor_cli/common.py: deeptutor_cli/common.py changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is TurnStreamRenderer._prompt_one_question at line 564), 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(cli): print session and notebook JSON without Rich markup or wrapping\u201D; \u201Cfix: close CLI runtime before event loop shutdown\u201D; \u201Cfix: preserve tutoring replies and stabilize preview runtime\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor_cli/common.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":"deeptutor_cli/common.py"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee55ddf282871314653e9129977e738f8e0690872193a3a55937c0b2ffb62d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/workspace/session_move.py: deeptutor/services/workspace/session_move.py changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is session_move.migrate_legacy_bindings at line 54), 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(workspace): read migration state files as UTF-8\u201D; \u201Cfix(storage): close SQLite connections after helper operations\u201D; \u201Cfix(workspace): surface unreadable migration journals and skipped corrupt sources (#1708)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/workspace/session_move.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":"deeptutor/services/workspace/session_move.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a404c2ae1e328906f6994246748c47759a3910f8475ee873796c6c246fe71c36"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/llm/image_description.py: deeptutor/services/llm/image_description.py changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is _ImageDescriptionClient.complete at line 50), 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(settings): accept the caller\u0027s image fallback flag on the validated client\u201D; \u201Cfix(settings): send images for a validated image-description model\u201D; \u201Cfix(settings): judge vision support from the declared provider\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/llm/image_description.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":"deeptutor/services/llm/image_description.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"173170bbc9be238442c62d834e9b430549cd7768aa7afae31062df253189a770"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/file_io.py: deeptutor/services/file_io.py changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is file_io._sync_to_disk at line 27), 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: retry transient locks and decode UTF-8 when reading the indexing journal\u201D; \u201Cfix(services): surface fsync failures in atomic writers as rate-limited warnings (#1751)\u201D; \u201Cfix: Windows MinerU parsing \u2014 subprocess UTF-8 decoding \u0026 render-thread crash (#844)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/file_io.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":"deeptutor/services/file_io.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b408172616ff4f60a128ae7b5f074c2d110f5a5c2ca09fcfffb3f4c9948967"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/capabilities/obsidian/vault.py: deeptutor/capabilities/obsidian/vault.py changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is vault.resolve_note at line 101), 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(obsidian): resolve qualified backlink targets\u201D; \u201Cfix(obsidian): make vault failures legible instead of opaque\u201D; \u201Cfix(obsidian): tolerate undecodable bytes and date frontmatter (#922)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/capabilities/obsidian/vault.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":"deeptutor/capabilities/obsidian/vault.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fa5e6c09ffdc4e731da002fe85a74721ead104c890542dc20c166834bdadf3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/services/rag/pipelines/lightrag/roles.py: deeptutor/services/rag/pipelines/lightrag/roles.py changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is roles.resolve_selection at line 43), 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(lightrag): use provider defaults for automatic reasoning\u201D; \u201Cfix(lightrag): type role modes and document public contracts\u201D; \u201Cfix(lightrag): preserve native write revisions and explicit role semantics\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/services/rag/pipelines/lightrag/roles.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":"deeptutor/services/rag/pipelines/lightrag/roles.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f35a4747188665a6c2d07ff6d91b9866e052c00a6bb27b8ec10be55a2d52152"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: web/lib/session-title.ts: web/lib/session-title.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 2 (its worst body is session-title.isPlaceholderSessionTitle at line 3), 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(partners): localize partner session placeholder titles\u201D; \u201Cfix(web): localize HistorySessionPicker placeholder titles\u201D; \u201Cfix(web): localize organized session placeholder titles\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- web/lib/session-title.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":"web/lib/session-title.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c421f30b9a7a8d930ce1ce08cad0a21708849590476e29cb87bfedad3f1e85cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: deeptutor/capabilities/obsidian/tools.py: deeptutor/capabilities/obsidian/tools.py changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is ObsidianCreateNoteTool._run at line 311), 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(agentic): distinguish empty vs missing tool args (#1101)\u201D; \u201Cfix(obsidian): make vault failures legible instead of opaque\u201D; \u201Cfix(obsidian): tolerate undecodable bytes and date frontmatter (#922)\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 02:17:36 \u002B08:00\u0027 --until=\u00272026-11-16 02:17:36 \u002B08:00\u0027 --full-history --no-merges -- deeptutor/capabilities/obsidian/tools.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/obsidian/tools.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"2276073127b23c0e7c5e40bb47846c9b3444623224241d79165742f1bc8c23af"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 162 significant file(s) lose their only recent owner: web/components/memory/MemorySection.tsx, deeptutor/reading/catalog_store.py, deeptutor/reading/ingestion.py, deeptutor/services/suggestions.py, web/components/memory/MemoryGraph.tsx, web/app/(workspace)/partners/[partnerId]/page.tsx, web/components/memory/MemoryRunPanel.tsx, web/components/settings/ConnectionsEditor.tsx (\u002B154 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b1738414522954f8703e85c31dc18ff88301fe44e78e4eb9dc180f6d4ce355f0"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 7 significant file(s) lose their only recent owner: deeptutor/services/rag/pipelines/lightrag/indexing_policy.py, deeptutor/services/rag/embedding_binding.py, web/components/knowledge/LightRagRoleModelsEditor.tsx, web/components/knowledge/IndexingModelSelector.tsx, deeptutor/services/rag/pipelines/lightrag/roles.py, deeptutor/services/config/lightrag_roles.py, web/components/knowledge/LightRagIndexingProvenance.tsx. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3f74319e001a8bc346cc90b1caf83cb662ae940e17d79b17928095d8628de170"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 4 significant file(s) lose their only recent owner: deeptutor/services/parsing/engines/mineru/normalization.py, deeptutor/services/parsing/engines/mineru/checkpoints.py, deeptutor/services/llm/image_replay.py, deeptutor/services/llm/request_cache.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3e64d181f426c0979117eab6dc4fa5e847912a53be9bfb8e2a45bf259406de0f"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 21 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 (201 single-owned of 1582 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; 1582 of the 2258 production source files in this repository met that bar). They are anonymized user #4 (2 file(s)), anonymized user #5 (2 file(s)), anonymized user #6 (2 file(s)), anonymized user #7 (2 file(s)), anonymized user #8 (2 file(s)), anonymized user #9 (2 file(s)) (\u002B15 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: deeptutor/capabilities/mastery/pipeline.py, deeptutor/learning/outline_revision.py, deeptutor/learning/navigation.py, deeptutor/services/singleflight_cache.py, deeptutor/capabilities/solve/tools.py, deeptutor/capabilities/solve/session.py, deeptutor/services/rag/eval/diff.py, deeptutor/services/rag/eval/__init__.py (\u002B20 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060pyproject.toml\u0060 makes this repository a deployable product (line 49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pyproject.toml"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f93f7a2c78f190233679ac8202a9f8e691d2305d697b777ee579589e9c4bff1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060RawHistoryRAG\u0060 spells \u0060RAG\u0060 where 47 names in the project spell it \u0060Rag\u0060: 47 of 48 names in project deeptutor spell the token \u0060Rag\u0060 (47 of 48; unit: names in project deeptutor containing \u0060Rag\u0060). Peers: deeptutor.api.routers.knowledge.GraphRagConfigUpdate (deeptutor/api/routers/knowledge.py:1688); deeptutor.api.routers.knowledge.LightRagConfigUpdate (deeptutor/api/routers/knowledge.py:1723); deeptutor.api.routers.knowledge.LightRagServerConfigUpdate (deeptutor/api/routers/knowledge.py:1824); deeptutor.api.routers.knowledge.GraphRagModelCompatibilityRequest (deeptutor/api/routers/knowledge.py:1997); deeptutor.api.routers.knowledge.ProbeLightRagServerRequest (deeptutor/api/routers/knowledge.py:2388). Rename to \u0060RawHistoryRag\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/evaluation_rag.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca049fe69562e27067909621d50ebc7539a6bfb8568352a61ba936e439faa4f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Geogebra tab body\u0022 repeats the code it sits on: 3 of its 3 words (geogebra, tab, body) are already in \u0060function GeogebraTabBody({\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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d9e91611949bd04a749352ee7f93b66f5eaa7c361ae54f5846af4e5b1e245b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Search diagnostics match on a null model id.\u0022 repeats the code it sits on: 5 of its 6 words (search, diagnostics, null, model, id) are already in \u0060const searchResult = diagnostics({\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":"web/tests/settings/settings-store.test.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0bfd2260760e1f97359c00cd2fb8d7cb07997b3daf02d1e4578ea7a7292afd"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (288021 LoC, 2771 module-visible types across 150 directories) overshoots its size bounds. 2 of 6 build unit(s) (Python, npm) overshoot their size bounds, lowering Project Cohesion to 3.3/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":"pyproject.toml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4842ad367a78941ccec73d857627e21e838b932492f4ae73cdd87ada79a9f00"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060web\u0060 (220172 LoC, 2036 module-visible types across 157 directories) overshoots its size bounds. 2 of 6 build unit(s) (Python, npm) overshoot their size bounds, lowering Project Cohesion to 3.3/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":"web/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ea941af3f901551a092032ec144fc221c4f79efdf006625aecd57cda1f6e02"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 67 % of calls cross a namespace and only 57 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1abc1ecbdbd8d8fac57904929d19e6afd2bb6967fa1abbd33f5fe03a4d63702b"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24648e8a0b3675222f8b4397ce42ca0c1848b9f28f4f3387c38bbb28458216cd"},"properties":{"commitSha":"126a0fb4690a1c406c3718e4c91948a1f4d9a0f4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9bf8fbe84c4bd894788656efd8a141c872aa8b80bb119dda001970c695295c00"},"properties":{"commitSha":"126a0fb4690a1c406c3718e4c91948a1f4d9a0f4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6b23380494faa32c80110d9977db939d1e5f890fc5b88e148a3f444872458b9"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9f613ff1dee65ea9913afb3ef78306a404df0fba32fac4dc0359e7cb52c5d52"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03eeece17ff0ef01b76676381cdb0c5980664232823ec4c85f8a0684a6c1cc60"},"properties":{"commitSha":"126a0fb4690a1c406c3718e4c91948a1f4d9a0f4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"160d0d1849d6833591d483ac7b62544954c44f43bdc7951b36dd966a2ef7acbf"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"72607c85e5154b0bb923ca3a176f17d310e2d6ec325d0ea937b654621cdab832"},"properties":{"commitSha":"126a0fb4690a1c406c3718e4c91948a1f4d9a0f4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb6005c7406c43508459586e5c9caa67ce3b238853045f8c2e5e1a3cc373ca3c"},"properties":{"commitSha":"126a0fb4690a1c406c3718e4c91948a1f4d9a0f4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8624385aa3a2317558b3f1bd29368f3c006d2c26892222c31edca05215d2174f"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae24ee131bf203d670210dce705908e424a96cc950064164a2c44db8ec1ef570"},"properties":{"commitSha":"126a0fb4690a1c406c3718e4c91948a1f4d9a0f4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20ed867d4e19cae2da3482272ec13ed46bc4a620b61c96ff184b281370cdf63e"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d81ccc798bad47cf51704e5d4ab26905e299f8e5331f4b2054fd788e875ac4a"},"properties":{"commitSha":"126a0fb4690a1c406c3718e4c91948a1f4d9a0f4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5e6586707fc2c979f054d0c3616e2b998eaa8ba432f4f29b9e48c1c25a8fe1c"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5e8d97ee109695f59d8c95175618fd4e388a818b7719a27f0cb303510b6cd6b"},"properties":{"commitSha":"126a0fb4690a1c406c3718e4c91948a1f4d9a0f4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a3a850a53c08c3d4f5d15cfaaeee9fdf6a41d7df58f41705dbcc948f6e49e03"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9c81f5998988a340e37a81a10c89f3521a7ced3d0ffd0954282733593f06320"},"properties":{"commitSha":"126a0fb4690a1c406c3718e4c91948a1f4d9a0f4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44a6316c79420c8a9174611a23dd595edbd0dfab843fd2ce45a7d847b397dc46"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9780a782b2bbcc3ecf403bdfcd4e063a7ec68633f80cb6a1829a765c3619aa74"},"properties":{"commitSha":"126a0fb4690a1c406c3718e4c91948a1f4d9a0f4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4d4b3e2d02fdd23eb7bf51037d57443c59c34aaef79c962943f5a99d047dcd0"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"589e7e15ad4021207a0e9e76d9e5f20ab51310e9f19880bffd3f967a7f14e52e"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e2198b784a78f4d14f2c33fd6f0113e4409d0ec408d3401fac0aba92e8fbb97"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39b33922251c6aac09560271dcab5759f119f2657ed27a7bad666c9e2da3cd64"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b848d613fd20d2a96f908262564f89b9e933983279c5ed50a16d054ad46e4d2"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d54fad6631243b5c28b516ff9c208baf529f68ca820ae71652984d8fb3956361"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a633fa10840aa296daf5b4866ceb3c1178658d6908c68c0d82522ab5827aa53"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4114af5e313eb411179dc04b29e880de492a6317064f04072da3cf577604708d"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e42f7fb81047000c700ef009712d112d740ccee998ef9ab51196de77e45fb4a1"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"098387825cdd37be7d506d204c86aff074cbfaf9b8b3f1d6f63dd3c7baec7134"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34f23ad4e1a392a948b87954b751dee4fa226546e1cd43609fa05c40e97f2fa2"},"properties":{"commitSha":"6688408800697d2545398181e7f6cecd8a006525"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83e0e60d49bc8f9d9781cbbf6555bb0ac2bff5d200e0ac9b8a944ee8369e277b"},"properties":{"commitSha":"b7b15cccc8ff837af3646217bc1f349aa84ba159"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91598be31d530331db0be5ebc6ff889f3db829d2429067517382adc1a62f547f"},"properties":{"commitSha":"b7b15cccc8ff837af3646217bc1f349aa84ba159"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c96c5016142c43ad6ac846d446dbe6762eb561f4962ccaaae55e5b70962a7550"},"properties":{"commitSha":"b7b15cccc8ff837af3646217bc1f349aa84ba159"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a07eb16d6c08955c2947a7aa76b00fcf1495cf427dc6d40167107b34eeaaadcc"},"properties":{"commitSha":"b7b15cccc8ff837af3646217bc1f349aa84ba159"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b3a841eeb9169f6a92d3ec211ac15cfa7d6cac3c276b141cdc11e52388a339d"},"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":"97639b672abea1e816099346806da6faf6d2ba6d93e3e8f3b8e02f17b6df3d7d"},"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":"b06e099b12a146ce1ded25e1be819d5c2fe20ea6791b442053bdea0ca14e9e0a"},"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":"1fa7dc6ef3cced4c83df2983bf2034347a660f533b2a880913832d2ab5370826"},"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":"b13d6c87916964bc3d9bf87764eb7b03bc2fdc453665a410aa5d9f0c5a40e41d"},"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":"63e5e506ac93d3b0e311a41c711bed08e05fe5fe37e53a98c02ecf4759507a09"},"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":"ef2b7dcb1e7cd2bfff4f83e03e8e2021768dfb536419ba9a1b1428ed0ff811f2"},"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":"c0033a6aaca346b96bb4827fbdddcffdaa5fd0a3449f9235af4fb3070b50155a"},"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":"43ff6aac6c87712a50b60044ef32154ee3f50c410eb7a6a89e04f9246596641f"},"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":"10932e1e1b7cd28fe0a02e8c8d6436bfac83f5aba058dbe1e412d0226e465ddf"},"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":"28f6d42ae0a46b7cce0aa30d9560ce5276f7bb3af3474a16035c62e250a58ca9"},"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":"b23b40f4fc9983196fb142ec54908cbe567925ab779b6ea2c911ce7cb105be65"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4facd37698ebb27a4f60af79d54eeaf5e2860b15a37b61e3bbddd540392eadb"},"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":"40aa3e5eeb2c389b10aea55ff7afaf8c79130c6ed772f8247bf21efc97fc0005"},"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":"5e164bc2e077a596d72f8e52463d1b69ac78e28f7803bdc61d1193a2b90b497c"},"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":"8d2d76425309266c25d5f95d34675f14d4945e0b978b328663062596db6fdb73"},"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":"924d3e4da6b1e42ba2e9076aac8a28fd8a28fdb8955e304658957a2608e2d736"},"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":"ab3836e6e8c84eef5eb19839a6ddea8e9d8fa327fe1f00e98be4e5455b4ef15f"},"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":"a6c7db0bd0d127d2888746244c21c117f9074ddce9a9d89d7b456966b57927b3"},"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":"b58990ddfe35d44230a1e6cb19bbf5a57809cbfd55df77edadc90f870cca3e40"},"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":"d27b73feb319bfa20818f750f3350acc5988b400d86ddb3029daa7dbb21b1af9"},"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":"c337f89b653576666b2d4d2ea3211d928bee8931b53a4795ec20eff1a37cb657"},"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":"ecf7ae95b096f88b81080ce7e3497be10944a4404aff2b0b88aa97cbe2921f34"},"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":"8e910f00a29314dc0146ad796ad8674bc4fa0b06f1831486c7ed7551edd8b7c5"},"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":"bd30a18351bff0535e4fdd8f2c3aa250d8374d3183efc3336a8c71b83ba2c56b"},"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":"5d20f7026d96dff87c0a5ec8a5880d244c1ff97e25de946511a7f44e3751b656"},"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":"cad9b8550170bdf220c5c02faf53ec4300e16232218479ca60d5d9f1eed8dd8a"},"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":"c71bc63859c427b5f68580967c02c400ab4e29e08e06757c03d03a3a6ea4ae32"},"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":"253b0303194b87421f47d2902e5e8328d645602727e9d0233aca4757fe595e0b"},"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":"6b419f87f0d2ab3a9646f9b49a807486f0fc3efb1d32f856d8b5ffdd6b031443"},"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":"0c9b7062ff2570529693c7a6c6b3652920b327bf1ddb4553a1781d2ac0dedca7"},"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":"92174a20f13f532e94fb54bed4baa60553f418f95ce8c6e2136e4e36c8a44995"},"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":"fae5aebf0b9296f0dad19b3f3552919f8055aad152b1cc4040d66e3c6fb7b4cf"},"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":"c98b9b97919003d5f61034eb9b717e6ea89253211b430c2cfcf2ec6aef2c8ab9"},"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":"6eb9ec6eb0873e7c5910db593de349c977403c90fccba20efd0e390a7d28e7ce"},"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":"45a7a3c296d604d089618ecc3c420a6686670e223d2fb39fcf9d29e5da0b6980"},"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":"8f6ad7769f4b2b804f4ccbef2fe8bbd16d55f0e3345823dded242dff44150f85"},"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":"30437bf4ec951a56485af00fc53f232eaca9823354f3702d3ea10136e8dc1c94"},"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":"a064487a051e6e65048327c180326f5e316a0c57faf50afc3e5a0b8e3bec933c"},"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":"3d982864d1247ce3113d97003662332f8e88af3c407da22373660c412a061d8a"},"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":"9e1bae085e74df725d6fccaf415d730541a4926aaa6c6bb9aad99771235953f9"},"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":"04b38167788ec44ee6ba071f01d4ef71f50bd3495a532b5a63c7aee1f481f2fc"},"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":"f50f4811ab77548e5f311961612015d5d156f59a29a582c8ab1d4c2df888871c"},"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":"b98cbb8f083f720b982911a0578b63b23762e12929c81ab96af22d37fcc4642a"},"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":"8156da87730863e36625e2f575160ff00499aa7468cbbd4314bbaa4ff04b0373"},"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":"32a8bd1a8cfcd5ff3917d08c69617ef5d92e9caaddbd54eda637f77e9597c3f1"},"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":"2096fa97b44f4da0117fab360399ea2f25ae8e4ace5c4134a16c3feef011fd14"},"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":"29b52813d437f1517227b445585db55709d6308d0c5c4c74395d5729b1b8f361"},"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":"7ad8b4b27b9cdef25e88be169cd8890a48c74f4785cab37700e842cd6c81958f"},"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":"ce26d077e59e6adffa7e8694ef69ce213f1a5b4c0cb15b77c3149f406ef3e333"},"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":"be620223f703cd673abefa8677085335982b89c82c0a45f6174f7b0931b68126"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f1cc920f43f6f627ed9d7788668186291bc45b10a6aa4d4d21a9059da5f689d"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0dd416785cf7c46d34b2f254bbae04ed0eb7db905ccda6b75282329386f55ad1"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a34404c52b3ac4a513d3a4e76fbd6e316eabd5805963088f19c51e6be08bc75b"},"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":"ec53a7f2cbf410880691e7a397be6e557e204c11a363784cce794e87a503b80d"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","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":"1565883df75385a1b207f5259f3dbab918cdee06070ebc6950ed5da06d6b66ca"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9548537db2500b511dfb560204d7db83a825385d6a856870ade32ac51176ba14"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3918cd2e7237b24a95b33b7b40f7b82cbdf5bf0480666ca4e6dbd71b634056e"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8016eae97878494f9af4d1ffcc2f89f0ec38cc470fa10708ab7579761d920e0c"},"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":"0c0e375b50bbaecebfece513a69b76292fe59b5b8c9217063fa1322dfc382aee"},"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":"c69703fe0b71910ad1799c79a4e67314aa30b4504afb4f8fd0259cd2886dad0b"},"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":"3a9fd1c59f744f1cc354b800280a6e13a70513ace985d893d7d0950ae40451a1"},"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":"e139ebe8dd82f8a8a822d34c6742985ab01758969f5307d02d672c29223cacef"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b49418da23d771c73d1d752385c3d812e4585456b2e62c8e282a82a09f3ecf8b"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f952aaad1d12b943cc4cd0ac384b1aad86cc25655b3cdf211678bd6aae08bf1"},"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":"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":"a774eb9b158779c6fae3943cbbfe9803efc2b032cfd940c7a072ad6d2b22cf88"},"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":"450752ebce421dd87b3e200b146449c513e6c32bd49389899188be37d7c02c12"},"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":"e8fc38ff4c193e662cefdb9559285f2416cf307459920468c64cecdaa9a25775"},"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":"4ceb36ca8d9684406e092ac792ac644bf08c0f5471d8059f770d0d2c4044a3ce"},"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":"fdd9d44d6cc04443f67c9ce1a0ab163a6c63553962bb0379e702eeb2b788f2ae"},"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":"6e6b705f7089f43fd38dc893d7cc4932de92eab63cdff265dc22314c4f4b479e"},"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":"62a58112975ca8bb12d98818dd3a128e30d613102045f1f855ac171c482e40d4"},"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":"93b35bd5605689bfdd2da50688cd7fb664b152523d58ab06f75e14b0b5f3e103"},"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":"64d4301a65a6a7d842bb2807da459cf4bf572231cc51c3d7135617c5cf4c7c55"},"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":"8f920c696d7507074a4bffe2e7eb0de1d6169d0217fdab7af8bc660c9dd11565"},"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":"a5d0e61ded9f8a62893093a8f9fc843351a0184b0c10d1fb6183515250aa7ac8"},"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":"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":"d94bda5453b43ece8710c6f119ecc19c6d38068a87aa819467f02454866037c8"},"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":"aa5590517e8bc9f87fb9c40248a8ed36cb1aace244cb800f744ae5ec613a9c63"},"properties":{"dependency":{"package":"pillow","version":"10.0.0","advisory":"[GHSA redacted]","aliases":["A-299477569","ASB-A-299477569","BIT-pillow-2023-50447","BIT-pillow-2024-28219","BIT-pillow-2026-112390","BIT-pillow-2026-112391","BIT-pillow-2026-112392","BIT-pillow-2026-112393","BIT-pillow-2026-112394","BIT-pillow-2026-112395","BIT-pillow-2026-112397","BIT-pillow-2026-112398","BIT-pillow-2026-112399","BIT-pillow-2026-112400","BIT-pillow-2026-112401","BIT-pillow-2026-112402","BIT-pillow-2026-112403","BIT-pillow-2026-112404","BIT-pillow-2026-112406","BIT-pillow-2026-112891","BIT-pillow-2026-112892","BIT-pillow-2026-112893","BIT-pillow-2026-112894","BIT-pillow-2026-112895","BIT-pillow-2026-112896","BIT-pillow-2026-112897","BIT-pillow-2026-112898","BIT-pillow-2026-112900","BIT-pillow-2026-112901","BIT-pillow-2026-42308","BIT-pillow-2026-42310","BIT-pillow-2026-54058","BIT-pillow-2026-54059","BIT-pillow-2026-54060","BIT-pillow-2026-55379","BIT-pillow-2026-55380","BIT-pillow-2026-55798","BIT-pillow-2026-59197","BIT-pillow-2026-59198","BIT-pillow-2026-59199","BIT-pillow-2026-59200","BIT-pillow-2026-59204","BIT-pillow-2026-59205","BIT-pillow-2026-96636","BIT-pillow-2026-96637","BIT-pillow-2026-96638","BIT-pillow-2026-96640","BIT-pillow-2026-96641","BIT-pillow-2026-96642","BIT-pillow-2026-96644","BIT-pillow-2026-96778","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-175","PYSEC-2026-165","PYSEC-2026-1793","PYSEC-2026-1794","PYSEC-2026-2253","PYSEC-2026-2254","PYSEC-2026-2255","PYSEC-2026-2256","PYSEC-2026-2257","PYSEC-2026-2874","PYSEC-2026-3451","PYSEC-2026-3453","PYSEC-2026-3454","PYSEC-2026-3493","PYSEC-2026-3494","PYSEC-2026-3495","PYSEC-2026-3496","PYSEC-2026-4326","PYSEC-2026-4327","PYSEC-2026-4329","PYSEC-2026-4330","PYSEC-2026-4331","PYSEC-2026-4332","PYSEC-2026-4334","PYSEC-2026-4335","PYSEC-2026-4337","PYSEC-2026-4338","PYSEC-2026-4340","PYSEC-2026-4341","PYSEC-2026-4343","PYSEC-2026-4363","PYSEC-2026-457","RUSTSEC-2023-0060","RUSTSEC-2023-0061"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe25decde6c650c760c00fead101c73b861f901fff5f11fa16c8e7b1ef18a073"},"properties":{"dependency":{"package":"python-jose","version":"3.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2024-232","PYSEC-2024-233","PYSEC-2025-185","PYSEC-2026-4298"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba597ecbbbcb426232cae1f3e24dfec3a3ecef65975a91a8053a0b1782b5b8fb"},"properties":{"dependency":{"package":"python-multipart","version":"0.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2024-38","PYSEC-2026-1850","PYSEC-2026-1851","PYSEC-2026-1852","PYSEC-2026-3036","PYSEC-2026-3037","PYSEC-2026-3038","PYSEC-2026-3039","PYSEC-2026-3040","PYSEC-2026-3041"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a41b5193abcf784ba145cbef7053a993e2969ac49b31e111d750a42ec1c01b7"},"properties":{"dependency":{"package":"pypdf","version":"4.0.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]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1827","PYSEC-2026-1828","PYSEC-2026-1829","PYSEC-2026-1830","PYSEC-2026-1831","PYSEC-2026-1832","PYSEC-2026-1833","PYSEC-2026-3004","PYSEC-2026-3005","PYSEC-2026-3006","PYSEC-2026-3007","PYSEC-2026-3009","PYSEC-2026-3010","PYSEC-2026-3011","PYSEC-2026-3012","PYSEC-2026-3013","PYSEC-2026-3014","PYSEC-2026-3015","PYSEC-2026-3016","PYSEC-2026-3017","PYSEC-2026-3018","PYSEC-2026-3019","PYSEC-2026-3020","PYSEC-2026-3021","PYSEC-2026-3022","PYSEC-2026-3023","PYSEC-2026-3024","PYSEC-2026-3025","PYSEC-2026-3026","PYSEC-2026-3027","PYSEC-2026-3610","PYSEC-2026-3611","PYSEC-2026-3612","PYSEC-2026-3613","PYSEC-2026-3655","PYSEC-2026-3656","PYSEC-2026-3910","PYSEC-2026-3911","PYSEC-2026-3912","PYSEC-2026-3913","PYSEC-2026-4153","PYSEC-2026-4154","PYSEC-2026-4155","PYSEC-2026-4156","PYSEC-2026-4157","PYSEC-2026-4158","PYSEC-2026-4159","PYSEC-2026-4160"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"041a6d7f7909d7ff2a9c03c217c8d0502690ad2f6574faf0e3581c1f92928938"},"properties":{"dependency":{"package":"aiohttp","version":"3.9.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1097","PYSEC-2026-1099","PYSEC-2026-1100","PYSEC-2026-1101","PYSEC-2026-1103","PYSEC-2026-1104","PYSEC-2026-1105","PYSEC-2026-1106","PYSEC-2026-1107","PYSEC-2026-1109","PYSEC-2026-2094","PYSEC-2026-2095","PYSEC-2026-2096","PYSEC-2026-2097","PYSEC-2026-2098","PYSEC-2026-2099","PYSEC-2026-2100","PYSEC-2026-2101","PYSEC-2026-2102","PYSEC-2026-2103","PYSEC-2026-2104","PYSEC-2026-2105","PYSEC-2026-2106","PYSEC-2026-2107","PYSEC-2026-2108","PYSEC-2026-2109","PYSEC-2026-2110","PYSEC-2026-2111","PYSEC-2026-2112","PYSEC-2026-2113","PYSEC-2026-237","PYSEC-2026-3545","PYSEC-2026-3546","PYSEC-2026-3547"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2eca7be8ede7e50aec363d2f40038c634124c7baa5042c7ef436c467d42491a5"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f711f39872f59dfd70d8f751d6d341d73124f607bb123e8111bc3ab685ed3473"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1356b1ada8dd4f744cb46d2636abb5deeddc29d9b76ed65be48fc7fad3281f0"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d16d6dbddf8d31b4132c8aa8b9ec317ef6a0224531ab678d6e54263c7e959911"},"properties":{"dependency":{"package":"browserslist","version":"4.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"40cb2a9dc0786219b441765cb7597dd8bb98fe611265f64ca950e5e19fbdf141"},"properties":{"dependency":{"package":"dompurify","version":"3.4.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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2474e5759e208004930fe8d470bbc942da8c7be2a56d5ecdd63d0c5944b06c0a"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83746bc71704eba6be30359be20b4c08f524a45ecf5b91dc9be92b8c12419c41"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee3e3bfa62853de557957e0fd209dfdfddcb9911baa05b20b824ee12ef5f34e6"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e03dff0f7e58193f9ad417ae73d305703c536674a6f00270e0c1105ebaab2b62"},"properties":{"dependency":{"package":"undici","version":"7.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]","[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]"],"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":"4bb2804142fe4d9551ab68f2d15fd29e2b6bbb413a507b48e0b277915d253325"},"properties":{"dependency":{"package":"vite","version":"8.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24c03c8028b35744d7f632cdc52b89c236966da7e7d9426ae6230f574ac525d8"},"properties":{"dependency":{"package":"zod","version":"4.3.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c065bca250d16debb96e1b84fd26102e785150a9fae71e95ecf4f438695440f"},"properties":{"dependency":{"package":"fastapi","version":"0.100.0","advisory":"PYSEC-2024-38","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1850"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aeaa534df2f3fbf57165dd14e8acd7f1151dea92eb6ec0acaae8d3b31b59b5d1"},"properties":{"dependency":{"package":"requests","version":"2.32.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-1872","PYSEC-2026-2275"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"495b2a884008ed68bf52d8da5c2ebf3e02757ba187d1b32c4efb9436ed0ee866"},"properties":{"dependency":{"package":"jinja2","version":"3.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1471","PYSEC-2026-1472","PYSEC-2026-1473","PYSEC-2026-1474","PYSEC-2026-1475"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96cf1cd8a7f0496ea9a0df286a723ffa0a32aa6601e52d4962a7233ea34455ea"},"properties":{"dependency":{"package":"pydantic","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1812"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1636d2b6dc0bf3687d73016a26f62845df0abb394f29644bfc2b0d18236f72f5"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.7","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f7a3cfdcf0af42325e5befca57277578382f27acb2875a120a8d639c8e635ee2"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d01e7dc69fbc0b9e3be814ece5f20c429bd93c1326abf14adf3c54bd28340b87"},"properties":{"dependency":{"package":"@vitest/mocker","version":"4.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"225ca682845efd49c0f78b2bf9d6037afd2f2a66377b0b2d4dc3731646f80c40"},"properties":{"dependency":{"package":"uuid","version":"8.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4bbf697c3855b27bb54dbbc3a6012c7c52f182cc33851c590ea2e422c021662"},"properties":{"dependency":{"package":"fflate","version":"0.8.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a52856daf42d3422d85b626b0ef2e0e2554d0ec570b41b305ef1b190c8035de"},"properties":{"dependency":{"package":"mermaid","version":"11.14.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"web/components/Mermaid.tsx","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":"2239bc7a8f2c07a849d833383b9baf95d482aa28dc705119c58a731a43f15964"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64ad9b99a6b08d9bef82bfb0cccfd94aea9361f8d5bf2d9ff500f819a14c8e46"},"properties":{"dependency":{"package":"uuid","version":"11.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"309ac526f2c527b113d118b07864c004f1ca48428d71e1f3ed94f240d100b338"},"properties":{"dependency":{"package":"@babel/core","version":"7.28.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83fcb48725e1d777694333ea6d611846e3f1844b5d8cffca52553e8dabe96118"},"properties":{"dependency":{"package":"katex","version":"0.16.27","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be9c57e2fb625c43c271d051f76b97f27b6976f4ec358ef8fea1d9cb5205f460"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d3f4c09db259f23b96305fa5ed9977f3fbbca767d087258191527c5b26c4ac8"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb2badecbb1eb343ba258f44d2f2b960c9a3ccf6e740056fa931d84f684c0f08"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9100ed25efb5b2fb03352b7891059c36cc65e9f1bb11d4f56833c243b7a14a79"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e83b518b7f52f2dcaa5ae6040062bb11c1eb9b8af4b47d50866778e1f843e3bd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a57094670bb9d7bdc73a066c6694629c0b0c268a5341519373c4ddeb2fa1452"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ba62d6817c5167fdf91de548912ad47193063c679c6759e9cd182c37300346c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5276d931690ff7b0d05f00533e5248609b1bc44ad96715c1d83f27d45deaad40"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03400874d601518163011eed910f9aa5e00eb019cf0566ef4de3c1acc82a453a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"8b6d8f37b0b0a9a682bf6453e0f8ff4aabf8ebbf56a369dc4d4e968bcd9dabd5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae2dfb06bfe0dcadfc949c881aa237cb2a4aac5b1cc69adf101d9e003549ef46"}},{"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":"0579004a7be0e299b862043d08450ccb8067987d276c95cc2487ce4223bc1be0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"03bfc9316af547a68bfd21994c4aa3e401481c626e25eee45b31874eac91d30b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"869e993f690736f366b666ff0c1a83ca2e1145a5f0ba19b2b83c66ead2b0f2a4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"bf4f8d349cc89b885c8dbf700d78003b9f42b1e036bcb81022a7a5f57929113a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5121340b36261cb1e2f24de3f4db2414ae8aa8597dc681578ab80b3d4d6d1a81"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"476176a40f7dde5968156df41a3ad51fabec36db7b9ad2c78af7fdee298fccfb"},"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":"1bd0cc49afb556a0339cde6833f4485966d412155b0de4ecaff1e7ea9c40a66d"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/gemini.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ea7d99487bdee35f038a3c7ad289bbe55108d67ca420950179b374b7f47417"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 19 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: deeptutor/tools/vision/coord_transform.py, deeptutor/services/rag/pipelines/graphrag/errors.py, deeptutor/services/rag/pipelines/graphrag/completion_adapter.py, deeptutor/tools/vision/block_parser.py, deeptutor/services/search/providers/serper.py, web/components/knowledge/ImaConnectionFields.tsx, deeptutor/services/pocketbase_client.py, deeptutor/services/search/providers/jina.py (and 11 more) (20 orphaned of 1583 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; 1583 of the 2258 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/vision/coord_transform.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c1a0119a672904e2a75191eca467ef6b8562ad91e1efe778fa1324ecc42c87"}},{"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":"web/components/knowledge/ImaConnectionFields.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5fa566e1dce9c037a9570faa838b45bcad24f5ebe0a3b326735735d76ddd30"}},{"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":"deeptutor/services/rag/pipelines/graphrag/errors.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef153ae8ff403ec0fe435c8446fd275d522f0d6fa6b9e76c28cba68c14d29fd2"}},{"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":"deeptutor/services/rag/pipelines/graphrag/completion_adapter.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c0a22cfe5c9e273d5fc3079b55a722eeed5849eee37a7db64c85176c4e840f"}},{"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":"web/hooks/useImaConnection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db6a9238d86b2b9d6de38c7ac91e814c63201e6a9b7710b2cf0a443e07690c3"}},{"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":"deeptutor/tools/vision/block_parser.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcea68a51c9f6960c925ba5152cc81c05ad42955987eb89a5b5070ed08eed81"}},{"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":"deeptutor/services/search/providers/serper.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"403ebf8415981f4e5d5d93085dd424fc1349dfecbd8797ef16d287f3f06dba9b"}},{"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":"deeptutor/services/pocketbase_client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfaf2439313780758e6d4415a8d7335c8554d40e224774613024cc12362a2f8"}},{"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":"deeptutor/services/search/providers/jina.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee7fe788905f1efaa04fcbe65d104e4382951d4050cf0779f531598dc027126"}},{"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":"deeptutor/services/search/providers/tavily.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7f4ebf3485413b36ec84cd5df2ce39d70289dc0278bce18d312287148c8f0b"}},{"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":"deeptutor/tools/vision/image_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0914e9262b90a908b518bfeb3ee3cb59c6a656f0c5a04502dee7ac3c9ecd245b"}},{"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":"deeptutor/services/rag/pipelines/graphrag/provider.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee49923b82898095b886bdf6d73b5b98d084f5216dc962684386ffaffd4109c5"}},{"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":"deeptutor/services/llm/traffic_control.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1246b6508f4fe90d24ed3f2d696a325ce7cf382f82423c0bfff6f4a27b55ba"}},{"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":"deeptutor/services/search/types.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0c1d38895630c9497099b4f9124222d686e96bda756e1699d764eb36238757"}},{"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":"web/components/access/CapabilityAccessContext.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2b773fd959f53793c3a7e273744dfca9ac11b041548aae6768b03d2aab9ce1"}},{"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":"deeptutor/utils/network/circuit_breaker.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a748c097e4dff08289db2ed70f20a1d3c269e53bdf6a4d2ae73b8fe6f401acf6"}},{"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":"web/lib/avatar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de17ad65e8124de270e4fc0bfd7cd089942b0372ac579e295dd4d13743ee7386"}},{"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":"web/app/(workspace)/learning/books/components/blocks/FigureBlock.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1655755e2dfbbe3d395f73cb8b49791049c9904c8b6747e12b049ed6f18f8d2"}},{"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":"web/lib/ima-connection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2200867eadf3e68c5bc729767eb68fb90a385eed61afdbcfe080ddea7a46576d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: init.ts \u2194 datetime.ts: \u0060web/i18n/init.ts\u0060 and \u0060web/lib/datetime.ts\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 8 shared commits counted here, the most recent 3 are \u0060377bf10f\u0060 feat(i18n): add Italian (it) localization; \u00601ae2bcf9\u0060 Offer Korean as a partial interface translation (#2359); \u00607847c0cb\u0060 feat(i18n): add initial Korean UI localization \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/i18n/init.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66c6364efee38b55c73649f9a5230b3bc676bc50e615ec43869660a6174cc90"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: interface_settings.py \u2194 datetime.ts: \u0060deeptutor/services/settings/interface_settings.py\u0060 and \u0060web/lib/datetime.ts\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060377bf10f\u0060 feat(i18n): add Italian (it) localization; \u006076dbbc36\u0060 feat(i18n): add Japanese as an interface language; \u0060e61181a4\u0060 feat(i18n): add Turkish as an interface and reply language \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/settings/interface_settings.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35db13852bcf6a94e2960077680a82d21818baa95cdddd1ca1ff21ee2b3ccc20"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ChatWorkspace.tsx \u2194 failed-submissions.ts: \u0060web/features/chat/components/ChatWorkspace.tsx\u0060 and \u0060web/lib/failed-submissions.ts\u0060 change together 70% of the time (7 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 7 shared commits counted here, the most recent 3 are \u0060560a80a1\u0060 fix: explain missing LLM access in chat; \u0060adcf7dfa\u0060 fix(chat): resolve browser-local unsent submission recovery; \u0060f986774b\u0060 fix(chat): durably replace uncertain submissions and isolate recovery\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bdb9b50c4406d969beda5ea1f621b76323fc0461f73d1ac2016bbd7df8bd08"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: launch_settings.py \u2192 init.ts, languages.ts, datetime.ts: \u0060deeptutor/services/config/launch_settings.py\u0060 changes together with 3 other files \u2014 \u0060web/i18n/init.ts\u0060, \u0060web/i18n/languages.ts\u0060, \u0060web/lib/datetime.ts\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/launch_settings.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5325f1e57c7c698e3c8dd3e081aa9ba3b6e8a49ebe7c548bf1d996ceba20227"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: sessions.py \u2194 protocol.py: \u0060deeptutor/api/routers/sessions.py\u0060 and \u0060deeptutor/services/session/protocol.py\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006058afb10b\u0060 fix: harden tutor-thread source recovery; \u00603a0ed2b5\u0060 fix(turns): surface and retry orphaned worker loss (#1570); \u00609b066b5f\u0060 feat(sessions): add recycle bin for deleted chats (#1398) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/sessions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ee9bb06695ded844021e66da4f3481f64422731187fd316ba0c975de4fddc1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: add_documents.py \u2194 initializer.py: \u0060deeptutor/knowledge/add_documents.py\u0060 and \u0060deeptutor/knowledge/initializer.py\u0060 change together 53% of the time (9 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 9 shared commits counted here, the most recent 3 are \u00608899ae6d\u0060 fix(knowledge): keep same-named documents when creating a KB; \u006080da6cee\u0060 fix: support Windows data volume permission checks; \u0060388399c3\u0060 fix(docker): remap PUID/PGID for Unraid bind mounts (#1458) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdd3f3f6a2643adbee0b280423c34f5e73f691a0ee5dd8cf8b28f4b9ad01ee2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ChatMessageList.tsx \u2194 failed-submissions.ts: \u0060web/features/chat/messages/ChatMessageList.tsx\u0060 and \u0060web/lib/failed-submissions.ts\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 \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 5 shared commits counted here, the most recent 3 are \u0060560a80a1\u0060 fix: explain missing LLM access in chat; \u0060adcf7dfa\u0060 fix(chat): resolve browser-local unsent submission recovery; \u0060f986774b\u0060 fix(chat): durably replace uncertain submissions and isolate recovery\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe281228c84e102f5b456ed717e264ebc65dca6ef69da387911bd636fa86c20"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ServiceConfigEditor.tsx \u2194 SettingsOverview.tsx: \u0060web/components/settings/ServiceConfigEditor.tsx\u0060 and \u0060web/components/settings/SettingsOverview.tsx\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 \u00604c6498b7\u0060 feat(i18n): add Ukrainian as a full interface and output language; \u006032848a6b\u0060 feat: add french as supported language; \u0060a2f124a6\u0060 feat(settings): Models/Chat/Agents categories scroll in one page \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3059b243dbaa93e153bd308e4873fbea49ac3a49c5b641728417f16b727ae4"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f22cad802b478cf6dcba193afd5881b1a2407fd2769641dec80747a4dacb0e63"},"taxa":[{"id":"CICD-SEC-4","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":"324aa564f0b85bc478a9705fb09c7f4598f52d0b9547615019de20316e4cec58"},"taxa":[{"id":"CICD-SEC-4","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":"4fc50f47bc5977d6571e15b6fb5974ce0c6d79e24149d8f6bb254276a6fd8d9e"},"taxa":[{"id":"CICD-SEC-4","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":"321b25bcc3bdf4dff5d1ca1bf69dbd3fc272c509a578b471143f43e7db5d9b08"},"taxa":[{"id":"CICD-SEC-4","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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"warning","message":{"text":"\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":"web/app/(workspace)/learning/books/components/blocks/AnimationBlock.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd57ee2da2cf9c826407ae219b58582c65e9455a406c4a3ebdd0d44179a55711"}},{"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":"web/components/chat/preview/previewers/VideoPreview.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"da94b07c1f333e21cbe91f095d5c9297ac36a663626a3e48f6180a39273dadee"}},{"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":"web/components/math-animator/MathAnimatorViewer.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e960b45300e6b7c5f1bcd718aa5f8cf1588ed5a1963fd805c71237e86e19ec"}},{"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":"web/components/notebook/NotebookFavoriteContent.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"744f9e13b36a1b49b88f6039d72060d3da828d8dc3d4ffbc7e3edb50cd4aaa3d"}},{"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":"web/components/reading/PdfImageZoomOverlay.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0935dbb1daad4beadb5d0148910c7761e1ad61a068c3ff4eccaa72f03e21e6a"}},{"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":"web/components/reading/PdfPage.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"4569255eb8038f29bcf8f43dfc4ec438edc046c4a6fc30b6be7ed61305ab0a8c"}},{"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":"web/components/reading/ReaderImageLightbox.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"423fbc6dd31df62279e0c70ddb53fcd2e97b3bea7933de47a1b8fed5f8ebae97"}},{"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":"web/components/reading/workspace/MediaReadingStage.tsx"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"121114c21878046f18a0432bc264c402e0f331ff35ae56c4abf4f6d73ad7e340"}},{"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":"web/components/settings/ServicePreviewPanel.tsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1be5bc9aa30948d2953ec4eacf34aaca2d76e4b2021a4c52f1b3860200fb59"}},{"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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"756f6dfe88b795f99b18624ffab8a3b75517fdb8b440623aa660bc3783b279fe"}},{"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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"56eb0f3f171ed5074c2ad43087a590f7521e3d4cce12dee290824c6fdb4caad5"}},{"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":"web/features/notes/components/NoteResult.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db9a43408b42dcefb6cb99a18830c910eaf5016f62e0e1c142a59b0892113d2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a644d94b854e054259c41059876ff796293a7646934e17e26e822c0faa4a512"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41f2de0b069d14a5a47af31e11339b6da1ae47256e1529b151a4ba7180ee790"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44bfa4c47a05ea9cf82f3cb75770a022dd42df728018719635c5651bf92c4ef"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookHealthBanner.tsx"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a7214a6127adf4d166cdc0cdb5fc0c55eb5b86749d6bfde97f9c26a0b343b8"}},{"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":"web/app/(workspace)/learning/books/components/BookStructureEditor.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6601a8febbb9822ce4f9bdf6271f94356d508b242f25e5d715cbd7a080220434"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/SpineEditor.tsx"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3cb14184bd1a517615ceb137b4d064d5ae674d039c7910f49cb6bd603bb375"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/blocks/BlockBodyEditor.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7f0a86e72fe2fd3d6eaf811c54309f927b0fb85c687e62958f5d863751f6e8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/blocks/UserNoteBlock.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f33a0b78db32702fc6b14036100acff2cf50c4892758322168080bb2dcc41b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f092d89ff4e1a9d0e06710baecdde25054f3db69efcf6b47996b00ddad63111"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b0787f1387cda3222ea70453b0609b02ff3e25391dec1a9aaf9c3f4b94259e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a41e98403a5730f0798fba43f6dba8bdb8462b3df7f2124a074a8e356866d0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb41d36b78c87bf02a5ab336c7ec7e606c2c1a7d4858ddb45d3bf474023e62f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"6182059b888f537df2de2ff941aebabd382559c8256c54df5bcb89e84865ca03"}},{"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":"web/app/(workspace)/partners/groups/new/page.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"333f0351814398bc0af241689c2c40f5c05892b9edb77c077699af8a3d49d99f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/partners/groups/new/page.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc3a9fcd3c6e3d6c20a8663084f48e0916924b8f09713b1e1e71d1634f6167f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68464872975cd0b9f862f42f700f6349b89e2bc7a3bbbc9e9ebdfe064841276"}},{"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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"541893057769dbf7dbce6fa875ef1b31264f0deb108e52160d5f3379f6f4ce38"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"840f6b2c1d2f13c411f988c9602c917538017fbf3136774e59da177a6d64ff8e"}},{"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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff90424b8ca21b7e3bbd6d594a76f31d9b0c9b79bf9c738ea4c666a3da3eb767"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"da74a6ada94be8016b76ed31d3dfbd9e4eac1a803338073f42482e4ca776ad84"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae59362cf2a45b5b0fbdf67fbbb715196e33eb89390eb88f377b7ba477305f9c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/SessionList.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf2779e978ab7d5a357532d30fbc5442a3f208a1c7cb81a1b7ead7c0a81919a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/SessionList.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5def5cc3a767f53e17d54d2706827d86bd67ebcc2a0e1304c236b53e9371ccfc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/agents/ConnectedAgents.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d699fd4831d655aab26736235e400b01deb9832d8c91d46f876dd305116ee2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/agents/ConnectedAgents.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"57351dd607cbbb06cb146697e1cfc3e52b1afe33837f00ec08cd3de9d1a4a38e"}},{"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":"web/components/agents/ConnectedAgents.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c823a5523203956c1cc7d738ac04d33f28c634bd26579ee53a4fa891003c3463"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/agents/ConnectedAgents.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"60268d06f245e98a07a1ddf4eee158607f4a1958b374dbc2f969720d3c6e2442"}},{"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":"web/components/agents/ConnectedAgents.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb2981e7ef8d5f9b41d5ac8fdfa329830fe30bcc5ca2543aeeb21e78f0ad4c2"}},{"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":"web/components/chat/BookReferencePicker.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9242bec3693bfdcb2f3a53a84d6c86e76949d608718a008c36d27a6eee66de"}},{"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":"web/components/chat/HistorySessionPicker.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63cd279e8870272ec010fd1e7283787f092393528690c45fd28f6dde3128ee4"}},{"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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac8c8a9d8dc5de0f3c588af75379932f34efef1a0453282d8dc949c6f42ad16"}},{"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":"web/components/chat/PersonaPicker.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b55fb1b2890476d8714ff5e1a04919cb48da9e25cd74866ef9aeb8218bf5ccf"}},{"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":"web/components/chat/QuestionBankPicker.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"149d18135d9091d36f7a11a069315a9053951e270f055c730179168d8628c01c"}},{"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":"web/components/chat/ReadingReferencePicker.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc5fa56025656c06d1b316f1efbf5180ac585640dc47ff23bc23fe6eab50a37"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c2e29695e3fc6fb210aab69bb915191e68dc45264610383d857f6c0a30b11a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/SubagentTabBody.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d593cf532d2406ecfdf9161f79fd2deceabe6603481a8f17127de3fad0c53a76"}},{"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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb918bf88e967991c28d6579bb3ffc0f0965c48829d19be8078642baee7587a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e773a560667a449c0addacf68a8f2e3d1b6813e46171bbfe92ae58235e47a5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"8990471b8dff1ae5b8f988bcc852cf779e7657955c5b9a103179e62bc24e942a"}},{"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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62fae6fe429cf7e26672107e3a8840cab482ce6374ecc90609f1c7ebc09cfac"}},{"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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46780464c9a4cdab06380e8d130df2bfd775cfb0b54961175f4885a3c4e18a2"}},{"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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"8015042b134f3c1d385ffd29d2cac5c759aaa71f85be2472d74d29ab72863e65"}},{"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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"c231132953e4675b5b5d2213d23902290df3b699017d409ea94231ced320a20a"}},{"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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde41512d252a785bacb52857bf1467d657e4e7df9be910a16ec6c1fdddbbf66"}},{"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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8dbb89ccca0074c046321b4c9e4824bc4e6d0b50dda60cddad76d646bec996"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/ImaConnectionFields.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"97673ecbef86f2b8cc05b5f7eca2855002041c673c305eeaac52fb14e06e8e53"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/ImaConnectionFields.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f67f9f866e76c46a5f2b29cbb88087165fe1997e225e3ba3bf051bc4a279c5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/ImaConnectionFields.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d796ab345d2b177fd302bac3c2c7e4218aecb1c63be8c876a18d086c09d5dab8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/ImaConnectionFields.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a04f378f257fc1159c29dc6b1b1c0f9331025379ef7d60c55a5e319fc32e870"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/ImaConnectionFields.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad48a651630797becf80ba0d0115796864bf707272cf4036f56ba2fc17eb0aa"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/ImaConnectionFields.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46d0bd36ddcc795c1512e668cc8f427badca08deced1154af679f06520f7b05"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8529be51b0f1b4a0d535f3e0c4820888149613b60dce58bd0c784813dc58ac"}},{"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":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d748bd424f4779c3e23ceded6b2297f212ea8da02c9661a0fd8c35d1a3c8881"}},{"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":"web/components/knowledge/KbMarginNoteDevicesSection.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdebacdd6d07e057dd48002d5e5023abf4ee84d8e87e67fc561edb02652a305f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KbSettingsSection.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"211eece513ee65cba04bcd016ccd540b0b0620900bebd6727d707f21e220376a"}},{"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":"web/components/knowledge/KnowledgeHome.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"35dbf9ae9bf5ee395072f2f7c38c6ef68daa30334008d9046c6f9bf18dcb97e8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/PageIndexSettingsModal.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41ab2a46b97aebd4a7eb3ebe06fed77ed1bbed2381471a83757ca2c261f3df6"}},{"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":"web/components/knowledge/PageIndexSettingsModal.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"489638b8a66d81784e369d0715581c2e8e6d444c898bbb3ab5708224fcf95a16"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/KeyValueEditor.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fca63eaa5a353b3655127c7d12aff5d75ba86f71fb78b3a0ff021d8708f2dc"}},{"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":"web/components/mcp/KeyValueEditor.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f46d0123db0d2ab7c9d276b3a450fed95a3aba1646de30f7be74ff75feb41b"}},{"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":"web/components/mcp/KeyValueEditor.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"82762a42cf9ca3de9f31fa56d8860f714446ba1d13216410e4cb049c4a6463b8"}},{"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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"745dbafd2c38acbee4a21d2fad39422fd69ebb0c53ce5e71321c073b58c498fd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77ca6f874bd2f28f04323e43a629756693c2cabaf517e2efd2b5cbf339590a6"}},{"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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"6429d3d86e3cf8346806df4fd2a65225185488eaf3d4d62bd14155fc1ca4482e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddd2db3bfa4abb7a995fe1d967b86d4b32070cca0e3e256c4ebbbdc9dd0f153"}},{"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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c6558367f3c57fddaab1a06177585884c032ef97e4b12fdd339d6e6e5e047c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3728e889d6f119abfad15549dd7d8a127e575e530c8a44fb9c4c4d54c50a75e"}},{"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":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a0babc2d5f770e253396061e384ab04d44bf6f360c89188a127d99c208789b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4500b25951a68e5d35f5535f1339d7bdff68a11f262f96f66e7479e0710d913f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb00e62e54359f8a42bb3330cf6f6e8c30d7207356b3113ef1c1c178a84b71c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e944f8f130a0ac05f1839435d0a3ee228c7d51df87984f1d2e6644e4262f9b0c"}},{"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":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a2003f24e1e33e4ad3087d0370fcb42aef1017f2f388024302893c0a45c0c3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0aeb339595963dac5ffcd535a3e900c1c3fb90a7a8c8663a56720a7dc2a95a8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"262ca99bf7a1cfe278a6ac278fd4ee7930bc78a3a53831b49602cc4d4916854f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca4ae483540080b9bb0aa03c4ea987c5cf385388551e965a38866b2cb77ff57"}},{"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":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c04b7880f1f23d22d800c58ba22636aaa9aba445308a80b3307c816d0515134"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"385e1344d842d9e02e430d79e21c54f7d4097d384dc26d0e939455edda796c48"}},{"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":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"31090a9b6d302b53f1c28181280d89df4afaa00c285ab1407af0cfb885738829"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"0133144852973362b075d1f62e6a4e38a597013592f6bc2d747ace900c15c3fc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad37e2e02edf8a7dd963f6bbea129bc959a6e3e32a0292c0ca638529056409d4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1643c0edeb43d481ae1a13685dcf0b13be80183357466bf6e208a21217ded96d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13fad2d7e080fd23598e93e9d7ade56855aa180c8f8f61c6bffbd36aedaf9f2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced181bfb3b8ebcf1d7782fb886e5f55344d2e88c10a219c1f7fa972efec96f0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f397c8f85e49b6c33ee18adaeee551e5b9198a0164540129e34b71a64a7faad"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Ccircle\u003E: This \u003Ccircle\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemoryGraph.tsx"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cadcb0e78221c4228a084c5c3251368db58cfcf09d50252635f433b105278e9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"47674ba0cf2cb88adf5dae6db03895d1449fff4dbf3de3f96d6aab3d97e49f7d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"904486454e38b355d753ab3f08e4185aa69a07d5331f7e00cf2a871f770796d7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemoryWorkbench.tsx"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4099af383fe6d9835b14df443d251a17788bc782d178a77c9b622b4baa3d9a8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47aec441f524fb19a35f8b63e57b5e299c6c41350051318ac0c8393a7a89f35"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec49b00549f490b8fc7a8db7d24a3babb3ed9b68fea312a3481adf5382fab860"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bf0927a56a547c2df5645c8393051b4896535f651dfbf56a05905ddf2a8522"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5969d98a5ce5b8b8ee12c4e98d7c1030cb605a0502fb5b6224198da609594d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerComposer.tsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"48386255b43f0942c8417e057b1b44dcc9290a7d1bf9e3777986083c6b7e6246"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"5941694663753f7311e253c171c99156809d7fa2a6780117146627ac0625e113"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc256dd2027b17c528aece82f67f810ace212f69ce031a3e9bece50950cf749b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7150512af48d5e8c65fc9750795f02a3df9822d60e182adea721bccbf93dc2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"66697dade5ae04a2875291be9414f6ed95880f53fac54d78d4652ad68f814481"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6025bac87ac46e49ca466c3861f6cd31bb9fe366256b3951b33a10ab70cb3a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"604e396c7ccae5a1a0f8c39b820850f5e8c874bed850c907b2ca6f0b0c94d0bc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee96069d302e77a995114a7330f8a1d7313df372d2d0a7732e15612338088791"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerReplyLanguageSelect.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7625da8558efab3a81fba440e38488d92edc098aa89d2a3808e20810cd6fe7da"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/SoulEditor.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d6d5326a394ec260e13c89e11a17e3c20dc2f5676db6b2b6148d41dc7ec185"}},{"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":"web/components/partners/SoulPicker.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d738c4531939918b977ea5e1bfab936761549d496ae215e92fe7441395e86b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/group/GroupComposer.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a71b34bfae2cd0bc6f98f24c68c56b727d48f279b951c7b4ea56cb56001183f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/group/GroupComposer.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8633e39d730b5453be2a8779660e28a2a55b99c39810e862643bb2758b4b457"}},{"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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc05aad24d1abd147ad258f9e57a8311b4fe356e51fa7cae0116a7242fa4d1b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1946fa3c2be3e02ce454969bdd62088bf9a8b2592a65dc4cee2344f2f9a05b78"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/AnnotationPopover.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb0bd179bcd637a7a5dc3813d390561b09312e4799be9dcd2c2e771df9cb022"}},{"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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bd515d3a44f6040de45dde6b63aa2af9c33a79d0643757c891e00e8f76d1b9"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/library/ReadingLibrary.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caf78612f5bb142d6e11f3326523bac1747429e54ebee2748556db80fc7b355"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/workspace/MediaReadingStage.tsx"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7a64b981920c0314fdc33af2a03c1f696d26f77b7d98687f739133f1904409"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/workspace/MediaReadingStage.tsx"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ae41a2f416bf4bb9edb643d07756e9cd9946a8abed7d8ee35bf5366b8b5f3e"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/workspace/ReadingCompanion.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"541b1c3359b65fd6dd9fe9ef338d5e9f626af9f617b005f64c2c77ef090a6b80"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/workspace/WorkspaceMenu.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb5396f439842a08c2057d42ea25818950ebb07709b62c492a388e7917e509d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/research/ResearchConfigPanel.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e84a73f7538ab5db24a36608c446e5555be6949f3cad71f4fed22bfa4059b90"}},{"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":"web/components/research/ResearchOutlineEditor.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bea0f0c7da8747bb98f0e6afa5d5df110fdf7e6854c929c6aeca3df8332857"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/research/ResearchOutlineEditor.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"702ecd5a1b03ec21cfa4ca4f78695b9af262581b1783e9eb2508f2a48d9fa9f2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/research/ResearchOutlineEditor.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e5991c6c5b37ebc606d4ca67997c7c023495b68e79a8a10640756e6b1140cb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a851956fb088d7b69212ff0a84a1ca84c9e19fb3b20dc20bb9e2727007818c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/DimensionField.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdc3f0af7a52f201bcb93143120a596faaed9dbf9fdfb85b5bbe0c1d00b832b"}},{"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":"web/components/settings/DimensionField.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc4a35d4b64d56107dae476242bd13d00e11f36188b0e5466c730ab34acea4e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ModelCards.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbc9b0b1eea1a47bc40f3e4367f616fdfbb2cf4a520f835f1722d2985a8a841"}},{"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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a660c21b14931cacc20f5bd00ba47e62f7a829e4f422c2a15da8eb42de3fb5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce04201ebbe0882718684301feb83e4bba37fd8764d34565874dd7852efd552f"}},{"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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b90d325f5698cfe2d33f352762212e3a26e3810876d756b5e8e45f1bc882e5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbab7790232027282ca9409bcb87b0635e7d1d8ed67a95962a7fb90b6d5162cd"}},{"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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd75318265c00cd277a4b17abd9ba53e820909222bb3f283fcac597ca1c7bf5"}},{"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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a5435df954e78b371e11e63bc643a75fe7bc39958c0b1fec47e544e1ea29fb"}},{"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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4014e18bef35965cf490807a7390d83dae545ac3f8e56474e204348ecdaefc44"}},{"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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e3e93524b68dd61449ac4a88c8dbcd5aef9f356938ee45b464e7aeaa6d66c1"}},{"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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ef90cd33990272dffa022642805ed0fb3a11210e70f4eef2b4fcdbc02bffaa"}},{"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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4056a79cc7392354f33bffbd9eebacef8929c982907e12f4ad9afd481fa5291d"}},{"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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57ea32fb908bfe70e70b07be6bac0558bd0e44d1e5c35cf5bd67f933f1924db"}},{"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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b36adb443c62edd305aca8c8c73b4f577bde829ce32b6e5cbf153c97b55f1e8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edce7461811bb9b9ad7a08a2b2577f16c50daf32cccd5bc7dcaf57b09db28e3"}},{"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":"web/components/settings/SettingsPageContent.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e629c981c7a14d9406c3fcfbbf1f81c597cdeb0190f0214db808e28b06e9660"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/Toggle.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacaee09136941f42b236faf543cff9bbbf25219725921da4a9428b407abac82"}},{"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":"web/components/sidebar/CommandPalette.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40d4e2005d3582ae494188d897794f23c76eff192bed57755b3cec095b1d767"}},{"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":"web/components/space/EduHubImportModal.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2cc8ae1714e48b4bdca63de999b1c852686402f643074adbd61f428b30ce4a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CFolderInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/ImportWizard.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d3eb85728a88dc9263bbc70349d305e61538108d960dbe9ec85b7b5a752328"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CFolderInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/ImportWizard.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"6692a498f92cbaaf0ddec8c02b9b0ac5685462e8d4b2494917e87cd9e0dcb76b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/MyAgentsSection.tsx"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36e5afdcbc50190bcfc717ae98fc8b7b755f1d1adb1ca079288cb1a033a45df"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/PersonasSection.tsx"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ee433f45900a61dbb4ff3f47f964f9baaf9f25bdf5507f6f01335fb599ffdf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/PersonasSection.tsx"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2a83afef0a288011100ae84b2864c7f2d84a24e9a19c59a3db10985427c37e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/PersonasSection.tsx"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1c0cd04c59c6b6b01cf5ee05a46d0393552e85d1131e33b24cc3c815455c2a"}},{"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":"web/components/space/PersonasSection.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b8e0109d62fe67e47afe4e3ac5d4812643fcb2fe4b0fc013a3745b0481b9c5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/PersonasSection.tsx"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f6a178f66f958e10937158b7526cd03a16a23e5975922cca5461b6219b641b"}},{"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":"web/components/space/PersonasSection.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e134e42ecaff0b792a780203d45c0707a29a10ee96e186b5a2d7449a9d1343"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/PersonasSection.tsx"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadac32d7c3192afede16415c52b82618443cf894bbb65fcedaf859021567c1c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/PersonasSection.tsx"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"f891b05ffd420634f2e5ddb907384522267d44db5b630cdbe1e0559193751a86"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/SkillsSection.tsx"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ca594c19e7d18e7b136b835c83f941935f194c217a89666361482356e163ea"}},{"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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"721602b2dbbfed41b126735da6af18eb3d81fc03918e83761b0828c5436c2f1d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/SkillsSection.tsx"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e938fddf5d7fb3b07a2998b92a3af28656ac265d0df83ff4acdde94796061e7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/SkillsSection.tsx"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62f5bc9442abd147f3df9e9265f82fd36742753fb2ffefc0700e4c9ed6bc8a4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/SkillsSection.tsx"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"521034f10dd349b2b8262858922553a94aaeb994ce7b620558b4fba2d6f469ed"}},{"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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d82f848bbe493b2db510a0a06d0e53b2e95adc411679427027352638ff159d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/SkillsSection.tsx"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b86f8f6381c96915550cffa220497ae36c2cdf5fcbe19e52131c387585ba5f"}},{"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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b967c42de39cbdad699e7dba39a86b8d9a270df1e56b5d4d399cc5dc563428"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/SkillsSection.tsx"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c42cb4f819adf960219f9cf60f94e38406e8856c0cc115f5e302cfc10cebbf"}},{"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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f2c0eeaffe688f289acf1e3e5e13e5895eb2046b02c206a64dd1032d6d442c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/SkillsSection.tsx"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a384c741700d8aa4f5358542bb7028bde84cb2ef24aec5cd55a0156c788d105"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/SkillsSection.tsx"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"0232ef04f4a8ca99c323b0794d378a0722c189b6a4656a1b4baab622b8c0779f"}},{"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":"web/components/space/learning/CreateTopicWizard.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75b84c6b41d6895315d2dceb1a64efeca6f6e8ace724bb293d13cd25bf39542"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/learning/ReviewTrail.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea36ce7f546ad0238b67fd10170edeb4b8d2b6a7d5e65253cf4b39af04a5fd1a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/learning/ReviewTrail.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec633a947a6fabe33dcb937b2696aba90805ad11a9407a9156d93911b3022fd"}},{"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":"web/components/space/question-bank/BankToolbar.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2ad076e590b89ade84f44615c49ef2ff65ff2aad777cb744d8b77c594cbaa7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/question-bank/CategoryManager.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58570e747904fd2b79478f61d00bc321e36f229a07eadf66ef8d81d54e17cc8"}},{"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":"web/components/space/question-bank/CategoryManager.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bd8cd8319ef0fc06c1fcf5da23dd991badfea36d8d686a0b2cc7fd218238d3"}},{"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":"web/components/space/question-bank/CategoryMenu.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad8cd43c7651448c6e26b461752cdfe929f3f0b476c6ff1c1a1463041dc9019"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"332b85e2fab868fd89a160cc828db6d913883f8905ed5db3b7673897f5b4aa87"}},{"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":"web/features/calendar/components/EventEditor.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49a3b1307b3ada0504523061c0dd3fb36c3083574a1ba1598d427b46de3e325"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"9343db4ccb484481ec11e23251538f0b073588c5735d8f0a38ebda2a076774ac"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdda0c012dcef6b47e01b9e07f82037439f3338d4570510620cb4988fc020232"}},{"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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f6833d88ce781db07f18fa355d7c6c0d6052b79b41b5e22964d26146d075c1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":2360}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0bc1262d51e9121dd3c25d6acb989c2fb229f679ca1afffb0bcd42a14bd3d1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":2370}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e66da07ea5a130b7392dacc61ec37be666a01135f2c00636113b6af15a8a2a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":2373}}}],"partialFingerprints":{"codehealthFindingId/v1":"035269a8ce684b18ce86efe6e685a8fa679a79da6610a21760a142fc27778695"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":2384}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2a77580ce333ade2b8e89e4c1977a8027192327b5166134eb0a8f66965fa25"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"555c7e890697e37cde5794c19b5155ea1fee288f68913dcfa686648f965cbcff"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"822f42c6e51f57e5dded2d77ebc4fa33bfb65045fa418f6091e6a612df2cee97"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"4487d3c3ff8560fc2e249f59b0c2e8180803c93924b2760868cf24b3f68782e8"}},{"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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5e1d99aef24423ce57e5bca8bc55c92eb38197eec982ef26db516d0921f6e3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f7d855eea3f7b303d4666211a2ac5f0d43149a2b7bfd4d365fc9e3111bcdb8"}},{"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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"51da58991238f0de2e0e048f4573881702d5e4174204949500150daffd10cda8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"4419e59d285aa9bc1528fba3a9b294805c40bec6713564e7eb96639d7b0628dd"}},{"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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"81290937bb8367a88311aa2c68da4c9f6220d1dd0a4dbf99f7b266abb6f91630"}},{"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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4493a1384763cd203f8e77cfdec5f95b3e1f5814318871f069bc400c6a325ce3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc7302a1c1cdfe8955d38936a18dbed47ccc2de72aa02afa3e4c8c7bfa93cf3"}},{"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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"6decd81f15b3ed039846bfd2316a018e5cfe917f9d7fe3b2da6a0f5c2167a9cb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/multi-user/components/GuardianRelationshipsEditor.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f63ecbb8b7deaae407e4221e8e14671ca5d499ddde9bebafa3e42b3f0a4c9c"}},{"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":"web/features/notes/components/NoteAudioOptions.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4426da3ec1b8594a558136b441d05f33efc5445794a306ed83d79db5aeea9eb7"}},{"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":"web/features/settings/sections/DataMigrationSettingsSection.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d5555631ba3aad008bf132c7eeb3958f3cc55d695a4aa60443a7c400d88da1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/NetworkSettingsSection.tsx"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0bd5a4052beb236612dde6d8f96cfa47d17917b4d4194bf82e845c4d558fca"}},{"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":"web/features/settings/sections/WorkspaceSettingsSection.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dda3bac227e3ea79ed9d2032972b3c9b39eda231e055965b1818fd593e5285"}},{"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":"web/components/chat/preview/previewers/XlsxPreview.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8889d0224cbc87d56669af3a069d9ee50dccc614626ddd6d8591d03e82652861"}},{"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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5411a6303208ca92a0f1e0b162160bd9c05cd61dbd7a6ca1423bdcdf66494ced"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Ciframe\u003E without a title: An iframe with no title (or an empty one) is announced only as \u0022frame\u0022. Add a non-empty title describing its content, or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f03cbf03fcd3d6cf61161cf5e3f33fd48b8419fa05db69d49190d1211c7a8a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"2585fd7f07b85d99c96fa3395298d73000063fece5c275ba49f7cabc497b4414"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd530125a0f6e0d9f7c3187b26bc83123b47f9dbd0764dd5f51f05b13bd979c0"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookGenerationActivity.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd112d8c05516bc0d9f56b0c149f8282b749f6b0c4782d1b79bedd991f084aac"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/activity/ActivityRow.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a983f61d9c0db03803ed15b4f0946fccf3d54c2ee6dad8d87d721b86feab837"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/ComposerResources.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"6224c963681bceed5a68ec7ed9bfe97209b7079b27bc4620e2f0a0842af86123"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/ContextBudgetChip.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e55e9995fc83efd95ac06ce68f0f0cc63c616e9601fdd224683fa67577ba69"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8e8cc43b02d60349eea8bdd8410e71fc293ecc492db78f46d4963cb0d1fc33"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cnav\u003E: This \u003Cnav\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":"web/components/chat/home/TurnNavigator.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17b67a1cfedd078ca3ea8519b30a99e2cfd879329f0806874809885ff8cb5f6"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/preview/FilePreviewDrawer.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f6745460cb7ae43735a41207330d355d568e97224baff0571ee6de3ba10cf1"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7036651e64b849c48164d9b8b984f97e21546057b2eea28abae5a9d013c588e"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6480b4afb45d8f908638d5b2c84ddf2084a9465a5f00ac8f58bf06fea920507"}},{"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":"web/components/layout/AppShell.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c80e17d1bf549dbf3e6dbf49236e684ba0199576e3bdb9bedb41133a424818"}},{"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":"web/components/math-animator/MathAnimatorViewer.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8c425a9769113066292710c4c9e5f2270aad6f451b0743cac1631cee2f4905"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ccircle\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":"web/components/memory/MemoryGraph.tsx"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"d250b412433c0d63319ae87f2ffb8be8a0888a0d5e655b28605a4d6661919702"}},{"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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4444d9e255a69b1dce0e412ad74cfc7e035a7ea9354c988e6bf835ba108d89a"}},{"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":"web/components/notebook/NotebookSelector.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ebfdd77ae3d3d4640007fd0e79fa6a4042a7879d852cdef725714dfca2294a"}},{"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":"web/components/partners/PartnerComposer.tsx"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fb0d47f9287825ea5c631788bafb4c0655735ca941c695f4bdcea62728f3e6"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022separator\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022separator\u0022 and is operated by pointerdown, pointerup and pointermove, but nothing can put focus on it: no tabIndex={0}, no key handler, and nothing in its scripts moves focus. A keyboard cannot produce a pointer drag, so the control cannot be operated at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and move it with the arrow keys in a key handler (with aria-valuenow for the position it holds)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/quiz/QuizConfigPanel.tsx"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd676663faa22e9edba67736ecaf990c822841bf98b8084995c5e90580fd2c57"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/AnnotationPopover.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a4c89ebf4907b88a7aade110bebf25d64c765b1f4a207d9517e776a5330f08"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/AnnotationPopover.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be6610c603a46ea585575051f25dc05e8f63e175d0f4850273b8a1294e12900"}},{"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":"web/components/reading/PdfImageZoomOverlay.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4877ebb65fd52ffac4123a56ffd56a8ef86c563f02212e19f830c49e7a03ec"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/PdfImageZoomOverlay.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1da54897ad4b416b9869055d84230fcb7149b710082a8f8cde226cd3ad25cb"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cform role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/library/FolderDialog.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"94617223b3b7c08db6f3144671f962aa3a060ad2d88b23460c3f03098bf95953"}},{"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":"web/components/reading/library/ReadingLibrary.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb70aaf9af09d1ab37b1710bb0513c8b8ed546ec008aef0e5fad39754737012"}},{"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":"web/components/reading/workspace/ReadingCompanion.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5f62f7a6dee9efb082b47f7eff8aaa515749e82b5c075a38defe87c1d9b628"}},{"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":"web/components/reading/workspace/WorkspaceMenu.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f7100348f3dc6c808501cdabccc727b53b8bd53cc7e822b26a09850a35caca"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cspan\u003E: This \u003Cspan\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":"web/components/settings/ModelCards.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b8c1726185301fa35ea752a1aad5ab3b37f1585e59afa6a9f028a125b6e7b2"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Ch3\u003E: This \u003Ch3\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":"web/components/settings/RegistryControls.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"268cbd6d889a7d7e2992557db9110e4b664962e4e74dffb970ef355eef272169"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/SettingsTourOverlay.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9dabec6541c6cd26a81189dcc146201387a034dba39b6cf620f7e3feb8edff"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/sidebar/CommandPalette.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f940a21bb24ffa28881b8d43dfcdb85d6c60810aac4436bbd4e4ef81aba5a6"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/EduHubImportModal.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab47cf05e3dc9c35cee0d09c9cd6c37561e61c0a3a8ad6b5e9ee2166f6f5ef2"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/PersonasSection.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a832091c57f3b508218acf337a339e7e650f1eee08902a073ffe6afc7fc7ad"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/PersonasSection.tsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"815027d18ea26041683fc0330d2241a8e67731d1eee262846a4a19fa1bdba356"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/SkillsSection.tsx"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"21094b54c921977f59d76da2c9d7485beac923d9846964f3a9e5c5da298aefc8"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/SkillsSection.tsx"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e26edf82d631f3e4606c2800ea5aa0f2e7e9d5505072b21f20418126f8b4b1"}},{"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":"web/components/space/learning/ConfirmDialog.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf427bd9ab6971c66a766842f5f40ee70a29b2126b2063f28e1c21c69a66513"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/learning/CreateTopicWizard.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a05ea1dd8e099eda2cb7f8ead4d2930dee579723a35d995b50012912ef8ec9"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/learning/EditTopicRouteDialog.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e445e34a67edba99242e6508dd798147835cd507148495d6103479b3dfa717"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/tasks/TaskColorPicker.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70aa34bb28df04079584b633a169b54b0c4ce63507080b4ed517c36ac99938a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022alertdialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/ui/ConfirmDialog.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a04ac64870ac733a4afbe0582debf97cf7fe8976c9360d783025249fab00b39"}},{"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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e98befbc15d4c9ad17511b0e6094ea4e8379adb334954eb43a8e418bb65095"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/components/AnchoredPopover.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca96a5582546b5bf72cec754317e356e36e44c877711f41f59fd4ae702e4090"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/messages/MessageThreadMarker.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a3c99efd32b08f2cf84dafbfb165d7d0cc83d40606723fe6dfa0e880bc5be2"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/messages/UsageFooter.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1052cad5a2ff889f6310b972069fd6509267c7a2dfd532eab12cee4612ee227e"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cspan\u003E: This \u003Cspan\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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de8153fc005cf357c282dc37e3cec0d0ed29d56f862a64ab0c9ce69d8fd0057"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022alertdialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":2457}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c077f1ea5f789826cd51eab52fd86dd7b46fe4de4572dfab60057485b454489"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bd1354833e91e6b1f639928a401771083f677c985a94c4fa4c69c712a94a89"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteThreadMarkers.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"758a7575d5595588f01ae7d94d03eddf8979c1db013724cb388e58b9f15c1e3f"}},{"ruleId":"AC5","level":"error","message":{"text":"Unknown ARIA attribute \u0022aria-hidden:a\u0022: This is not a valid WAI-ARIA attribute, so assistive technology ignores it (usually a typo). Use the correct aria-* attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/PageOutlineNav.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace03f05b7364af13e511d1933fe69ccd5035fe756e29909368e957cc3224608"}},{"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":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f570b5ee63dcb5ccc35f3ac492a5ad42c1dbc9d5d80e781e9e6fb34b1d9f323b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a119df40281df720f04544a76a404f72e2eb02490184bbbe7b6d7cd1126529"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookCreator.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e97372c8b6313de24ddf95fa53766a1fa762cd5026d089a44944fce11244798"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookCreator.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab5295696f0971a3f1501bc5ee93704e2f4458dd2be533ec11edf65cb418531"}},{"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":"web/app/(workspace)/learning/books/components/BookCreator.tsx"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f330e99643464f40b0dcf7990f1445df9c611c8b0d6bc10962b92378191b66"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookCreator.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af4a5f604d927eb9596a80a48fac430bf901714ab325e18a220d8b67d65ee89"}},{"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":"web/app/(workspace)/learning/books/components/BookCreator.tsx"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6f3bf1fd575b67f15f7480a763044935214820457b7e130bdba9ae6d2f9ef2"}},{"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":"web/app/(workspace)/learning/books/components/BookCreator.tsx"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"2414c2883b98f2d83b4fabb6fc639413ef32e0b38832ac1010b8e00e24b42081"}},{"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":"web/app/(workspace)/learning/books/components/BookCreator.tsx"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fe90fac350a4589d3f7e30ed55b1a6686ff1d74e94658e559082ee1b9ab928"}},{"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":"web/app/(workspace)/learning/books/components/SpineEditor.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"356b3ee099a9f14d5e7943c336d8908a5118f172226d6ae22726a25215949376"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/SpineEditor.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8949ebb32c65eca4b1f4fed4b5845a5d3e1d8858a88be78ee5064f3ca75606"}},{"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":"web/app/(workspace)/learning/books/components/SpineEditor.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"c276097d8de92ef0f02bc8324ad8f0e0db30f71cf01c305f85b50e8a11e951b8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/SpineEditor.tsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf0f139710570d6bcbd08b573be9b95bffb9fba9fede8b4b69d14b09da5987f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/blocks/BlockBodyEditor.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee078333516939f00d708e75bd5a9d62df3d41f01557e1a9ce01d056f6a1b87f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/blocks/UserNoteBlock.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"52508edf5b498bd2cd0947d50f622d9e1292362a928be46331e6ebbe4e77501d"}},{"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":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bafd7537a87244426c4430cd156b84c0a73bfe7c000f35e5361b7586d72d685"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"be50b026e7c4cce577213c8db50792a1b159addfccb42952ec827f4275508c8b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.8:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e22e1e05c7f7d0b478b55406fa9e3e8053a3a0217e93846bd697792c576771"}},{"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":"web/app/(workspace)/partners/groups/new/page.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc8012d95dc772b957ca8b5ff5977389e08218ae6434598a66100b110563564"}},{"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":"web/app/(workspace)/partners/groups/new/page.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd77cc20fe4fca5cb72d474d3c3a146f1c50347f516bf6064e30cebfbbef9ba"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/partners/groups/new/page.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d69dcf98ef256916ec4d45a7ac817681e456edb15b85e47eb3db8e37d5fffb5"}},{"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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"18240493a9cf013919afd2025eead9496c6835ad1034ed9bd152bcba90f9589b"}},{"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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b541c973ae0c915c5145dffd1bc25e08fd4572a3697f95dc95225ec35bda6f7"}},{"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":"web/components/agents/ConnectedAgents.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"65120de1f8bcd64e8c867610338156a85de1d2785aa2026052a410755da8f06b"}},{"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":"web/components/agents/ConnectedAgents.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9a46a905cc864192ae03b73fcb9b511fc508254284543c05db5deb9c9d375e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/QuestionBankPicker.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b140bc6e66fa121dd3592066aeacc0532585960b218504a6e30fab56c72f60"}},{"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":"web/components/chat/QuestionBankPicker.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01b32c400101f96c881a7bf718487add6ac2673d2f2cddd426fa5e07c202094"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/ComposerInput.tsx"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"6624ca5f29ed54b9b27358f801198b34cdfc2ff60479b46c193d49e99caad250"}},{"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":"web/components/chat/home/ComposerResources.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0e552009366be4a331174e41197c51090de3980bc15db63967656d5e1427f3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/MasteryHandoffCard.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d5e83c0635ffcd619e7e86f0a2cef21674612de977b3f95d8d299e5fc657f1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\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":"web/components/chat/home/ResponderList.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e14364f0a480865e037844a1633b84622f66c0085139efa2a77efe0d82a5160"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\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":"web/components/chat/home/TurnNavigator.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5908b388618859d6d0bdc5597aa66fc551a756ea80167a5ce2a7860667e525"}},{"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":"web/components/chat/home/ViewerLauncher.tsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99a0cf158dfabb3b464065faf35b52461fcc7ce6458283303e4d32c7629f8b6"}},{"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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edab15b03f03ba9ab2d14642927bcddfa49151e63ddcdd8c1875d67c45a186f"}},{"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":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bb056a0bab5afe6b9d8314893fb210cb2761396c6b26f49bc0206659ea74d2"}},{"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":"web/components/knowledge/KbGitHubSourcesSection.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b355f355f35fdd4d259d6d3ae162cb3e21ace7023248dab1cbc9703d00d4af51"}},{"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":"web/components/knowledge/KbGitHubSourcesSection.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ffe0409030a8be112e8038d2a6bb4274234e2a726f60a0abf7ba560635df68"}},{"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":"web/components/knowledge/KbGitHubSourcesSection.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35927d0f49ed364e1642d91174d6148cae88bfde4c733c6ec581ec3e0064902"}},{"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":"web/components/knowledge/KbGitHubSourcesSection.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a754dc3235cdc4e5e485eae98d18a460f395f849dac6a81bbe679b60feec71d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.3: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":"web/components/knowledge/KbIndexVersionsSection.tsx"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad53a9f3bf43d354822bfe74f2cf32ad1dba8b1af755550d1f64ede740152e1d"}},{"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":"web/components/knowledge/KbWebSourcesSection.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd028ecb4ee3ef910b6e2da48559bc4d0d2420c80efa78585fe788f47d1e4c6"}},{"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":"web/components/knowledge/KbWebSourcesSection.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52311db789ea5eb26efdbf412d53f29886e2ec9113b8c77d6110dd63a974ae8"}},{"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":"web/components/knowledge/KnowledgeHome.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd49771b6acaef99251e0e8201142581a5d67b6248d4065f7c746edfe4b2ad92"}},{"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":"web/components/learning/LearningDashboard.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"760268aea2a88228dcde41f9f72724a983db89f075b754225a47622443b76c12"}},{"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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2047fbb5d135198ae88e61a3e280e3057d94e899f58f6df4ab30332d3cb0bff"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"9736f2cba93a4306f82cbcac9510dc4574b00208b1f85720eacf01672c45be80"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemoryWorkbench.tsx"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"22051f016f2092167bbbe5b3fceb99358811ef29a3b4171f45d0d02e8bdb1fe3"}},{"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":"web/components/notebook/NotebookRecordRow.tsx"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6d866d066dd8e32c9fd0b3b4322875199edaf46a3c78ed76ac2c86877ede0d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/NotebookRecordRow.tsx"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b94e22027e6293102f6c738cd9cfd9981f45429f19d701161716a9749740105"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/NotebookRecordRow.tsx"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6452913cd2f0c32140efe29ed3011b284cef8e77bcd84449480a6546e22e81"}},{"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":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac7edacd224b4666bf31b27f824e05aa64ac1bf41a496ba87e4d854cf8c2a18"}},{"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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"444479bd5d8e8c130a8f2b112d739c16843360759a0badede436816cdf234660"}},{"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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97989caa4c34f95cfa52ff7a750e7a225de1d512be1b9a00c08dcea8683816c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/SoulEditor.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb86499117e857a91d6f97fb84b8170ba0a252ed7fab5aa3989893e97d2348f"}},{"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":"web/components/partners/SoulPicker.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced29a6be5f60382b749f2519c44210477b19c7e23f58b64ba5dea47530aef14"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/group/GroupComposer.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c025c87c00092e110fc833c0229bdba854283689e5673c9bcfb1ebaabf4441bb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/schema-form.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf58d5462009c8f91e981688436ffb522a403d5684b7f56258dd374a33b8bc7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/schema-form.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a0fb0d1ab1ba71f240fe7082d25ed90926998b4f49439ffdc0b14e79ee3342"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/schema-form.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46fe1d12e02fb2ee306b71b410df411120d6909ea6eade50e4b4f9cc1a4397a"}},{"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":"web/components/partners/schema-form.tsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0506afac25f0299d677d28165345c41ca53d0d05a19c22cfce6d39d44ddc2cc"}},{"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":"web/components/partners/schema-form.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf357bfd363db61ced926742b1bc759732b1cb34037f70d95037aa3a9b4ccdf"}},{"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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"d525a126a473d85a432221a35134536a95b95ea60d14faba42daa0ee718d64e4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.3: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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a90fb95725624f0b42648c850eb4bb8e3afa4a20ef2c50300e5dd84fbc5cf1"}},{"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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"691e113f1afb7c1e5a640b3f367d8a6117918ea42a68cac4dde05deb1a42db15"}},{"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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"96794d81d28bba460ed53e43c6db0e62799a8963ab41b9680cb33110606f42d6"}},{"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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcef69cff3efdbabba4ab06aaec540d85549cb9f4464f17b360e32431ede9b9c"}},{"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":"web/components/reading/library/FolderDialog.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"378d0d2a7666a248b492c7d3996f92927ea1923dd2dc13b23ed90fbd08aca9d7"}},{"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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a27ed609324ab97f1c986bc462a34b9b225d05dac3999fa23700bbc4db43ef"}},{"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":"web/components/reading/library/ReadingLibrary.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e61397bfaf7f79e8ff588debf2725e86d3be53f7bcc458c009d7ef14258244"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/workspace/MediaReadingStage.tsx"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bbca4b4059050b865949a27250c107311356731092392f83268ed3671eee13"}},{"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":"web/components/reading/workspace/MediaReadingStage.tsx"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e866e18c90808358f1fd9eb29697764af0c19e616ae8933e8c573cc56ef240"}},{"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":"web/components/reading/workspace/SourceNavigator.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"72056f6d1bdcb85bcb5abc61a28eeb2130da723dad73b510802bbae35396776a"}},{"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":"web/components/reading/workspace/dialogs.tsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"75faa40ee86f4586a741e5836ca3e1263d401a3fda3804fc36a55cb1e93d9a03"}},{"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":"web/components/research/ResearchOutlineEditor.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7e2564e69604c42af8499e409011b6e034b7f1d38239b8faffe0072a860289"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/research/ResearchOutlineEditor.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"325cb6a3a1919e1e18ff2600d3739cb012599c357a3fa416103ed27e31344163"}},{"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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b8eef91d50d21bbce53a60c93543ac04ded6b19b602d0224c349c26893c7f2"}},{"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":"web/components/settings/ModelCards.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"02813d30f7c1a5ee06103c0e921d21c68952a02b4d6b8cb1e6092da9b6b6ab4a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cspan\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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d017acbe293558575eeac2ba6f1548589fc1ca3c2200d0acf8c85ba26e2171"}},{"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":"web/components/settings/SettingsNav.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c3cd8766c1262b0c7c120749ee192e928d666c2235ee81106c3ae5f747920c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\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":"web/components/sidebar/SidebarShell.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"780d31da4c4b33973fc30d513c91f8bad33bd7d69066272de6c0009ff6a9f8dc"}},{"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":"web/components/space/ChatHistorySection.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a78b67c66ceb4dd93f4ac41b0f570f67a312eca46848691abe5667ed5d53bd2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/ChatHistorySection.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"d539b42b1aa1ff3805286e8671460f1a29e217ee58a9014e2ff51e26a182d0a2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/ChatHistorySection.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8a55bf1d3c4eb9bec45b27109e391dd83bc59ed25c35c3db7f4eb0eb0f1850"}},{"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":"web/components/space/EduHubImportModal.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddb204c4f46670d36b3ae9d0f419b47333db1ac5d4226d8e1d2c5c179fadf64"}},{"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":"web/components/space/MyAgentsSection.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b85c7d4eafe86ac050964e0027a1c7d41c197c6fd4d43558f9cd5a064e51ef"}},{"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":"web/components/space/MyAgentsSection.tsx"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd27bf51703d317fcae1d64052a6568cb6e7ca38f5099ea1c820c3fced151d5d"}},{"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":"web/components/space/PersonasSection.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e7ff1cea9ac43d2e26ec3752ff596913cb429dee62798aba4623a2365630c7"}},{"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":"web/components/space/PersonasSection.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c269ed7ed35d8aab974e2507e169f43da63fd03f39135fb318492f1cab9295f8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/PersonasSection.tsx"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"24df43e64480512720e7e983ffdfb5dd0c3ededf10807a964a0eed106dd2e260"}},{"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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"0422031618b22611c5ee55011b717233baf09916493dbac47551078c0d2560bf"}},{"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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7191c9674b0532f5fe5c1df1b55ff1ae5712863f309c3d058b35309389a7757"}},{"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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a6d050da2021183f0c9f0a5c14fc0bbe3706c1921cdd4917d4733572ee7e47"}},{"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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cd859a0ea9b4369d03132d6e969a094d0335e79b56a9104d54a05a76917039"}},{"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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f47e99f999596cd9d86256f70b77874e5fbba04d9b60d107baa6a63e93849f9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/SkillsSection.tsx"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"6757099416139bf34d7aba05d8494e31b3db01c6b8390f747da0c8317d58291f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/learning/ModuleOutline.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29b0b77f1ce570802240d816e4c23db900228e38986c678320434adf21b2e07"}},{"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":"web/components/space/learning/RouteDraftEditor.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf89b0f1ef865b157e7628b531eeaa2f210cbff5931e891c58d0ae9789ab6add"}},{"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":"web/components/space/learning/RouteDraftEditor.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bf1aac865ff3abc3289ef60ae9bfb22177717ae417993e60060c83539ea092"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/learning/RouteDraftEditor.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"92702ddc251055a7b528e57423c047d5c47420f3b799899af559f6c84356cb66"}},{"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":"web/components/space/question-bank/BankToolbar.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"05038f5432a48727992b848d259b14b373d120a8f6acd5fa07b4d77b3739e50f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/question-bank/BankToolbar.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"84453d32ad6f9a0f2942f7237a2a7063e75f4f3c12210fdf17f4834c00b999eb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/question-bank/BankToolbar.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"07542788f68be6180c29dbf9625ce495bfb3801bfcbc1fcbd6a8fc4d76855228"}},{"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":"web/components/space/question-bank/QuestionBankSection.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6e6e418f16d3c41a08e38d03b8ede6c36086c01f6f884cc35f242397d6d22a"}},{"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":"web/components/space/question-bank/QuestionCard.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8459cf271b69f8f0461d6a3c90fff8e6a650f7ae40d48fc1b863bd876305a6b2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"9522de4af8b50a6d35d3efc91f6d78f243f80c2e1ac7929c67760e0d047cce7e"}},{"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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"66013154eb87ddc22e5c86058365901d32d2692f0c7fd1d3692a85d7319690d9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":2212}}}],"partialFingerprints":{"codehealthFindingId/v1":"32125c5c82b4572f6f6ea6f008756e95853bc286f09c0a8caf6ca6f08db5d574"}},{"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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":2311}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55791fd760cc34dfb506a720e8162f7e97645aad04099b4f3df33fad5f3b829"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":2360}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6d306bb64011e261d1e31cc69d86c4b7df017d989bf0b2b09ffeb9280f8c15"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":2373}}}],"partialFingerprints":{"codehealthFindingId/v1":"16434ef9388d37ec62a45d75122b1ad3a4d938bba916a5eb0f763203450e9949"}},{"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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb581c5ac83acfb8ffbf6a37b4aaaf4bcedcf53d133ecfba93fc68982b8cf88"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f3c0ae3ed322a438fd7badc0cab1ccc979cb5d675a9b78cd32c835f9b509b2"}},{"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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8d63d2ca090cac925cc1a9322238cd440ab4056cb0911b66599fa98c79da89"}},{"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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"248dfb7e076765fe66fc8ecd37ad9db0f5abe40e39cb31eb23f3f96e4a412f8f"}},{"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":"web/features/settings/sections/ArchivedChatsSettingsSection.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a57b0631bde430be6e519c861aa8d40b16955a4287a9b80f135abc1d35f532"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\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":"web/features/ui-layout/classic/ClassicSidebarShell.tsx"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e262e505765547093a3bdf0daff19c97ca248457399e003a55fd68179a6896"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.8:1): \u0060.dt-note-thread-confirm .is-danger\u0060 sets color: #fff on background-color: #ef4444 \u2014 3.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/note-workspace.css"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a080568d7ce4421d444d2049d4d5d4cc557d186564689110598f6129b22783"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-record-search input\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":"web/features/ui-layout/modern/modern.css"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9673d10f78d1fec4e91f87a7a7149b51cb21bb6c8e8aad2dbbd43c19a35009"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-palette-field input\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":"web/features/ui-layout/modern/modern.css"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"796afa5be4a9ead2b1635e485286c0d4444779f3ef3d899b4e4b1cd8b2fa3f1c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-tray-search input\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":"web/features/ui-layout/modern/modern.css"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a73dfee957e6280656d7f5ff366e148fcfc927ee6a29e6eb9228510a904b503"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-crumb-search input\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":"web/features/ui-layout/modern/modern.css"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3795e67206103a02591ddcc19fae09cfe064ce9f87d228ad3f1944db1067e04"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-note-thread-search input\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":"web/features/notes/components/note-companion.css"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"781defea341f881d9d32a9a9646f65dea65865c47892b7eaf8e388aaec8d670f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-note-composer textarea\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":"web/features/notes/components/note-companion.css"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e27dd62b6a6cff129b6c7c90cfa48a5886081759b631f73d8c5dd18a28b191d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-notes-search input\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":"web/features/notes/components/note-library.css"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ec98a299bfe97175db89754141f91671638d48b42e93589552169bb0314a95"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-note-icon-grid button[aria-checked=\u0027true\u0027]\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":"web/features/notes/components/note-workspace.css"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"334dcd0bb437de82540b510c69ef637c15c3807ee02e0d45fe8567f3f1eb7e31"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-note-icon-custom input\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":"web/features/notes/components/note-workspace.css"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9d178d152677144eb085b719ae04f826f359896034b44c2c6b49f55f1ac440"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-note-cover-grid button: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":"web/features/notes/components/note-workspace.css"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f4a39423785e3f0cf9a70703c1dd71f88cad0c09af0f45a07883590ee844fe"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-note-page-title\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":"web/features/notes/components/note-workspace.css"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cddfb88051d4197f11b244a48295ba018f376907e2a5946e7e038f578aaca0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-note-learning input:not([type=\u0027checkbox\u0027]):not([type=\u0027date\u0027])\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":"web/features/notes/components/notes.css"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"677f2fe7308dc6d78e7024d6e53647d786a2d129eab4ebccab503d3802c89bdf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-note-html textarea\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":"web/features/notes/components/notes.css"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ea58e0e7f050c421a03ee95b9d5811d8e34bd1892bc38914e2f16f8c4f48f0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-note-data-view input:not([type=\u0027checkbox\u0027])\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":"web/features/notes/components/notes.css"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"912ce565af99379ad749429f7e7d68df09331b53e8e8b9ef84e97662789ff464"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-note-toolbar .dt-note-link-form input\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":"web/features/notes/components/notes.css"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"2218927d3fbad4804e7f72646fd37b97d010ec0010aa94af433e37e81de75ade"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-cal-search input\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":"web/features/calendar/components/calendar.css"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1a3771c938da69d01a5e8fbe844f10804994d30bf7b461ee2d72a1e02b2f4a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-cal-editor.is-quick input:not([type=\u0027checkbox\u0027])\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":"web/features/calendar/components/calendar.css"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47bece37979875ee4dab51dff67d02aa669378356025fa3a1bbb240d285f92d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-fav-search input\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":"web/components/notebook/favorites.css"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"538cbdfc77b0eb92d86889e8e35e5d32062b7b25cfce05cccdf7f7989526f2e5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-fav-home-search input\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":"web/components/notebook/favorites.css"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b589ff6b00a9b4bab2aa737359ec7bcd9c4837077b50ad6db1b8e155fb7e1e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dt-reader-scroll .r6o-annotatable.no-focus-outline\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":"web/app/globals.css"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73ca7dece9b848c326a19f4caa153527cdadc55f7e1dcf0f99cf1c36f66ae1e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: QuestionBankController (18 required operations): \u0060QuestionBankController\u0060 declares 18 required operations: \u0060setScope\u0060, \u0060setReviewFilters\u0060, \u0060setSort\u0060, \u0060setSearchInput\u0060, \u0060refresh\u0060, \u0060setPage\u0060, \u0060toggleSelected\u0060, \u0060selectAll\u0060, \u0060clearSelection\u0060, \u0060toggleBookmark\u0060, \u0060toggleResolved\u0060, \u0060removeEntry\u0060, \u0060fileEntries\u0060, \u0060unfileEntries\u0060, \u0060fileIntoNewCategory\u0060, \u0060addCategory\u0060, \u0060renameExistingCategory\u0060, \u0060removeCategory\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":"web/components/space/question-bank/useQuestionBank.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec04cc16284de671a70c5b687770767dee39b9db2e8aa9c2ca19404cfe99ae05"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RuntimeCoordinator (19 protocol members): \u0060RuntimeCoordinator\u0060 declares 19 protocol members: \u0060acquire_turn\u0060, \u0060renew_turn\u0060, \u0060release_turn\u0060, \u0060get_lease\u0060, \u0060list_expired_turn_ids\u0060, \u0060acknowledge_expired_turn\u0060, \u0060publish_event\u0060, \u0060read_events\u0060, \u0060submit_command\u0060, \u0060read_commands\u0060, \u0060submit_background_command\u0060, \u0060read_background_commands\u0060, \u0060acknowledge_background_command\u0060, \u0060acquire_leader\u0060, \u0060renew_leader\u0060, \u0060release_leader\u0060, \u0060leader_id\u0060, \u0060health\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":"deeptutor/runtime/coordination/protocol.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"36270968ff40c8c33a6a9aa8fcb6b146051a82655fd7e14711b04dc8c8612429"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SessionStoreProtocol (33 protocol members): \u0060SessionStoreProtocol\u0060 declares 33 protocol members: \u0060migrate_workspace_preferences\u0060, \u0060create_session\u0060, \u0060get_session\u0060, \u0060ensure_session\u0060, \u0060create_turn\u0060, \u0060get_turn\u0060, \u0060get_active_turn\u0060, \u0060list_active_turns\u0060, \u0060list_orphaned_failed_turns\u0060, \u0060update_turn_status\u0060, \u0060append_turn_event\u0060, \u0060get_turn_events\u0060, \u0060link_turn_message\u0060, \u0060get_message_trace\u0060, \u0060update_session_title\u0060, \u0060soft_delete_session\u0060, \u0060restore_session\u0060, \u0060hard_delete_session\u0060, \u0060list_deleted_sessions\u0060, \u0060delete_session\u0060, \u0060add_message\u0060, \u0060delete_message\u0060, \u0060get_message_role\u0060, \u0060get_last_message\u0060, \u0060get_messages\u0060, \u0060get_messages_for_context\u0060, \u0060list_sessions\u0060, \u0060search_sessions\u0060, \u0060get_session_summaries\u0060, \u0060update_summary\u0060, \u0060update_session_preferences\u0060, \u0060update_session_preferences_if_unset\u0060, \u0060get_session_with_messages\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":"deeptutor/services/session/protocol.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0c0a4293a9152b9dc97af27a4413bc1bdddad74a2de0ea0cc7b7b54069d57d"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: calendar \u2192 chat: \u0060CalendarPage\u0060 (slice \u0027calendar\u0027) depends on \u0060HeaderActionButton\u0060 from slice \u0027chat\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/components/CalendarPage.tsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6b31b9334cfc9e5b407d4cbc3d7e01394a150962086ff0fcf89fba31b44b34"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: calendar \u2192 chat: \u0060EventEditor\u0060 (slice \u0027calendar\u0027) depends on \u0060HeaderActionButton\u0060 from slice \u0027chat\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/components/EventEditor.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e131a2da4c85f5b874a66d001fadf6579083c31c5cf577dfc358918ba0c7e7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: calendar \u2192 chat: \u0060EventDetails\u0060 (slice \u0027calendar\u0027) depends on \u0060HeaderActionButton\u0060 from slice \u0027chat\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/components/ItemDetails.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1440d7337c1470fb6c1924e3822fba9e2b5a7a4758a807ab0543aaa33216cc42"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: chat \u2192 capabilities: \u0060ChatWorkspace\u0060 (slice \u0027chat\u0027) depends on \u0060useCapabilityCatalog\u0060 from slice \u0027capabilities\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b1bd7e2cc3ab7165b2b8318f828eb9b1abb5fbed2565f08384f17fde97117b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: chat \u2192 capabilities: \u0060ChatWorkspace\u0060 (slice \u0027chat\u0027) depends on \u0060getChatCapability\u0060 from slice \u0027capabilities\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7904f36a840f6fc10d9dfd907b61c2f8a1b709ceef6ef694fe726e8c70c4ae5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: chat \u2192 knowledge: \u0060ChatWorkspace\u0060 (slice \u0027chat\u0027) depends on \u0060listKnowledgeBases\u0060 from slice \u0027knowledge\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b812aa99d5d40c458a7ac9821c0367503a9aff5d967e2642dbcd3767ef45db0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: chat \u2192 capabilities: \u0060ChatWorkspace\u0060 (slice \u0027chat\u0027) depends on \u0060ToolName\u0060 from slice \u0027capabilities\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2404f09b082896f805da6d78efedcbad806ff8a6650e56323620b602973b75"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: chat \u2192 capabilities: \u0060ChatWorkspace\u0060 (slice \u0027chat\u0027) depends on \u0060ALL_TOOLS\u0060 from slice \u0027capabilities\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a3c052f58b7d11013a8a84156323792b62c6f407a4a072bc940c2b12d8f958"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: chat \u2192 settings: \u0060ChatWorkspace\u0060 (slice \u0027chat\u0027) depends on \u0060RESPONSE_LANGUAGE_OPTIONS\u0060 from slice \u0027settings\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":3018}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48a9157673087891c3f5defbd180ff34de3358bf154ee11eb52aac0d2a5f6ac"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: co-writer \u2192 chat: \u0060CoWriterWorkspace\u0060 (slice \u0027co-writer\u0027) depends on \u0060LLMSelection\u0060 from slice \u0027chat\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"317d30c954d6089d8a1a071feaff257121e93487731d2f55e737c7f826916e2e"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: co-writer \u2192 knowledge: \u0060CoWriterWorkspace\u0060 (slice \u0027co-writer\u0027) depends on \u0060listKnowledgeBases\u0060 from slice \u0027knowledge\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee55520d98c836aa6317558609ce103d4bbd2c62944d64d4c9eb3e43ee7ff2c6"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: notes \u2192 chat: \u0060resultBlock\u0060 (slice \u0027notes\u0027) depends on \u0060MessageItem\u0060 from slice \u0027chat\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0302956de7dda6485b23ac809db0e84086bee4ab72a15acbad59c6b06f303e9a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: notes \u2192 chat: \u0060ThreadPanel\u0060 (slice \u0027notes\u0027) depends on \u0060useChatStateAdapter\u0060 from slice \u0027chat\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"76480fea4b046771bcef43ba7527c6902322e7f65602960dd88a2ee2a67750e5"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: notes \u2192 chat: \u0060ThreadPanel\u0060 (slice \u0027notes\u0027) depends on \u0060RoughActionButton\u0060 from slice \u0027chat\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"4604d4f49a72a33e1f62e404c58789d6ec012fd1d76e3c63bfa2e8ae2c3a962c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: notes \u2192 chat: \u0060ThreadPanel\u0060 (slice \u0027notes\u0027) depends on \u0060COMMAND_CONFIRMATION_FAILED\u0060 from slice \u0027chat\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d94c823ac136edf936947fb67009bc52f585bc9c08bb7d1e66aaf22cf8277a"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: notes \u2192 chat: \u0060ThreadPanel\u0060 (slice \u0027notes\u0027) depends on \u0060ChatMessageList\u0060 from slice \u0027chat\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f58e44cdf1a6cb9ade3423c94170d1cd2e5e4dfa2444381d094ff6d655e9c8"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: notes \u2192 chat: \u0060ThreadPanel\u0060 (slice \u0027notes\u0027) depends on \u0060MessageAttachment\u0060 from slice \u0027chat\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"acea61a3312c51a843ddfdad1993cd1142f17baa256153a3786964bdcd77cb0f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: notes \u2192 chat: \u0060ThreadComposer\u0060 (slice \u0027notes\u0027) depends on \u0060LLMSelection\u0060 from slice \u0027chat\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aeca1af25efdf08f49c451f2015f56b794fc2a831b369cb610c640c7caa311"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: notes \u2192 chat: \u0060useNoteThreads\u0060 (slice \u0027notes\u0027) depends on \u0060useChatStateAdapter\u0060 from slice \u0027chat\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/useNoteThreads.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"71745c090091828a7e40f4ed95ca6f71c694efbb3972b4126fd3f8d0bf609dab"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: notes \u2192 chat: \u0060useNoteThreads\u0060 (slice \u0027notes\u0027) depends on \u0060MessageItem\u0060 from slice \u0027chat\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/useNoteThreads.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd466bc2081fceffc0f345c457cac61636c45237d7a510574abd90963fa24419"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: settings \u2192 multi-user: \u0060GuardianSettingsPage\u0060 (slice \u0027settings\u0027) depends on \u0060GuardianReadingReport\u0060 from slice \u0027multi-user\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/GuardianSettingsSection.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c5af306806fdb5927a22bd0cbc09be7a74ddf19d17696594661dbd82228da4"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: settings \u2192 runtime-status: \u0060NetworkSettingsPage\u0060 (slice \u0027settings\u0027) depends on \u0060useRuntimeStatus\u0060 from slice \u0027runtime-status\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/NetworkSettingsSection.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d5b43da0812ef87df164d67a15aad942ed325c16aab1b17f8a342ff8dfd7f0"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: settings \u2192 runtime-status: \u0060NetworkSettingsPage\u0060 (slice \u0027settings\u0027) depends on \u0060RuntimeHealthCard\u0060 from slice \u0027runtime-status\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/NetworkSettingsSection.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83d9b2ddfdffedc52bf56c7fd06da704fd8143190ebfd7bfa921b62e3b3ac0c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: settings \u2192 runtime-status: \u0060NetworkSettingsPage\u0060 (slice \u0027settings\u0027) depends on \u0060TurnCoordinationSettings\u0060 from slice \u0027runtime-status\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/NetworkSettingsSection.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba83c44a99cd82f62892d8e21d95196d378275969f04f066dc6298874f0be35"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: tasks \u2192 calendar: \u0060KanbanBoard\u0060 (slice \u0027tasks\u0027) depends on \u0060useTaskBlocks\u0060 from slice \u0027calendar\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/tasks/components/KanbanBoard.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca8cacb851fbbd437c2e5e96a872300c07f5869c5bda26e6f86d5e06d62ab05"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: tasks \u2192 calendar: \u0060KanbanBoard\u0060 (slice \u0027tasks\u0027) depends on \u0060dateKey\u0060 from slice \u0027calendar\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/tasks/components/KanbanBoard.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b1a81cfb832b0da3c5eecf359c7f639686965e8361df8e321da92d0c253fa7"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: tasks \u2192 calendar: \u0060KanbanBoard\u0060 (slice \u0027tasks\u0027) depends on \u0060addDays\u0060 from slice \u0027calendar\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/tasks/components/KanbanBoard.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"63eb252492efb9eea40b7510448f8ed7cff4a28c465cd7677b2e02b129ceb0dd"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: tasks \u2192 calendar: \u0060KanbanBoard\u0060 (slice \u0027tasks\u0027) depends on \u0060startOfWeek\u0060 from slice \u0027calendar\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/tasks/components/KanbanBoard.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd455990155eb1dd16232927884e580887c6fcc232f0faecfd9d8deea5c2c6a"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Most of the production code is in directories of its own, but 2 application file(s) sit at the repository root beside the build and tooling files (\u0060build_metadata.py\u0060, \u0060build_support.py\u0060)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060apps/desktop\u0060, \u0060web\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 8 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/desktop-release.yml"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060apps/desktop/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"160941ce5433be017a150fbc5350b0ecc8759770880344e6fb877c6e9c1baf72"}},{"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: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/dingtalk.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc5584c415b7164469e84150de6b712511383ed1674f9adc380b321cd07a1f3"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.Session(\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":"deeptutor/partners/channels/lark_http.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4114aa8e85845b9b9bd1f541723461297ac37dd5e5abdf999cdb1e50399be4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/openai_http_client.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a663c9f33b36186e290402ce627e0b2cd69fb35bdf5a76376f5004868a1f703"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/openai_http_client.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ff8bee55462eb1047fa4ec202ec6beb4f96bd0f713e4cc9df696749bb006cc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060start\u0060 is async and calls time.sleep \u2014 a blocking call inside async code stalls the event loop \u2014 every other task on it waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4eda5c89ac7fd931ed547a6a5c246c5fe1b26a88f743a5f5fec9259a6b2074"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060packageWindows\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/platforms/windows-x64/package.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc76e905fbb72ab8dad8cf0d406934842c0998a5a867a7707933011919b73b5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060packageWindows\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/platforms/windows-x64/package.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ccbd49f5d64dbcae0c4c6f79530fe7dcf6df03877c5aea75568e331bf3f087"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060packageMac\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/scripts/lib/macos.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2f270ceacb15efe467da92a3825ee129703a7ecde8c338d6e94fd61300f725"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060packageMac\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/scripts/lib/macos.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af3319491f79c4f7ca591e049ef2e0dd6d47264fd9a1a777a4c41823a8831f8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060packageMac\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/scripts/lib/macos.mjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"290125f2b34c8e5ee59b7e7231848d80bf4b8e68505e3c5ef8fa03afea676f57"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/scripts/route_budgets.mjs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8f388bce1c082999322720cda31745b50c9391280a7affb6a80f4d83e25b60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 8 sibling directories (264 clone groups): 264 duplicated blocks under web/ have copies in at least two of the sibling directories app, components, context, contracts, features, hooks (\u002B2 more sibling(s) not listed) \u2014 133 of them are reported below, and 131 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 264 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 264 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 264 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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3037b17e101c0dbba35d0b63aa766f549d5b7d87c23e5605c4c44026cb074dce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 24 sibling directories (125 clone groups): 125 duplicated blocks under web/components/ have copies in at least two of the sibling directories activity, agents, chat, cli-apps, customization, knowledge (\u002B18 more sibling(s) not listed) \u2014 61 of them are reported below, and 64 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 125 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 125 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 125 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":"web/components/reading/workspace/ReadingComposer.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55708e25210e11905ad63e8f81e551de911117a0a1cbf7a723ca102448240d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 8 sibling directories (8 clone groups): 8 duplicated blocks under web/features/ have copies in at least two of the sibling directories calendar, chat, co-writer, knowledge, multi-user, notes (\u002B2 more sibling(s) not listed) \u2014 2 of them are reported below, and 6 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 8 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 8 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 8 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":"web/features/calendar/components/MonthView.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef843879c7fdd14808f1ec21cabcc1cc6272434119c17433bc2d3cf279a59f37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (425 matched lines \u00D7 2 locations): web/components/space/PersonasSection.tsx:36 \u00B7 web/components/space/SkillsSection.tsx:47 \u2014 the two spans are one implementation copied and then locally edited \u2014 2084 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":"web/components/space/PersonasSection.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ecae1e49f059902e151f8eb8e862aad42e68d233c16e66e3d36ac3fbd4e166"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (408 matched lines \u00D7 2 locations): web/components/common/RichMarkdownRenderer.tsx:186 \u00B7 web/components/common/SimpleMarkdownRenderer.tsx:48 \u2014 the two spans are one implementation copied and then locally edited \u2014 2403 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":"web/components/common/RichMarkdownRenderer.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fa6bfb812ad5e00a548adeff639ddf6de49d340574ca2a4bf1a93402a76120"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (268 matched lines \u00D7 2 locations): web/components/chat/BookReferencePicker.tsx:51 \u00B7 web/components/chat/ReadingReferencePicker.tsx:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 1407 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":"web/components/chat/BookReferencePicker.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab46bcdaefd6c1b636c484b90599d3cc910a3236a48bde52b46b96eb2ef3f15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (250 matched lines \u00D7 2 locations): web/features/settings/sections/CapabilitiesSettingsSection.tsx:148 \u00B7 web/features/settings/sections/MemorySettingsSection.tsx:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 1301 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":"web/features/settings/sections/CapabilitiesSettingsSection.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f797c31ba12991675b27395e4068eb0d5785a280a46796515ea2c252bda1d665"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (203 matched lines \u00D7 2 locations): web/components/knowledge/KbGitHubSourcesSection.tsx:66 \u00B7 web/components/knowledge/KbWebSourcesSection.tsx:94 \u2014 the two spans are one implementation copied and then locally edited \u2014 955 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":"web/components/knowledge/KbGitHubSourcesSection.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9be06224ffbafab0a63649d1260693f7a0454dcdaae551a6788dc496cd8202"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (131 matched lines \u00D7 2 locations): web/app/(workspace)/partners/new/page.tsx:76 \u00B7 web/components/partners/PartnerConfigure.tsx:94 \u2014 the two spans are one implementation copied and then locally edited \u2014 712 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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"58adb68c0692db9ead07430bde1996cef82b18f3e6e6f62ab9edd6f8394e1205"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (112 matched lines \u00D7 2 locations): web/components/sidebar/UtilitySidebar.tsx:36 \u00B7 web/components/sidebar/WorkspaceSidebar.tsx:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 733 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":"web/components/sidebar/UtilitySidebar.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed4a7d6f69def722181546701c5219f91f4ee29ba045f93cf97b469df3f1d03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (105 matched lines \u00D7 2 locations): web/components/space/ChatHistorySection.tsx:62 \u00B7 web/components/space/MyAgentsSection.tsx:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 634 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":"web/components/space/ChatHistorySection.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e31c74c6d50d67b48861866597320429f3f03306092b3278e7e17ff266cf6e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (105 matched lines \u00D7 2 locations): web/features/settings/sections/DocumentParsingSettingsSection.tsx:389 \u00B7 web/features/settings/sections/DocumentParsingSettingsSection.tsx:692 \u2014 the two spans are one implementation copied and then locally edited \u2014 467 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":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda1a70339d17141cf39ffa12a5a03060cbed63aacb9774ebe7207f5f0fcf538"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (97 matched lines \u00D7 2 locations): web/app/(workspace)/partners/groups/[groupId]/page.tsx:264 \u00B7 web/app/(workspace)/partners/groups/new/page.tsx:29 \u2014 the two spans are one implementation copied and then locally edited \u2014 511 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":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"511400371efb8800a27b569cea526c087000885ec2a008def65b317fea03a863"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (87 matched lines \u00D7 2 locations): web/components/SessionList.tsx:138 \u00B7 web/components/SessionList.tsx:248 \u2014 the two spans are one implementation copied and then locally edited \u2014 444 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":"web/components/SessionList.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dada1a19c13159971c669eca8280d03c4553b999aac80b9e297608b86d23d0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (79 matched lines \u00D7 2 locations): web/components/sidebar/SidebarShell.tsx:111 \u00B7 web/features/ui-layout/classic/ClassicSidebarShell.tsx:92 \u2014 the two spans are one implementation copied and then locally edited \u2014 383 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":"web/components/sidebar/SidebarShell.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"677a02d83b064c1fdb6761a9298af4c7bfe22ec520449fcbcc8d5f1bd06ff712"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 2 locations): web/components/learning/LearningDashboard.tsx:65 \u00B7 web/features/ui-layout/classic/ClassicLearningDashboard.tsx:107 \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":"web/components/learning/LearningDashboard.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e1e191ebf18e80a30b75830f5a5dcd10ad1c990f5ce57d717f92f52597e77e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (78 matched lines \u00D7 2 locations): web/features/settings/sections/AttachmentsSettingsSection.tsx:53 \u00B7 web/features/settings/sections/StartersSettingsSection.tsx:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 511 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":"web/features/settings/sections/AttachmentsSettingsSection.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbff56a8a1b190fea4ab6eb01ebcab98f72dbfa06f86f435196821500033034a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (76 matched lines \u00D7 2 locations): web/features/settings/sections/AttachmentsSettingsSection.tsx:83 \u00B7 web/features/settings/sections/NetworkSettingsSection.tsx:131 \u2014 the two spans are one implementation copied and then locally edited \u2014 437 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":"web/features/settings/sections/AttachmentsSettingsSection.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68022e341f7dbbca49f7869018b965dc8f13fbd8a68907c93bf453e350e5485"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (70 matched lines \u00D7 2 locations): web/components/chat/home/CreationDraftCard.tsx:51 \u00B7 web/components/chat/home/PartnerDraftCard.tsx:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 431 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":"web/components/chat/home/CreationDraftCard.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"905e45793e6b996069f6d0b8848f0157e631dad53ad46860f5b100da526a5304"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (69 matched lines \u00D7 2 locations): web/components/chat/PersonaPicker.tsx:117 \u00B7 web/components/chat/QuestionBankPicker.tsx:260 \u2014 the two spans are one implementation copied and then locally edited \u2014 298 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":"web/components/chat/PersonaPicker.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8689d6bfd8ab7cead9bac222b23c1e893e5b4dbc7d4c55d777c6ca1eec70d16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (67 matched lines \u00D7 2 locations): web/app/(admin)/admin/users/page.tsx:796 \u00B7 web/app/(admin)/admin/users/page.tsx:920 \u2014 the two spans are one implementation copied and then locally edited \u2014 261 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":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fbfbe2cc889e30f5ef0a86d35a9424671a7b6e46848fb25caa811b87f6de15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (64 matched lines \u00D7 2 locations): web/components/reading/workspace/ReadingComposer.tsx:52 \u00B7 web/components/space/learning/MasteryComposer.tsx:51 \u2014 the two spans are one implementation copied and then locally edited \u2014 395 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":"web/components/reading/workspace/ReadingComposer.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a55923912fd1724357f6a491691ac5662eb7cecb4b9ab1e591a78e288ae52e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (63 matched lines \u00D7 2 locations): web/components/sidebar/SidebarShell.tsx:365 \u00B7 web/features/ui-layout/classic/ClassicSidebarShell.tsx:258 \u2014 the two spans are one implementation copied and then locally edited \u2014 295 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":"web/components/sidebar/SidebarShell.tsx"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"919b77a2926d3192d7ba7e76b3ed5ad30dbecb1081d56b14c7d260b89cda2a74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): web/components/common/Modal.tsx:61 \u00B7 web/components/common/PickerShell.tsx:179 \u2014 the two spans are one implementation copied and then locally edited \u2014 349 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":"web/components/common/Modal.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bd4e3c698cd4c9ce48ab1f5d19f293ecd9f21200e3bb7b358cbf40e633d268"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): web/hooks/useVoiceAutoplay.ts:17 \u00B7 web/hooks/useVoiceMathSpeak.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 316 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":"web/hooks/useVoiceAutoplay.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"49af1a78532672da9a83153e070fd0230bd959ef636002a6791e1c431f8217a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2 locations): web/components/chat/home/SessionViewerPanel.tsx:1779 \u00B7 web/components/chat/preview/FilePreviewDrawer.tsx:374 \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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd4977f76e8e2f540e9edb0c5da9a11241f4703c915519fed84842e52053867"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (50 matched lines \u00D7 2 locations): web/components/partners/PartnerModelPicker.tsx:94 \u00B7 web/components/partners/PartnerModelSelect.tsx:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 257 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":"web/components/partners/PartnerModelPicker.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"645086943b0291aa23cbe9f786df8144b308258b4cb5287487e75bf9b1fe98f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (48 matched lines \u00D7 2 locations): web/components/reading/ReadingActionsProvider.tsx:81 \u00B7 web/components/reading/ReadingExtensionBar.tsx:137 \u2014 the two spans are one implementation copied and then locally edited \u2014 281 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":"web/components/reading/ReadingActionsProvider.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e43a77ee48dc22d9e5d32f8608a278077a433e18d8a9c531c3843c98c1150f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): web/hooks/useLearningIndex.ts:21 \u00B7 web/hooks/usePartnerNavigation.ts:39 \u2014 the two spans are one implementation copied and then locally edited \u2014 270 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":"web/hooks/useLearningIndex.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0d5cb8ee634102840d75ebf983a8186f37a77ae470e0b2ca8e6fd5bce53560"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): web/components/space/question-bank/useQuestionBank.ts:441 \u00B7 web/features/settings/store/SettingsStore.tsx:2510 \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":"web/components/space/question-bank/useQuestionBank.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"35637280c591bdb0587cd74b32ec28c1b1666fba403f3185cc849c34ebe510b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): web/app/(auth)/login/page.tsx:120 \u00B7 web/app/(auth)/register/page.tsx:137 \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":"web/app/(auth)/login/page.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a514b9aef42f5fa4f99dd858636f438e41dfc5a101a3544e55e5d26072ac9e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): web/components/reading/library/MaterialLibrary.tsx:697 \u00B7 web/components/reading/library/ReadingLibrary.tsx:504 \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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fc0ee375e105cf3bb54520788d4fcb2aa75c9bace26adef9a7d2d4c304295c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): web/components/memory/MemoryL1Workbench.tsx:221 \u00B7 web/components/memory/MemoryWorkbench.tsx:523 \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":"web/components/memory/MemoryL1Workbench.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b31346f0fa02cd4aa7712eda6a2cec3263413976e8276b732a2f7461e4be20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): web/components/cli-apps/CliAppsSection.tsx:961 \u00B7 web/components/mcp/McpCatalogBrowser.tsx:723 \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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"d055c16aed4aab648b30c5bfdc92e10ab90d2dc35c78e594891c2d6c3527851c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): web/components/knowledge/KbGitHubSourcesSection.tsx:17 \u00B7 web/components/knowledge/KbWebSourcesSection.tsx:29 \u2014 the two spans are one implementation copied and then locally edited \u2014 266 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":"web/components/knowledge/KbGitHubSourcesSection.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"37397604d8d75df991a38ed29cf863f42e5f7d01d52625420a6166ee81619021"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): web/components/partners/PartnerModelPicker.tsx:21 \u00B7 web/components/partners/PartnerModelSelect.tsx:164 \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":"web/components/partners/PartnerModelPicker.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f153e38a63c9cffd8ef189f96badc07f32d3922fcf08ca81d0fd92cda16a0348"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): web/components/reading/library/ReadingFolder.tsx:192 \u00B7 web/components/reading/library/ReadingLibrary.tsx:331 \u2014 the two spans are one implementation copied and then locally edited \u2014 138 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":"web/components/reading/library/ReadingFolder.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7d40cf7f6d6ffc5d52877fc89c7e12b649aa05bfe30bfd446334123e41a58f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): web/lib/admin-api.ts:36 \u00B7 web/lib/profile-api.ts:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 238 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":"web/lib/admin-api.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4e58bd63952755ff55b341752960173274e3913ab1a9b5fa0d4df2e2dc3bae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): web/lib/partner-groups-api.ts:84 \u00B7 web/lib/partners-api.ts:172 \u2014 the two spans are one implementation copied and then locally edited \u2014 202 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":"web/lib/partner-groups-api.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f909861bff620da02d98ad7754e6b53d17aa90b9fe528af7561bf7fc8b162e60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): web/components/chat/home/StandaloneComposer.tsx:471 \u00B7 web/features/chat/components/ChatWorkspace.tsx:1594 \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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9e594b4c2232fb8a91c624d0b2e310a72bc2fee5fb3fddc7f86bd014dc3fb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): web/components/notebook/useNotebookLibrary.ts:271 \u00B7 web/context/AppShellContext.tsx:400 \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":"web/components/notebook/useNotebookLibrary.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9700287ee5e9bc16f1658f7b168bdd3d3baccf4aeb8c5cbd9d89e334c77e8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): web/components/reading/library/MaterialLibrary.tsx:141 \u00B7 web/components/reading/library/ReadingLibrary.tsx:133 \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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5863b56cf0c41481ddfe7998ac180aa210711b08e7a8750849afd718ca5433e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): web/features/co-writer/components/CoWriterWorkspace.tsx:1539 \u00B7 web/features/co-writer/components/CoWriterWorkspace.tsx:1581 \u2014 both copies are in the same file, so extract the block 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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebf6f7f67f30f051b342e8065e1a32af4b22da8e9996dea22b8f3ae042ab06c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): web/components/mcp/McpServerRow.tsx:176 \u00B7 web/features/settings/sections/ToolsSettingsSection.tsx:555 \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":"web/components/mcp/McpServerRow.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1b0212d1d3f0c92c3aee2b52f9a2f1c455d91df5e02b946e83811be9ef4b60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3 locations): web/components/settings/ServiceConfigEditor.tsx:1081 \u00B7 web/components/settings/ServiceConfigEditor.tsx:1150 \u00B7 web/components/settings/ServiceConfigEditor.tsx:1215 \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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"1095c0fff0e131cd5b6f1099bb79e8818b24735e59746c83b6b9ad76f8b6b90d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): web/features/chat/components/ChatSessionMenu.tsx:84 \u00B7 web/features/chat/messages/MessageThreadMarker.tsx:98 \u2014 the two spans are one implementation copied and then locally edited \u2014 241 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/components/ChatSessionMenu.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bcefcd7f79de677c7aece28b2137223ce1a9595b3a32ddaa73207292ce76f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): web/features/settings/store/SettingsStore.tsx:1797 \u00B7 web/features/settings/store/SettingsStore.tsx:1893 \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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"defecd4225dfdb775e8fe0c8d3672f1b19572214e6cb410a51d39017ec4f7fce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): web/lib/chat-import/claude-code.ts:126 \u00B7 web/lib/chat-import/codex.ts:200 \u2014 the two spans are one implementation copied and then locally edited \u2014 251 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":"web/lib/chat-import/claude-code.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac873584f8fa19024a0992b5538b1717d3b6f4463632218e294e4c6524445a83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): web/components/chat/home/SessionViewerPanel.tsx:100 \u00B7 web/components/knowledge/KbFilePreview.tsx:35 \u2014 the two spans are one implementation copied and then locally edited \u2014 165 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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7bc263f8ff5943bf38b6b2c16df4e18a2fa56a42f6f4e088a3b8b7e9ebcd7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): web/components/partners/PartnerChat.tsx:1276 \u00B7 web/components/partners/PartnerChat.tsx:1313 \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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee7eb47a517a4d57b47211f84dab45c17ab14b0f20b2aa8988f587375deb5ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): web/context/AppShellContext.tsx:405 \u00B7 web/context/ReadingContext.tsx:455 \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":"web/context/AppShellContext.tsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3526eb27f86d9b360e645b264241eb66c0582809f641906a62b000262d6045"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): web/features/chat/ChatStateAdapter.tsx:4376 \u00B7 web/features/chat/ChatStateAdapter.tsx:4414 \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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":4376}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a201e3b740e3607f1345eb967af2e5bb799be85ec19b48cc0305e1535419bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): web/components/memory/MemorySection.tsx:815 \u00B7 web/components/memory/MemorySection.tsx:853 \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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"86097751d8f58122b16425345d79b459ba736ceaaeeaef1e0a3040f4eaf4b347"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): web/components/reading/workspace/ReadingWorkspace.tsx:144 \u00B7 web/components/reading/workspace/useReadingWorkspace.ts:518 \u2014 the 2 copies are spread across 2 files, 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":"web/components/reading/workspace/ReadingWorkspace.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ffd36bf33a67f7893a0a62f037c96926279724ffcefc10b554e32d8dca2867"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): web/context/app-shell-storage.ts:332 \u00B7 web/context/app-shell-storage.ts:372 \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":"web/context/app-shell-storage.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59114b4699f462f2b6331df75223154c293bfcfae22559df0cade53a66009ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): web/components/settings/ConnectionsEditor.tsx:448 \u00B7 web/components/settings/ConnectionsEditor.tsx:614 \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":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a064d3dc561ae62c2cd7e4ee0f78a7879a1b1080ed92afb39a49d30d886c347"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): web/features/settings/sections/CapabilitiesSettingsSection.tsx:396 \u00B7 web/features/settings/sections/CapabilitiesSettingsSection.tsx:443 \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":"web/features/settings/sections/CapabilitiesSettingsSection.tsx"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"c621e53a11a6725d9659c07b3173a5baad625c73f7bf366fc11e8131749f7d4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): web/components/partners/PartnerComposer.tsx:192 \u00B7 web/features/chat/controllers/pending-attachments.ts:51 \u2014 the two spans are one implementation copied and then locally edited \u2014 212 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":"web/components/partners/PartnerComposer.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2867c8e27e77bccead38d3c7ce00cce824b81eaeec3c01e833d21f4bec3c6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): web/components/sessions/OrganizedSessionList.tsx:247 \u00B7 web/components/sidebar/SidebarNav.tsx:169 \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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a24832125204bc6b588795caa5f085d41d7745b66feaadfefbd9f72a7543040"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): web/features/knowledge/components/engines/EngineDetail.tsx:512 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:612 \u2014 both copies are in the same file, so extract the block 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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59aaa38c3838a76b44c920b8419ba6d4f8a519ab2130901eb73f1e289d4353a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): web/components/mcp/McpAdminRegistry.tsx:96 \u00B7 web/components/space/McpStoreSection.tsx:110 \u2014 the two spans are one implementation copied and then locally edited \u2014 161 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":"web/components/mcp/McpAdminRegistry.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb4e71edb037e8c8c9523157480e98fcf495e74f4ea1a67b3991085dbe9e18d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): web/components/settings/ModelsWorkspace.tsx:70 \u00B7 web/components/settings/ProvidersWorkspace.tsx:48 \u2014 the two spans are one implementation copied and then locally edited \u2014 231 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6721e53d8ecc5e211f14746d59e3392d388c8104ada6a9bfbb91dd7350dff9b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): web/components/partners/group/PartnerSeat.tsx:177 \u00B7 web/components/partners/group/RoundSummaryAction.tsx:47 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/group/PartnerSeat.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75a0b884bc0b4a2590bde766a770b22d2b00aa3a35e5493dcbaf4b94ce44792"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): web/components/knowledge/PageIndexSettingsModal.tsx:112 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:811 \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":"web/components/knowledge/PageIndexSettingsModal.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3d93baf55b699529cb2dcdf7e56d3a5a5bd2dbdafd6c6c50aa487150898b0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): web/components/settings/WebFetchBackendCard.tsx:30 \u00B7 web/features/settings/sections/StartersSettingsSection.tsx:29 \u2014 the two spans are one implementation copied and then locally edited \u2014 211 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":"web/components/settings/WebFetchBackendCard.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"078ea4cc7f250b8661d00589bf91caa8fd5daf53258677f6c138c45c14499bcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): web/hooks/usePartnerGroups.ts:21 \u00B7 web/hooks/usePartnerRoster.ts:24 \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":"web/hooks/usePartnerGroups.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c93d19e762f0ff8343459cd9f0964d0f7385274fe1f7c000a2fccd44fd14eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): web/lib/cli-apps-api.ts:222 \u00B7 web/lib/mcp-api.ts:715 \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":"web/lib/cli-apps-api.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9064e698fed5a71d27a094d07f74fdf082cc66f854631ad3471754da5d97b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): web/components/chat/home/ChatComposer.tsx:813 \u00B7 web/components/partners/PartnerComposer.tsx:99 \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":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"d486f26f863f2ade1058ff661c1d2a0b5c4cdf1380d663ec2f9f8c6afc50ac1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): web/components/knowledge/CreateKbModal.tsx:1489 \u00B7 web/components/knowledge/CreateKbModal.tsx:1516 \u2014 both copies are in the same file, so extract the block 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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"3272d0af5d0310ae2167e30633269d77a3c9c782e950fbca028e86162536277e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): web/features/chat/trace/TracePresentation.tsx:1306 \u00B7 web/features/chat/trace/selectors.ts:223 \u2014 the two spans are one implementation copied and then locally edited \u2014 190 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0d5d8b091fc653b74d024af07092a534fa05d9f0917a37b1be1d9c48b263dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): web/app/(workspace)/learning/mastery/[pathId]/page.tsx:382 \u00B7 web/components/space/learning/MasteryStudy.tsx:556 \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":"web/app/(workspace)/learning/mastery/[pathId]/page.tsx"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"204c70b2020469e043f501ec2d6d715659bff1460bdca2ce9d31ac811f647f60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): web/components/activity/ActivityMark.tsx:111 \u00B7 web/components/sidebar/SessionAvatar.tsx:199 \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":"web/components/activity/ActivityMark.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed80a96ef94380c0b89da8cad46dcf24840f7cd7816c38cabb767e8945f0e96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): web/components/activity/ActivityRow.tsx:24 \u00B7 web/features/chat/trace/TracePresentation.tsx:690 \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":"web/components/activity/ActivityRow.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"17db560c05943441c91d915cea36a78628ba03d8d442d4b309800f159e8840da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3 locations): web/components/partners/ToolPicker.tsx:89 \u00B7 web/components/partners/ToolPicker.tsx:129 \u00B7 web/components/partners/ToolPicker.tsx:188 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/ToolPicker.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cbe9d067e55d7064a140755bf396f6298b970c595857c506523b33c6a2d459"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): web/lib/creation-draft.ts:52 \u00B7 web/lib/partner-draft.ts:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 209 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":"web/lib/creation-draft.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a673db9d9862e7cfe2d0a38cdf3487e868c65ad612837be53826326b58ff73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): web/app/(workspace)/learning/books/components/blocks/FigureBlock.tsx:84 \u00B7 web/app/(workspace)/learning/books/components/blocks/InteractiveBlock.tsx:57 \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":"web/app/(workspace)/learning/books/components/blocks/FigureBlock.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b1553947be9250db42b726cbe403b9e7b08ecc3d58be825d70d7b2a704796f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): web/features/settings/sections/DocumentParsingSettingsSection.tsx:580 \u00B7 web/features/settings/sections/DocumentParsingSettingsSection.tsx:640 \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":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ee41660ac1c2721db144eccb5a1dc2b7392cdcb84c99d29d38984fb5243e69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): web/app/(workspace)/learning/books/components/blocks/FigureBlock.tsx:34 \u00B7 web/app/(workspace)/learning/books/components/blocks/InteractiveBlock.tsx:10 \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":"web/app/(workspace)/learning/books/components/blocks/FigureBlock.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"166c1c186fe497a09a9c4f9d21804e6322ac3d94a1e33a80ec75b69f4931c945"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): web/components/chat/MemoryPicker.tsx:100 \u00B7 web/components/chat/PersonaPicker.tsx:140 \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":"web/components/chat/MemoryPicker.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"642caa77ecdcc1e0559679a7b6f3853228d1c31f870edc86d2baa0e345723232"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): web/components/memory/MemoryArchivedBanner.tsx:39 \u00B7 web/components/memory/MemorySection.tsx:468 \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":"web/components/memory/MemoryArchivedBanner.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa394689d2a49af99a8048c9654fbc2e8f2578d48eae43fca6b8c1fe95b60a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): web/features/knowledge/api/client.ts:321 \u00B7 web/features/knowledge/api/client.ts:345 \u2014 both copies are in the same file, so extract the block 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":"web/features/knowledge/api/client.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c7da8f85a4ef1ae56281a76aa1205039488a63166549b3acbae7b854a80ab5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/components/chat/MyAgentsPicker.tsx:418 \u00B7 web/components/space/ScopePicker.tsx:129 \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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f52e9f79b3a2ab1aec8ba5365b71148b721e15a797409effbb4c7e1d547951"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/components/reading/workspace/dialogs.tsx:83 \u00B7 web/components/reading/workspace/dialogs.tsx:184 \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":"web/components/reading/workspace/dialogs.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2c42377e25513b852fa1bf3776b4b1375d6afa62e34fec0bafb065fe3bef11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/components/space/learning/MasteryStudy.tsx:238 \u00B7 web/features/chat/components/ChatWorkspace.tsx:1160 \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":"web/components/space/learning/MasteryStudy.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c16beffb9e4e9f9985c65e47e55e0ba342a3d485340c730eec55faf12cdb630"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): web/components/visualize/VisualizationViewer.tsx:153 \u00B7 web/components/visualize/VisualizationViewer.tsx:223 \u2014 the two spans are one implementation copied and then locally edited \u2014 181 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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bf6b78193f709f001ddbb20dcc8b645ebe7ddfde25420714dd6b509e5c585c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/contracts/parse/turn-command.ts:42 \u00B7 web/lib/random-uuid.ts:19 \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":"web/contracts/parse/turn-command.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"faff42620facd29577949e518987e4e29db99a679d03688f9875538e2082d2eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/features/chat/trace/TracePresentation.tsx:757 \u00B7 web/features/chat/trace/TracePresentation.tsx:920 \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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de93e61466555b2d1ce42a8f2dc567ebfed6e0bbca1f1cea0b9da0faef5b601"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/features/knowledge/api/client.ts:398 \u00B7 web/features/knowledge/api/client.ts:440 \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":"web/features/knowledge/api/client.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a4cddd1a6b97c0a4cf10a95d35c186cc4233cfb7f01889073719f3e4363a24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/features/knowledge/components/engines/EngineDetail.tsx:407 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:975 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41c8d9974a1963a4302eaa4630a838ffedc339f5e15f99f66e564111d4ca469"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/features/settings/sections/NetworkSettingsSection.tsx:295 \u00B7 web/features/settings/sections/NetworkSettingsSection.tsx:318 \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":"web/features/settings/sections/NetworkSettingsSection.tsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66fde00dc88119ebbabf5ea39f5d2a7d6c67854036c4531b3f6909524a8f6ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/app/(utility)/profile/page.tsx:365 \u00B7 web/app/(utility)/profile/page.tsx: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":"web/app/(utility)/profile/page.tsx"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2adab493e86c4e8bd2620c726df66acebbcb32cb02714ee6678fd0a9b99b36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/components/chat/MyAgentsPicker.tsx:644 \u00B7 web/components/reading/library/MaterialLibrary.tsx:286 \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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c2c4f3d033eb18d392581e287333a06d8007408fb58cfc278a0cffa2055def"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/components/chat/home/ChatComposer.tsx:1354 \u00B7 web/components/partners/PartnerComposer.tsx:411 \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":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"65af819d9630d8060dcff4caf00194eda496a3f3c3d59da312819576f32b6e08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/components/cli-apps/CliAppsSection.tsx:625 \u00B7 web/components/mcp/McpCatalogBrowser.tsx:491 \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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"b477bf9600017bd8c3d5913be3158ea4250bdf93c4469e08cdb0b2d01c0fabde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/components/knowledge/ImaConnectionFields.tsx:248 \u00B7 web/features/settings/sections/ToolsSettingsSection.tsx:552 \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":"web/components/knowledge/ImaConnectionFields.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"a493adf0932115b8b3d07f2ce08b25a12d7c9731fd2b37f018dcf174154da0b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): web/components/settings/MinerUEngineSettings.tsx:272 \u00B7 web/features/settings/sections/DocumentParsingSettingsSection.tsx:536 \u00B7 web/features/settings/sections/DocumentParsingSettingsSection.tsx:767 \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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0758f326fd58ae918e03b065ec7d84e3adc3559aff6c4001de17d9a9ac43b71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/components/settings/SubagentSettingsEditor.tsx:874 \u00B7 web/components/settings/SubagentSettingsEditor.tsx:895 \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":"web/components/settings/SubagentSettingsEditor.tsx"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcecc9353ed26bb3211d9ef9a0d9d327303fbfaa302c438ed06b82fb5c9fccc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): web/features/calendar/components/TimeGrid.tsx:211 \u00B7 web/features/calendar/components/gesture.ts:40 \u2014 the two spans are one implementation copied and then locally edited \u2014 142 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":"web/features/calendar/components/TimeGrid.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea414237db283e846c7d319edaa21e55e415da4055bb14718d69528fa154420"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/features/knowledge/api/client.ts:1596 \u00B7 web/features/knowledge/api/client.ts:1768 \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":"web/features/knowledge/api/client.ts"},"region":{"startLine":1596}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9899dc09b32f4953319a2e8c2b542f158c0edfc9a0edad3cc6e992b0be470f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/features/knowledge/components/engines/EngineDetail.tsx:1062 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:1169 \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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f5231beaf2d5ef99059348494c4680f06a754f3956c3a1f518b4cb5b508c95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/components/cli-apps/CliAppsSection.tsx:456 \u00B7 web/components/mcp/McpCatalogBrowser.tsx:239 \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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36c7c051c3ef8722d4c66321864e734c15a1ccb989e40c3ab91b75933060d26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/components/sessions/OrganizedSessionList.tsx:414 \u00B7 web/components/sessions/OrganizedSessionList.tsx:446 \u2014 both copies are in the same file, so extract the block 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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b8ac56c7394506dc0afe73ddca10c818372766776aa85b942b2c3842a2771a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/components/settings/MinerUEngineSettings.tsx:106 \u00B7 web/features/settings/sections/NetworkSettingsSection.tsx:106 \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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1eedbf8e155d673e3eb59a8ac6794ac71778b47c2555c7ef40d0311e9e54e89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4 locations): web/features/knowledge/api/client.ts:1051 \u00B7 web/features/knowledge/api/client.ts:1608 \u00B7 web/features/knowledge/api/client.ts:1779 \u00B7 web/features/knowledge/api/client.ts:1839 \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":"web/features/knowledge/api/client.ts"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6553d4190994d6011de63d47948349d5a3a0375dbc85a4c9512382e22fc3785"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/features/knowledge/components/engines/EngineDetail.tsx:1097 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:1226 \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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecafc3810cac687b4f218028b34c8815367240227c7e5047d39eecaff3e0459c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): web/lib/auth.ts:118 \u00B7 web/lib/auth.ts:166 \u2014 the two spans are one implementation copied and then locally edited \u2014 134 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":"web/lib/auth.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"764aaefb2c244e109699af00a9a0738e0cfc6a2659c07edf899c14b03091aae4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/app/(workspace)/learning/books/components/blocks/BlockBodyEditor.tsx:50 \u00B7 web/app/(workspace)/learning/books/components/blocks/UserNoteBlock.tsx:91 \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":"web/app/(workspace)/learning/books/components/blocks/BlockBodyEditor.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"819dc0ab771004f9587f4d478c9e43e5c16b301e818998b1ab404626b79b21b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/app/(workspace)/partners/[partnerId]/page.tsx:454 \u00B7 web/app/(workspace)/partners/groups/[groupId]/page.tsx:103 \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":"web/app/(workspace)/partners/[partnerId]/page.tsx"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ab0b5b8180f1f5e0342b3e306fd4a8519c27d3fcc22f8361dc890487dc45ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/components/agents/agent-icons.tsx:125 \u00B7 web/components/agents/agent-icons.tsx: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":"web/components/agents/agent-icons.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80997bf2be4bf5ffdffb6471346ca3e7fd936fa40ef007d7abf30ca372d3a64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/components/chat/preview/previewers/MarkdownPreview.tsx:14 \u00B7 web/components/chat/preview/previewers/TextPreview.tsx:31 \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":"web/components/chat/preview/previewers/MarkdownPreview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bf78540e849781166e1b91fa8f45b29ba4db1953d1f9da85b002645b0cabb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/components/cli-apps/CliAppsSection.tsx:814 \u00B7 web/components/reading/library/AddMaterialsDialog.tsx:669 \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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"c506444bf361b816296fa694f3e4748590b2ec8c3021ee18f722c6a6a27bc91e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/components/knowledge/CreateKbModal.tsx:1241 \u00B7 web/components/knowledge/CreateKbModal.tsx:1374 \u2014 both copies are in the same file, so extract the block 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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c4f872027135a86307f1ef0cbb09412e583b7a22d300f6ce63d6011876ea0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/components/settings/MinerUEngineSettings.tsx:512 \u00B7 web/features/settings/sections/DocumentParsingSettingsSection.tsx:1174 \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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc81f0628ca41017ec640ee46818b26176b185c62178fda547f1e8b75149ab4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): web/features/calendar/store/calendar-store.ts:83 \u00B7 web/lib/task-board-store.ts:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 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":"web/features/calendar/store/calendar-store.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"37852374abd5330396926e1def84048734293942a661663cc1609615a63463e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): web/features/knowledge/api/client.ts:376 \u00B7 web/features/knowledge/api/client.ts:417 \u00B7 web/features/knowledge/api/client.ts:460 \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":"web/features/knowledge/api/client.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4741b2ee22b60e5d60b2e234fe6031e8575d3f91a2dea7c81d289211ef764d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): web/hooks/useModalDialog.ts:49 \u00B7 web/shared/ui/Dialog.tsx:94 \u2014 the two spans are one implementation copied and then locally edited \u2014 113 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":"web/hooks/useModalDialog.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc928614e2c37985a7b023132d7192691b102e528ebe550ba2e1bdd7e85fa61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/shared/api/client.ts:131 \u00B7 web/shared/api/client.ts:186 \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":"web/shared/api/client.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27d0ecfb3ba6083f417d3ac168749d3b43d1c67bc7179a3ab6d343bb5c48707"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/app/(auth)/login/page.tsx:60 \u00B7 web/app/(auth)/register/page.tsx:47 \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":"web/app/(auth)/login/page.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3107f6ad11149e2e6fbd23f229a1d67cfef1d256741418fa3ae9efe8b1824771"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/components/chat/home/ResponderList.tsx:134 \u00B7 web/components/quiz/QuizConfigPanel.tsx:579 \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":"web/components/chat/home/ResponderList.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73d15441c58f0f65cad690392fb8bb15a2e1365f5c08fb8fb16f62efbf07f94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/components/knowledge/CreateKbModal.tsx:1162 \u00B7 web/components/knowledge/CreateKbModal.tsx:1302 \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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5204e759f5855a55e6e0703651d94c7de44ed7dcef96ceb3e95eaddc8157029f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/components/knowledge/FileDropZone.tsx:88 \u00B7 web/components/knowledge/FileDropZone.tsx:109 \u2014 both copies are in the same file, so extract the block 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":"web/components/knowledge/FileDropZone.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e363530dbbe99954a3d7045f345a2c4d5889a3c78c806db581c6f786f6eab809"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/components/notebook/NotebookConsole.tsx:719 \u00B7 web/features/notes/components/NoteFavoritesPicker.tsx:239 \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":"web/components/notebook/NotebookConsole.tsx"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"7068dcee1cfdeadc00a7417453c82517ddc47bc5712559cbaf04a3cf599029e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): web/components/partners/group/GroupComposer.tsx:200 \u00B7 web/components/reading/ReaderImageLightbox.tsx:209 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 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":"web/components/partners/group/GroupComposer.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3595db7b7399ead3a684ef66e4c382d6cae5034eda15e3881fedba2cd4aceadf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/components/reading/ReaderPane.tsx:277 \u00B7 web/components/reading/ReaderPane.tsx:304 \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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a748700422d291400dc1242321a2a81365c5ea3bf33a9d484b1016ba1bd7b7aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/components/settings/SettingsPresetsPanel.tsx:60 \u00B7 web/components/settings/SettingsReadinessPanel.tsx:243 \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":"web/components/settings/SettingsPresetsPanel.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"440ca814b98f3552efb16fe5731ec5badb39971989e2ac7aeb9d52f2dbf1702b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/components/sidebar/SidebarShell.tsx:48 \u00B7 web/features/ui-layout/classic/ClassicSidebarShell.tsx:46 \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":"web/components/sidebar/SidebarShell.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"786b76f4b6a6950cad7d74877865f43b7d851019cfd97f1d6b1d272674b0a60f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/features/settings/sections/AttachmentsSettingsSection.tsx:228 \u00B7 web/features/settings/sections/AttachmentsSettingsSection.tsx:247 \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":"web/features/settings/sections/AttachmentsSettingsSection.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be269ecfc61e7f579405552802d4bfbacd38cdbb37a9b19a8c741507df8d71e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): web/lib/imports-api.ts:79 \u00B7 web/lib/session-api.ts:239 \u2014 the two spans are one implementation copied and then locally edited \u2014 104 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":"web/lib/imports-api.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f195901feaa18c42a6d9987d866aa8099613188b8272aff02ac00c14c42e8271"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/lib/video-learning-api.ts:142 \u00B7 web/lib/video-learning-api.ts:172 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2677dff14c76822931fb7d512eab2bf663fd3832f3dc4b604906eaf9af9be5b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/components/agents/agent-icons.tsx:30 \u00B7 web/components/agents/agent-icons.tsx:92 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/agents/agent-icons.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"823fa35f5a09b8e81171f8d77d07e7d7c53c7350de43bf09d34e234954a13a2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/components/chat/BookReferencePicker.tsx:331 \u00B7 web/components/chat/BookReferencePicker.tsx:374 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/BookReferencePicker.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d44de301175095bce6116e9170f9617bd6196cd3a1d056dd91ebf82f459d94e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/components/chat/HistorySessionPicker.tsx:452 \u00B7 web/components/chat/MyAgentsPicker.tsx:520 \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":"web/components/chat/HistorySessionPicker.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"656265ee032750c52723cacc1abb452fcbaecef18211244a2f8527ac3db3e919"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/components/chat/QuestionBankPicker.tsx:320 \u00B7 web/components/space/question-bank/QuestionCard.tsx:202 \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":"web/components/chat/QuestionBankPicker.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80a1ffaf6a89b6b2cd569ea380a5444e17daa78a31459d00d1ad2c8dc83d984"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/components/chat/home/SessionActivityPanel.tsx:373 \u00B7 web/components/chat/home/SessionActivityPanel.tsx:390 \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":"web/components/chat/home/SessionActivityPanel.tsx"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed405c1f6069983fa2e047254cb832db93399f44e63ec9c95a490d03a33b7998"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/components/cli-apps/CliAppsSection.tsx:887 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:1440 \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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70f3bdbbf0f6f97d95631c83cc247ea7c6d0f6098e538e491f83507c4316c49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/components/mcp/McpAdminRegistry.tsx:53 \u00B7 web/components/space/SkillsSection.tsx:452 \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":"web/components/mcp/McpAdminRegistry.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4461bae2fba333465e38e040d9e3dd4e83b2cb5b3f267502d9554ddb6bbac1aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): web/components/memory/useMemoryRun.ts:185 \u00B7 web/components/memory/useMemoryRun.ts:218 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 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":"web/components/memory/useMemoryRun.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d207fe89062920da173e762b0fb2f1021eec258bba3a4a25cfcab768cea9cd00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/components/partners/PartnerConfigure.tsx:388 \u00B7 web/components/partners/PartnerConfigure.tsx:457 \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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad018585afeea513ba7f04e4e11e39d43ae071c3576cd6b9ec929ae651fd1ffa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/components/quiz/QuizConfigPanel.tsx:189 \u00B7 web/components/quiz/QuizConfigPanel.tsx:336 \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":"web/components/quiz/QuizConfigPanel.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dec8f8b1352bc4ba0ec642a1cb1a527aeeb523b3d84e819796ac546b5d7ecb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): web/components/space/MyAgentsSection.tsx:433 \u00B7 web/components/space/MyAgentsSection.tsx:626 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 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":"web/components/space/MyAgentsSection.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e32a8d24ad9907119cacf14fb127878963d32129eeff59ee77ba5c7f1defeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/features/chat/ChatStateAdapter.tsx:3734 \u00B7 web/features/chat/ChatStateAdapter.tsx:3809 \u2014 both copies are in the same file, so extract the block 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":3734}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7d87eb90298d0bec7cd04dbc67a055acbb6dacb8f43cd797e8f82d63809774"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/features/co-writer/components/CoWriterWorkspace.tsx:1108 \u00B7 web/features/co-writer/components/CoWriterWorkspace.tsx:1155 \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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5869ce45f396db936ecfc6d724b5211b069f775fad08e6737f2164831838af53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/features/settings/sections/VideoLearningSettingsSection.tsx:116 \u00B7 web/features/settings/sections/VideoLearningSettingsSection.tsx:133 \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":"web/features/settings/sections/VideoLearningSettingsSection.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf85ed23a2640ccd7ded86f16b0f221116bf734082206965dd407a92491ce68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/features/settings/store/SettingsStore.tsx:1528 \u00B7 web/features/settings/store/SettingsStore.tsx:1546 \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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9d76f4fdfe84edea19cf62e5607dd79c4ff01422dc77f87f2ac22e7a59e81f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/lib/app-update.ts:111 \u00B7 web/lib/video-learning-api.ts:367 \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":"web/lib/app-update.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"267539e08b014aa911259d0958bd751adb297581b8e97ee74a5736344675b370"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/lib/markdown-display.ts:635 \u00B7 web/lib/markdown-display.ts:655 \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":"web/lib/markdown-display.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"677db4f71d95f782b1962a809421127c8cb412c5ca6da7f4ffd0798ca2e8b1b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/lib/memory-graph.ts:388 \u00B7 web/lib/memory-graph.ts:436 \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":"web/lib/memory-graph.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb966ae20e4f7efa498348aa7a7ff85431644c38f6b613340dee353e9bec20b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/lib/reading-api.ts:559 \u00B7 web/lib/reading-api.ts:594 \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":"web/lib/reading-api.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea939404ba719e76a2fd7092dcdbd5f7a308bd9acff0748637920110b2d1ee6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): web/app/(workspace)/partners/[partnerId]/page.tsx:168 \u00B7 web/components/partners/PartnerChat.tsx:562 \u2014 the two spans are one implementation copied and then locally edited \u2014 96 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":"web/app/(workspace)/partners/[partnerId]/page.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e54911ffa87425f1b642617b9f1991e3390cbe138dd8ec5ac9f97213827b7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): web/components/chat/home/ViewerLauncher.tsx:341 \u00B7 web/components/partners/group/GroupSessionPicker.tsx:51 \u00B7 web/components/space/question-bank/CategoryMenu.tsx:54 \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":"web/components/chat/home/ViewerLauncher.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97fd5e91db011762cfe3010532896e57db6267e1951387fd1f717082eba0525"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/components/knowledge/KbGitHubSourcesSection.tsx:168 \u00B7 web/components/knowledge/KbGitHubSourcesSection.tsx:188 \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":"web/components/knowledge/KbGitHubSourcesSection.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddba3c126180bd765e2dc3be3d694a31768eb251baf1fc1a93201f8e764c9154"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): web/components/knowledge/KnowledgeHome.tsx:418 \u00B7 web/components/knowledge/KnowledgeHome.tsx:435 \u00B7 web/components/knowledge/KnowledgeHome.tsx:452 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KnowledgeHome.tsx"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bfdf28320d9e1ed35fb183532e391a2b62f990a43d0f31f20f9c369bee86dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/components/memory/MemorySection.tsx:390 \u00B7 web/components/memory/useMemoryRun.ts:255 \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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e29301621682cb672cacc549d46e449659b655e6bab4597bef3ccc617df2a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): web/components/partners/group/GroupComposer.tsx:135 \u00B7 web/components/partners/group/PartnerSeat.tsx:188 \u00B7 web/components/partners/group/RoundSummaryAction.tsx:58 \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":"web/components/partners/group/GroupComposer.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"26acfee80316f0b541e989d1862ea56fabf44237954cc8871216b523257293bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/components/reading/EpubDocumentView.tsx:744 \u00B7 web/components/reading/TextUnitView.tsx:676 \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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1d42ea8f818b7215bff7ea74b46a2f34bce03b8789f87653fc1e6fa2ba033e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): web/components/settings/MinerUEngineSettings.tsx:167 \u00B7 web/features/settings/sections/DocumentParsingSettingsSection.tsx:422 \u00B7 web/features/settings/sections/DocumentParsingSettingsSection.tsx:723 \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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"622dd78b5bc4c9c5e412c1b7c768e263c22ed1641c6f88b00c9305dabcba0f50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): web/context/AppShellContext.tsx:224 \u00B7 web/hooks/useSetupSync.ts:77 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 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":"web/context/AppShellContext.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"210cca01fa28960821b74d033a422b1079dde1c7e77a0ac560872f6767c9a82c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/context/app-shell-storage.ts:181 \u00B7 web/context/app-shell-storage.ts:226 \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":"web/context/app-shell-storage.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ed8366ac91eb38dfa7eda5636b1dbee41c809d94927b090a7b2fc819836da7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/features/chat/messages/ChatMessageList.tsx:2341 \u00B7 web/features/chat/messages/ChatMessageList.tsx:2562 \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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":2341}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c348934575c6d11f0c8c451021cf57c2405aea4ccc2a4e499c2ae6458724789"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/features/knowledge/api/client.ts:1851 \u00B7 web/features/knowledge/api/client.ts:1868 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/knowledge/api/client.ts"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23603d96a0a985825960263bb2a68c2f45aabb53b4b1ad84a3c0099bd237fee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): web/features/settings/sections/models/EmbeddingSettingsSection.tsx:1 \u00B7 web/features/settings/sections/models/LlmSettingsSection.tsx:1 \u00B7 web/features/settings/sections/models/MultimodalSettingsSection.tsx:1 \u00B7 web/features/settings/sections/models/SearchSettingsSection.tsx:2 \u2014 the 4 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 4 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":"web/features/settings/sections/models/EmbeddingSettingsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"206b7c722ee62e03c38b0aa3d3e56916967f54f2c2060816b513460cdca83ef2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/lib/mcp-api.ts:548 \u00B7 web/lib/mcp-api.ts:594 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/mcp-api.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eba93881be5a86c13c4a5811102c4e07478d346759922af02a9c2faa5db12c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): web/lib/partner-groups-api.ts:224 \u00B7 web/lib/partners-api.ts:684 \u00B7 web/lib/video-learning-api.ts:198 \u00B7 web/lib/video-learning-api.ts:334 \u2014 the 4 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":"web/lib/partner-groups-api.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6902bc3e984d16d0d9d7db37540576967b2f5b25d95be751cb023aa0e6156492"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/app/(workspace)/partners/groups/[groupId]/page.tsx:151 \u00B7 web/app/(workspace)/partners/page.tsx:245 \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":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc5ccc2fc6141892ec678155ccdd9cdbd114f980f51ae75921644f0c72db910"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): web/components/chat/home/ComposerInput.tsx:534 \u00B7 web/hooks/use-outside-click.ts:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 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":"web/components/chat/home/ComposerInput.tsx"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec463767ad2b7cc6899be6879a7dde5647834139ed8e35a64d5757cfd95e6c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/components/chat/home/SessionActivityPanel.tsx:80 \u00B7 web/components/chat/home/SessionActivityPanel.tsx: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/SessionActivityPanel.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8dd17a6e853483ecc7afdc9c3a6d95c7a9a582c92c0e9bb0a635804bd539bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/components/chat/home/StandaloneComposer.tsx:672 \u00B7 web/features/chat/components/ChatWorkspace.tsx:1103 \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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0e7e1b3ea2c80bb476279a3301536d6c2185b7795a04d88011b7ffb1d83454"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/components/cli-apps/CliAppsSection.tsx:696 \u00B7 web/components/mcp/McpCatalogBrowser.tsx:550 \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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77cb9344f37fd7772e04444cd5d86dee0db114717079c6c846bb9f96d13d339"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): web/components/math-animator/MathAnimatorViewer.tsx:129 \u00B7 web/components/video-lesson/VideoLessonViewer.tsx:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 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":"web/components/math-animator/MathAnimatorViewer.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3c70d3662bdbaf33ece6f847280dc0ccc35e3f5c5190de786d19915a738424"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/components/memory/MemoryL1Workbench.tsx:114 \u00B7 web/components/memory/MemorySection.tsx:737 \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":"web/components/memory/MemoryL1Workbench.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8331519f2885bf498d8718ed322cfd8cdad2be9fb5244a06510ac1b73cb6e9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): web/components/partners/group/PartnerGroupChat.tsx:137 \u00B7 web/lib/chat-outline.ts:169 \u2014 the two spans are one implementation copied and then locally edited \u2014 104 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":"web/components/partners/group/PartnerGroupChat.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a868e16fcddf108ee6cec7c86badafe6de5245d117086c588ff407aaa058d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/components/quiz/QuizViewer.tsx:987 \u00B7 web/components/quiz/QuizViewer.tsx:1044 \u2014 both copies are in the same file, so extract the block 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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"0820af42506f05583573353c98a4f3d0b765ed161b3333d0546fdfdc4fc25b8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/components/reading/ReaderPane.tsx:1408 \u00B7 web/components/reading/workspace/WorkspaceChrome.tsx:35 \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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc8e84b8e6cdc87bf86fc1c4fe0de5048a5fa64e655a7c15c7b0d44f6b93bea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/components/reading/library/AddMaterialsDialog.tsx:512 \u00B7 web/components/reading/workspace/dialogs.tsx:116 \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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35ae60e877cc400dc2568ce2782218fd6d0cd29f9a032d0a980ee8218793e83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/components/reading/library/MaterialLibrary.tsx:97 \u00B7 web/components/reading/library/ReadingLibrary.tsx:80 \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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed7c6f237bbcd18320dc9f1427e2ae6b58f739fe61e8885324df8d499f9ee94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/components/reading/workspace/ReadingCompanion.tsx:410 \u00B7 web/components/space/learning/MasteryStudy.tsx:709 \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":"web/components/reading/workspace/ReadingCompanion.tsx"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"154f5a4088e299c3bb3150234d9750e2830d5ec0be5c2360c1abd62b0e88110e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): web/components/reading/workspace/WorkspaceChrome.tsx:194 \u00B7 web/components/reading/workspace/dialogs.tsx:302 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 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":"web/components/reading/workspace/WorkspaceChrome.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9b245aef5685c678c97e1ee8781772c98ba4f1ad46bdf77752ed3a93275852"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/components/settings/ConnectionsEditor.tsx:567 \u00B7 web/components/settings/ServiceConfigEditor.tsx:1564 \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":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"c450c1f264d4f80f43625e3b9bda35272a8ae26fa683be77ed5a898e773ac19f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): web/components/settings/ProviderModelDiscovery.tsx:65 \u00B7 web/components/settings/RegistryControls.tsx:163 \u2014 the two spans are one implementation copied and then locally edited \u2014 95 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":"web/components/settings/ProviderModelDiscovery.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d03467f3e03f9193ccdcc798278e823713c2ef25944459d191b82b7ab61b9c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/components/settings/VoiceDiscoveryField.tsx:19 \u00B7 web/components/settings/VoiceDiscoveryField.tsx:63 \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":"web/components/settings/VoiceDiscoveryField.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d7deeb068ffa30a3d2f452242d92522deb6d48af2b320e0da023f2d106e939"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/components/space/learning/CreateTopicWizard.tsx:150 \u00B7 web/components/space/learning/EditTopicRouteDialog.tsx:90 \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":"web/components/space/learning/CreateTopicWizard.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae06ce488207a3a743b3ddad6622a10e074f8d6dc42436014c5b60c7e647cc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/features/chat/components/ChatWorkspace.tsx:964 \u00B7 web/features/chat/components/ChatWorkspace.tsx:994 \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":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"f498e4c7c76f64dc4b2c4b2413cbe17e860918cb7a9794841356ba82ba247e34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/features/chat/messages/ChatMessageList.tsx:634 \u00B7 web/features/chat/messages/ChatMessageList.tsx:672 \u2014 both copies are in the same file, so extract the block 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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba24e46f0203d1a2fb02d2dca5cfcadb1b97272a546d4859fa2750c7382f0088"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/features/knowledge/api/client.ts:916 \u00B7 web/features/knowledge/api/client.ts:1272 \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":"web/features/knowledge/api/client.ts"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac520e4f851782b429fd67914af519ca796f459b096fac008e20e178c5d4b15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/features/knowledge/components/engines/EngineDetail.tsx:597 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:691 \u2014 both copies are in the same file, so extract the block 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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"299617a5b763735aecc003f58f73972ab7768e86d9ab43101662e4b98526a71e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): web/features/settings/sections/AboutSettingsSection.tsx:74 \u00B7 web/features/settings/sections/AboutSettingsSection.tsx:133 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 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":"web/features/settings/sections/AboutSettingsSection.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e6fbd752d16e8490925b1f6f3e9c0af678b1230b66db975780e4fa089c65a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 10 locations): web/features/settings/sections/models/ConnectionsSettingsSection.tsx:1 \u00B7 web/features/settings/sections/models/EmbeddingSettingsSection.tsx:1 \u00B7 web/features/settings/sections/models/ImageSettingsSection.tsx:1 \u00B7 web/features/settings/sections/models/LlmSettingsSection.tsx:1 \u00B7 \u002B6 more site(s) not listed \u2014 the 10 copies are spread across 10 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":"web/features/settings/sections/models/ConnectionsSettingsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"049bdbadcb7aea159d233b0348e4fe283adfa0cdd699b8a492e789bd5906d6f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): web/features/settings/sections/models/TtsSettingsSection.tsx:6 \u00B7 web/features/settings/sections/models/VoiceSettingsSection.tsx:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/models/TtsSettingsSection.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fb981084e8a253ae38a7431c1d14f1f1cba563a2dabf36e0caeb13d5aa26bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/lib/notebook-api.ts:498 \u00B7 web/lib/notebook-api.ts:639 \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":"web/lib/notebook-api.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba4014ceba644586fa0a6eba4eb1e04371658d056df7d9d6d8cade7ee74fb8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/lib/personas-api.ts:112 \u00B7 web/lib/skills-api.ts:336 \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":"web/lib/personas-api.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc61c23c7bce73a1c34c2c2eca7fd2d82020824d81c516b8b960379f687dfb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/app/(workspace)/learning/books/BooksRoute.tsx:517 \u00B7 web/app/(workspace)/learning/books/BooksRoute.tsx:536 \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":"web/app/(workspace)/learning/books/BooksRoute.tsx"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"98534a30fb63e0d6473bf0f465cf9ccef450c41fda4a3f651bd5f9475db19ec5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/app/(workspace)/learning/books/components/SpineEditor.tsx:182 \u00B7 web/components/workspaces/WorkspacePill.tsx:66 \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":"web/app/(workspace)/learning/books/components/SpineEditor.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6546f3943010061c3b758e294ebafb5a24576ef9d2033f63ae119a3891c1494"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/app/(workspace)/partners/[partnerId]/page.tsx:676 \u00B7 web/app/(workspace)/partners/page.tsx:139 \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":"web/app/(workspace)/partners/[partnerId]/page.tsx"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"14786a2895061aa15c8dddcc46f8298cfb738a272b27ce7fb96b331ac2c651ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): web/components/chat/home/ComposerInput.tsx:534 \u00B7 web/features/co-writer/components/CoWriterWorkspace.tsx:1285 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 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":"web/components/chat/home/ComposerInput.tsx"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc8ffb1cbee9899e5c2b5cb10d992d9eb79129179e6f30d802ea67333d5dc11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): web/components/chat/home/ConsultationTabBody.tsx:55 \u00B7 web/components/space/SkillLibraryScope.tsx:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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":"web/components/chat/home/ConsultationTabBody.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ccbb0f715d4d0fb7668f0d03923d522b3a4f6ca53f7e8a49f1a5dac7f40bb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/components/chat/home/ViewerLauncher.tsx:158 \u00B7 web/components/chat/home/ViewerLauncher.tsx:186 \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":"web/components/chat/home/ViewerLauncher.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fe966db2bef469d1dc5bdaec85478f617d711da666c5b613032ce2b0dbbc66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/components/chat/home/ViewerLauncher.tsx:389 \u00B7 web/features/chat/components/SelectionActions.tsx:131 \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":"web/components/chat/home/ViewerLauncher.tsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadbcd9a91e1637aa481c17e6c18f6f3367cfb43bf934b3ab06a5626450a7521"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5 locations): web/components/common/SimpleMarkdownRenderer.tsx:149 \u00B7 web/components/common/SimpleMarkdownRenderer.tsx:163 \u00B7 web/components/common/SimpleMarkdownRenderer.tsx:177 \u00B7 web/components/common/SimpleMarkdownRenderer.tsx:191 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"web/components/common/SimpleMarkdownRenderer.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3678d7f995f530fc52ee45404cfc4780c03b784b31abdec5f7e4d0a310aa9323"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): web/components/knowledge/KbDocumentsSection.tsx:58 \u00B7 web/features/multi-user/components/GrantEditor.tsx:174 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 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":"web/components/knowledge/KbDocumentsSection.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de95478286c6c9155f17123da003023a825412905acc7a6f2290b085aeb8316"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): web/components/learning/practice/PracticeInsights.tsx:61 \u00B7 web/components/learning/practice/PracticePage.tsx:48 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 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":"web/components/learning/practice/PracticeInsights.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeec09c2c7e42555a749086b39186d1b07ab0977ad298519536016be5bf33220"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/components/mcp/McpServerForm.tsx:370 \u00B7 web/components/mcp/McpToolList.tsx:14 \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":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b830cfb3a0ed9a9185eb5fb124413a7ec7a5fa8892dfe83ea31da3272960fc2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/components/reading/ReaderPane.tsx:343 \u00B7 web/components/space/learning/MasteryStudy.tsx:330 \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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"09532074ad7350bbffad450234741ba86e7a5dcb68d7cfc999b32fde7f271181"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): web/components/reading/TextUnitView.tsx:458 \u00B7 web/features/chat/components/ChatWorkspace.tsx:1794 \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":"web/components/reading/TextUnitView.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"a653bbf166b71c0d4be6d5a203f6a511cec1ca6c771f64ce1ee80c137dd02c2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/components/reading/library/FolderDialog.tsx:132 \u00B7 web/components/reading/library/MaterialLibrary.tsx:701 \u00B7 web/components/reading/library/ReadingLibrary.tsx:509 \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":"web/components/reading/library/FolderDialog.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f01fba98f419c17aab239174203aee41f8edc9ff4e4fdcea8ba6d3208f4778"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/components/reading/workspace/ReadingCompanion.tsx:461 \u00B7 web/components/space/learning/MasteryStudy.tsx:857 \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":"web/components/reading/workspace/ReadingCompanion.tsx"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"4965cf6aa66e2aa1318df58ebc90a8d702aea1080fa1c2cae9f94fe223477874"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/components/reading/workspace/dialogs.tsx:158 \u00B7 web/features/settings/sections/VideoLearningSettingsSection.tsx:28 \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":"web/components/reading/workspace/dialogs.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"407776cfb625f7b5fd3638d800e7983beb4e80747fdd0b922cf7e0c1808747ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/components/research/ResearchConfigPanel.tsx:102 \u00B7 web/components/research/ResearchConfigPanel.tsx:116 \u2014 both copies are in the same file, so extract the block 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":"web/components/research/ResearchConfigPanel.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4f023f4d0c6d695317ed8b8ed735d5616a55534f2f52c075e07cd02829856a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/components/space/learning/RouteDraftEditor.tsx:216 \u00B7 web/components/space/learning/RouteDraftEditor.tsx:235 \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":"web/components/space/learning/RouteDraftEditor.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ff27e956dc9b5c58d49433b9d46c0c5e43ea5b0dd64b59d565e0b9b15788d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): web/components/space/question-bank/CategoryManager.tsx:119 \u00B7 web/components/space/question-bank/QuestionCard.tsx:290 \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":"web/components/space/question-bank/CategoryManager.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbbd43010bdd898cb8f4d8ac1813f554cd576251e3bfd1385156df24e2de445"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): web/features/calendar/components/EventEditor.tsx:88 \u00B7 web/features/calendar/components/EventEditor.tsx:106 \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":"web/features/calendar/components/EventEditor.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c94e8f2bcc33b4a5a7b990192e66352bf3d19b79987baa897ef2334e5766136"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/features/chat/ChatStateAdapter.tsx:868 \u00B7 web/features/chat/ChatStateAdapter.tsx:888 \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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6dad34bfd7596e1ca704ea74aa1b43b0b5215c96db1c4706dd27e365fce98b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): web/features/chat/ChatStateAdapter.tsx:983 \u00B7 web/features/chat/ChatStateAdapter.tsx:1151 \u00B7 web/features/chat/ChatStateAdapter.tsx:1483 \u00B7 web/features/chat/ChatStateAdapter.tsx:1619 \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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6053afa3ddcd0421692754376eaf2d7edb1860be38d2ca2d097699d9076466"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/features/chat/messages/ChatMessageList.tsx:2127 \u00B7 web/features/chat/messages/ChatMessageList.tsx:2174 \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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":2127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5193e9d3a0ebc1c0b9fc9c4dba96de63cc78dacab00f422eb92bd38a2286ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/features/chat/trace/TracePresentation.tsx:1436 \u00B7 web/features/chat/trace/TracePresentation.tsx:1471 \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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b21d8d30df2c7e850d2a233193fcb138ca7116850402beed5fe6935bc105a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/features/knowledge/api/client.ts:1216 \u00B7 web/features/knowledge/api/client.ts:1279 \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":"web/features/knowledge/api/client.ts"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77212c541272cf02b54f134e355ecd898f6e001df406f69ebb07710631fc336"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/features/knowledge/api/client.ts:1733 \u00B7 web/features/knowledge/api/client.ts:1816 \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":"web/features/knowledge/api/client.ts"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99acb68523d9c115025bce6ef8970995f6d14c194d15df41ff348fac94168ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/features/multi-user/components/GrantEditor.tsx:647 \u00B7 web/features/multi-user/components/GrantEditor.tsx:661 \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":"web/features/multi-user/components/GrantEditor.tsx"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8bde6cab14cd6296d2d828bfba6f758e5c1882e2fa3dcd29c33562f8821bfe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/features/settings/sections/DocumentParsingSettingsSection.tsx:230 \u00B7 web/features/settings/sections/DocumentParsingSettingsSection.tsx:245 \u00B7 web/features/settings/sections/DocumentParsingSettingsSection.tsx:260 \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":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c95c8dd89e30dba3e5c24c5032e2100121ecdc6415217b6e182a0005f269c28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/features/settings/sections/models/ImageSettingsSection.tsx:5 \u00B7 web/features/settings/sections/models/SttSettingsSection.tsx:5 \u00B7 web/features/settings/sections/models/VideoSettingsSection.tsx:5 \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":"web/features/settings/sections/models/ImageSettingsSection.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"931f78fafd950ea78ecc584ea1fe41d622591015347a4ee9c666dc1ef940cb43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/features/settings/store/SettingsStore.tsx:1743 \u00B7 web/features/settings/store/SettingsStore.tsx:1815 \u00B7 web/features/settings/store/SettingsStore.tsx:1911 \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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecd363c82fecd45ffa8f77ee74e0012c7466af022a0a5021d7b4b5383a33131"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/lib/admin-api.ts:112 \u00B7 web/lib/admin-api.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":"web/lib/admin-api.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cab0deeae545a55a9637335ad708c5db993b36b69b3f9d93c71a6ed346ebec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/lib/partner-groups-api.ts:157 \u00B7 web/lib/partner-groups-api.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/partner-groups-api.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9d83fece1887927561081c9e2c46408a5c1015117d3d9aea92d084d0e7eedb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/lib/partners-api.ts:473 \u00B7 web/lib/partners-api.ts:736 \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":"web/lib/partners-api.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d444e6ed78962abe53f59f8b44f0fa39398efb18bc8c60b7c2b0b7a82cca124"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/lib/personas-api.ts:61 \u00B7 web/lib/skills-api.ts:90 \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":"web/lib/personas-api.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"802a2686f8b9782124da76b6b6e2e498eaa6675639dab6bc39765cf3f0e2795f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/chat/ReadingReferencePicker.tsx:93 \u00B7 web/components/chat/ReadingReferencePicker.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":"web/components/chat/ReadingReferencePicker.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d073c2b165b3cb929296e8f44a9b74fb038288b9b5100b4e3fafc47bdf66a179"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/chat/home/ContextBudgetChip.tsx:185 \u00B7 web/components/partners/group/GroupSessionPicker.tsx:56 \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":"web/components/chat/home/ContextBudgetChip.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29682f17c20507807bd23a61052e0abfeb9fb2b709df28b0689eb0f84f7dbc2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): web/components/chat/home/SessionActivityPanel.tsx:223 \u00B7 web/components/chat/home/SessionActivityPanel.tsx:257 \u00B7 web/components/chat/home/SessionActivityPanel.tsx:270 \u00B7 web/components/chat/home/SessionActivityPanel.tsx:283 \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":"web/components/chat/home/SessionActivityPanel.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"392ec5b0d380e196bdd9916a0c7f7815a8e0321bc7ce0fd1824fdb9a2e7c6186"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/chat/home/SessionActivityPanel.tsx:341 \u00B7 web/components/chat/home/SessionActivityPanel.tsx:386 \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":"web/components/chat/home/SessionActivityPanel.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"342a01eb403ad095ffcf616597285432f92b72afdd88a5188a4ff11a860a7e31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/chat/home/SessionViewerPanel.tsx:726 \u00B7 web/components/chat/home/SessionViewerPanel.tsx:965 \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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"6682efb5081519b63c606e01cc9284c09bd5a7c6408607cb6a8895bd419b87b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/chat/home/SessionViewerPanel.tsx:1310 \u00B7 web/components/chat/preview/FilePreviewDrawer.tsx:126 \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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cf106f24e4cdee7d5204804b54a722fc26dfddb3fbfc4c5f59700e5562b138"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/chat/home/SessionViewerPanel.tsx:1753 \u00B7 web/components/chat/preview/FilePreviewDrawer.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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"237f87ad0ab33aaebfc08598c4c0ae9a21165be0ace513079a8c421b52a11a83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/knowledge/CreateKbModal.tsx:234 \u00B7 web/features/chat/components/ChatWorkspace.tsx:1491 \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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a773e9c58ef64e32b5225c6e21bb00183ff84d50b8c4eb51c662d2eb70cd2482"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/layout/instance-crumbs.tsx:56 \u00B7 web/components/layout/instance-crumbs.tsx:80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/layout/instance-crumbs.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d74d79814833eec8005855042fcceb44763d5598241e4d25bba581e4fc8421"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): web/components/mcp/McpCatalogBrowser.tsx:296 \u00B7 web/components/space/PersonasSection.tsx:276 \u00B7 web/components/space/SkillsSection.tsx:592 \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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2005fdcaebe57e3985edfeeafb2cc33b2d2287d186bb63dca2068550fc733711"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/memory/MemoryGraph.tsx:189 \u00B7 web/components/memory/MemoryGraph.tsx:203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemoryGraph.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6853ae5073b1f009555c9dd9168a73f331b1ba78eb9a625f15a1a8315c5993"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/memory/MemorySection.tsx:1493 \u00B7 web/components/memory/MemorySection.tsx:1529 \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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"2392910d41c5662dd54f566def8c8429fc5da0cb863314eb4754e20b794ffa03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/partners/PartnerChat.tsx:971 \u00B7 web/components/partners/PartnerChat.tsx:991 \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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"0981b0f3241addadf2b79d36b11a1a583a09944259b2f5d7fc00b4a2635e5e39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): web/components/partners/group/GroupEmptyState.tsx:45 \u00B7 web/components/partners/group/PartnerSeat.tsx:186 \u00B7 web/components/partners/group/RoundSummaryAction.tsx:56 \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":"web/components/partners/group/GroupEmptyState.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fc555894b50365f4b058c88ffd8b33573bca44539c429eb7395659b14ec43b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/reading/workspace/ReadingCompanion.tsx:525 \u00B7 web/components/space/learning/MasteryStudy.tsx:917 \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":"web/components/reading/workspace/ReadingCompanion.tsx"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"0620018f5a91ec8f37a41f663f130a30ea701bd853b99a25ebf58a6c92c62e80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): web/components/reading/workspace/dialogs.tsx:220 \u00B7 web/components/reading/workspace/dialogs.tsx:338 \u00B7 web/components/reading/workspace/dialogs.tsx:382 \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":"web/components/reading/workspace/dialogs.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e869b2e4c3e5ca548d559890eb3e0e9774a6676d52f4225b9d12ee29cee5533f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/settings/MinerUEngineSettings.tsx:186 \u00B7 web/features/settings/sections/DocumentParsingSettingsSection.tsx:1078 \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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6ff9862bd391ef3912b1d1db21f240fa58f189837f8f1810900385519d5538"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/settings/MinerUEngineSettings.tsx:250 \u00B7 web/features/settings/sections/DocumentParsingSettingsSection.tsx:1143 \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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ea52f7716ed13dc67ae0dd0f67b53a80e09b050516cdae231677da06a674cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): web/components/settings/SettingsReadinessPanel.tsx:130 \u00B7 web/features/settings/sections/ArchivedChatsSettingsSection.tsx:58 \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":"web/components/settings/SettingsReadinessPanel.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01469f093f321e0d9afbe56b486dfd31575641e0631bad1bb102a4aa7b21343"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/settings/SubagentSettingsEditor.tsx:590 \u00B7 web/components/settings/SubagentSettingsEditor.tsx:611 \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":"web/components/settings/SubagentSettingsEditor.tsx"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"36248ad15613aeee933f05c8e34d0bac15835e51c19a465f5cabdb65f1635697"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/settings/WebFetchBackendCard.tsx:97 \u00B7 web/features/settings/sections/AttachmentsSettingsSection.tsx:125 \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":"web/components/settings/WebFetchBackendCard.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c569fa4fd2c8e5c0c573d4441f1f507436fcbe8eb1f7e98334e1e2b98ea229"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): web/components/settings/WebFetchBackendCard.tsx:134 \u00B7 web/features/settings/sections/AttachmentsSettingsSection.tsx:161 \u00B7 web/features/settings/sections/NetworkSettingsSection.tsx:238 \u00B7 web/features/settings/sections/StartersSettingsSection.tsx:138 \u2014 the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/WebFetchBackendCard.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbe259cb442096b09bb730f27257185984dbc1c728a99b732621cdd862bf2dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/components/space/question-bank/useQuestionBank.ts:298 \u00B7 web/components/space/question-bank/useQuestionBank.ts:313 \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":"web/components/space/question-bank/useQuestionBank.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"715c99030661ea68348202aa33612ca8b04029827fdf68ed8014c1c75184e4b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): web/features/calendar/components/CalendarRail.tsx:286 \u00B7 web/features/calendar/components/CalendarRail.tsx:421 \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":"web/features/calendar/components/CalendarRail.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba75091e9a4b3deecd288e9ba946c8a97017c70400b82ab611f29cab0189bc4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/features/multi-user/components/GrantEditor.tsx:260 \u00B7 web/features/multi-user/components/GrantEditor.tsx:289 \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":"web/features/multi-user/components/GrantEditor.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"3099911214a74ca7380405b723b3c830e78c2589239b0fe7e7b850a1d6d7d5cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/features/settings/sections/CapabilitiesSettingsSection.tsx:503 \u00B7 web/features/settings/sections/CapabilitiesSettingsSection.tsx:529 \u2014 both copies are in the same file, so extract the block 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":"web/features/settings/sections/CapabilitiesSettingsSection.tsx"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcc8de14d46c4c292851c3252ed77c1b4f25f720aeaf6e1b125237c3fb2be5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/hooks/useKnowledgeBases.ts:258 \u00B7 web/hooks/useKnowledgeBases.ts:322 \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":"web/hooks/useKnowledgeBases.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"885ee3809d5fc9c44ebf84b364f08251ea2218ac628d44ad50c307ae03abbed2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/hooks/useKnowledgeBases.ts:425 \u00B7 web/hooks/useKnowledgeBases.ts:439 \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":"web/hooks/useKnowledgeBases.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e733b17653c8906bb8697f3eff29c873167f27c4adcd0c11f991f9ede1f86b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/lib/guardian-api.ts:172 \u00B7 web/lib/guardian-api.ts: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":"web/lib/guardian-api.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0db46308415859d8772e2f5823ac367ff281f589957a1536019e97e4ae6e47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/lib/memory-graph.ts:500 \u00B7 web/lib/memory-graph.ts:531 \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":"web/lib/memory-graph.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ebd746ff6d0f1997d67c15508bcee6379c25f01edd97cc59635f2ed2e34476"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/lib/notebook-api.ts:386 \u00B7 web/lib/notebook-api.ts:409 \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":"web/lib/notebook-api.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb62a0ab8f343127f8e06315a0c4b3ed04d0b8f7f4c1418de51b7925572535ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/lib/notebook-api.ts:578 \u00B7 web/lib/notebook-api.ts:602 \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":"web/lib/notebook-api.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22156a69ace1dcac0998a4a17e7035b5e401f82e57bb4825b1dd48cf71e397a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5 locations): web/lib/partner-groups-api.ts:133 \u00B7 web/lib/partners-api.ts:225 \u00B7 web/lib/partners-api.ts:350 \u00B7 web/lib/partners-api.ts:573 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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":"web/lib/partner-groups-api.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff7b761414f8b7937f62c6fa21ed217b6a6ddf35fbd7484f0e8495db511ec7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/lib/reading-api.ts:216 \u00B7 web/lib/reading-api.ts:411 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/reading-api.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd39cdd64890cae847fe60c3846ca3aba8b4b96016b739a171e102effbb2584e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/lib/reading-display-preferences.ts:87 \u00B7 web/lib/reading-zoom.ts:318 \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":"web/lib/reading-display-preferences.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"637fad8c5a34fda7ca99f217d4c540c0fe39f3b7569550940837e9f8559c7612"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): web/app/(workspace)/partners/[partnerId]/page.tsx:249 \u00B7 web/app/(workspace)/partners/groups/[groupId]/page.tsx:85 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 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":"web/app/(workspace)/partners/[partnerId]/page.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3a7e38d9f8d0bb8a8d259dcbde3b913b4ca9100edb183c851c2af19fd56556"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): web/app/(workspace)/partners/groups/[groupId]/page.tsx:195 \u00B7 web/components/reading/library/ReadingLibrary.tsx:353 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e61a2a7649f0d6dc255d13d7dca27a012addbc8cccff7aa89f20b2430601a9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/components/chat/HistorySessionPicker.tsx:151 \u00B7 web/components/space/ChatHistorySection.tsx:142 \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":"web/components/chat/HistorySessionPicker.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ba3ae764b2e06e4d489367aa67f4945f9af2daaaebf4952aa5a5a56083a3be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/components/chat/MyAgentsPicker.tsx:517 \u00B7 web/components/chat/QuestionBankPicker.tsx:371 \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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcecb6deb7a598ba3553874d7a1226f284cd5c41fb38d73523676b26f7db2b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/components/chat/home/StandaloneComposer.tsx:365 \u00B7 web/features/chat/components/ChatWorkspace.tsx:1965 \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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8556a506d1759034c7baaba92c4cd20513b3da111e90d72457f667d8d7b931"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): web/components/chat/preview/previewers/MarkdownPreview.tsx:16 \u00B7 web/components/chat/preview/previewers/TextPreview.tsx:33 \u00B7 web/components/chat/preview/previewers/XlsxPreview.tsx:94 \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":"web/components/chat/preview/previewers/MarkdownPreview.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59aa22b4f8413fc3c11e2000d6cc62c95df9191cd7a4e1eaf5816333b8d31d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/components/cli-apps/CliAppsSection.tsx:107 \u00B7 web/components/space/McpStoreSection.tsx:61 \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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"43274ccbe0576bfb9b200d96d334799188ae700da4469a32499aa3877546e5d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/components/cli-apps/CliAppsSection.tsx:563 \u00B7 web/components/cli-apps/CliAppsSection.tsx:649 \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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5446cdac437a919113f9e2855441788cea310f5474ca405b99f2f041cda91f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/components/knowledge/CreateKbModal.tsx:934 \u00B7 web/components/knowledge/CreateKbModal.tsx:1459 \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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98f6877ece3a7efb142326dbea57a3a23bca7c2ebe88d2a3f79374e3d15bfef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/components/knowledge/CreateKbModal.tsx:1369 \u00B7 web/components/knowledge/CreateKbModal.tsx:1599 \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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b95e11bb84717a05babca86e5a0df34e01dfeb0d7a4336133c734759db202e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/components/knowledge/LightRagRoleModelsEditor.tsx:328 \u00B7 web/components/knowledge/LightRagRoleModelsEditor.tsx:342 \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":"web/components/knowledge/LightRagRoleModelsEditor.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf96e375de97eb1504989899aec835926ea88c5ad95cf4c8e402aef6542470b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): web/components/learning/practice/PracticeImport.tsx:30 \u00B7 web/components/learning/practice/PracticeImport.tsx:46 \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":"web/components/learning/practice/PracticeImport.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3efdca9bfd5f803dc8a9e21653c5bb0029b3312ea50c02cc8ef28816afabaa0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): web/components/partners/PartnerConfigure.tsx:179 \u00B7 web/components/partners/PartnerConfigure.tsx:199 \u00B7 web/components/partners/PartnerConfigure.tsx:250 \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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22b3dfaae60088aa266ff18f531c56ed66febdd9b29b28677268d5e58afaf0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): web/components/reading/AnnotationList.tsx:113 \u00B7 web/components/sessions/OrganizedSessionList.tsx:316 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/AnnotationList.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3037ff91d11434e33ba11cc24fe0871c40be24f8c09d13e95961bf21119c6dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): web/components/reading/PdfDocumentView.tsx:945 \u00B7 web/features/chat/components/ChatWorkspace.tsx:1794 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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":"web/components/reading/PdfDocumentView.tsx"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fa05f865426d2d71647f8a89f3f24d18c69d881ddaf265309edfc95f9044f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/components/reading/library/MaterialLibrary.tsx:667 \u00B7 web/components/reading/library/ReadingLibrary.tsx:480 \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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82cd875c3902f1bc27610565ab780145903d352e2b20955369f635768a3f745"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): web/components/reading/workspace/WorkspaceMenu.tsx:50 \u00B7 web/features/chat/components/SelectionActions.tsx:63 \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":"web/components/reading/workspace/WorkspaceMenu.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"684ced990da286e497422b45a80775694a7ba6f67757160297e972fd834d7751"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): web/components/settings/MinerUEngineSettings.tsx:128 \u00B7 web/components/settings/WebFetchBackendCard.tsx:61 \u00B7 web/features/settings/sections/StartersSettingsSection.tsx:63 \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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d21a99925e0dc074ec4bc05be265f9a3abb4306cf5ac772149864b4b254156"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): web/components/settings/MinerUEngineSettings.tsx:221 \u00B7 web/features/settings/store/SettingsStore.tsx:2271 \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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec477aa228a5e2415cbf23346b74d0674a2e0e6eeec49b92902a09f27d96c519"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/components/settings/VoiceModelFields.tsx:40 \u00B7 web/components/settings/VoiceModelFields.tsx:86 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/VoiceModelFields.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9d84513eeeea479233a7e17adfb67c3f7dbba8352983b86c8bb54638f87de6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/components/sidebar/PartnerNavigation.tsx:29 \u00B7 web/components/sidebar/PartnerNavigation.tsx:62 \u2014 both copies are in the same file, so extract the block 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":"web/components/sidebar/PartnerNavigation.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e179da6350b7114daf6d211ca9a403c7b2a0a5d5c737ac55513714a92aa8fc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/components/space/learning/RouteDraftEditor.tsx:165 \u00B7 web/components/space/learning/RouteDraftEditor.tsx:254 \u2014 both copies are in the same file, so extract the block 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":"web/components/space/learning/RouteDraftEditor.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e8251ea651d85e61ec3c0e1f38073d33c22bb2ed0e2fb9c430af24035a06c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/features/chat/trace/selectors.ts:11 \u00B7 web/features/chat/trace/selectors.ts:27 \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":"web/features/chat/trace/selectors.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfaedc0bf1ea6b38164226b88bd9edfbb7aa1507a8fa757a9dfefd232721f33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/features/co-writer/components/CoWriterWorkspace.tsx:803 \u00B7 web/features/co-writer/components/CoWriterWorkspace.tsx:824 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e01b6cddf4157b55ad747265e340dc9a5d6331c7549ae33e3712f0a8dc2619"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/features/co-writer/components/CoWriterWorkspace.tsx:1131 \u00B7 web/features/co-writer/components/CoWriterWorkspace.tsx:1177 \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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"52127a7299a585f179cbf59c0967f0c433d31f7b33650a860ffd04d88d266efa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/features/co-writer/components/CoWriterWorkspace.tsx:1929 \u00B7 web/features/co-writer/components/CoWriterWorkspace.tsx:2035 \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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f65767310878e5e3b0c72c27efe94bb66d644aaf985a615f9b63eaf9d228222"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7 locations): web/features/knowledge/api/client.ts:1039 \u00B7 web/features/knowledge/api/client.ts:1591 \u00B7 web/features/knowledge/api/client.ts:1763 \u00B7 web/features/multi-user/api.ts:34 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 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":"web/features/knowledge/api/client.ts"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d98a8edb8538a4a5074e764c38f3d930b5347ddd4223f3a364436051fd155f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): web/features/knowledge/components/engines/EngineDetail.tsx:1030 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:1096 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:1225 \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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef1b14309a7c0346b67b70b018447c4117f5707e3310603df63b44d7dacc0c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/features/settings/store/SettingsStore.tsx:2067 \u00B7 web/features/settings/store/SettingsStore.tsx:2166 \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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":2067}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7127f17bbbc3f091ecf07df70b40ea669a13c1a7ba5887f35570004ea67698"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/hooks/useTopicSourceLibrary.ts:429 \u00B7 web/hooks/useTopicSourceLibrary.ts:443 \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":"web/hooks/useTopicSourceLibrary.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d349f4c53d0cb509e8177a5fd17d96797e5f3653a22cac0465640ae1a595e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/lib/reading-api.ts:303 \u00B7 web/lib/reading-api.ts:355 \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":"web/lib/reading-api.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d05e0830ca606f4ba61dfca7db1a355189643650826708d3330fa7981e61f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): web/app/(admin)/admin/users/page.tsx:834 \u00B7 web/app/(utility)/profile/page.tsx:450 \u00B7 web/app/(utility)/profile/page.tsx:461 \u00B7 web/app/(utility)/profile/page.tsx:472 \u2014 the 4 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":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8c47a0a031a842d28741f9d3b19f24b7c34ad026c3125fc4f7d4af69651dc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/app/(utility)/profile/page.tsx:451 \u00B7 web/app/(utility)/profile/page.tsx:462 \u00B7 web/app/(utility)/profile/page.tsx:473 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(utility)/profile/page.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55202523039b0ec19fcd990c60bdb2627a0e0f1056833d3d348f68d5953a04f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/app/(workspace)/learning/books/components/BookCreator.tsx:379 \u00B7 web/app/(workspace)/learning/books/components/BookCreator.tsx:400 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/BookCreator.tsx"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"340df67959602374daaebf16657b7dc4ee259e5ec8932598e79a6471fc24316e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/components/chat/MyAgentsPicker.tsx:361 \u00B7 web/components/chat/PersonaPicker.tsx:120 \u00B7 web/components/chat/QuestionBankPicker.tsx:263 \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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cdcc98f2c68373ee9dea8ac68b1f0b35f734aae7fa1a8b6e23071e9effff89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/chat/home/AskUserOptions.tsx:482 \u00B7 web/components/chat/home/AskUserOptions.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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d481c7da3ddbe4f896bb5067b10312ae37a8faa2858d6ab4e05940c540382c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/chat/home/ComposerInput.tsx:386 \u00B7 web/components/chat/home/ComposerInput.tsx:405 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/ComposerInput.tsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bc736d1340e226e7f8d6d5bfb3cdce129e8b1e73c034542d8d17e09694e203"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): web/components/chat/home/ComposerTrayFold.ts:39 \u00B7 web/hooks/useUiLayout.ts:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 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":"web/components/chat/home/ComposerTrayFold.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bc2b0f3936bc0f1d732f397ce05268fc434534b6ea6c5f4e84fd1ddcc9b920"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/chat/home/StandaloneComposer.tsx:295 \u00B7 web/features/chat/components/ChatWorkspace.tsx:474 \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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5b3af507a55279a6d819967a3519485f99fab4b2776c5adc0d31ebde1738e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/chat/home/StandaloneComposer.tsx:562 \u00B7 web/components/partners/PartnerComposer.tsx:370 \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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"6727c8093d33ec7e84b95ae58a3b111dac7fa93723b339067911533ab5afa562"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/chat/home/StandaloneComposer.tsx:793 \u00B7 web/features/chat/components/ChatWorkspace.tsx:2215 \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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7b152beae503094014c6c28d198da0641ee2ad931d2fb706e644ed6c87c02b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/chat/preview/previewers/ImagePreview.tsx:15 \u00B7 web/components/chat/preview/previewers/VideoPreview.tsx:8 \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":"web/components/chat/preview/previewers/ImagePreview.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0adcb860ac455993cc255048c982c62bc3d0875f5aad8a38ddaa78084e13ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/chat/preview/previewers/useBinarySource.ts:50 \u00B7 web/components/chat/preview/previewers/useTextSource.ts:64 \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":"web/components/chat/preview/previewers/useBinarySource.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd1b28296377e57e4580d1ab0dd17a983d8e9cb80bd40dc9fa2fe9fe6e22346"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/knowledge/CreateKbModal.tsx:1209 \u00B7 web/components/knowledge/CreateKbModal.tsx:1340 \u2014 both copies are in the same file, so extract the block 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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48e650382165fe2f6a3fbbbaa1d5bf8ff5c483d2b6ef57dee07ed013b3c8e0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/knowledge/FileDropZone.tsx:358 \u00B7 web/components/knowledge/KbGitHubSourcesSection.tsx:302 \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":"web/components/knowledge/FileDropZone.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23d8ce19d4fe7b94683f0bd148387a30227d6a04448e5c77063a9875f18b6ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/components/knowledge/KbDocumentList.tsx:218 \u00B7 web/components/knowledge/KbGitHubSourcesSection.tsx:102 \u00B7 web/features/multi-user/components/BookPermissionEditor.tsx:72 \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":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"075b496bafa8827bb91391dcd3a195b81aa8abf9065b27dc45eb68653f28b3a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/learning/LearningWays.tsx:72 \u00B7 web/components/learning/LearningWays.tsx:228 \u2014 both copies are in the same file, so extract the block 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":"web/components/learning/LearningWays.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f0c9638162d2366b3089eff438e91ebe51009bde001a4727e609f27b79e76c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/components/mcp/McpServerForm.tsx:232 \u00B7 web/components/mcp/McpServerForm.tsx:255 \u00B7 web/components/mcp/McpServerForm.tsx:283 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"48204187d47bf8645069a04a73b11b74516870f923dd2ff828762dbeb4a4cc52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/notebook/NotebookConsole.tsx:264 \u00B7 web/components/notebook/NotebookConsole.tsx:709 \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":"web/components/notebook/NotebookConsole.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bce6be87995ff5ceb860692af05aa4b024257206104b455d7dfacaba5713224"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): web/components/reading/AnnotationList.tsx:114 \u00B7 web/components/space/MyAgentsSection.tsx:436 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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":"web/components/reading/AnnotationList.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8873c669b1543d2be72916365657eb3da4481c58d854325eeb2ac91ba397ef5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/reading/TextUnitView.tsx:254 \u00B7 web/hooks/useWorkspaceChatActions.ts:83 \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":"web/components/reading/TextUnitView.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44d36db445c4ceacb2bd73decfc6cd988abd27c75b17aa0432553887aa7331c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): web/components/sessions/OrganizedSessionList.tsx:317 \u00B7 web/components/space/MyAgentsSection.tsx:436 \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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb4f8323e70e57906fd3842773698ad77c123f7f9a2f31cb6639d770156f054"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): web/components/settings/ModelCapabilityFields.tsx:57 \u00B7 web/features/settings/store/SettingsStore.tsx:2095 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 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":"web/components/settings/ModelCapabilityFields.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf06264be2852f80430968b0a40e73c6e7124e739b8997f6e5ff046ee6ccfb5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/components/settings/SubagentSettingsEditor.tsx:698 \u00B7 web/components/settings/SubagentSettingsEditor.tsx:726 \u00B7 web/components/settings/SubagentSettingsEditor.tsx:777 \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":"web/components/settings/SubagentSettingsEditor.tsx"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6504d6eec57f94fae2230ff6e9fc2265ca6e06a08829e2ec1a99e804dfde0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/components/settings/SubagentSettingsEditor.tsx:821 \u00B7 web/components/settings/SubagentSettingsEditor.tsx:879 \u00B7 web/components/settings/SubagentSettingsEditor.tsx:900 \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":"web/components/settings/SubagentSettingsEditor.tsx"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7fcb39e32bdfba38e9f8d6e89245ddc1078214a3ac3fa1e79a6f5ec4491154"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/space/ImportWizard.tsx:522 \u00B7 web/components/space/ScopeEditorModal.tsx:158 \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":"web/components/space/ImportWizard.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6f25399226facfede1a8f7191b2c6113a8c2cdc0dd17efb8a4af945e6fcd65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/space/question-bank/useQuestionBank.ts:337 \u00B7 web/components/space/question-bank/useQuestionBank.ts: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":"web/components/space/question-bank/useQuestionBank.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5a5b883cfc5632f1d4f2b377f375ff5807aead4f4871bb7e81c02dda815399"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/components/watching/WatchingMarksPanel.tsx:75 \u00B7 web/components/watching/WatchingMarksPanel.tsx:150 \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":"web/components/watching/WatchingMarksPanel.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fc0e665e667e7885023d404bda9a843747bb12e214683cabbb43f60b942fe6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/context/QuizFollowupContext.tsx:587 \u00B7 web/features/chat/ChatStateAdapter.tsx:3644 \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":"web/context/QuizFollowupContext.tsx"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"3773374f51b9b355ec4f6bd751d3f0db6263351c310eb5cd183dd32aa8d5b6b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): web/features/calendar/transport/export.ts:11 \u00B7 web/lib/reading-api.ts:642 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 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":"web/features/calendar/transport/export.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7224a6fde2f3efa1561aba65b8fa6c27c9151a51e9a95dec160ccebdc9fde980"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/features/chat/ChatStateAdapter.tsx:3719 \u00B7 web/features/chat/ChatStateAdapter.tsx:3739 \u00B7 web/features/chat/ChatStateAdapter.tsx:3814 \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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":3719}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5f5e4532a0c2c7679adad67ddd20aa3ee829aefde18857e91c498b73ceb880"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): web/features/chat/ChatStateAdapter.tsx:3021 \u00B7 web/hooks/useUiLayout.ts:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":3021}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c4d9f50ba8397d5bfa33a9cf2f8e8cdcdfcbd9a24b6343a2f8a29161c3a667"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/features/chat/messages/ChatMessageList.tsx:1465 \u00B7 web/features/chat/messages/ChatMessageList.tsx:1477 \u2014 both copies are in the same file, so extract the block 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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d695e4aa11b07a751ad7a705a91ed3bd71959e057c1bbab7efd65b1351de75c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): web/features/co-writer/components/CoWriterWorkspace.tsx:1292 \u00B7 web/hooks/use-outside-click.ts:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e5a00949a334193607f773bc290d78f723e9cb0f696741293d994f09bb7b84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): web/features/co-writer/hooks/useSplitPane.ts:19 \u00B7 web/features/co-writer/hooks/useSynchronizedScroll.ts:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 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":"web/features/co-writer/hooks/useSplitPane.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8029b87a4f2f89888c6b925832a2cc0b02847f175435673611e296ae96fefd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/features/multi-user/components/GrantEditor.tsx:539 \u00B7 web/features/multi-user/components/GrantEditor.tsx:585 \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":"web/features/multi-user/components/GrantEditor.tsx"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29be1e283ab983e195bad9ce1ff4654ced51b6575fad2f975ec300568534e1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/features/notes/components/NotePageHead.tsx:197 \u00B7 web/features/notes/components/NotePageHead.tsx:210 \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":"web/features/notes/components/NotePageHead.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"450460cf69ca4fdf065738f97cf5c0b0b21eebfa737d560679d37c5bbae09fed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/features/settings/sections/CapabilitiesSettingsSection.tsx:485 \u00B7 web/features/settings/sections/CapabilitiesSettingsSection.tsx:508 \u00B7 web/features/settings/sections/CapabilitiesSettingsSection.tsx:534 \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":"web/features/settings/sections/CapabilitiesSettingsSection.tsx"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacc6c436b5f6ce013b2a6afe60715387677b5da5579107f5a21f368d4a12b0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/features/settings/sections/StartersSettingsSection.tsx:43 \u00B7 web/features/settings/sections/StartersSettingsSection.tsx:102 \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":"web/features/settings/sections/StartersSettingsSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10138e59844404f7260801fd0d94626f113b03827b29a5f1208a6a2edef6f7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 11 locations): web/features/settings/sections/models/ConnectionsSettingsSection.tsx:1 \u00B7 web/features/settings/sections/models/EmbeddingSettingsSection.tsx:1 \u00B7 web/features/settings/sections/models/ImageSettingsSection.tsx:1 \u00B7 web/features/settings/sections/models/LlmSettingsSection.tsx:1 \u00B7 \u002B7 more site(s) not listed \u2014 the 11 copies are spread across 11 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":"web/features/settings/sections/models/ConnectionsSettingsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5366c02be9e1c11ed146f3804eda873f9dd377129e49450aeb6b038b517d73d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/features/settings/store/SettingsStore.tsx:1233 \u00B7 web/features/settings/store/SettingsStore.tsx:1462 \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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cada3faccbc47f353b0cc6cedf1e76a59c24c1c9eb3a2ef937eeb25710537b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/features/settings/store/SettingsStore.tsx:1687 \u00B7 web/features/settings/store/SettingsStore.tsx:2133 \u2014 both copies are in the same file, so extract the block 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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2adc2df5d00182a4e5ca1ca088abc03fae0bde4ab98851e39cd21078a64873"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/hooks/useKnowledgeProgress.ts:494 \u00B7 web/hooks/useKnowledgeProgress.ts:510 \u2014 both copies are in the same file, so extract the block 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":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed189609ebe8f6a59e21b64d4510161e87c6634695afc262b3ab23d494936ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/lib/creations-api.ts:39 \u00B7 web/lib/partners-api.ts:179 \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":"web/lib/creations-api.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c5560406085e8756b1cb2a63def3d82f3f692105b593b408f89d0dcac224d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/lib/favorite-content.ts:57 \u00B7 web/lib/favorite-content.ts:80 \u00B7 web/lib/favorite-content.ts:130 \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":"web/lib/favorite-content.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb420b77cc30fd6f93a866c285daf0b623e4d2a7545f3a54337d4705d3372ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/lib/favorite-content.ts:81 \u00B7 web/lib/favorite-content.ts:131 \u2014 both copies are in the same file, so extract the block 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":"web/lib/favorite-content.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0eaa619a145271175a4f63718d7269e78fcf238233a73f7c2f838d57cc6238"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/lib/personas-api.ts:76 \u00B7 web/lib/skills-api.ts: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":"web/lib/personas-api.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca9c83833cfeaf9eed4ecdca993dcdd7d2ceb58e8d8e302aac405c9616d7959"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): web/lib/reading-location-history.ts:81 \u00B7 web/lib/reading-location-history.ts:99 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 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":"web/lib/reading-location-history.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"244b35ed47a31549accf8c32b7b3f0c1c036c653d14b7f1b0845eb426e4c37ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): apps/desktop/src/main.mjs:259 \u00B7 apps/desktop/src/main.mjs:308 \u2014 the two spans are one implementation copied and then locally edited \u2014 114 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/main.mjs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f7179a9e7c0732bb69ae4e1bd3fb92b126ea9615979677e8402daf0adf3371"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/chat-engine/src/native/session.ts:418 \u00B7 packages/chat-engine/src/providers/service-call.ts:43 \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/chat-engine/src/native/session.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"6372d5ad68396f93385c578e22b550647656b3015756853db3be7388f97c37bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/chat-engine/src/native/types.ts:136 \u00B7 packages/chat-engine/src/native/types.ts:207 \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":"packages/chat-engine/src/native/types.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1647c9f224008cae1137fdc2bd56f174bd15e776c8b37e35e9b2d77f6a3406a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/chat-engine/src/providers/sse.ts:69 \u00B7 packages/chat-engine/src/providers/sse.ts:84 \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":"packages/chat-engine/src/providers/sse.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c368b6fe858700bf2bc8e6fdb50ea298f0e735e8eae9b8113df486de5197c11c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/app/(utility)/memory/l2/[surface]/page.tsx:16 \u00B7 web/app/(utility)/memory/l3/[slot]/page.tsx:8 \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":"web/app/(utility)/memory/l2/[surface]/page.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5cc3f25fbc73a0500578046aa4d9982f762cc2d0a7a5629acf3bda80bc6866"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/app/(utility)/settings/progress/page.tsx:60 \u00B7 web/app/(utility)/settings/progress/page.tsx:92 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(utility)/settings/progress/page.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d62084cd2c4a043680ddf0bb54bf4a42d0ba7f216a1764728d518129b6d22ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): web/app/(workspace)/co-writer/page.tsx:159 \u00B7 web/components/settings/CodeBuddyAuthCard.tsx:35 \u00B7 web/components/space/EduHubImportModal.tsx:92 \u00B7 web/components/space/PersonasSection.tsx:78 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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":"web/app/(workspace)/co-writer/page.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"315bfa45c02853fa7a40b830df13072daa63552f6f8aa4538156d7032916a8ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/app/(workspace)/learning/books/components/BookChatPanel.tsx:281 \u00B7 web/app/(workspace)/whisper/page.tsx:71 \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":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"940ce40cb9281f904acfcee9c8d681de7aa136f86fa008053d1cc70fe17de99d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/chat/MyAgentsPicker.tsx:73 \u00B7 web/components/space/ScopePicker.tsx:29 \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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e748fe9d78d49206bcabb0ba3f4c76365eb8039280facb83f7a11efe2f39623b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/chat/home/ChatComposer.tsx:756 \u00B7 web/components/chat/home/ChatComposer.tsx:915 \u2014 both copies are in the same file, so extract the block 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":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68a678d06bea2cb09afc4a63e0d9248e917caa972f80d62845bef15a2467991"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/chat/home/ChatViewerBridges.tsx:23 \u00B7 web/features/chat/components/ChatWorkspace.tsx:3214 \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":"web/components/chat/home/ChatViewerBridges.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c674cef81f41976b31ef5c33a5905618f453b52b5c42484abe7317c44314aec8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/chat/home/SessionViewerPanel.tsx:1612 \u00B7 web/components/chat/home/SessionViewerPanel.tsx:1622 \u2014 both copies are in the same file, so extract the block 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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbafa7f8569ea7fed98aa298937165b250749c5b15bc5528a5f585e0ad81cca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): web/components/chat/preview/previewers/MarkdownPreview.tsx:16 \u00B7 web/components/chat/preview/previewers/OfficeTextPreview.tsx:33 \u00B7 web/components/chat/preview/previewers/TextPreview.tsx:33 \u00B7 web/components/chat/preview/previewers/XlsxPreview.tsx:94 \u2014 the 4 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 4 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":"web/components/chat/preview/previewers/MarkdownPreview.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"886d69b7871fe36ac5db6e6e00d7291dd11866d0b9c699716a6ce82a60bfb2ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/common/RichMarkdownRenderer.tsx:131 \u00B7 web/components/common/SimpleMarkdownRenderer.tsx:39 \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":"web/components/common/RichMarkdownRenderer.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfc7a83e8ec5314627f5cac962b236716245845a4b3bb45661a366419e49264"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/knowledge/CreateKbModal.tsx:1073 \u00B7 web/components/knowledge/CreateKbModal.tsx:1203 \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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db27e8ca3a8eb631cb9c485969fc2c393164bdff22a52da3d2f65126e2d1225"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/knowledge/KbFilePreview.tsx:160 \u00B7 web/components/knowledge/KbFilePreview.tsx:259 \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":"web/components/knowledge/KbFilePreview.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce812b9e5811a5ea95982ec42224b7b090d0a7bc6515417fe10f038a3ed3a087"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/knowledge/KbLinkedFoldersSection.tsx:281 \u00B7 web/components/knowledge/KbWebSourcesSection.tsx:281 \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":"web/components/knowledge/KbLinkedFoldersSection.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7813e91d686c6796a1873355cf8921a767423bf624c5049365c90a4a4fd2c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): web/components/knowledge/KbSettingsSection.tsx:95 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:575 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:671 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:699 \u00B7 \u002B2 more site(s) not listed \u2014 the 3 copies are spread across 3 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":"web/components/knowledge/KbSettingsSection.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a77312e4d76ea9e563818f7facf8d0b7ddeb0ce52709ecb4a36346dfb86b367"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): web/components/layout/instance-crumbs.tsx:41 \u00B7 web/components/reading/workspace/ReadingBar.tsx:126 \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":"web/components/layout/instance-crumbs.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"891aa179b0599f5071c19ecfd8354dff43cf9f464821072da3c88efbdfb03c07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/components/notebook/NotebookRecordActions.tsx:69 \u00B7 web/components/reading/ReaderPane.tsx:285 \u00B7 web/components/reading/ReaderPane.tsx:312 \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":"web/components/notebook/NotebookRecordActions.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f263c1945a068a85dacdab80e0189fb22bc62a0503b856fb1644229009d0563b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/partners/PartnerArchives.tsx:171 \u00B7 web/components/partners/PartnerChat.tsx:382 \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":"web/components/partners/PartnerArchives.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58b76a5ef03716b0d727dec0b8cd7bc51e3b1939b129e43f8cb87e7f99b20ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): web/components/partners/PartnerChannels.tsx:129 \u00B7 web/components/space/ImportWizard.tsx:143 \u00B7 web/components/space/ScopeEditorModal.tsx:83 \u00B7 web/hooks/useMcpServers.ts:137 \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":"web/components/partners/PartnerChannels.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0a7aaad672e1b2a7dd2b98554bcd4dec414a76ecd9a91c67a491afb74850e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/partners/PartnerConfigure.tsx:217 \u00B7 web/components/partners/PartnerConfigure.tsx:228 \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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb339c4dc83731b7d2c4adb1d5037f5c8660f0ebee6ed3c6bbd6a759fa7a881b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): web/components/partners/group/outline.ts:46 \u00B7 web/components/partners/group/outline.ts:67 \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":"web/components/partners/group/outline.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d0938887497b2dd31d843f146598fa9fdd37b36c14fc85a19521c0ebdaebb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/reading/PdfDocumentView.tsx:360 \u00B7 web/components/reading/PdfDocumentView.tsx:444 \u2014 both copies are in the same file, so extract the block 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":"web/components/reading/PdfDocumentView.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5923410ca993ebce8e21b8938bd4e947b7adf827601e6d402ab3684cbecd7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/reading/library/ReadingFolder.tsx:136 \u00B7 web/components/reading/workspace/ReadingWorkspace.tsx:399 \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":"web/components/reading/library/ReadingFolder.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fb338b930440ee59449726b7427b6e3f1bb347f4d0add86c758fb537e924ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/reading/workspace/ReadingCompanion.tsx:446 \u00B7 web/components/space/learning/MasteryStudy.tsx:835 \u2014 the 2 copies are spread across 2 files, 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":"web/components/reading/workspace/ReadingCompanion.tsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dcca77cf515a4a42b0a4822bf49d1ea945005f3b20ef8b8e5a634a03cf9388"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): web/components/reading/workspace/WorkspaceMenu.tsx:51 \u00B7 web/components/ui/ConfirmDialog.tsx:40 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 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":"web/components/reading/workspace/WorkspaceMenu.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"959bd25c13ed8aff93e6fc06d5ec335b149439491b5b9c3d7a529116eefb78e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/components/settings/SettingsPresetsPanel.tsx:127 \u00B7 web/components/settings/SettingsPresetsPanel.tsx:139 \u00B7 web/components/settings/SettingsPresetsPanel.tsx:149 \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":"web/components/settings/SettingsPresetsPanel.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c84287cec694d3de039f0f52fc833f56d83c990b9efe81d348fca58873cb508"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): web/components/sidebar/WorkspaceMenu.tsx:96 \u00B7 web/components/sidebar/WorkspaceMenu.tsx:109 \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":"web/components/sidebar/WorkspaceMenu.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8eeb8d95c46303e47254f1e105ef8f8f0faf2a0cf78b397594723ea5950c84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/space/EduHubImportModal.tsx:370 \u00B7 web/components/space/SkillsSection.tsx:644 \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":"web/components/space/EduHubImportModal.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dcceab5733202b1d959652a956878cc67b855a13e61f37c55689005cc2eeb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/components/space/learning/CreateTopicWizard.tsx:218 \u00B7 web/features/co-writer/components/CoWriterWorkspace.tsx:2198 \u00B7 web/features/co-writer/components/CoWriterWorkspace.tsx:2406 \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":"web/components/space/learning/CreateTopicWizard.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ff360587d309ea16b7923faabe91fa0cf8166a97a6cf73f1bdc8fb934c4276"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/space/learning/MasteryStudy.tsx:844 \u00B7 web/features/chat/components/ChatWorkspace.tsx:2838 \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":"web/components/space/learning/MasteryStudy.tsx"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bbb78c8b4a8e0384b92afee44208034da5a37f130edee964ee75c70cbd71b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/components/workspaces/ServerFolderPicker.tsx:27 \u00B7 web/components/workspaces/WorkspaceResourcePicker.tsx:22 \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":"web/components/workspaces/ServerFolderPicker.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2338e21fab5729f1e9fa5112100d9597f3e83919ea3369da3bdc4074aafcf0da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): web/features/calendar/transport/api.ts:116 \u00B7 web/lib/practice-api.ts:57 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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":"web/features/calendar/transport/api.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7292012e26402159016d730bfffb147a9b6326d3cbef21e6212825044ec597cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/features/chat/ChatStateAdapter.tsx:2195 \u00B7 web/features/chat/ChatStateAdapter.tsx:2767 \u00B7 web/features/chat/ChatStateAdapter.tsx:2821 \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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5562b1ee949b44f6e438418a1cd17cdf8ace58f150c306ac7b135fb98ca8972"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/features/chat/trace/TracePresentation.tsx:1384 \u00B7 web/features/chat/trace/TracePresentation.tsx:1440 \u00B7 web/features/chat/trace/TracePresentation.tsx:1474 \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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d586877264b2f5610f0d699fa4b4bab36cabebfb20fcd327f6c66ec34baecc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): web/features/co-writer/components/CoWriterWorkspace.tsx:1055 \u00B7 web/lib/chat-import/streaming.ts:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d76e55d1aee2748405853b0687839dd9a9676032ae3a66ad14a5e096039dbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): web/features/knowledge/api/client.ts:842 \u00B7 web/features/knowledge/api/client.ts:868 \u00B7 web/features/knowledge/api/client.ts:999 \u00B7 web/features/knowledge/api/client.ts:1296 \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":"web/features/knowledge/api/client.ts"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"803f372b9df199aee74a6745ea539ca5ff51b1e42c627315cff9d0e4ba484175"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): web/features/knowledge/components/engines/EngineDetail.tsx:545 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:643 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:679 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:707 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c3fe9f9535da1147868c9afb9960eb85ab17608905d530f590cbd2c686033b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/features/knowledge/components/engines/EngineDetail.tsx:1045 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:1149 \u2014 both copies are in the same file, so extract the block 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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a3f7369c482090c792117753133e67c87b22949758d5b32fc11fc52e03b40c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/features/multi-user/components/GuardianRelationshipsEditor.tsx:75 \u00B7 web/features/settings/sections/GuardianSettingsSection.tsx:73 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/multi-user/components/GuardianRelationshipsEditor.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35c9bff63cd95e1aa18577e9d2b2573e2969d2ff77f235c5cd70dcb88deaff7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/features/notes/components/NoteCompanion.tsx:794 \u00B7 web/features/notes/components/NoteLearningContent.tsx:320 \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":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"688c28bc38867e8e112248825521e2190521e441045d5f9d00c55d2378da0166"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/features/settings/sections/DataMigrationSettingsSection.tsx:216 \u00B7 web/features/settings/sections/DataMigrationSettingsSection.tsx:226 \u2014 both copies are in the same file, so extract the block 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":"web/features/settings/sections/DataMigrationSettingsSection.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e2f4196432d28036d573c49eee06079ddf9f37c2020a308e0e112f4ad7cef1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): web/features/settings/sections/MemorySettingsSection.tsx:61 \u00B7 web/hooks/useEmbeddingModels.ts:50 \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":"web/features/settings/sections/MemorySettingsSection.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b79116a4b1742282166ae67db929cb51491d3cbfada5c5b58063b686107661"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/hooks/usePartnerGroups.ts:58 \u00B7 web/hooks/usePartnerRoster.ts:59 \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":"web/hooks/usePartnerGroups.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cec83304ecd6f492d0d0d2635a524e39b7d18123d147670eecb88b7274a323b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/lib/cli-apps-api.ts:196 \u00B7 web/lib/mcp-api.ts:561 \u00B7 web/lib/mcp-api.ts:572 \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":"web/lib/cli-apps-api.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0fa92ca470b5e669fe2d6e26e829bde26272c10df11f8952e4b762badbb85a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/lib/marginnote4-api.ts:69 \u00B7 web/lib/marginnote4-api.ts:98 \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":"web/lib/marginnote4-api.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de1b3981bea093cedc6f79660356dbbb4864cd9cabcd37f74654665cdf5ef45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/lib/mastery-question.ts:217 \u00B7 web/lib/mastery-question.ts:274 \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":"web/lib/mastery-question.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a149c928a305d714c51c6a65a18a791f2476c3948e0d8e5ec17e4f678a59ed14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): web/scripts/i18n_audit.mjs:5 \u00B7 web/scripts/i18n_parity.mjs:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 85 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":"web/scripts/i18n_audit.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"29148841ec70a3da77fb2e4cf83ebed502588a628cd83ca4c2abc017bc14d735"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/app/(workspace)/co-writer/page.tsx:146 \u00B7 web/components/knowledge/KbGitHubSourcesSection.tsx:24 \u00B7 web/components/knowledge/KbWebSourcesSection.tsx:37 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/co-writer/page.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e41da4362232bfc506e5a6c10c9ba3d1c8aabdc07969741bc8770cedcbec858"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/app/(workspace)/learning/books/BooksRoute.tsx:752 \u00B7 web/app/(workspace)/learning/books/BooksRoute.tsx:930 \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":"web/app/(workspace)/learning/books/BooksRoute.tsx"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de3873f0769abd2855f8a874d9c63979bdfb9d932127199c5d0fddfe44f6a1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): web/app/(workspace)/learning/books/components/BookChatPanel.tsx:293 \u00B7 web/app/(workspace)/learning/books/components/BookChatPanel.tsx:307 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 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":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e65646510334064c59c273b9a2f4ab736d04c6458b8d40b940ae6baec9be5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 12 locations): web/app/(workspace)/learning/books/components/BookGenerationActivity.tsx:111 \u00B7 web/app/(workspace)/learning/books/components/SpineEditor.tsx:187 \u00B7 web/components/access/CapabilityAccessContext.tsx:91 \u00B7 web/components/chat/home/ContextBudgetChip.tsx:188 \u00B7 \u002B8 more site(s) not listed \u2014 the 12 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":"web/app/(workspace)/learning/books/components/BookGenerationActivity.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6990f9ef5c8151b3dc1728323edc5b245ceb19f94769c7519fdfd3aa2d3064"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): web/app/(workspace)/learning/books/components/BookStructureEditor.tsx:45 \u00B7 web/components/learning/practice/PracticeImport.tsx:37 \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":"web/app/(workspace)/learning/books/components/BookStructureEditor.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6582eee857b9e6e5e8bad104a52a1153920888eaa49d129904f71d319c02c7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/app/(workspace)/partners/[partnerId]/page.tsx:103 \u00B7 web/components/reading/library/AddMaterialsDialog.tsx:83 \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":"web/app/(workspace)/partners/[partnerId]/page.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0824c8548ebd4093a1966d369d9e314faa478bcbc825539df0fed4e046427d72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/components/chat/PersonaPicker.tsx:17 \u00B7 web/components/knowledge/KbSettingsSection.tsx:27 \u00B7 web/components/visualize/VisualizeConfigPanel.tsx:35 \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":"web/components/chat/PersonaPicker.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb1c6c2a68ea0aaa9db41a1a1505fefaed84c992a50ad4c7eca03882bae01ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/chat/home/AskUserOptions.tsx:200 \u00B7 web/components/chat/home/AskUserOptions.tsx:655 \u2014 both copies are in the same file, so extract the block 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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c0da8c1178c061de8c789a41f42314ce65d1b8d33519e91d253dd295f8ce2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/components/chat/home/ComposerResources.tsx:153 \u00B7 web/components/reading/PdfZoomControls.tsx:83 \u00B7 web/features/chat/components/ChatWorkspace.tsx:1862 \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":"web/components/chat/home/ComposerResources.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"785ec30c433e6bce5c731b93bf5352467a08159865d54e69883563ffb5ad6436"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): web/components/chat/home/ComposerResources.tsx:320 \u00B7 web/hooks/useModalDialog.ts:60 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 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":"web/components/chat/home/ComposerResources.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"62778b3586cf341969a66d9cf3ff0c536db9c64df0faed6161ee06a3d00ba28c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): web/components/chat/home/SessionActivityPanel.tsx:212 \u00B7 web/components/chat/home/SessionActivityPanel.tsx:249 \u00B7 web/components/chat/home/SessionActivityPanel.tsx:262 \u00B7 web/components/chat/home/SessionActivityPanel.tsx:275 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"web/components/chat/home/SessionActivityPanel.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6714520541faf9449de392dbddbc7fbbc8a3342a830adb4d74a8bdd446b720f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/chat/preview/FilePreviewDrawer.tsx:125 \u00B7 web/components/settings/SettingsTourOverlay.tsx:106 \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":"web/components/chat/preview/FilePreviewDrawer.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c6f2ee937647638fdb8f159495c7e45adfbb89407de978056bdf8ce5ef7630"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/knowledge/IndexingModelSelector.tsx:201 \u00B7 web/components/knowledge/LightRagRoleModelsEditor.tsx:255 \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":"web/components/knowledge/IndexingModelSelector.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdf39760ad250d5ac4dd854b67d48d01d8b006af46b8ca4389aa09aaa24b6e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/knowledge/KbFilePreview.tsx:118 \u00B7 web/components/visualize/VisualizationViewer.tsx:546 \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":"web/components/knowledge/KbFilePreview.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0532d6d00bc42dee9d1e11740dc961f43e33a62cd40a7dd4325dd6dffd7067c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/memory/MemoryRunPanel.tsx:462 \u00B7 web/components/memory/MemoryRunPanel.tsx:474 \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":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20cd9103aac89a2e0316fada3db86adea20216614c688b22e4d28c0bd7bcce3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): web/components/notebook/SaveToNotebookModal.tsx:364 \u00B7 web/lib/chat-import/streaming.ts:9 \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":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0b3efc8404ad184ca4d1669c61168fd63709da5d4b6bc0860ae476719ba389"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/partners/PartnerChannels.tsx:369 \u00B7 web/components/partners/schema-form.tsx:261 \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":"web/components/partners/PartnerChannels.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bd5687983895e365cb1e59fb54dcfefadcbd25daceead5f5d762e6046fdfb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): web/components/partners/PartnerChat.tsx:929 \u00B7 web/components/ui/ConfirmDialog.tsx:42 \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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"0427d3c25f90473763d2599bacfd9f3445b2a56adc2d78a3748ebefa27485cdb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/reading/PdfDocumentView.tsx:695 \u00B7 web/components/reading/ReaderImageLightbox.tsx:172 \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":"web/components/reading/PdfDocumentView.tsx"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41b9de504d3ceed7d2f2ddc578d14f0b92fe60b930a5f3008b4dd1c97f0ce13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/reading/ReadingExtensionBar.tsx:431 \u00B7 web/components/reading/ReadingExtensionBar.tsx:440 \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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"675604d43f15422d40974d8b30704dad6eb93765d8dbe70c115b013c42970ca8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/reading/library/ReadingLibrary.tsx:485 \u00B7 web/components/reading/workspace/dialogs.tsx:371 \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":"web/components/reading/library/ReadingLibrary.tsx"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf83e7522a170e0235bc3f7805f809179061adfac4c68fad62fb955b857b7718"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/reading/workspace/ReadingCompanion.tsx:170 \u00B7 web/components/space/learning/MasteryStudy.tsx:232 \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":"web/components/reading/workspace/ReadingCompanion.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cedd4e835caebdcebd26023942cc7893c9fa7e498c02340b6823c2b1475a3f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/reading/workspace/ReadingCompanion.tsx:204 \u00B7 web/features/chat/components/ChatWorkspace.tsx:1175 \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":"web/components/reading/workspace/ReadingCompanion.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d4d85f39f50663804320afbaace82cf974f6a878db9b0d64c8cd602cd52137"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/reading/workspace/ReadingWorkspace.tsx:74 \u00B7 web/components/reading/workspace/ReadingWorkspace.tsx:83 \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":"web/components/reading/workspace/ReadingWorkspace.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6d48968b761a5dd9ed306c2655efbcf95133f3382c87eafdaaaa4e535e54a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/settings/ConnectionsEditor.tsx:587 \u00B7 web/components/settings/WebFetchBackendCard.tsx:157 \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":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"9951dae3e8d9b6fd5535ccbc3c581e53e286b95770a948cbf69b974b3caee078"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/settings/ServiceConfigEditor.tsx:1355 \u00B7 web/components/settings/ServiceConfigEditor.tsx:1383 \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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"749c26511c3da4a3160e8efb1db27903a67d10f3f871fa7162cff502fe162d65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/settings/SettingsOverview.tsx:167 \u00B7 web/components/settings/SettingsOverview.tsx:187 \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":"web/components/settings/SettingsOverview.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91f10b77e6cd7a79ad0aeb1b58cadadfdad305bc8b13058de34d8e68ed25c22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/components/space/SkillLibraryScope.tsx:38 \u00B7 web/features/notes/components/AddToNote.tsx:99 \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":"web/components/space/SkillLibraryScope.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f1011a3fe81f128ae934cc9f7d2be858d41bd91b29a3bf6bf88010afa97bf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): web/components/workspaces/WorkspacePill.tsx:110 \u00B7 web/components/workspaces/WorkspacePill.tsx:138 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 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":"web/components/workspaces/WorkspacePill.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"da21f8e1db58e584bdc070bd872a2a0b0f7e43ae0fed250f5bc85113ed9cbc25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/features/chat/ChatStateAdapter.tsx:1546 \u00B7 web/features/chat/ChatStateAdapter.tsx:1601 \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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0eb4457d9e84ffb904f329c0a2518634018eaf4d4fdc8e04b5d392b5c27321a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/features/notes/components/useNoteThreads.ts:224 \u00B7 web/features/notes/components/useNoteThreads.ts: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":"web/features/notes/components/useNoteThreads.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"582526f33e22c1bba68ca646c628fd61004d5663ff664c6e8b001378cd26a26d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): web/features/settings/sections/DataMigrationSettingsSection.tsx:58 \u00B7 web/lib/notes-api.ts:38 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 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":"web/features/settings/sections/DataMigrationSettingsSection.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"042a191ce86ef3358244e10474c32a19f6e7a3d0f1dff7a694a8535ebf5d4f21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/features/settings/sections/NetworkSettingsSection.tsx:115 \u00B7 web/features/settings/sections/NetworkSettingsSection.tsx:177 \u2014 both copies are in the same file, so extract the block 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":"web/features/settings/sections/NetworkSettingsSection.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc96b867abf4cffc3da70c8f195fe5cb2457dcc8dc3bc559798503bb2b5511d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/features/settings/store/SettingsStore.tsx:928 \u00B7 web/features/settings/store/SettingsStore.tsx:2016 \u2014 both copies are in the same file, so extract the block 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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4c806a0999d725a0fe17bea98721cb6622ef7a173e18a5989f8fc10bd6e2f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/lib/cli-apps-api.ts:115 \u00B7 web/lib/mcp-api.ts:306 \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":"web/lib/cli-apps-api.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5b455189992a2d6d3971e4b71d54c10d0bd81117680ac8545910e55f853317"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/lib/latex.ts:236 \u00B7 web/lib/latex.ts:306 \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":"web/lib/latex.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1807cd4d9d0524201c12297d4bc4f88351962c882a6645e27e492f763dac9128"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/lib/learning-api.ts:54 \u00B7 web/lib/learning-api.ts:192 \u00B7 web/lib/learning-api.ts:386 \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":"web/lib/learning-api.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebad1492b8d265fe69c90bcc5dc507ce53054441d2d12ae8149f485fbb4d2509"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/lib/memory-graph.ts:252 \u00B7 web/lib/memory-graph.ts:263 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/memory-graph.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac4bdd99d590530c1e0a18acd96e682222411fa2c5ebee9639ae640148c322c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/chat-engine/src/providers/body.ts:12 \u00B7 packages/chat-engine/src/providers/sse.ts:20 \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":"packages/chat-engine/src/providers/body.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeed6aa3f274e81b5fa77b4b54b35e83aedd0b35e8cea63629d57589ce34c1fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/chat-engine/src/tools/workspace.ts:174 \u00B7 packages/chat-engine/src/tools/workspace.ts:213 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 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":"packages/chat-engine/src/tools/workspace.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea92c1b9c38f14bb3ef309c394c2b8a8e83568b5e56d6dd2302caa50bc9b99a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/app/(utility)/profile/page.tsx:104 \u00B7 web/components/knowledge/KbGitHubSourcesSection.tsx:27 \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":"web/app/(utility)/profile/page.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e735c475d7b506f056efadcba69081477841d499ab0fb82f90182ede997cdf36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/app/(workspace)/co-writer/page.tsx:176 \u00B7 web/app/(workspace)/co-writer/page.tsx:191 \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":"web/app/(workspace)/co-writer/page.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7896bd26ecf814379ec6e09d059a8ec2ad93b643d9163475102ea9e86c70cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/app/(workspace)/partners/new/page.tsx:457 \u00B7 web/components/knowledge/LightRagIndexingProvenance.tsx:82 \u00B7 web/features/chat/messages/UsageFooter.tsx:183 \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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefd22b62004572ff832b1fa521fa03a8a0db2e92bcc08444bb27a0edb802378"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8 locations): web/components/access/CapabilityAccessContext.tsx:93 \u00B7 web/components/chat/home/ContextBudgetChip.tsx:190 \u00B7 web/components/partners/group/GroupSessionPicker.tsx:61 \u00B7 web/components/reading/ReaderPane.tsx:288 \u00B7 \u002B4 more site(s) not listed \u2014 the 7 copies are spread across 7 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":"web/components/access/CapabilityAccessContext.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"94eafb1b350b8c802670dfd1f6277710794d8475f45269021859ac02c06bb279"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/components/chat/BookReferencePicker.tsx:135 \u00B7 web/components/chat/BookReferencePicker.tsx:193 \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":"web/components/chat/BookReferencePicker.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fa37f04b8a6cc66a23ca4fecace6af1daef9a25538aadfcaff1fd3cbde357b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/components/chat/MyAgentsPicker.tsx:277 \u00B7 web/components/knowledge/KbDocumentList.tsx:158 \u00B7 web/components/space/ScopePicker.tsx:56 \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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca258b55e8c2aa3e0c7cae4a8b28991a07ef47d4ac0dd4c8d05acc491930f6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): web/components/chat/home/AskUserOptions.tsx:138 \u00B7 web/lib/setup-signals.ts:35 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2fcf37de2c878cb8fee9c8096a39efd00775df458a9b407b74bd13996aeb2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/components/chat/home/ChatComposer.tsx:1472 \u00B7 web/components/chat/home/ComposerInput.tsx:503 \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":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"70315684ed59f3c67e4fb068f5b4f7be9b9b9ecc43bc56a202de51507ee25376"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): web/components/chat/home/ComposerResources.tsx:326 \u00B7 web/shared/ui/Dialog.tsx:104 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 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":"web/components/chat/home/ComposerResources.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2a2a8edcec6290bdf8282b9bae3d471e6a8bb6e01c66027aabc018f92b7cf0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): web/components/chat/home/ComposerResources.tsx:154 \u00B7 web/components/reading/PdfZoomControls.tsx:84 \u00B7 web/features/chat/components/ChatWorkspace.tsx:1863 \u00B7 web/shared/ui/TooltipLayer.tsx:51 \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":"web/components/chat/home/ComposerResources.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d275abe827ea4aa7189a19c96bba10a4af6e755d6b5485b59bc204357281cc38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/components/chat/home/ComposerTray.tsx:283 \u00B7 web/components/chat/home/ComposerTray.tsx:348 \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":"web/components/chat/home/ComposerTray.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf284bbd3935344f77f7464b6e0ee81c029db405921a3095876916b6695e160e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/components/chat/home/ContextBudgetChip.tsx:175 \u00B7 web/components/chat/home/ViewerLauncher.tsx:337 \u00B7 web/components/partners/PartnerModelSelect.tsx:44 \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":"web/components/chat/home/ContextBudgetChip.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0892da574cae0ac2e2873e058d1015b577b4a80f451b182655dbd18a73829c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/components/common/InlineFileCard.tsx:84 \u00B7 web/components/common/InlineFileCard.tsx:106 \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":"web/components/common/InlineFileCard.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ca31eb34ac3558367e1587600ac281a0363ace80bfb2d3b51adfa18ff177a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): web/components/layout/AppShell.tsx:72 \u00B7 web/components/partners/PartnerChat.tsx:939 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/layout/AppShell.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fef4aa7512fd9bcc1464ecdee18bdb85e5baf55d74b26b2e047a02d61e94b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): web/components/layout/AppShell.tsx:72 \u00B7 web/components/ui/ConfirmDialog.tsx:44 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 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":"web/components/layout/AppShell.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e0d95a0c2d7d644efa20bbdf61ff7d11bef2810631ef15a3308761519a167e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): web/components/mcp/McpCatalogBrowser.tsx:582 \u00B7 web/components/mcp/McpServerForm.tsx:230 \u00B7 web/components/mcp/McpServerForm.tsx:241 \u00B7 web/components/mcp/McpServerForm.tsx:253 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47f0b085c1f6fff1dbd61f725d269bb69b8e6f1464ea23d26b36a1fbfb78f24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/components/memory/useMemoryRun.ts:359 \u00B7 web/components/memory/useMemoryRun.ts:400 \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":"web/components/memory/useMemoryRun.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea67b2439e974c4c32bf84ace1c91a6365c9828a18d31337003063fde2afdbbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): web/components/notebook/NotebookConsole.tsx:600 \u00B7 web/lib/chat-export.ts:82 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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":"web/components/notebook/NotebookConsole.tsx"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"64578835518b3e2a4a8e3fd52caa385dbdcd18851f44755067d9a1245bcae09d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): web/components/partners/PartnerChat.tsx:929 \u00B7 web/components/reading/workspace/WorkspaceMenu.tsx:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e678c46179f5b7df4ea0ba3b62a139ac362f876ea150ff03fe46372f0d59d0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/components/reading/library/FolderDialog.tsx:38 \u00B7 web/components/reading/workspace/ReadingCompanion.tsx:144 \u00B7 web/shared/ui/Dialog.tsx:83 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/library/FolderDialog.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be7198b414c2e67a705984329432a28f1999737af382be5b61dbadd2df3c466"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/components/reading/workspace/ReadingBar.tsx:152 \u00B7 web/components/reading/workspace/ReadingBar.tsx:198 \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":"web/components/reading/workspace/ReadingBar.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2064897f3608adc0bc91397821d769ffed8f3c8c5a93f68f67fe264085da271"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): web/components/reading/workspace/ReadingPanelSeparator.tsx:36 \u00B7 web/hooks/useSidebarResize.ts:56 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 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":"web/components/reading/workspace/ReadingPanelSeparator.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c32982c2076def0cc8e962408126ee1daf78857e630ed123884b643feedd45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/components/settings/ChatResponseTimeoutSection.tsx:32 \u00B7 web/features/settings/sections/ToolsSettingsSection.tsx:103 \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":"web/components/settings/ChatResponseTimeoutSection.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a351528d91af5d8f13e75508de777fe419d443e3e5430d0c5f9cbe6be8dcbb95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/components/settings/MinerUEngineSettings.tsx:159 \u00B7 web/features/settings/sections/DocumentParsingSettingsSection.tsx:1126 \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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ee2f08c853fea706efa47d424ec5f2837e65cc4a136b591c05d68e7da4b0b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/components/settings/ProviderModelDiscovery.tsx:234 \u00B7 web/features/multi-user/components/GuardianRelationshipsEditor.tsx:223 \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":"web/components/settings/ProviderModelDiscovery.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ea7516281d3845aec3c448658f5ae4afaecbb0727f66ea5347ec4c8aaca867"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/components/sidebar/LearningNavigation.tsx:209 \u00B7 web/components/sidebar/LearningNavigation.tsx:257 \u2014 both copies are in the same file, so extract the block 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":"web/components/sidebar/LearningNavigation.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d54ac39e578e477db0dd80020bbf6d2034cecf3d94b20235e0f6e54dda58afe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/components/space/EduHubImportModal.tsx:36 \u00B7 web/components/space/PersonasSection.tsx:52 \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":"web/components/space/EduHubImportModal.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6938f4259e66e1436e605f49b287b0bf3abb3358ce522a74fe3b1cdfd2ae34ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): web/components/space/ImportWizard.tsx:146 \u00B7 web/components/space/ScopeEditorModal.tsx:86 \u00B7 web/components/space/question-bank/useQuestionBank.ts:286 \u00B7 web/hooks/useMcpServers.ts:140 \u2014 the 4 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 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":"web/components/space/ImportWizard.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5072651f6d962110c7c53e46f6c2c73438766be4db5110dc9572e4e3749baa12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): web/components/space/LearningJournalPanel.tsx:12 \u00B7 web/hooks/useSessionOrganization.ts:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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":"web/components/space/LearningJournalPanel.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4034a53c508bcf961dbf4001463d19e2144d4099a513bfb068085bddbdfbeb22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/features/chat/ChatStateAdapter.tsx:1892 \u00B7 web/lib/mastery-question.ts:76 \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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e13c730dc4e7826cf1c9db16c588869d4030b6b8294868912e6dafbca114f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/features/co-writer/components/CoWriterWorkspace.tsx:625 \u00B7 web/features/co-writer/components/CoWriterWorkspace.tsx:1399 \u2014 both copies are in the same file, so extract the block 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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c90f5495631fcdcf44f8c2de0f35a5e55d739fb73593a85fb5b4e563cc67ee9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/features/co-writer/components/CoWriterWorkspace.tsx:2217 \u00B7 web/features/co-writer/components/CoWriterWorkspace.tsx:2392 \u2014 both copies are in the same file, so extract the block 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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c506928c7de1391cd65d1a1226534e56d8c6e39e3cd9e8605867495f837eb765"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/features/notes/components/NotePageHead.tsx:87 \u00B7 web/features/notes/components/NotePageHead.tsx:122 \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":"web/features/notes/components/NotePageHead.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3451eb913b1bfafea5de3432db733fcb9a927b8cfce80baae6aac9455e484b2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): web/i18n/init.ts:44 \u00B7 web/i18n/init.ts:54 \u00B7 web/i18n/init.ts:64 \u00B7 web/i18n/init.ts:74 \u00B7 \u002B2 more site(s) not listed \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/i18n/init.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe71df4a9c5266a876fe8156d06727bb90b4892ba63ee67bc61cf7491147bfe4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/lib/failed-submissions.ts:233 \u00B7 web/lib/failed-submissions.ts:302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/failed-submissions.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fb300862b7296dbaba282b5cfa0b682ca21b511254774ec2175920484f580b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/lib/learning-api.ts:349 \u00B7 web/lib/learning-api.ts:358 \u2014 both copies are in the same file, so extract the block 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":"web/lib/learning-api.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a5406807fb12329c75b661bc7a01340db38f0d87888d0bbd4165832ffc5aad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/lib/mcp-api.ts:393 \u00B7 web/lib/mcp-api.ts:669 \u2014 both copies are in the same file, so extract the block 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":"web/lib/mcp-api.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d33b6baccd3065e914080bdc841244cc5c65f6544615a602ce9a7f74579c3f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/lib/memory-graph.ts:479 \u00B7 web/lib/memory-graph.ts:511 \u00B7 web/lib/memory-graph.ts:540 \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":"web/lib/memory-graph.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e201e05b570c11b1e880bac784f939ca695e41d2bd75d60e7f8a7d23fc1739"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): web/lib/notebook-api.ts:52 \u00B7 web/lib/subagents-api.ts:25 \u00B7 web/lib/subagents-api.ts:34 \u00B7 web/lib/subagents-api.ts:91 \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":"web/lib/notebook-api.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aea24ea1b5d6ed800c8011249145cbe05c99fdc57e20677b1366c8615da6f35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/lib/profile-api.ts:97 \u00B7 web/lib/profile-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":"web/lib/profile-api.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"393e9fd557e3ee6659cc0e5a4307f752e4fbab4acf2eaaa1135f90a224d053c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/app/(admin)/admin/users/page.tsx:59 \u00B7 web/components/reading/workspace/useReadingWorkspace.ts:64 \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":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b790e624576277a69c1c579b22951e6b3ad60b9b8cd9663e2070b3d443180d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/app/(utility)/profile/page.tsx:67 \u00B7 web/components/partners/FaceEditor.tsx: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":"web/app/(utility)/profile/page.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1ce4cbf60268f5718442657bb84bfdea6f00adc195794fd15491319f9076c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): web/app/(workspace)/partners/[partnerId]/page.tsx:311 \u00B7 web/components/memory/MemoryL1Workbench.tsx:128 \u00B7 web/components/memory/MemorySection.tsx:323 \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":"web/app/(workspace)/partners/[partnerId]/page.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0128983d72b61d8173d23c104bcbb026481d260990b95a6b011e71d93d86294"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/app/(workspace)/partners/groups/[groupId]/page.tsx:45 \u00B7 web/components/partners/PartnerLinkModal.tsx:35 \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":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b068d2cd4f57782e9ed014d461885c65e72cb9958de62413602589c40d20dce8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/app/(workspace)/partners/groups/new/page.tsx:18 \u00B7 web/components/partners/PartnerWorkspacePicker.tsx:24 \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":"web/app/(workspace)/partners/groups/new/page.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ff36314573888081d524a6211b8f91282e26e99fb070d8e2793a7e18f00fcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): web/app/(workspace)/partners/new/page.tsx:457 \u00B7 web/components/knowledge/LightRagIndexingProvenance.tsx:82 \u00B7 web/components/space/learning/LearnerProfileCard.tsx:55 \u00B7 web/features/chat/messages/UsageFooter.tsx:183 \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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c721796f0c25a97a0a9a90105d44ae1ddf99c8c555e11f25a63f7a941177e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/components/cli-apps/CliAppsSection.tsx:341 \u00B7 web/components/space/question-bank/useQuestionBank.ts:154 \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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ee3fa69ad02cebaf0325039be5e21c2ee568be3aff455e1322718f1b63fb03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): web/components/knowledge/FileDropZone.tsx:80 \u00B7 web/components/knowledge/FileDropZone.tsx:101 \u00B7 web/components/knowledge/FileDropZone.tsx:122 \u00B7 web/components/knowledge/FileDropZone.tsx:134 \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":"web/components/knowledge/FileDropZone.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5734e83bd35b2baf0038011a93f39b3d2c05cd37f3a8149f51c72f980d677bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/components/knowledge/KbSettingsSection.tsx:82 \u00B7 web/components/knowledge/KnowledgeBaseDetail.tsx:170 \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":"web/components/knowledge/KbSettingsSection.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f380a10960ead71e5c98eae829639bb8c0fb70810f6a7581db9ce420d727026e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/components/knowledge/KbSettingsSection.tsx:180 \u00B7 web/features/multi-user/components/GuardianRelationshipsEditor.tsx:225 \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":"web/components/knowledge/KbSettingsSection.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"684302bde5a7e6aa9902e5b23bcd9e15746311bff26aa674feb67b99eebf83ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): web/components/layout/AppShell.tsx:72 \u00B7 web/components/reading/workspace/WorkspaceMenu.tsx:54 \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":"web/components/layout/AppShell.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a759072d2c9987d891d18547206b8bf329ce4cef0b016736294cb6030df5bbc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/components/memory/MemoryWorkbench.tsx:248 \u00B7 web/features/settings/store/SettingsStore.tsx:966 \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":"web/components/memory/MemoryWorkbench.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acf9e65a1d7af4ef6a8fef09a333f46aba230df163513983d1180393690826e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): web/components/notebook/NotebookRecordActions.tsx:55 \u00B7 web/shared/ui/useMenuPopover.ts:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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":"web/components/notebook/NotebookRecordActions.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e749b061e1d99554006cbf5af77aed89252ff28d8fc37cc1e9d0fa556e46ca23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/components/notebook/SaveToNotebookModal.tsx:157 \u00B7 web/features/co-writer/components/CoWriterWorkspace.tsx:238 \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":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa068484e502d2f284a2db03c75727c62cbdfc880715f90c32ee4011942c0041"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/components/reading/EpubDocumentView.tsx:363 \u00B7 web/components/reading/EpubDocumentView.tsx:590 \u2014 both copies are in the same file, so extract the block 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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4194a359db376c85641234cedd03b402edbaccf0ae73d26f51410b22cd0bf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/components/reading/workspace/WorkspaceChrome.tsx:116 \u00B7 web/components/reading/workspace/WorkspaceChrome.tsx:140 \u2014 both copies are in the same file, so extract the block 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":"web/components/reading/workspace/WorkspaceChrome.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae741dbd62f1b5ede5e0b6b80f7812a519463d612be6984825cef7c96308301"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): web/components/settings/ModelCards.tsx:185 \u00B7 web/features/co-writer/components/CoWriterWorkspace.tsx:1723 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 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":"web/components/settings/ModelCards.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b00fc79d7d7b5c1a4a5bbee270ee243a37f8850234ff07b0d56717c84febe1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/components/sidebar/RecordList.tsx:101 \u00B7 web/features/calendar/components/CalendarRail.tsx:321 \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":"web/components/sidebar/RecordList.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0183ec4b8d05f648934606f3758bf790cb1f52d8996a5b41726e02895108029d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/components/space/EduHubImportModal.tsx:67 \u00B7 web/components/space/MyAgentsSection.tsx:94 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/EduHubImportModal.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8041ddb3fc1654b28e3279c908fbd1baa6983b0b2420489955658f6d2d49979a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/features/calendar/components/CalendarRail.tsx:266 \u00B7 web/features/notes/components/NotePageHead.tsx:65 \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":"web/features/calendar/components/CalendarRail.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"597395ff7ae997edd7352751702490624f5efae5d3d3318da48999db093daba6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/features/co-writer/components/CoWriterWorkspace.tsx:470 \u00B7 web/features/co-writer/components/CoWriterWorkspace.tsx:478 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"469127dcb11d33b750c8ca5ccac066fa635e76e707cd3e6d1d9bb9dc714d1cb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/features/knowledge/api/client.ts:816 \u00B7 web/features/knowledge/api/client.ts:855 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/knowledge/api/client.ts"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4e9b165f999e2af49acb3d43184c1c04f14e67ffd05615006496ccb38a2771"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/features/knowledge/api/client.ts:827 \u00B7 web/features/knowledge/api/client.ts:884 \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":"web/features/knowledge/api/client.ts"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b9e93790e2c9777c4e729cc383e4aa99dff7fb01ae0218dc7f9265b0e56c75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/features/knowledge/api/client.ts:1516 \u00B7 web/lib/session-handoff-api.ts:37 \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":"web/features/knowledge/api/client.ts"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72c3cb35e8c9cbd6237c91a0a038f7f50ecafd5e3fcb1054a897949b44ff67e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/features/settings/sections/MemorySettingsSection.tsx:86 \u00B7 web/lib/notebook-api.ts:99 \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":"web/features/settings/sections/MemorySettingsSection.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6450e8215c5ca09fda9c0ac13d2e3208bbba61105c1a933a4100162d520885"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): web/features/settings/sections/MemorySettingsSection.tsx:227 \u00B7 web/features/settings/sections/MemorySettingsSection.tsx:249 \u00B7 web/features/settings/sections/MemorySettingsSection.tsx:258 \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":"web/features/settings/sections/MemorySettingsSection.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b4432e8ad76f55f080dc9584b79a8c23a03fb82fe7985e01c8ba949690ae41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/lib/cli-apps-api.ts:104 \u00B7 web/lib/mcp-api.ts:300 \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":"web/lib/cli-apps-api.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7851db2bebd1d099eb34f4d6d41ae56575d774c2fc1905932c308da05e52dac1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/lib/mcp-api.ts:322 \u00B7 web/lib/mcp-api.ts:459 \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":"web/lib/mcp-api.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"55eb5c799caca181e04858672bb9ded1074dff691ea6ec4daf5395f9a4911470"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/lib/memory-graph.ts:636 \u00B7 web/lib/memory-graph.ts:643 \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":"web/lib/memory-graph.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb56c8b9a20d07718ba74d6946c7b4da8d8628d17428a9855ec2d708d18c76e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/lib/profile-api.ts:24 \u00B7 web/lib/subagents-api.ts:221 \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":"web/lib/profile-api.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b5c663537fe02f0754fd6b02bd8e937428e94eb037590fac374075a650346f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/lib/reading-media-time.ts:11 \u00B7 web/lib/video-learning-marks.ts:119 \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":"web/lib/reading-media-time.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d8aa7f86daa3a229fced2f9c429439f0aa4c331c1ca82099870011949c742a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/app/(admin)/admin/users/page.tsx:75 \u00B7 web/hooks/useImaConnection.ts:63 \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":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"560e7393a5c1c72063be17c7dc744167d5da38133984480a99e7f2d639345853"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): web/app/(admin)/admin/users/page.tsx:67 \u00B7 web/components/knowledge/ConnectKiwixModal.tsx:20 \u00B7 web/components/knowledge/KbKiwixArticlesSection.tsx:13 \u00B7 web/components/space/ChatHistorySection.tsx:71 \u2014 the 4 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 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":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"387f315e17e47912483ba57189ed7a85110f6b0f5e0b9474d4af9173fbcfd6dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): web/app/(auth)/register/page.tsx:13 \u00B7 web/app/(utility)/profile/page.tsx:106 \u00B7 web/components/agents/ConnectedAgents.tsx:207 \u00B7 web/components/cli-apps/CliAppsSection.tsx:334 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 6 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":"web/app/(auth)/register/page.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"af79f49ada6388034c9eb0a3ce273f9618c40e40422f5b3fb205fbbd998219d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): web/app/(workspace)/learning/books/components/BookChatPanel.tsx:158 \u00B7 web/components/memory/MemorySection.tsx:274 \u00B7 web/components/workspaces/WorkspacePill.tsx:50 \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":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac7a41a9a2953735c9a0114e741f19044cd005c5cc046eae47ec0e1785e561a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/app/(workspace)/learning/books/components/BookStructureEditor.tsx:36 \u00B7 web/components/mcp/McpCatalogBrowser.tsx:106 \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":"web/app/(workspace)/learning/books/components/BookStructureEditor.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3b26bb72be359fa2d04dcc0aeb4e1db0a4af5ecf52606fae71a9e8b33f8f76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): web/app/(workspace)/learning/books/components/BookStructureEditor.tsx:26 \u00B7 web/hooks/useModalDialog.ts:67 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 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":"web/app/(workspace)/learning/books/components/BookStructureEditor.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e6c6119f790fdfec7b49288412dc121d19a74235609a85dc21faad87016294"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/components/chat/HistorySessionPicker.tsx:67 \u00B7 web/components/chat/home/ComposerInput.tsx:206 \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":"web/components/chat/HistorySessionPicker.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"387634084b3a50c8108e6330c7a564d7ebd72bb26037933c3fb63793fb70834b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/components/chat/MyAgentsPicker.tsx:150 \u00B7 web/components/space/MyAgentsSection.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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fe2a76721deee6c7ddd6212507224f81fc9bf15ebd0ecb96f7909f894829de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): web/components/chat/home/ComposerTrayMenu.tsx:241 \u00B7 web/components/chat/home/ComposerTrayMenu.tsx:249 \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":"web/components/chat/home/ComposerTrayMenu.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cf119379a3b382580ba5efb3706f5ce9e33d9a78cc149739d2f05026a3f3fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/components/chat/home/SubagentTabBody.tsx:27 \u00B7 web/components/partners/PartnerArchives.tsx:159 \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":"web/components/chat/home/SubagentTabBody.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"da38137480aee0882cff1b5c4c802445ee699e95995bf2fdfe3432ce7d3fb97b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/components/cli-apps/CliAppsSection.tsx:332 \u00B7 web/components/partners/group/GroupComposer.tsx:51 \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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9bfdbed80b80a2b515ee9514c03ccda1af172cb4b7dd9f2732a6863318e6e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/components/knowledge/ConnectKiwixModal.tsx:18 \u00B7 web/components/reading/workspace/useReadingWorkspace.ts:68 \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":"web/components/knowledge/ConnectKiwixModal.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bf498dfd78e1141d11ad4961dde17fd263f2f70345cc9f12ece0f8863cd7cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/components/knowledge/KbDocumentList.tsx:520 \u00B7 web/components/space/learning/PathTitle.tsx:112 \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":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0291872cfe1e9ad4902bab11867463a2314abaf490364224ed1412d4b955f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/components/knowledge/KbMarginNoteDevicesSection.tsx:44 \u00B7 web/components/partners/PartnerConfigure.tsx:88 \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":"web/components/knowledge/KbMarginNoteDevicesSection.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a035b790cff0478601c13b073461b3e178fa940cde09042cd9ed7cb9ba3050e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/components/learning/practice/PracticeSession.tsx:138 \u00B7 web/features/settings/sections/WorkspaceSettingsSection.tsx:100 \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":"web/components/learning/practice/PracticeSession.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6281392945bf33f71ab7b6a982dd58982ce75db0216e268ec99d84cab016f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): web/components/memory/MemoryWorkbench.tsx:200 \u00B7 web/components/partners/PartnerChat.tsx:340 \u00B7 web/components/reading/workspace/MediaReadingStage.tsx:103 \u00B7 web/components/workspaces/WorkspacePill.tsx:49 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 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":"web/components/memory/MemoryWorkbench.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab49411143314729009d90af9bef2cddf118854015e77092965bdbeaaaa7845"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): web/components/partners/ChannelOnboardingPanel.tsx:33 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:746 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:1279 \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":"web/components/partners/ChannelOnboardingPanel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a3700b7d2ff1ec4247e02b6e720e9131b9c5157c6f199e0302b25395fa799d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): web/components/partners/WeixinQrLogin.tsx:32 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:747 \u00B7 web/features/knowledge/components/engines/EngineDetail.tsx:1280 \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":"web/components/partners/WeixinQrLogin.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8de2a3220c1432e31b1e970df274d0f59fbab02d88dd325b510e5146b2c4ab8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): web/components/reading/PdfImageZoomOverlay.tsx:136 \u00B7 web/components/reading/PdfPage.tsx:244 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 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":"web/components/reading/PdfImageZoomOverlay.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"84749bf2b2cf933ca5c8643e3e3992b2ebee399f0f7dcdcda5b2aa1f90c77e98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/components/reading/TextUnitView.tsx:562 \u00B7 web/components/reading/TextUnitView.tsx:568 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/TextUnitView.tsx"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abd684f130b72a99b8576bdba3332a1cd1ddabffd4ca03e7867190d2f6a57ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/components/reading/library/ReadingFolder.tsx:250 \u00B7 web/components/reading/library/ReadingFolder.tsx:281 \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":"web/components/reading/library/ReadingFolder.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c444af0340fa3ebd242ebbe5fd25c9d7895541d60224b3311e0be51e011871"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/components/settings/ServiceConfigEditor.tsx:402 \u00B7 web/lib/partner-groups-api.ts:92 \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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"c420456781b3112fb56a647fc9cefb1facd177f34321b6a92e896d64a914ebfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/components/space/learning/MasteryStudy.tsx:438 \u00B7 web/features/chat/components/ChatWorkspace.tsx:2315 \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":"web/components/space/learning/MasteryStudy.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"c530c4d1dea76b2fc0837b4bde481237a81dd83e7c7c1fb6eda778f082064b16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): web/components/watching/WatchingBrowser.tsx:42 \u00B7 web/features/settings/sections/WorkspaceSettingsSection.tsx:107 \u00B7 web/features/tasks/components/KanbanBoard.tsx:50 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/watching/WatchingBrowser.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb1c589b06ef5cd1b0a1abd1973214887cea8dc940485f9fa85f31f6cbe5e22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/features/calendar/components/ItemDetails.tsx:248 \u00B7 web/features/calendar/components/ItemDetails.tsx:343 \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":"web/features/calendar/components/ItemDetails.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b2906b3b22dc8e62a3432318528b6029d3f0175504fac3ba9190353d64745c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/features/calendar/components/MonthView.tsx:141 \u00B7 web/features/calendar/components/TimeGrid.tsx:448 \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":"web/features/calendar/components/MonthView.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ad2f361600baa624dbb3de39b92567f45fe30da47a98a064e2f843a686b25d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/features/calendar/components/MonthView.tsx:412 \u00B7 web/features/calendar/components/TimeGrid.tsx:571 \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":"web/features/calendar/components/MonthView.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16a02afb78f3fc0fad6a75f78e87974ea18e49553ebaed5c0aed9646a2403bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/features/chat/ChatStateAdapter.tsx:4089 \u00B7 web/features/chat/ChatStateAdapter.tsx:4172 \u2014 both copies are in the same file, so extract the block 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":4089}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a64e3b5219cf3a3749799d4ee3f17878ed5b9d2758a3acd22a29f92a31df0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/features/chat/trace/TracePresentation.tsx:1391 \u00B7 web/hooks/useContextBudget.ts:29 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5c2fcc7be685d3377a4bf4dbf3d83f699e4660e2ab60fc6c4fa6b020701174"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): web/lib/chat-resend.ts:104 \u00B7 web/lib/chat-resend.ts:113 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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":"web/lib/chat-resend.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c638f7bdb7c513b58fb61257da60f38ca0c246ad6af6c501984794c4376392e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/lib/co-writer-events.ts:23 \u00B7 web/lib/session-events.ts: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":"web/lib/co-writer-events.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"735bfa7f6b5c83eb9784e1b7876a3ca8a73fbaab269a0b3f7629b26dc012e239"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/lib/mcp-api.ts:692 \u00B7 web/lib/mcp-api.ts:698 \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":"web/lib/mcp-api.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6671e4632d476fa695d2aeb953a5f0001e952c2be3ab9a661781176b9a99b4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/lib/notebook-api.ts:359 \u00B7 web/lib/skills-api.ts:204 \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":"web/lib/notebook-api.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17c4bc50c4ec7319bc3526fc227ab770ca708e482e39f3630c444fce83db86c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/lib/reading-api.ts:215 \u00B7 web/lib/reading-workspace-api.ts:112 \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":"web/lib/reading-api.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"910ac3576eae27e2706515f89e6aeda0553978cc9ca449a46740835c6ba86943"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): web/lib/reading-video-sources.ts:17 \u00B7 web/lib/reading-video-sources.ts:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 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":"web/lib/reading-video-sources.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ae3c6eec819394b57bb7939de3c92815d31368430b7f285fd0373edf4384f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/lib/session-api.ts:272 \u00B7 web/lib/session-api.ts:310 \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":"web/lib/session-api.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ba385f88f7a5bf84cbf608552fe75ab730db6f263ea58ab25a441360ddeb53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): deeptutor/agents/video_lesson/remotion/kit.tsx:271 \u00B7 deeptutor/agents/video_lesson/remotion/kit.tsx:279 \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":"deeptutor/agents/video_lesson/remotion/kit.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e53b6f31f6af8b9f96de5c31a0182de6784f60a85f243e1cfd0fcf0b212d16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10 locations): web/app/(admin)/admin/users/page.tsx:63 \u00B7 web/app/(admin)/admin/users/page.tsx:80 \u00B7 web/app/(utility)/session-handoff/page.tsx:14 \u00B7 web/app/(workspace)/learning/books/components/BookStructureEditor.tsx:38 \u00B7 \u002B6 more site(s) not listed \u2014 the 8 copies are spread across 7 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":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef746636646ff9cf16f26014a6152ce9df897c1f7e5d4c9f655148a79f8e27a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): web/app/(admin)/admin/users/page.tsx:64 \u00B7 web/app/(workspace)/learning/books/components/BookHealthBanner.tsx:57 \u00B7 web/components/knowledge/CreateKbModal.tsx:173 \u00B7 web/components/notebook/NotebookConsole.tsx:475 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 5 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":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b30c0043e1dc4051255268786d349a1e99ddb3e16039443483ad14f684efd6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7 locations): web/app/(utility)/profile/page.tsx:104 \u00B7 web/app/(workspace)/co-writer/page.tsx:149 \u00B7 web/components/knowledge/KbGitHubSourcesSection.tsx:27 \u00B7 web/components/knowledge/KbWebSourcesSection.tsx:40 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 6 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 7 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":"web/app/(utility)/profile/page.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64c11af02c9e322626d7ac1a53a9c595e1dab5beaf9405988434497b1ac708a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9 locations): web/app/(workspace)/co-writer/page.tsx:148 \u00B7 web/app/(workspace)/learning/books/components/BookHealthBanner.tsx:58 \u00B7 web/app/(workspace)/learning/mastery/[pathId]/page.tsx:90 \u00B7 web/components/chat/home/CreationDraftCard.tsx:54 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 7 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 9 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":"web/app/(workspace)/co-writer/page.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"67461e694b060d453ffe16e2fa8204c9673dcfca3068d674ad44f09c2e9c715c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): web/app/(workspace)/learning/mastery/page.tsx:29 \u00B7 web/components/knowledge/KbDocumentList.tsx:116 \u00B7 web/components/knowledge/KbLinkedFoldersSection.tsx:44 \u00B7 web/components/reading/TextUnitView.tsx:130 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 6 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":"web/app/(workspace)/learning/mastery/page.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caab05cea86b4ab2df976b138eac304ffa5252d2e360a45fd52bab2cdffe926"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9 locations): web/app/(workspace)/partners/page.tsx:34 \u00B7 web/components/agents/ConnectedAgents.tsx:31 \u00B7 web/components/knowledge/KbWebSourcesSection.tsx:36 \u00B7 web/components/partners/AssetPicker.tsx:99 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 8 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 9 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":"web/app/(workspace)/partners/page.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"86003dbd1ce495640f113d3c3cc36567188d17f0bc7764f22d5892ca3545f9c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/components/chat/MyAgentsPicker.tsx:100 \u00B7 web/components/notebook/SaveToNotebookModal.tsx:156 \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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb64ce7c8cbe0d4dba0e12da1e7d0af2311b6ea39240204c98130e319287842c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): web/components/chat/ReadingReferencePicker.tsx:66 \u00B7 web/components/reading/library/AddMaterialsDialog.tsx:83 \u00B7 web/features/co-writer/components/CoWriterWorkspace.tsx:239 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/ReadingReferencePicker.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65cee6a6af901b97e37213b947bfe3d1c5d1aad4aca2cf9ba53840d493ee235"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/components/chat/home/ChatComposer.tsx:595 \u00B7 web/components/chat/home/ChatComposer.tsx:734 \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":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e890a28aec0a039aaf0576e7326b53bf98d0e44b7ffe87d4c63ff4a4556d8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/components/chat/home/CreationDraftCard.tsx:37 \u00B7 web/lib/doc-attachments.ts:257 \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":"web/components/chat/home/CreationDraftCard.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb47802b2248d00d1b2dcec2d8eaa8b7faf3abdd629b58e554aba7a31a9fded5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/components/chat/home/StandaloneComposer.tsx:773 \u00B7 web/features/chat/components/ChatWorkspace.tsx:2141 \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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34f1bdf9a3b852691e5f94c97bf71becf4f5fbb10c754d82388798d898db292"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/components/knowledge/PageIndexSettingsModal.tsx:35 \u00B7 web/features/settings/sections/NetworkSettingsSection.tsx:102 \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":"web/components/knowledge/PageIndexSettingsModal.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"871528dd1680c9ab65974e0095cea45e8e9414b022fcdd5d91c90ee41f39daf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): web/components/memory/MemoryHub.tsx:53 \u00B7 web/components/settings/WebFetchBackendCard.tsx:31 \u00B7 web/features/settings/sections/AboutSettingsSection.tsx:62 \u00B7 web/features/settings/sections/StartersSettingsSection.tsx:30 \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":"web/components/memory/MemoryHub.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c63fbd69f326b6cfdd43f0f6191b6d1907b998c1f6f55fe20c82275b7c838e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): web/components/partners/PartnerChannels.tsx:54 \u00B7 web/components/reading/ReaderPane.tsx:237 \u00B7 web/components/settings/WebFetchBackendCard.tsx:31 \u00B7 web/features/settings/sections/AboutSettingsSection.tsx:62 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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":"web/components/partners/PartnerChannels.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9a63392d35e235a37eba08e664bf1e6164d72296112d688b894e81b32d2d4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/components/partners/PartnerConfigure.tsx:87 \u00B7 web/components/space/learning/ModuleOutline.tsx:214 \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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d42467176d67c521921014cbcd64794640699db312e3c3500458d2f3d47690"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/components/reading/library/ReadingFolder.tsx:54 \u00B7 web/features/settings/sections/GuardianSettingsSection.tsx:60 \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":"web/components/reading/library/ReadingFolder.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adbdbf73e05dab7ca155b079e8c8be797d2319dd48bcf0e64b7860efb50fdec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): web/components/sessions/OrganizedSessionList.tsx:159 \u00B7 web/components/settings/CodexOAuthCard.tsx:39 \u00B7 web/components/space/EduHubImportModal.tsx:68 \u00B7 web/components/space/MyAgentsSection.tsx:98 \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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"677d045991d892816ba95cf85d1bb57efbaf23a2aba6e9e273f9e2f5020c8acb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): web/components/settings/SubagentSettingsEditor.tsx:326 \u00B7 web/components/space/SpaceDashboard.tsx:48 \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":"web/components/settings/SubagentSettingsEditor.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64e32d1633de08ba846cd91970eae833af37b37c5b2fac8cb132bce32249f1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): web/lib/chat-import/agent-store.ts:93 \u00B7 web/lib/workspace-drafts.ts:35 \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":"web/lib/chat-import/agent-store.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b85ddead5873439517d4db06263f2853a17bb4fbaee5ee66a5430775c7a262d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/lib/creation-draft.ts:38 \u00B7 web/lib/mastery-source-pages.ts:14 \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":"web/lib/creation-draft.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e3494436b1517517b83664f353ac4ad1fc3cc2efa3b33828b4974f3f8fd894"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:10 imports react-syntax-highlighter/dist/esm/styles/prism/one-dark, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77215d5462b521e433ce5fa9bb4179cc02651230060446865915447dfa5a95f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:11 imports react-syntax-highlighter/dist/esm/styles/prism/a11y-dark, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"444fe7758c4dcc39162976f0550d31ba36aa9d0fd28a3cc4b4a88efcfc4ab459"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:12 imports react-syntax-highlighter/dist/esm/styles/prism/a11y-one-light, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"717c01ba2820b11c547ad8f7da4b044bcf4e0be759410753b9518fa60074f6c8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:13 imports react-syntax-highlighter/dist/esm/styles/prism/atom-dark, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c54ef9f8900890a0799e0f0635d45620d2abf94fcc487bc7c3bac1a86e9d00"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:14 imports react-syntax-highlighter/dist/esm/styles/prism/base16-ateliersulphurpool.light, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7205e1048b84784700fdbacdab49bf7789aadc2732049e0bdfe2e4adbb63a22a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:15 imports react-syntax-highlighter/dist/esm/styles/prism/cb, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcf674fae1311535114f9e9d4cd818b6689a622bdc033e7510067b47633ef52"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:16 imports react-syntax-highlighter/dist/esm/styles/prism/coldark-cold, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"192dd92d771d64f7a90a2bdfd646cf321746d9463b71d4687bcc147642cd6de1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:17 imports react-syntax-highlighter/dist/esm/styles/prism/coldark-dark, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc375cc521171f960d0a1f797d2c4ae21f6b58c25a9327459677c15b84c08a0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:18 imports react-syntax-highlighter/dist/esm/styles/prism/coy-without-shadows, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ff1bc19918bb1f7acf67babb309be874df07a3b880b89d24f975e72d05bf5a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:19 imports react-syntax-highlighter/dist/esm/styles/prism/coy, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cf0b4c4097edc38536cf9ff343aeb11915c7d07738a222adae3f28b2d4467f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:20 imports react-syntax-highlighter/dist/esm/styles/prism/darcula, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e669cf910678a70fe263f66c89b3151756ea1208dbdd6331964aaa92eda68a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:21 imports react-syntax-highlighter/dist/esm/styles/prism/dark, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2e78b2b2389f37f38af22fbb1576ecdd11b4d7223a5517deb23d5401c8ac5c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:22 imports react-syntax-highlighter/dist/esm/styles/prism/dracula, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3427ad9154f8e52a8b4d47b5dd5552694b19c10c22490e2f2ff685ee92d7e9e0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:23 imports react-syntax-highlighter/dist/esm/styles/prism/duotone-dark, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"880576a9932203ebed8201fced7784ab9ad3c7564ee670b28c53cae087807402"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:24 imports react-syntax-highlighter/dist/esm/styles/prism/duotone-earth, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cceb3cf482835cc5858da8ef021c2d13e7ef5c8ba272ba50d927776d287dc961"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:25 imports react-syntax-highlighter/dist/esm/styles/prism/duotone-forest, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f92821248c1f29f5a5039683bb8c2cd2ba2f9a9a2bf7d806f28d293e45fcf3c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:26 imports react-syntax-highlighter/dist/esm/styles/prism/duotone-light, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d59ba370f896cb434fb815627fcf0c47a664d6e769300522cbd55370ca6f35"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:27 imports react-syntax-highlighter/dist/esm/styles/prism/duotone-sea, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc227f88c4b0a3517c9eb3f0f8a72b879d1d192cac2b20ddf0843a1830ff481"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:28 imports react-syntax-highlighter/dist/esm/styles/prism/duotone-space, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0290bb5f49ce8980dc0ff0e4d03af9630654ec688c54f252af0a1b174b249532"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:29 imports react-syntax-highlighter/dist/esm/styles/prism/funky, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"620acd99660e6efe429b4f7a3a237b9beb9ae0b65d7482dd3b08e92fddfb0409"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:30 imports react-syntax-highlighter/dist/esm/styles/prism/ghcolors, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc3a6971a4777143d27cb8e67cb1a74256fbebe06958c483c73398d7526a35f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:31 imports react-syntax-highlighter/dist/esm/styles/prism/gruvbox-dark, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"159db7d347e6451a4e2d17442e2075471afdeeb359febb679e8ddf5b31547285"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:32 imports react-syntax-highlighter/dist/esm/styles/prism/gruvbox-light, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d044140621fe0eadfb01da0272442c81faf23b86302e62e4ae0741105fbeaab0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:33 imports react-syntax-highlighter/dist/esm/styles/prism/holi-theme, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8740aa4c884c9d7e73042ea2e99ee7128b3f2e98afdc6a4765ee36312bfde82"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:34 imports react-syntax-highlighter/dist/esm/styles/prism/hopscotch, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe2c547b37a337dec97e90cb8bfee3b3c81942de5807bb44ecbd2e12cc6be37"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:35 imports react-syntax-highlighter/dist/esm/styles/prism/lucario, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"884fb3eff88bd3d835f2c97749831e206e1274cad6eb7678f1f0524240efc685"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:36 imports react-syntax-highlighter/dist/esm/styles/prism/material-dark, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86883d7525aa8828a9eac355d9ec552300139d34b4a3c7709ba10d6d2044894"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:37 imports react-syntax-highlighter/dist/esm/styles/prism/material-light, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ea1e3c604847e010ee50e3ec7709d2be01eb18b31880f41369940c45b8f9dd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:38 imports react-syntax-highlighter/dist/esm/styles/prism/material-oceanic, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6782fa6c30c84bbb773e7e4805e91705cdf9d04770d750f634bc5e65551ec359"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:39 imports react-syntax-highlighter/dist/esm/styles/prism/night-owl, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"160505c2e835461bbb36adaa1ab59f4b8ba7781121c99c8795a43b9db5caa10a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:40 imports react-syntax-highlighter/dist/esm/styles/prism/nord, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5715d53ffbf7356b54e7f1b758dd9531e88e1070fc328a70908043e1355efb53"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:41 imports react-syntax-highlighter/dist/esm/styles/prism/okaidia, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f5362ead1793d70bca0bee329ce3d607c5aa27892623f01710ea759e399cce"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:42 imports react-syntax-highlighter/dist/esm/styles/prism/one-light, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bc5d87687d8766208a1ddfb9c2f49650a68c3b4576778e8055b03c3ec2f164"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:43 imports react-syntax-highlighter/dist/esm/styles/prism/pojoaque, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd1012757e6e24670c6054975817af41c9dbd9170cc95c5205724c204da206e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:44 imports react-syntax-highlighter/dist/esm/styles/prism/prism, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"692da5c47536000de73589daa57410e3076cd9d1d22f291c6fa25896e9cb3616"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:45 imports react-syntax-highlighter/dist/esm/styles/prism/shades-of-purple, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7db373668504f286469b5df9236af3672e01d724d3e7d7701a655c3592d1ba6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:46 imports react-syntax-highlighter/dist/esm/styles/prism/solarized-dark-atom, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"98406fcefab9db4e2209672a307c943cf802767a84590ff4ac1122be69766c8d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:47 imports react-syntax-highlighter/dist/esm/styles/prism/solarizedlight, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"803facb48db70f65a4d45503da55ee19afab4c6fcc7b6d26d623418dad6c574e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:48 imports react-syntax-highlighter/dist/esm/styles/prism/synthwave84, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce20672ceeb9eaee89f43fa3f2de497493722787872e2c07a728d7926eda80a7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:49 imports react-syntax-highlighter/dist/esm/styles/prism/tomorrow, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9aac19ac1e20d6dd74db09cb5b20375ab4d3df6911ff8eb83ca22742e1f06d7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:50 imports react-syntax-highlighter/dist/esm/styles/prism/twilight, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd3db991b0a780dfcbfed5c98a830d66991fb3b4b46f83545e62f22bbe91fd7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:51 imports react-syntax-highlighter/dist/esm/styles/prism/vs-dark, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2ee1f046772a67c6fbf9b0e5e95693d98a8518c07c1e6e88446f28382bfb2d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:52 imports react-syntax-highlighter/dist/esm/styles/prism/vs, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9befb9c73f10f79d8c4c40437503fae11c97883555ad44b1deee9b5af14312"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:53 imports react-syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"846a6e51cc6b0af7ba89eb859caa11c0196465dfad8271a021867be30acb01a1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:54 imports react-syntax-highlighter/dist/esm/styles/prism/xonokai, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2200cb7c3d80484485fcce1b5e029341fe3c92f1fb068707688837d983ce95a0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/components/common/code-block-themes.ts:55 imports react-syntax-highlighter/dist/esm/styles/prism/z-touch, 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":"web/components/common/code-block-themes.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46a62b8dbcd5f847e2f387a8168d1252cc46fa38654588b97856a87895b7a8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reduce (cyclomatic 199, cognitive 239): reduce has cyclomatic complexity 199 and cognitive complexity 239; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25da280e83d25170b8a7cd96eb01558de4dfd2e1e9c2efecb79bf10cf4de0d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 178, cognitive 170): (anonymous) has cyclomatic complexity 178 and cognitive complexity 170; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":3098}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc7a1141d63457b5a81248ce360af38be18fd6599978942d9ead618ed840284"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatComposer (cyclomatic 120, cognitive 103): ChatComposer has cyclomatic complexity 120 and cognitive complexity 103; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"03315306077ea0fe32d874a3d4b35eccf4f110a5389d8d019154cf547498b647"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelEditor (cyclomatic 87, cognitive 62): ModelEditor has cyclomatic complexity 87 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5c759f8dad625c26fe5cefab67222a4419f18e5df667a056164c7b235577bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 84, cognitive 61): (anonymous) has cyclomatic complexity 84 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":2035}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee559ba0cbe684261b9f6e0619cc3b18e108508fe546befd6880fd8874912bfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QuestionCard (cyclomatic 77, cognitive 62): QuestionCard has cyclomatic complexity 77 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"web/components/space/question-bank/QuestionCard.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0012612353d10e5d9a5f693c5ebfa398f8ffd27bf0130f43cfecb50450d81f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractMessageSegments (cyclomatic 76, cognitive 188): extractMessageSegments has cyclomatic complexity 76 and cognitive complexity 188; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acdf8b180c48d52aa2188b6f6b8efcd1c7422cbb0435b9e43a1536d1c2bd31c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 68, cognitive 59): (anonymous) has cyclomatic complexity 68 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":2282}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd817efb9610b02084aaebd66369bf852f699d5e942f029e5d67eb63ad75b13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BookPageInner (cyclomatic 68, cognitive 54): BookPageInner has cyclomatic complexity 68 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/app/(workspace)/learning/books/BooksRoute.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6bdfb4ab2b333f1a91a928a390df1d082ca0aa8c674c114fc1ee960cc2e402"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProfileFields (cyclomatic 64, cognitive 56): ProfileFields has cyclomatic complexity 64 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 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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cdc0b56b60cc7cc2f32c2f3b7eedbf6f0123a820d31d50c8335d40494ae9fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KbIndexVersionsSection (cyclomatic 62, cognitive 51): KbIndexVersionsSection has cyclomatic complexity 62 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/components/knowledge/KbIndexVersionsSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bad52dab58554fc3325a3b694b7944e195eb9fac49beff2613a31d08ded375"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function operate (cyclomatic 60, cognitive 76): operate has cyclomatic complexity 60 and cognitive complexity 76; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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/chat-engine/src/native/session.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1123f6eef7e11dedd6ec2dd2bc1169af2c0f7363a0fc17e6ce534116f0d248f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 59, cognitive 83): (anonymous) has cyclomatic complexity 59 and cognitive complexity 83; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ccce1a1dd7d4ae277c5f905b2c5e9e8da32e650dd50407601fb5c8102b1e20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SubagentSettingsEditor (cyclomatic 59, cognitive 55): SubagentSettingsEditor has cyclomatic complexity 59 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":"web/components/settings/SubagentSettingsEditor.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4dbe33ade8386a0a587421c3703a6de7acd68e14f767beb502c8c44cea3de6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SingleMasteryQuestionCard (cyclomatic 59, cognitive 51): SingleMasteryQuestionCard has cyclomatic complexity 59 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/components/chat/home/MasteryQuestionCard.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2c9a79c65632f48c7076bdc8c389549d974212b5bd73d0dfcf7c37b3448d62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildStartTurnInput (cyclomatic 58, cognitive 57): buildStartTurnInput has cyclomatic complexity 58 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/controllers/buildStartTurnInput.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"df821a844cc43b5794540a4ceef9b2a19e712cd41acbcf5609a5699e7c6e3af4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PageReader (cyclomatic 58, cognitive 44): PageReader has cyclomatic complexity 58 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 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":"web/app/(workspace)/learning/books/components/PageReader.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2615855a657346913e40ff75b76bbe11266b8e4209ceadaa36bbe92860ede694"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CoWriterWorkspace (cyclomatic 56, cognitive 52): CoWriterWorkspace has cyclomatic complexity 56 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa9b822f310f2cfd8832a80eb6d1b4a5272434a023effbe82e5fedd8f11df52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UserMessage (cyclomatic 55, cognitive 46): UserMessage has cyclomatic complexity 55 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4a59164a10ecb87bc1f13d5064865e038e743dab992ab13c5b843a03e356da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 54): (anonymous) has cyclomatic complexity 54 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":2798}}}],"partialFingerprints":{"codehealthFindingId/v1":"a737feca65f5b0ddcd25915027ea88e5f76cfc6df4bed82384cb4290b57a884a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TraceRowItem (cyclomatic 52, cognitive 57): TraceRowItem has cyclomatic complexity 52 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb276108b49c70ed4d6159e844ab1b720be30fc07c75f2ff77917f4bec180565"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatWorkspace (cyclomatic 52, cognitive 51): ChatWorkspace has cyclomatic complexity 52 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"32536a5c20723840897d986e44ff204379edd4ac731fd038f233ba908e7bfff6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PartnerDetail (cyclomatic 52, cognitive 42): PartnerDetail has cyclomatic complexity 52 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"web/app/(workspace)/partners/[partnerId]/page.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca948c31dd643ee8a0f434c331cad4748566b3c5034eb38570ac867dedae2c08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MediaReadingStage (cyclomatic 51, cognitive 49): MediaReadingStage has cyclomatic complexity 51 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/workspace/MediaReadingStage.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f01db9f4ce1bf502485e5d88276ab850833cf5b39490d5e105846cc1e1f31e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReaderPane (cyclomatic 51, cognitive 42): ReaderPane has cyclomatic complexity 51 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bee8b40d268b887c1e2e88b04fac24d31d2e4be5339861ea9aaab675e90a75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTurnEvent (cyclomatic 50, cognitive 46): parseTurnEvent has cyclomatic complexity 50 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/contracts/parse/turn-event.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4b4f5a07c499bcf5df1a3afba0b4c584a80395a00d06fba1ce54d225cdae7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CalendarPage (cyclomatic 50, cognitive 46): CalendarPage has cyclomatic complexity 50 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/features/calendar/components/CalendarPage.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6c1f1a44a0eb9aab65b8a73d8fc8f5c88a23d909854ff6f4ac1608b8132257"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ServiceConfigEditor (cyclomatic 49, cognitive 44): ServiceConfigEditor has cyclomatic complexity 49 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 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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"266c52e7c4ec39652e9982b920303ce8e0517a5d90b06a91abbbbc58df65656c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeToolCall (cyclomatic 49, cognitive 29): describeToolCall has cyclomatic complexity 49 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 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d73cc149add4a01ab5475ec8f9890e79b71ad5fbc35c8d9fdc43ddf58708dff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NoteLearningContent (cyclomatic 48, cognitive 41): NoteLearningContent has cyclomatic complexity 48 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 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":"web/features/notes/components/NoteLearningContent.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c253e9f201b46e8d12b2fb882d085fb2da67296139f7aad70aa5e5b5240c69be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AssistantMessage (cyclomatic 48, cognitive 37): AssistantMessage has cyclomatic complexity 48 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 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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c6a37364076620d91f5d5d135679a62510fcf9f5b701433e6a8d7a5cdbe7e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hydrateRequestSnapshot (cyclomatic 47, cognitive 48): hydrateRequestSnapshot has cyclomatic complexity 47 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ddc8ce14263cab3e4b5be6006cd43452db23fb342632b69242fcd1a279f9a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReadingWorkspacePage (cyclomatic 47, cognitive 43): ReadingWorkspacePage has cyclomatic complexity 47 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/workspace/ReadingWorkspace.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"37460804e5dd775d08c0e89d6563c0e90398012fc2cf81353611f504dd50440d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 46, cognitive 40): (anonymous) has cyclomatic complexity 46 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72497712ea5c7203f911c62109873a0b1f87b38d7cc200d7e5dba0f2c87d8bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BlockRenderer (cyclomatic 46, cognitive 31): BlockRenderer has cyclomatic complexity 46 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 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":"web/app/(workspace)/learning/books/components/blocks/BlockRenderer.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4d68321b2df44887c0e777ea0b50d2e1ccbfdbd045842bec7fd5cc7cc64ef3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preparationRows (cyclomatic 45, cognitive 52): preparationRows has cyclomatic complexity 45 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"web/lib/book-activity.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"37157ce5a546135df8f42b2c644b24f3d7504121918a4cdf3eb1bbb94c55a699"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GrantEditor (cyclomatic 45, cognitive 44): GrantEditor has cyclomatic complexity 45 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 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":"web/features/multi-user/components/GrantEditor.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9807294e9b2c94acc0333922bdb5a681a2397706c1e5d27420b5be01d64133"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 44, cognitive 76): request has cyclomatic complexity 44 and cognitive complexity 76; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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/chat-engine/src/providers/chat-completions.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"519f8eb22ae399e2fe846972e5a9919a36803ff5fb16ccc310402aab4d34fd37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BookHealthBanner (cyclomatic 44, cognitive 34): BookHealthBanner has cyclomatic complexity 44 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"web/app/(workspace)/learning/books/components/BookHealthBanner.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"22966cbc8d87a5a73c745e3672d0638aea058411ddedbb8977a41a2dd1438d70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMessage (cyclomatic 42, cognitive 55): handleMessage has cyclomatic complexity 42 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 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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"610b28a68f00cba56e20809ac1d45a9cd001a7fd835263ed33c309a52d2fb92a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KnowledgeBaseDetail (cyclomatic 42, cognitive 38): KnowledgeBaseDetail has cyclomatic complexity 42 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 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":"web/components/knowledge/KnowledgeBaseDetail.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ae06e05f41be25e304ec5ce97974a5df40f66785d99e4d06c08142d09ca50a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractVisualizeResult (cyclomatic 42, cognitive 36): extractVisualizeResult has cyclomatic complexity 42 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 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":"web/lib/visualize-types.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a74553e367c3fb33f0096a7f77ff427e2ab70961859d9a696e3b38c931729d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 64): (anonymous) has cyclomatic complexity 41 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"57114d1f0f2c6254098cf385f7679aa3e154e73d74944b8d314615b1b048622f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QuizViewer (cyclomatic 41, cognitive 40): QuizViewer has cyclomatic complexity 41 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2e5783cde22618344ddf2f5dd71fc509f19a66077e1846c95f88b2187c7c41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IndexingModelSelector (cyclomatic 41, cognitive 31): IndexingModelSelector has cyclomatic complexity 41 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 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":"web/components/knowledge/IndexingModelSelector.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b349b7fbc3ef323a713ac43524558115aaf85e10e144074cd3490b6db88f47f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blockPreview (cyclomatic 41, cognitive 21): blockPreview has cyclomatic complexity 41 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":"web/features/notes/model/blocks.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1907ae4d9f77d53796baee1906f6b2fc0161050089c89249568746f9fb570e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 40, cognitive 46): (anonymous) has cyclomatic complexity 40 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/components/chat/home/ComposerInput.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bed69c5dbff130517fbe235ca608730ab6c74d10442372dd814c5ed2146735"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePersistedViewerTabs (cyclomatic 40, cognitive 43): parsePersistedViewerTabs has cyclomatic complexity 40 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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf5110971b2cd4aaba61d07f2c61d480885bf56da458e8bb9fdb67a50c1b57c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reduceBookEvent (cyclomatic 40, cognitive 28): reduceBookEvent has cyclomatic complexity 40 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":"web/lib/book-progress.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec147be7257c9cdd5d44b604119fee9b6c8999e8ea1ba809cb8f0c69378c2aab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProvidersWorkspace (cyclomatic 39, cognitive 34): ProvidersWorkspace has cyclomatic complexity 39 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"web/components/settings/ProvidersWorkspace.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3139b1ec4ff31823362d72234d5727b4763dae5c0a28df7222550b4b76706ea1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelTestPanel (cyclomatic 39, cognitive 32): ModelTestPanel has cyclomatic complexity 39 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":"web/components/settings/ModelTestPanel.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"91855e9e4b2d6310913aaed7bdd01ab83a14ad942798c1c8ff177b6d2ad5c8eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KbDocumentsSection (cyclomatic 39, cognitive 31): KbDocumentsSection has cyclomatic complexity 39 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 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":"web/components/knowledge/KbDocumentsSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cec62ff39d37811231dbd5bd1067059cb39b6407f3c19da09ff0ac6980e2b46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 50): (anonymous) has cyclomatic complexity 38 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c30cc27df645cd84c8f277ba7a575d77ce021ce4de2cd41b957c8f1a40a73d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdminUsersPage (cyclomatic 37, cognitive 32): AdminUsersPage has cyclomatic complexity 37 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":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5ac31bdb12bc574f4e3475a818bda27d0102a6b843e9df8d4164aa1b1cd853"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeLanguage (cyclomatic 37, cognitive 25): normalizeLanguage has cyclomatic complexity 37 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/i18n/languages.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc14d09921d04bec12d4e08470e0d29aaffadd96901eed79417dc89b17d7f61a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 40): (anonymous) has cyclomatic complexity 36 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"web/tests/e2e/learning-display.audit.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"227964ed15acd6c6b56d25536dfba82448dd52fedca82d8277eefb5d59728077"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function systemEventDisplay (cyclomatic 36, cognitive 35): systemEventDisplay has cyclomatic complexity 36 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be726784520df072cfb4c5ef9f238f5cda367cd018d1a9e6aab32d558f07958"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRow (cyclomatic 36, cognitive 34): renderRow has cyclomatic complexity 36 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41044285597ce17e7042e779d0d8355c7ac0aeef98530230dff841659a7d10b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MasteryTopicPage (cyclomatic 36, cognitive 33): MasteryTopicPage has cyclomatic complexity 36 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/mastery/[pathId]/page.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ae67a9f1e6b813ff3079d5cba1e04c5829f0c5aa84bed867cfe59abea98f77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarShell (cyclomatic 36, cognitive 33): SidebarShell has cyclomatic complexity 36 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/sidebar/SidebarShell.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ddaa04d113e81dc795304f2c6cbf5c6a16f1c85c266e9c6683ea3a4162aa4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AboutSettingsPage (cyclomatic 36, cognitive 28): AboutSettingsPage has cyclomatic complexity 36 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":"web/features/settings/sections/AboutSettingsSection.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e84dd6219ad8693dd2145f5e94a1b2e8ff04ef9b5867558040b38a56b9c6bb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 41): (anonymous) has cyclomatic complexity 35 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":"web/features/notes/components/useNoteThreads.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb5ea95e4e5bab681c2fe86e8fa5782b875084dfb7f93f2c2d65c5793addf7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 33): (anonymous) has cyclomatic complexity 35 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"6567ac33401adf7c160cb2e268eee382a477bc9ce5345388085660a9508c8d85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 31): (anonymous) has cyclomatic complexity 34 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 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":"web/features/settings/sections/ToolsSettingsSection.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dce5f1ecdb882ce07ec0e47e11e036ccbfa04ddaa71168f92d678de9b9618a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IndexVersionRow (cyclomatic 34, cognitive 29): IndexVersionRow has cyclomatic complexity 34 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 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":"web/components/knowledge/KbIndexVersionsSection.tsx"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfea3b90c7aafe8fae637a189ac5b2fc9c2e9d696e6eb4a98add0074ddd177c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 43): (anonymous) 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":4074}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf204b2622fbfad0b0acbee2a5bf9827e25b2f1e6aa855f1ac400d071743efb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SchemaField (cyclomatic 33, cognitive 34): SchemaField has cyclomatic complexity 33 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/schema-form.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"57aebcecc2a91e323b9bba76503c415c8b2583554df6f6525f1ea19b4f2c7673"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NotebookRecordRow (cyclomatic 33, cognitive 30): NotebookRecordRow has cyclomatic complexity 33 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/NotebookRecordRow.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45401a63559c59795a07a81cb714d22e896a820d9d7d8a92573dc6d3baba10d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CreateKbModal (cyclomatic 33, cognitive 27): CreateKbModal has cyclomatic complexity 33 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1daef70c4880ee3678032e52b1b0b46670b49ca7ca412104ade7094ec89136"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileRegistrySave (cyclomatic 32, cognitive 68): reconcileRegistrySave has cyclomatic complexity 32 and cognitive complexity 68; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/lib/provider-registry.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"82eceda3fc8af0d9b7e6d4eddb9eddcbaca90d293f737c2cccc773e72635cc7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Preview (cyclomatic 32, cognitive 26): Preview has cyclomatic complexity 32 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ServicePreviewPanel.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9242813438400334a95a1230bf44f837f6668ac05e0ddb83d5767e500ffb5d3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceRow (cyclomatic 32, cognitive 26): WorkspaceRow has cyclomatic complexity 32 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/WorkspaceSettingsSection.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"579f13aa28afa1937f1b58a70e5a89ed5183794ef6692d2a34d9aaa95c3b3e5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VoiceModelFields (cyclomatic 32, cognitive 25): VoiceModelFields has cyclomatic complexity 32 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/VoiceModelFields.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1be46107db9ba686c342617d631bdcbcdbd84a596e83cffac694f5e649412b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 59): (anonymous) has cyclomatic complexity 31 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d813ce275649ab4240d028bcd38316ce19d6ef661e9b98c0b9c806b5461407"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tableReasoningEffortOptions (cyclomatic 31, cognitive 39): tableReasoningEffortOptions has cyclomatic complexity 31 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/lib/reasoning-effort.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"058f609ee973b20ab153af31e59dd41cf801415807ca126b6e7d8a62c7248ef5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KbFilePreview (cyclomatic 31, cognitive 32): KbFilePreview has cyclomatic complexity 31 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":"web/components/knowledge/KbFilePreview.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"34422130baeb3e27fae7f6c60bb8be2c671b0e36000fb9e98db494d9e5cc2e74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MinerUEngineSettings (cyclomatic 31, cognitive 30): MinerUEngineSettings has cyclomatic complexity 31 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa61ec824ccca4bac3ad79c0ff917182eee279c9056f4ec3ae0564814c130eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildBookActivity (cyclomatic 31, cognitive 30): buildBookActivity has cyclomatic complexity 31 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/book-activity.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88554a3a24516b5c7a3e9bb7ab1f4a2632efa9d18ee4007b0fe8061d94c2f0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 29): (anonymous) has cyclomatic complexity 31 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 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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"152ce3a8051a5947e9ae26222beb63631549d95b49da673eaeeb89bbec51b665"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateNativeInput (cyclomatic 31, cognitive 28): validateNativeInput has cyclomatic complexity 31 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":"packages/chat-engine/src/native/types.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be4c1d2681b6beb82aa8181e089e7a6e462010f1429b3d46c62c946c83013b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelSelector (cyclomatic 31, cognitive 28): ModelSelector has cyclomatic complexity 31 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":"web/components/chat/home/ModelSelector.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b3c11afed472d26758b01b66ad1bb2ade14183bf0ef8433137c1ffdaab0a7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSave (cyclomatic 30, cognitive 49): handleSave has cyclomatic complexity 30 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c4243a78d1a267bbc627baa10c6e301623ec23ea5ef29235ab5bf8734288e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SourceNavigator (cyclomatic 30, cognitive 28): SourceNavigator has cyclomatic complexity 30 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":"web/components/reading/workspace/SourceNavigator.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd101a048c99bc4a0e688d6071ef7894b461b0c2e4851117c9ddb508e57c699"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 26): (anonymous) has cyclomatic complexity 30 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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8295b9d7c0218127d978f27848a28ecc75655e1af19145e5efee0ba4c5987f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 29): (anonymous) has cyclomatic complexity 29 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":"web/tests/e2e/chat-header-overlap.audit.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4141d25306890a3f1c779b6ad35ca89f61194046ec83aeff08815051ca5f1bde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 28): (anonymous) has cyclomatic complexity 29 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":"web/tests/e2e/reading-location-history.audit.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0262c81f03db32dbef2ab373e3c2882ef0d7802221f9ab9063635942bcc6ea7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NoteTopBar (cyclomatic 29, cognitive 27): NoteTopBar has cyclomatic complexity 29 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteTopBar.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad0c5673fa3efd6b0f03641b93a552934f8140d062e876d657a7c6b27696af4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EntryDetail (cyclomatic 29, cognitive 25): EntryDetail has cyclomatic complexity 29 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"850ad3bc7af9273d4dab3eb0564ca6f1e0c88f6909bbe86b4b1ac53e1faa4064"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NotebookDetail (cyclomatic 29, cognitive 25): NotebookDetail has cyclomatic complexity 29 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/NotebookConsole.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44c7d58f707bcf315a2ca0b0ba8374b7173c0a2f30b34184a99e77d63035762"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PartnerChannels (cyclomatic 29, cognitive 24): PartnerChannels has cyclomatic complexity 29 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":"web/components/partners/PartnerChannels.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3600352d08290bc0cc04831bdaeeb5c2ff6b745841509339a3c1868e3ccafc44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QuizQuestionCard (cyclomatic 29, cognitive 21): QuizQuestionCard has cyclomatic complexity 29 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":"web/app/(workspace)/learning/books/components/blocks/QuizBlock.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe85bc83bf7869e39858a96aa8e3f327b6ada4886dc74158d10ce9e9b31d5f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runLoop (cyclomatic 28, cognitive 70): runLoop has cyclomatic complexity 28 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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/chat-engine/src/core/run-loop.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"926e8aca8038ab0e346e0fed9260a6c92ebd194d412a85f4ea47d8cf455b83ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTraceHeader (cyclomatic 28, cognitive 37): getTraceHeader has cyclomatic complexity 28 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a84c85b850ee79d24889aa6c6f79e5e9e32d2bc3c54fc846de0ffce51d45590"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DocumentParsingSettingsPage (cyclomatic 28, cognitive 23): DocumentParsingSettingsPage has cyclomatic complexity 28 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c13667647f2199f7a860291d77413ca957b3ed3b5290ed21d27c399f4ed855"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 27, cognitive 50): run has cyclomatic complexity 27 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/components/settings/ServicePreviewPanel.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"122cde5a83aba369e3755016de8caa51157e649c8f5ac3b945f98f137b449198"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ingest (cyclomatic 27, cognitive 34): ingest has cyclomatic complexity 27 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/providers/chat-completions.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a0186d4f362ab232882b2d9179eac8bfa3b9b8e92cfb027bb6b938be27741d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionViewerPanelInner (cyclomatic 27, cognitive 31): SessionViewerPanelInner has cyclomatic complexity 27 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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"4175ffa8dfbd0b0f0beb124b4d24dfc8836f63f9fac1d4ce527d19042219f8db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 30): (anonymous) has cyclomatic complexity 27 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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7ecef56a00814bc0cc3af7c9b0d2017f19c44092f30be0676d1993433c6e8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 28): (anonymous) has cyclomatic complexity 27 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":2707}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7333e97032252646fb9b335f406aee1381285cd0f5efa531477cb3958bb5bc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 26): (anonymous) 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":"web/app/(workspace)/learning/books/components/BookLibrary.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"4453d68ead038d6760338211ffc2c1c8dc76435a3f534e5686051ecc60e7d50f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InteractiveAskUserCard (cyclomatic 27, cognitive 26): InteractiveAskUserCard 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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"46abe93d58c15228b2068ce4602a8957f7b11de55e072ea219b7fd358a81c7b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OutputFileActions (cyclomatic 27, cognitive 26): OutputFileActions 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":"web/components/files/OutputFileActions.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcba701ccc0169a8ee9fce016b792d62a7e944ff7a762ff9c468516f85994f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PartnerConfigure (cyclomatic 27, cognitive 26): PartnerConfigure 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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"403c331f1eba371d34c5bf79747a8803120290c67a224a5421cf0042b5985983"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KbSettingsSection (cyclomatic 27, cognitive 25): KbSettingsSection has cyclomatic complexity 27 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KbSettingsSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fb39c55881df1692b8d813fe0b7df45e57f66ef179cdf88e8675c810862da0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComposerInput (cyclomatic 27, cognitive 24): ComposerInput 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":"web/components/chat/home/ComposerInput.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18a6846dd9f3f99a4f41c452b65b1b80d43989958ee9e903ba89d75786c1868"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NoteFavoriteBlock (cyclomatic 27, cognitive 24): NoteFavoriteBlock 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":"web/features/notes/components/NoteFavoriteBlock.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81a2d116c467b0f5c46632eecc5f060f3a6f2ecf623a297cb401e5fdfca3916"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GroupedMasteryQuestionCard (cyclomatic 27, cognitive 23): GroupedMasteryQuestionCard has cyclomatic complexity 27 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/MasteryQuestionCard.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ac8e1d7cf1f0378cb8bf8f2a5344e5dd5c69417391c9178c6c8b64bf9411c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GuardianSettingsPage (cyclomatic 27, cognitive 22): GuardianSettingsPage has cyclomatic complexity 27 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 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":"web/features/settings/sections/GuardianSettingsSection.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"056fa14782035575c072a7d984d2573f49d071b3a42e9ad50b70a1cdc1b2ec1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractAskUserPayload (cyclomatic 26, cognitive 43): extractAskUserPayload 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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"667b0b9a2a2dd23b0e2606eb096c22dbd13a0f3fc96687d9f3ad830e1536d2f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workspaceTool (cyclomatic 26, cognitive 39): workspaceTool has cyclomatic complexity 26 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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/chat-engine/src/tools/workspace.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d5c04d69ce8f010d14865623f4c26c70302b1e65a3ba374a2537fb09d3ee30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normaliseAskUserPayload (cyclomatic 26, cognitive 38): normaliseAskUserPayload has cyclomatic complexity 26 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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"9489548bb1eb3f098a16003bd0697f0c95ebff49eb0fa59df032451f8d6fcf30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillsSection (cyclomatic 26, cognitive 25): SkillsSection has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/SkillsSection.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"684f97f988fca61efa077e7afbb8ef8e92813721f9f9ef9bfda7a2c084eb7d74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProfilePage (cyclomatic 26, cognitive 22): ProfilePage has cyclomatic complexity 26 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 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":"web/app/(utility)/profile/page.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3584598b123cf3fb76e837b2853f480d6fe639be177b8a959741b4d008907e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SoulPicker (cyclomatic 26, cognitive 20): SoulPicker has cyclomatic complexity 26 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":"web/components/partners/SoulPicker.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb61af395654fb40d7ea63e1afae6d73391acd580e14f4bcceefb66f927d5d83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodexOAuthCard (cyclomatic 26, cognitive 19): CodexOAuthCard has cyclomatic complexity 26 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":"web/components/settings/CodexOAuthCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5096ba6530095faee811d641ee33c6e6898de334c1ca55212521364d8eccf373"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function linkifyLocatorCitations (cyclomatic 25, cognitive 56): linkifyLocatorCitations has cyclomatic complexity 25 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":"web/lib/reading-citations.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b0ff4733bd14e563bf038ab2ede0e4f566a0d018567254361bc73efddc532a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageRegistryAction (cyclomatic 25, cognitive 41): stageRegistryAction has cyclomatic complexity 25 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":"web/lib/provider-registry.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c41dfd6deee01a92bc4ecd39bda9799946466c3fd1251f967fb03d89d5c6716"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectionTextWithoutLineNumbers (cyclomatic 25, cognitive 36): selectionTextWithoutLineNumbers has cyclomatic complexity 25 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":"web/lib/reading-selection.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"221769f6c2768eb489f16c7ee4f61cf497c6f30172163bc231c6c6b754823fce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CreationDraftCard (cyclomatic 25, cognitive 22): CreationDraftCard has cyclomatic complexity 25 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 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":"web/components/chat/home/CreationDraftCard.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc90272cda81645d8080c9ec869117c6e2fb3ec0cba2cb12dc10f8508eece134"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 22): (anonymous) has cyclomatic complexity 25 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 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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b36007ec2b3c44514d48974a9e3ec354f17543490894e6c2136fd90eab92c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MaterialRow (cyclomatic 25, cognitive 22): MaterialRow has cyclomatic complexity 25 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 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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfc6721fb99a655319d82cbfd3de6792c8871c78d53743e9dd4aa6496a3aa50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ResearchOutlineEditor (cyclomatic 25, cognitive 21): ResearchOutlineEditor has cyclomatic complexity 25 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":"web/components/research/ResearchOutlineEditor.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d013a4d2b914681eded19013c1b6362b76c305a332359dfdfc8860487b8d98a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EventEditor (cyclomatic 25, cognitive 21): EventEditor has cyclomatic complexity 25 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":"web/features/calendar/components/EventEditor.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f15c528ff318a11052f9a82121ca41b28eef89327f7e59b0667a2630f2296fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reportUntranslatedKeys (cyclomatic 24, cognitive 46): reportUntranslatedKeys has cyclomatic complexity 24 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/scripts/i18n_audit.mjs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d0daa3a0caf23459fd8a0127e4a4b05d98b34613736d9809ca8018a1d1ba12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDeepResearchStatusLabel (cyclomatic 24, cognitive 44): getDeepResearchStatusLabel 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b94d6d7a393096224ad7e196e341acf9635be56716f0115e81b3be8da37051e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileTurnIds (cyclomatic 24, cognitive 42): reconcileTurnIds has cyclomatic complexity 24 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/turn-reconcile.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c8abd481dcb066c4e531367509ed1a52eaa7066a967ebfa607d0ab2a0b2b32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 24, cognitive 30): onKeyDown has cyclomatic complexity 24 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":"web/components/reading/ReaderImageLightbox.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46c4bc57f9f4c883a7a8251b801a30477a80e2923c28831aa70749366ea391a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 28): (anonymous) has cyclomatic complexity 24 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":"packages/chat-engine/src/tools/ask-user.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f8616fa9545cb36ba9844ab96c96b3c01fc13bb6ea1f4f33053ca2da6d253d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrayMenu (cyclomatic 24, cognitive 23): TrayMenu has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/ComposerTrayMenu.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a223ea91dc185d5209acc03122d946ec416c751d286a5b3db03a06bba033d5b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PracticeTurn (cyclomatic 24, cognitive 23): PracticeTurn has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/learning/practice/PracticeSession.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"96913fea8522618e0df50e8bb40d08685cfda8e3b9fa25cf60e8ebcd3314a8e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 23): (anonymous) has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/context/QuizFollowupContext.tsx"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ea33465624142284c6f1f2e19ba53a32b59c1ec79999c1c32dac3163cc80ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HistorySessionPicker (cyclomatic 24, cognitive 22): HistorySessionPicker has cyclomatic complexity 24 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 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":"web/components/chat/HistorySessionPicker.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1147e9fbd111483f40e07b6e121255644927d8cda15f41d277c4c491a8c4868a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WebSourceCard (cyclomatic 24, cognitive 21): WebSourceCard has cyclomatic complexity 24 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":"web/components/knowledge/KbWebSourcesSection.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdb4e25ae74e2e74ffef1771556034c3cf5e148df7582caebf898c1f5314b46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PartnerSeat (cyclomatic 24, cognitive 21): PartnerSeat has cyclomatic complexity 24 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":"web/components/partners/group/PartnerSeat.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d453d716235634ff8af3c25e4e2f62e8ea8822f2a086b161c383d224255a2bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MasteryStudy (cyclomatic 24, cognitive 21): MasteryStudy has cyclomatic complexity 24 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":"web/components/space/learning/MasteryStudy.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"6999a656085042c0304a8aa06932d15d8ff76c9182e37e7b6481d1d5f57d90ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DimensionField (cyclomatic 24, cognitive 19): DimensionField has cyclomatic complexity 24 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":"web/components/settings/DimensionField.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca59be1cf97cf5e251ddb455095beb191e6f6a0c22e93691bf1b0e8d0a08aaca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sse (cyclomatic 23, cognitive 52): sse has cyclomatic complexity 23 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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/chat-engine/src/providers/sse.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"217780da3a3a766d30e780331d947e0e2c110048d07ffd1ad51a5cd5a2e1891e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectStreamingMode (cyclomatic 23, cognitive 44): detectStreamingMode has cyclomatic complexity 23 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b299e17d0d003434ab5d594d0156e2015ffae03292a3ab8a2316a105f474a55c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanFragmentEnd (cyclomatic 23, cognitive 42): scanFragmentEnd has cyclomatic complexity 23 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/latex-normalize.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d2f1214e883720a02a07d1b14636b8094e67e89540e9ddb6c7c2f912c26910"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 31): (anonymous) has cyclomatic complexity 23 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bb932b687c97dc10d7a2f6a3c614575eb1847b17cad4e56d9caa20ca4ca650"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 29): (anonymous) has cyclomatic complexity 23 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":"web/tests/e2e/settings-navigation.audit.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed575f61fef5d0834e8b80e77b345fd89f1c98a682376bc4e219b37064f7002"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function code (cyclomatic 23, cognitive 23): code has cyclomatic complexity 23 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":"web/components/common/RichMarkdownRenderer.tsx"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4b866de890ed987ade791936f4df629fb3cec1038e866ef18c5df07c40e60e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ThreadPanel (cyclomatic 23, cognitive 21): ThreadPanel 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":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"207034ec4b06a70e17ec35173b61edebbf773daa11780dbbad84fe2fa17240a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QuizFollowupTabBody (cyclomatic 23, cognitive 20): QuizFollowupTabBody has cyclomatic complexity 23 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":"web/components/quiz/QuizFollowupTabBody.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d70dc8c4920ac69c9cd7eccd77a48fc89c84747afb666f023ebcf7a366cfc7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ImaConnectionFields (cyclomatic 23, cognitive 19): ImaConnectionFields has cyclomatic complexity 23 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":"web/components/knowledge/ImaConnectionFields.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfd2c6f3419c9548066370de7cc98d3870636d1f29e44670dbc29077499833c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 19): (anonymous) has cyclomatic complexity 23 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":"web/components/knowledge/LightRagRoleModelsEditor.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5b992ed0f07633bb5da751ae75e12037978d7732c16c5043a775d251693230"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 18): (anonymous) has cyclomatic complexity 23 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":"web/app/(workspace)/learning/books/BooksRoute.tsx"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb84f6c2877da6c7a6ab6d0154e78dafe383db2e3334f002fcecb8f83b297f94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AnimationBlock (cyclomatic 23, cognitive 18): AnimationBlock has cyclomatic complexity 23 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":"web/app/(workspace)/learning/books/components/blocks/AnimationBlock.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81fd923e142ad2883372cc59d429244bae57f19ee9803badbd6c019855af01c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NoteWorkspace (cyclomatic 23, cognitive 18): NoteWorkspace has cyclomatic complexity 23 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":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10b9b1b61de970014aaa37c702664461ffddc55b5697b56deef86ec8872542b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PartnerChat (cyclomatic 23, cognitive 17): PartnerChat has cyclomatic complexity 23 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fe80ae198975230df25eabac3cef4ffd54a17e82c316164073d9133f5ad942"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AnswerList (cyclomatic 23, cognitive 14): AnswerList has cyclomatic complexity 23 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":"web/components/chat/home/AnswerModeMenu.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"52581c387b263a5b75ce4061c97bf1562dc642b14c1d1d5d4536afda1ec7e4e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StreamingStatus (cyclomatic 22, cognitive 23): StreamingStatus has cyclomatic complexity 22 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e2cc9a1e833d113ca762b6b89438ee0464015e95bac4386a8da664113c14b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 22): (anonymous) has cyclomatic complexity 22 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":"web/tests/e2e/reading-citation-material.audit.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6528dac77748d965c1b8300c1b8f10b6c1bddb9c74cad72d7bab6912f42e7e57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewKindFor (cyclomatic 22, cognitive 21): previewKindFor 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":"web/components/chat/preview/previewerFor.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38d6f2a607c85d83e773b4625414fb32ed5e9224bb75fa1573d8e1cb23685a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KnowledgePage (cyclomatic 22, cognitive 21): KnowledgePage 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":"web/components/knowledge/KnowledgePage.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0bde9a1aa664ebe39dee0d96ce48671c900cbda67603348a61deed6a40852d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeEntry (cyclomatic 22, cognitive 21): normalizeEntry 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":"web/lib/reading-location-history.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb5f7f00018a8f2e56054356259782c044040d76dfe3363b1dcbce0ad76fba7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 21): (anonymous) has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/tests/e2e/pdf-reading-resize.audit.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7178fad5ad448ff340a5909cdc746a93125234a85e35d3f2d6072c3bcec558"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReviewTrail (cyclomatic 22, cognitive 20): ReviewTrail has cyclomatic complexity 22 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":"web/components/space/learning/ReviewTrail.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f154ae7c74e68e99478e2022bd605a462596fab04374050945f235e921cad42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ThreadComposer (cyclomatic 22, cognitive 20): ThreadComposer has cyclomatic complexity 22 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":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4237accf6897d7236b27f35b27f10ff849eb88939f6079f57fd9273dab0d920"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SaveToNotebookModal (cyclomatic 22, cognitive 19): SaveToNotebookModal 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":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2921026cf4b8ebd428b12ada6379dbf2f486f24e4efc5260ec00bb36a74b063"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncProviderModels (cyclomatic 22, cognitive 19): syncProviderModels 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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaee08c96407e5664fd073579af525d3ff96ce8a8ff05f0879a27badb99b232"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WatchingBrowser (cyclomatic 22, cognitive 18): WatchingBrowser has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/watching/WatchingBrowser.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1047f3d07a2ce304d1dbc821a581afa1ed1a4507b75b1d1f342afc3fb4fe4f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DoclingPanel (cyclomatic 22, cognitive 18): DoclingPanel has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"99585cae3f5bf09b18e626e18c42c997686ff144e2a33860750831544dfeb0b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 17): (anonymous) has cyclomatic complexity 22 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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"422a52d308255989febd533d806dd7bc677b66eadcbd6c1ade9f7855aa1caa6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 12): (anonymous) has cyclomatic complexity 22 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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9c22ba98f5c5a956de72f64e151227bcb3617e54d4c4d8d6b0dbd3841772e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeEditorMdInlineMathInProse (cyclomatic 21, cognitive 46): normalizeEditorMdInlineMathInProse has cyclomatic complexity 21 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"web/lib/latex.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"61380a60eb8f00610e3cd162dd89adf039559bf5fff418b62f94609a7ef6b4d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectStreamingMode (cyclomatic 21, cognitive 40): detectStreamingMode has cyclomatic complexity 21 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"web/features/chat/trace/selectors.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4209cc7c57b85293e10880efb9d964a52d802c96f888ee886345690e36f14e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 21, cognitive 31): submit has cyclomatic complexity 21 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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b51670826ba06768fd722a6d3e4f2be59e87abd9b6a95d77b3633c5205fea0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeReadingReferences (cyclomatic 21, cognitive 29): normalizeReadingReferences has cyclomatic complexity 21 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":"web/lib/reading-references.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e325b4315b747146514083572bf08e3342ce6e5124fdab04931c315b1f7555"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 26): (anonymous) has cyclomatic complexity 21 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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebf8f0f82f273863080d87b8cd7478d4160ec526561269876be7e751b96c9cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 25): (anonymous) has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/transport/stdio.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b4f4c61f2c741dd093ac85237e2bbb396ab48deecafba31be53f640d844113"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EntryDetail (cyclomatic 21, cognitive 20): EntryDetail 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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7496cac86ccb2ff10f9e8af81c771a5801bab2b1daae6f1da4a76a44bd4c440"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InstanceCrumb (cyclomatic 21, cognitive 20): InstanceCrumb 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":"web/components/layout/LocationCrumbs.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d610445a3ef7c03dbbb203f17e189611bea39583b2b43ee3989a6b9311f288d"}},{"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":"web/tests/e2e/reading-pdf-zoom.audit.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7507db937ebe54ee1b057eacc14d7ba0333206c11df1518364b38a308d59a66b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChannelOnboardingPanel (cyclomatic 21, cognitive 19): ChannelOnboardingPanel 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":"web/components/partners/ChannelOnboardingPanel.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8797225388400f5474c0279be0b3b92d5e675e07be6582908c3cc84dce2b8605"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExtensionResult (cyclomatic 21, cognitive 19): ExtensionResult 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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7ca6fd65cd44cd6a9c683b50e2fae57eedf33c00afd95b3841300b4eda907d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelsWorkspace (cyclomatic 21, cognitive 19): ModelsWorkspace 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff0524d6c58ee495be0da1d2c9f6c0cb0c457c83a25ac42126c3a6fdea4b77f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DiscoveryForm (cyclomatic 21, cognitive 19): DiscoveryForm 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":"web/components/settings/ProviderModelDiscovery.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e585a57862bca59ec31825b57196fff91dff08e4414aa1fa478aa8fa114b930c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FilePreviewDrawer (cyclomatic 21, cognitive 18): FilePreviewDrawer has cyclomatic complexity 21 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/preview/FilePreviewDrawer.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d18c9aa52ca236d6010e71c92878594be79d51481bcef0377401860039e41f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function McpServerForm (cyclomatic 21, cognitive 18): McpServerForm has cyclomatic complexity 21 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6077e1f24bd820585a573b6388d3794930959f7d5c4e7ce8776c7837e751144f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractMathAnimatorResult (cyclomatic 21, cognitive 17): extractMathAnimatorResult has cyclomatic complexity 21 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":"web/lib/math-animator-types.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"db47a364e9cd8d38b3dc879c972d3256738b34fe8091e8ce607b2f6d3232dc90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProbeForm (cyclomatic 21, cognitive 16): ProbeForm has cyclomatic complexity 21 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/RegistryControls.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"33008a61263c4085f08261055b36dc777fbc4bda60508f9b00fc07ea1cfd0895"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 16): (anonymous) has cyclomatic complexity 21 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":4165}}}],"partialFingerprints":{"codehealthFindingId/v1":"af473469a4a8454993d8a967e73eb3942df8ff6386c20d679c942bf773a2dd2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PartnerLinkList (cyclomatic 21, cognitive 13): PartnerLinkList has cyclomatic complexity 21 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":"web/components/chat/home/AnswerModeMenu.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a77f6531e1d311ef30f69fd9c3923a6d41c7f03c2edc52f81824aeebc58f5d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildVisiblePath (cyclomatic 20, cognitive 44): buildVisiblePath 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":"web/lib/message-branches.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bde96ccb86261d8158b2e17113a8d1370cc8be5d13a713e447cc99b4adcb2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupByTurn (cyclomatic 20, cognitive 43): groupByTurn has cyclomatic complexity 20 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":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d05d9ca5cd1cb5d5d814fc20c275598976138c94d06e81e7edacf5c02072537"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDoc (cyclomatic 20, cognitive 38): parseDoc has cyclomatic complexity 20 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":"web/lib/memory-graph.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c1d32c11d665fd87838f0582cc78ea8f5a97831800d3d44b69aad252bd42f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 34): (anonymous) has cyclomatic complexity 20 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/common/InlineFileCard.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aec7f8940c08c594aa2a560342f67afae78092e79743ae406ab066d96964e43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 28): (anonymous) 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":"packages/chat-engine/src/tools/dispatcher.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78416a8d85592ec14ad77cf367adc43e58723bfed40b9a338a9a7bcc7b29640"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractCreationDraft (cyclomatic 20, cognitive 23): extractCreationDraft has cyclomatic complexity 20 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":"web/lib/creation-draft.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"201d789472d48be605cda0c734d853a7486fe44f823a294288ec8de3f2ff95dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 22): (anonymous) has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"010e60a6eb612d20d220703f1da0a0e381b63d8a79ff09bd3d5b86faef02e811"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 22): (anonymous) has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/book-activity.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"46866f88d60b9b3efaaa4cfed33e12bbd9d5497e6e29808621ef04dd1efe112b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractPartnerDraft (cyclomatic 20, cognitive 22): extractPartnerDraft has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/partner-draft.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0521ea39f64c9822c0c45d7f092ab7b0c4379a7416f5929c58d141901678de"}},{"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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c561ca9a31f631d8f9ce82be1b8c2656848f4229698719c01d5ea0e80084cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderGroup (cyclomatic 20, cognitive 19): renderGroup 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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a644f5cc42a182c1013473cfa9f76f403bf22e2f68ce811aaf8ea58127dadae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listNotebookEntries (cyclomatic 20, cognitive 19): listNotebookEntries 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":"web/lib/notebook-api.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f3abb62e508cfd3a31fa8e41258a3044b358b99a6bb9f0ba8998776e526302"}},{"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":"web/tests/e2e/composer-tray.audit.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b547e70b9e6992d23712ad015e836c0ce835d9f71ca42f4d1a3a2ca30683857e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PartnerModelSelect (cyclomatic 20, cognitive 18): PartnerModelSelect has cyclomatic complexity 20 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":"web/components/partners/PartnerModelSelect.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b896978e6c02d0d3a35122679f165b1a745b1cda0cdce9b55fd609c0c645a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 17): (anonymous) has cyclomatic complexity 20 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63abf487a30f477159af061dc3cd9fe0aeac88468900480870a00541072dc1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolExchangeDetail (cyclomatic 20, cognitive 17): ToolExchangeDetail has cyclomatic complexity 20 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"c122ae0df79657c035f23901a57f714b37bf1ad550e3f47d05f6377de58a69e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 16): (anonymous) has cyclomatic complexity 20 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"b274ce4b174af01a22fb3843530193103449fb580cc96d93425f3e602678dcf3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOutput (cyclomatic 20, cognitive 15): validateOutput has cyclomatic complexity 20 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/core/contracts.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cceb56a61724a08c6ee6105afefecb49078ae018069e0cde426142ba353bd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 15): (anonymous) has cyclomatic complexity 20 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"5deba025d0fe7f33d78142f85cb9889957ca5735e1d6a16578164aeb2403630e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RecordNode (cyclomatic 20, cognitive 15): RecordNode has cyclomatic complexity 20 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/sidebar/LearningNavigation.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b2c164dc50407d36ad05a5e79477bc405dbb6d1813ea057b9150751350e4f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function McpServerRow (cyclomatic 20, cognitive 14): McpServerRow has cyclomatic complexity 20 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/mcp/McpServerRow.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9569e2bdc6c2403d02c3f3de8c684f6662d19c1605557690393b5600f788dc87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRule (cyclomatic 19, cognitive 32): parseRule has cyclomatic complexity 19 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":"web/features/calendar/model/recurrence.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb4cb67f668199bd7eba16658f06d3506ae9e5544b497d8d118a951ec338917"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectAttachmentProcessing (cyclomatic 19, cognitive 26): selectAttachmentProcessing has cyclomatic complexity 19 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":"web/features/chat/selectors/attachment-processing.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5949566438e58a98b2f4084d07e61615b0894e9ec463747f0e85b72aa761ba46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideFailedTurnReplay (cyclomatic 19, cognitive 22): decideFailedTurnReplay has cyclomatic complexity 19 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":"web/lib/chat-resend.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a21d016950077eb0afa27e681084a1364df0dcd6662dd958e3fcdf8cb5a64a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clearFailedSubmission (cyclomatic 19, cognitive 22): clearFailedSubmission has cyclomatic complexity 19 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":"web/lib/failed-submissions.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9d920020e8f52575b9410be39e0020db6941a52025b7532b0f64b0eaeba668"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseQuestion (cyclomatic 19, cognitive 21): parseQuestion has cyclomatic complexity 19 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/mastery-question.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8926845a469c10f41cf737092a6f17f41db06bfc5fe1f743c026fdbe7d54634"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewPartnerPage (cyclomatic 19, cognitive 18): NewPartnerPage 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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1bdcaf2cab96601b650ebff6223bcaf6f09e790387a8d203363bb658401fb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KbLinkedFoldersSection (cyclomatic 19, cognitive 18): KbLinkedFoldersSection 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":"web/components/knowledge/KbLinkedFoldersSection.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"304677d3f11430eedadcc5454969556b9267dbfa5e0e957cb409d98b2af41b9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function masteryHandoffFrom (cyclomatic 19, cognitive 18): masteryHandoffFrom 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":"web/lib/mastery-handoff.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"342f5ac364a3a94403986b597bb15cab3a789ab7de895176495656069926e0c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modelTool (cyclomatic 19, cognitive 17): modelTool 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":"packages/chat-engine/src/tools/model-tool.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb3eb696fcdcb8fd7db3f4b2248b02f5c34695e6351986b86e5c62c46ee7219"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ContextBudgetChip (cyclomatic 19, cognitive 17): ContextBudgetChip 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":"web/components/chat/home/ContextBudgetChip.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6154e45d16dded9afc26fb13065f072d6127d21c1cca58049f8244482eadf3f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KbIndexingRun (cyclomatic 19, cognitive 17): KbIndexingRun 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":"web/components/knowledge/KbIndexingRun.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd12970107128235a89087e583f413f70204ababe246fe9dd8848a96dd3b429"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MathAnimatorViewer (cyclomatic 19, cognitive 17): MathAnimatorViewer 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":"web/components/math-animator/MathAnimatorViewer.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"88335cebc1e230da18ffb2155ef51341011230187ad968853f6e53d3cd151a0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelParameters (cyclomatic 19, cognitive 17): ModelParameters 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"315d356c2f9a322bbb4e5d8575c8da6235407144a6b94eee7ae0df9b77b6ac78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QuestionBankSection (cyclomatic 19, cognitive 17): QuestionBankSection 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":"web/components/space/question-bank/QuestionBankSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5c21bf9d33d31f82a4bbe745c3f9639e5dde6049de3f63731956e8e74be7b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PracticeCollectionPage (cyclomatic 19, cognitive 16): PracticeCollectionPage has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/learning/practice/PracticePage.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a3552556e0a4424cf038b09e4125e974eb4250c1f0931bae5d4803e5977fac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ObjectiveDetail (cyclomatic 19, cognitive 16): ObjectiveDetail has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/learning/ObjectiveDetail.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd967587dc9ad84504b32dd17eb28363e9b6656aa346ba27df06e171a23275e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NoteFavoritesPicker (cyclomatic 19, cognitive 16): NoteFavoritesPicker has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteFavoritesPicker.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5613cb40ef33a8d4dc96809b68ff4649fc9ef98ca219136a54d92aadccae88f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BookCreator (cyclomatic 19, cognitive 15): BookCreator 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":"web/app/(workspace)/learning/books/components/BookCreator.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b98255b3ad4176bd3bbd147ea8620136e2bba8731dfd02df5ed85df157e4919"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WhisperPage (cyclomatic 19, cognitive 15): WhisperPage 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":"web/app/(workspace)/whisper/page.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e494fc1abb28af4d2dedfd639ea5e875f5c7e3d761e0493a47095c75217ffe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MemoryRunPanel (cyclomatic 19, cognitive 15): MemoryRunPanel 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":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b10c586e02c04af53e8688c89f51cab0e664e69b97aae430544f1c9d7fea5c"}},{"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":"web/features/tasks/components/KanbanBoard.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f510895bea710e76a7d01291b51d6e53eeed86b69f4567543fef1d0f4513c872"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 38): (anonymous) has cyclomatic complexity 18 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":"web/components/memory/useMemoryRun.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"82056a878bcf68e0d30e233854b363d5278b28e8d9702f3820b05dabe8b94409"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 29): (anonymous) has cyclomatic complexity 18 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":"web/features/settings/sections/ToolsSettingsSection.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d35aca520bee9ebc6efa4d4742c93c749339e0606103ffd5942470b0058ade"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function imageBoxesFromOperatorList (cyclomatic 18, cognitive 28): imageBoxesFromOperatorList has cyclomatic complexity 18 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":"web/lib/pdf-page-geometry.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2536035cf6ae3621e172f5e6c1fa45bd17da10e6c0369d40ff2a3f6d94f9c18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectAppliedSettingIds (cyclomatic 18, cognitive 28): collectAppliedSettingIds has cyclomatic complexity 18 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":"web/lib/setup-signals.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"941e8e46259934a7de90aa3840a6aa66a142f53b3ddb45fd56c77f964a27a752"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeRule (cyclomatic 18, cognitive 26): describeRule has cyclomatic complexity 18 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":"web/features/calendar/model/recurrence.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05a12b6908bcc5b9ea5bfb0512a92ffb3fa68abfba1b53b84ac9ab4aee36cb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function roleModelsValidationError (cyclomatic 18, cognitive 18): roleModelsValidationError has cyclomatic complexity 18 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":"web/components/knowledge/LightRagRoleModelsEditor.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"781a0dbc8c21616bf334c59c74123aca66999a4bd5b487d17a15e4c88131b07e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspacePill (cyclomatic 18, cognitive 18): WorkspacePill has cyclomatic complexity 18 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":"web/components/workspaces/WorkspacePill.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"42efaf55895c68e678da8115d216ed79db12293971986bdf49d12d0c2600772d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PageCard (cyclomatic 18, cognitive 17): PageCard 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":"web/app/(workspace)/co-writer/page.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad06ee1aa2090a28cbd21d39ac70dfecf614b4dd08db4f68933ddeb47468c7bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CoWriterHomePage (cyclomatic 18, cognitive 17): CoWriterHomePage 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":"web/app/(workspace)/co-writer/page.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb428bc9a415be4cf6cbe4dfe955d1ed26f1732acc39fe7bcd0716462d45b59d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MasteryHandoff (cyclomatic 18, cognitive 17): MasteryHandoff 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":"web/components/chat/home/MasteryHandoffCard.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6861c566b35c258e29c7ae3c1f252b2b50e00ca6611eb1ea4af089071856fc31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AddMaterialsDialog (cyclomatic 18, cognitive 17): AddMaterialsDialog 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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7c76c26b08bb1043e94a8f217a2ffeaed5f317aaf2530b501a965af7d7ded7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodeBuddyAuthCard (cyclomatic 18, cognitive 17): CodeBuddyAuthCard 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":"web/components/settings/CodeBuddyAuthCard.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b91c76546822fa2f561e204d149f73cc2f4936f3aa4b8a20fe531e9cbd6731"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) 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":"web/tests/e2e/reading-w3c-annotations.audit.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13a3e4c1bba095b52deaaef3b5892ed8eb20ee923489efc087988bfbbcb647e"}},{"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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d9ce2faeebc0584c55deb7683d73ab1001e2ddd5e7feb0bbe90d597cee5987"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function McpStoreSection (cyclomatic 18, cognitive 16): McpStoreSection 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":"web/components/space/McpStoreSection.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90aebfd2fe553fff779a2c7c53aa2a5a42ba4213c7d9771f8db6e647bd1e69c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 15): (anonymous) has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/space/ChatSpaceMenu.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"705d9e8642dacbd56031ff08829abb7e24f657df44a994d9db206c1f229985bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MemorySection (cyclomatic 18, cognitive 15): MemorySection has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemorySection.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2501f9dc322509149b99b6b5f228c9c7590ffb8e7100e65c61b660c2999e81d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 15): (anonymous) has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":4051}}}],"partialFingerprints":{"codehealthFindingId/v1":"851c32c7765b4958047e2d0f658f0c1dccf266d3159bb73faf18e208929dfb05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResearchStageId (cyclomatic 18, cognitive 15): getResearchStageId has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"092091d6cfcd520cbc9762bb9caa341b18c689a3cdb65f9eb558341d0c9bc8f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRuntimeStatus (cyclomatic 18, cognitive 15): parseRuntimeStatus has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/runtime-status/model.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdada1d09e70ca71b14653e6963d14b745225412a5eee9d727d52c8813d0d67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KanbanBoard (cyclomatic 18, cognitive 14): KanbanBoard 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":"web/features/tasks/components/KanbanBoard.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"862a0dde3704c69e4926019c9db08eb5f3cde5b6d962da6058c1b96150c0e5b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BookGenerationActivity (cyclomatic 18, cognitive 13): BookGenerationActivity has cyclomatic complexity 18 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":"web/app/(workspace)/learning/books/components/BookGenerationActivity.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"525f9a125ff45a33cc034660a52c393abacc0f5b909a8784e5de7436a5af1885"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 44): (anonymous) has cyclomatic complexity 17 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":"packages/chat-engine/src/tools/ask-user-draft.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd2afc071c10e3b11dec660f396a979f3cdb747ac33e01272b99fe1feaaf325"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 17, cognitive 25): handler has cyclomatic complexity 17 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":"web/components/math-animator/MathAnimatorViewer.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3f5bbb730d81d4d3b26e0ddcdb7df32108d6212163f219b238d70da7e960c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMessage (cyclomatic 17, cognitive 24): handleMessage 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":"web/features/chat/transport/TurnRuntimeClient.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"9001661c7b3d6ad89c4658e8bc441576c14dbbb09f7c240ed0a779f56bfaf436"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 23): (anonymous) 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":"web/tests/subagent-settings-apply.spec.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92c6d94b6338cc5ee9c3ca46e08bd67e12edae0af918b89cf40b10af8b697cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePrimitive (cyclomatic 17, cognitive 22): validatePrimitive has cyclomatic complexity 17 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":"web/features/capabilities/model.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8834f30d363d9501302798128a6f27728dff663feceff19de61423b9836b7f"}},{"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":"web/app/(workspace)/whisper/page.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"356855fa8ba1f904a1c4877db0bc7c674b9e76800448592703ba7cedc8fed10e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarNav (cyclomatic 17, cognitive 19): SidebarNav 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":"web/components/sidebar/SidebarNav.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fb7f8eac00c0e75a3ccb369cc5f0bfb05505283dea6a36500ce239c5ce93b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modelRound (cyclomatic 17, cognitive 18): modelRound 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/chat-engine/src/native/model-round.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fae1cd7b1ee8f742fef42bad8697e1b138be9c474c421e66f96919f79d18be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UserAvatar (cyclomatic 17, cognitive 18): UserAvatar 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":"web/components/UserAvatar.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"56153b5050ae570583226df117ada743321d0736bb365bb2ac335465df42c301"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 17): (anonymous) 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":"web/tests/inline-copy-catalog.test.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"919943de713010c79da29c052237fc852c3d44b4bae01886af7bad4cab11cee3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateConfig (cyclomatic 17, cognitive 16): validateConfig has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/config.mjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f546729546f988be511d6c089be9d470b923e432d18c612ef52b1b6199b69e10"}},{"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":"web/app/(workspace)/learning/books/components/PageReader.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba070ac6dea0e699e93ec4c51132bd8a33ab92822176ccc66ae984ea6314371"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComposerResources (cyclomatic 17, cognitive 16): ComposerResources 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":"web/components/chat/home/ComposerResources.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"62df124ce6e032a561ba89f165105519cfcb914b3af7e7009733d773e6d2bff1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StandaloneComposerImpl (cyclomatic 17, cognitive 16): StandaloneComposerImpl 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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e282748a865023b2f96f10a7aefab9c08f03e2f50f1fa375f84202f525f7470"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PersonasSection (cyclomatic 17, cognitive 16): PersonasSection 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":"web/components/space/PersonasSection.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce298bcbbc92be01fe329105425bbceb0733ab18966ff0b9a1260193dc7aa777"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PartnerDraftCard (cyclomatic 17, cognitive 15): PartnerDraftCard has cyclomatic complexity 17 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":"web/components/chat/home/PartnerDraftCard.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe292571d0987a04d7d287cad1fa2df2c1ef45534cfb947373060e8088d0300"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewModeFields (cyclomatic 17, cognitive 15): NewModeFields has cyclomatic complexity 17 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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"662ea5164da4e3514aa6065d67c966fc19db8936d5b3b5b999904a417e46a63b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KbStatusBadge (cyclomatic 17, cognitive 15): KbStatusBadge has cyclomatic complexity 17 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":"web/components/knowledge/KbStatusBadge.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"690f7b37121f3098d03b28db25fd98e2244745d14fe0b108c8297027b908358f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 15): (anonymous) has cyclomatic complexity 17 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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a6bc7e30c087387e7edfe346a5aaa2144f795de896525d89a63654031e679e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 15): (anonymous) has cyclomatic complexity 17 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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"304c8e12579cf4e52c834d8cd5c0658e09371cf8324568075f74f1fab67ea136"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestHelp (cyclomatic 17, cognitive 15): requestHelp has cyclomatic complexity 17 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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d6c19ba6dafb94d77683a15cccc5515e0639f54d75343969a4688239a99aaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TraceRowBody (cyclomatic 17, cognitive 15): TraceRowBody has cyclomatic complexity 17 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"88632a9f2dc2a739c7a9edbaedab708a931dc489f3f1022467fb7c89c869fadc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeServerConfig (cyclomatic 17, cognitive 15): normalizeServerConfig has cyclomatic complexity 17 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":"web/lib/mcp-api.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"35720f0e1786d6e51db8ef1d3131110921c00c8769cebe6a74324f9e619fee59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 14): (anonymous) 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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c9261de75ee346c0095813fbdaa50efa58062897180daa6adaabdcc5542735"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectionRow (cyclomatic 17, cognitive 14): ConnectionRow 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":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a93b93b6fc1c6dcac3104b04a17cc853f39affb963007a743b26f6cccae67d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AddConnectionPanel (cyclomatic 17, cognitive 14): AddConnectionPanel 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":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"598e4f470bb461674eb5bd19aa12895ff459674aabdc0e08617c103aa6fa38af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BookChatPanel (cyclomatic 17, cognitive 13): BookChatPanel has cyclomatic complexity 17 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":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"861a8ccb45a4656205462c18e674f56b247b383a87827d73067616d0f90379fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 13): (anonymous) has cyclomatic complexity 17 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6fd7eba8fbe25e70a5bc3f46328187fa3769363ed10b558559646257d848cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectKiwixModal (cyclomatic 17, cognitive 11): ConnectKiwixModal 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":"web/components/knowledge/ConnectKiwixModal.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"af59cce7c67a5b0656d70ad343378c40bfcd5012a9a2ee0733a2e135538f4c4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreviewBody (cyclomatic 17, cognitive 9): PreviewBody has cyclomatic complexity 17 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":"web/components/chat/preview/FilePreviewDrawer.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24b7d2ae437aa7f81b418a6835edcdb4a7d3609f7510b18194e49bb95a5ced9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractStreamedArtifacts (cyclomatic 16, cognitive 29): extractStreamedArtifacts 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":"web/components/common/InlineFileCard.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0da35438c30ce9160405251a669f36ab02762142f71a24f3cc07668ed12dd7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inkBoxFromPixels (cyclomatic 16, cognitive 24): inkBoxFromPixels 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":"web/lib/pdf-page-geometry.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c615b4e5d7e5ab70ce5007adbe3a6514b20f762aa3ac4ca216f1be91ad05d80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 23): (anonymous) has cyclomatic complexity 16 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a5e5744c2b336cfd87fb4685fbcfb54a2c272aa12472eaeabba7d0a967c658"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildItems (cyclomatic 16, cognitive 23): buildItems has cyclomatic complexity 16 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":"web/features/calendar/model/items.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a52a50bb3cde2c7ca80ab2c222017e425ccc17bb7d4eecd9c9c668a6bf725e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedReadingLocators (cyclomatic 16, cognitive 23): verifiedReadingLocators has cyclomatic complexity 16 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":"web/lib/reading-citations.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b1e5563b821431ff1d921804f8213c66a4df4c5fdf95613b7f65fd642cef73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 16, cognitive 22): run 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":"packages/chat-engine/src/tools/dispatcher.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a614c4eab61655b2f3d7ff5c1eab877c7cfdb53afd2c624d5d4fc45e1e3daf5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 16, cognitive 22): load 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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbeb4f13895194c659835de7ff5ceacd004f9bd664f34abacc80163583b2c157"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyExtensionPayload (cyclomatic 16, cognitive 19): applyExtensionPayload 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":"web/lib/settings-extensions.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a4ec3ecd34beee6aac6b698c496c5b163feb07c508c61e5ee7cfb7d0fa8d33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 17): (anonymous) has cyclomatic complexity 16 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":"web/context/AppShellContext.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b5613c93a49a62b52ad25ca88213f264cb2f6b415f4396021ea10da8197f47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 17): (anonymous) has cyclomatic complexity 16 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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":2205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28432c4857ed4958a4b32ab20545a1a2aab11abaac47d47657cb4dbd60ffe1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 16, cognitive 16): submit 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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5818feb81ed289b2904801f1d26675344e7524190b5200a336ff3dfe9b33e70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 15): (anonymous) 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":"deeptutor/agents/video_lesson/remotion/kit.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"60890d4c671e76f9f7266ac253fe753eda5533f37932b938ddd54240d734497b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityRow (cyclomatic 16, cognitive 15): ActivityRow 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":"web/components/activity/ActivityRow.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"522324beacfbe98e593b4cb24c615a384556ea0d1b54ce3f3aeecab3adb337a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComposerTray (cyclomatic 16, cognitive 15): ComposerTray 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":"web/components/chat/home/ComposerTray.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3698fdf7a7531a045fe453a0b74afedf1d0780f70459d7be5b01e4f572ca64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LightRagIndexingProvenance (cyclomatic 16, cognitive 15): LightRagIndexingProvenance 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":"web/components/knowledge/LightRagIndexingProvenance.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4fb6a7458e2cf2686a09c6f12b785c0e0d9d37f3625e0b71ddfd2479454d0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizedHttpError (cyclomatic 16, cognitive 15): normalizedHttpError 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":"web/shared/api/client.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3780874d11c54911415122b6ed413084138f0ef1d7f851787287b52156016328"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReadingReferencePicker (cyclomatic 16, cognitive 14): ReadingReferencePicker has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/ReadingReferencePicker.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec6db71e9ecb3e31cee477db0f3fd5eca97d54e57974a852ed97f531a72f975"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KnowledgeSelector (cyclomatic 16, cognitive 14): KnowledgeSelector has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/KnowledgeSelector.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8924edd40ce30ea9eb441c619097791f839d886d19c0c94fe6733188ee8ef97e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PartnerComposer (cyclomatic 16, cognitive 14): PartnerComposer has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerComposer.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca4d820b695b0a969bb8fe48266aa845106620ab0f276b23b8e3d85afbbf961"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useReadingPanelLayout (cyclomatic 16, cognitive 14): useReadingPanelLayout has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/workspace/useReadingPanelLayout.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1818d6c2b6dc2ebecce9e0691fc3b73b101b06f1582000bae60493f26efe3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 14): (anonymous) has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":3713}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a031f9ff671dad89f6f392395368d3d65076a1239715f86479c626c412dcc76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UsageSettingsSection (cyclomatic 16, cognitive 14): UsageSettingsSection has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/UsageSettingsSection.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4081e81c8dcb82a5d3001d074ce82eb81a341581aa3deb679cae08b318daf4d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PageCustomizeDialog (cyclomatic 16, cognitive 13): PageCustomizeDialog 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":"web/components/customization/PageCustomizeDialog.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bf0c586de845cd48d5b815791f46e5cb7984c17f102b2a41f08456d739d827"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LinkModeFields (cyclomatic 16, cognitive 13): LinkModeFields 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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3363833e9041db54959073f9c1cded82652e4c0dca13b98be09d685d45b839b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LightRagServerForm (cyclomatic 16, cognitive 13): LightRagServerForm 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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc2f5d14dcddd29819cfd3351df16de1175126a3d74756266f7bde3198585b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 16, cognitive 13): onmessage 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":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66c0b7bb997af9509194c8f9086368d8947042df11a6ca364b223f039494722"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 12): (anonymous) 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":"web/components/chat/home/ComposerResources.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"216403ff22e1f131df678478b5a20f94403e00d4d49bd47198cce56df12cdb7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTurnCoordination (cyclomatic 16, cognitive 12): validateTurnCoordination 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":"web/features/runtime-status/model.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5dc091df8af75cfd7023290ed310df73071170bc79f7a35b9c6f7fed5b8c46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TimedBlock (cyclomatic 16, cognitive 11): TimedBlock 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":"web/features/calendar/components/TimeGrid.tsx"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bab1c3f2db79cf4012f251cbf502d0850c5351568ec03da70f70d9bef25d4ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function contentLang (cyclomatic 16, cognitive 9): contentLang has cyclomatic complexity 16 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":"web/lib/content-lang.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b01a99f2028114b68264792ab46f608f31baf40c576fdc12820ac6fbadfda13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pendingCards (cyclomatic 15, cognitive 32): pendingCards has cyclomatic complexity 15 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":"web/lib/ask-user-state.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ed64910a20990c3f6dd55e240dc38d4353ce1c1728cb30528ad238e6ede130"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeFileLinkRemarkPlugin (cyclomatic 15, cognitive 26): makeFileLinkRemarkPlugin has cyclomatic complexity 15 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":"web/components/common/InlineFileCard.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e75526327b31e7cf0e89afcb9b826cb52ee9a25ba0cc8887bacd8cee2acae49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 26): (anonymous) has cyclomatic complexity 15 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":"web/components/voice/SpeechButton.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"911b97fdebf9ba0974ee3d3ff8741edfe9f41efa45d42023b970a331516528ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withProviderLimit (cyclomatic 15, cognitive 23): withProviderLimit has cyclomatic complexity 15 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/chat-engine/src/providers/limits.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9241d80980c50716bc730bb5d47dcff09d321809ad868ce29c9a56a8f1326703"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planHistory (cyclomatic 15, cognitive 22): planHistory has cyclomatic complexity 15 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/context/history.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc731ac9abdbf7a1bd77e9395b652194a35a0ed8f9c66856da480119f70aca2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSubmit (cyclomatic 15, cognitive 22): handleSubmit has cyclomatic complexity 15 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"1deeb4b242dbe758e0664adc988fb11a5df8c4b514054fdae0f84457106b21ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCodexSession (cyclomatic 15, cognitive 22): parseCodexSession has cyclomatic complexity 15 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/chat-import/codex.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c49f5aa970728aa9e589b0857e30043be6c02703aa4d6c8ab7f71ff924fa317"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boot (cyclomatic 15, cognitive 21): boot has cyclomatic complexity 15 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/main.mjs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ace9bccfd478939ab5f0488381e56578b20184525ef75d58163da74c5eb63f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 15, cognitive 18): execute has cyclomatic complexity 15 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/chat-engine/src/transport/stdio.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd316aa807221dd47ee8a4516dbc02265156cced327b34009a69d425f1c5c64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 18): (anonymous) has cyclomatic complexity 15 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":"web/components/chat/preview/previewers/OfficePdfPreview.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8251b8a9b9d04500c6ebf854b8f9fdc31fd6dc19b7dc3facc6e4382e74186f59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 17): (anonymous) has cyclomatic complexity 15 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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe215b7f14617eff44940b9175b0a57ce1eecd6600bd90e76644d53f0937c0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AnnotationPopover (cyclomatic 15, cognitive 16): AnnotationPopover 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":"web/components/reading/AnnotationPopover.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6debcc82408a900267abda0f33dd82b3d57f82f715cf4e4b5ae68b0551a69671"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectPreset (cyclomatic 15, cognitive 15): detectPreset 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":"web/features/calendar/model/recurrence.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9ec8638d36bd41c7662effb092e2e966a1ee6b6a8ea66e16be133e0a02eb36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMasterySocketMessage (cyclomatic 15, cognitive 15): parseMasterySocketMessage 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":"web/lib/mastery-ws.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0881329796693a3ca58ee322a02d6b38e09251be65c4ccb7c45007e4b7501d2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PageOutlineNav (cyclomatic 15, cognitive 14): PageOutlineNav 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":"web/app/(workspace)/learning/books/components/PageOutlineNav.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c788a5522b5796e38c586e6f249461efcfa1579e67614200d0ffe2882ec0af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/PageReader.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe8f95fba4d785b7adba93898e8012689e866f510b2a0756e2b91580186ca60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityBody (cyclomatic 15, cognitive 14): ActivityBody 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":"web/components/chat/home/SessionActivityPanel.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2555b2d7291a627fff12f39a3a495b3b683944a6726775ad8f81661f2b85dad5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TurnNavigator (cyclomatic 15, cognitive 14): TurnNavigator 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":"web/components/chat/home/TurnNavigator.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"148d578f88167edf67082874ca73290c062180a61add99305a610f2385ba2439"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 15, cognitive 14): onKeyDown 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":"web/components/chat/home/TurnNavigator.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4e1e034386f428021076d3a51b3d222ef95cab01b15c7fe6cdc3d36d6c4496"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileDropZone (cyclomatic 15, cognitive 14): FileDropZone 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":"web/components/knowledge/FileDropZone.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"de83c775784306ed059d3dfd59229b2d2d01f02728eb9a0aa340c047b425c2ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"912192871c3d5f4990427728db181bbc46c3c996c7f4853a04c87fa6110be862"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/model/blocks.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38af28aeb1365854c1c69c668868e1281c00e46637c0f74a244e2fdf267e519"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBilibiliSource (cyclomatic 15, cognitive 14): parseBilibiliSource 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":"web/lib/reading-video-sources.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df57668bdcfc04e6dac9fd4639cc779d79937a8d2cfd5c03fb9d1bc1ef51893"}},{"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":"packages/chat-engine/src/providers/http.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0449b03b34ad14e7ca507cb24ded49140cc0ff788f32ac6f6ec7d00b99bf9b93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BookSidebar (cyclomatic 15, cognitive 13): BookSidebar 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":"web/app/(workspace)/learning/books/components/BookSidebar.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fea78ea6b38b6838eb1c27bf029a106bb8cf9956609245ac0e4add128c3fc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LinkedFolderCard (cyclomatic 15, cognitive 13): LinkedFolderCard 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":"web/components/knowledge/KbLinkedFoldersSection.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"594d100b9e56d42f2324a19ef03569e3d69a97107e3638b29aff0abb899df82d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VoiceLookup (cyclomatic 15, cognitive 13): VoiceLookup 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":"web/components/settings/VoiceDiscoveryField.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dabe3e1bf7cb103f99e8d3b7c3490f620002b33ca6fe225b4a4f4e70bf4205"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractVideoLessonResult (cyclomatic 15, cognitive 13): extractVideoLessonResult 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":"web/lib/video-lesson-types.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a151f00585b90692f4aa694e079789d29814d36be9210735316ce2dc22e153"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SourcesStep (cyclomatic 15, cognitive 12): SourcesStep 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":"web/components/space/learning/TopicWizardSteps.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"be92c947e7f8beafeedf063d11438e32cfb79af62ee5ebdde5f7238b1df5c0ac"}},{"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":"web/components/whisper/WhisperMessageList.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daa6a42e779b98436ad451572d7842dcff1c156c4236307829774dfd753c752"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AssistantActivity (cyclomatic 15, cognitive 12): AssistantActivity 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1775}}}],"partialFingerprints":{"codehealthFindingId/v1":"6790c0206a361036795e263a54e91a43d5ba32957f03d191f648796d8a390659"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GuardianRelationshipsEditor (cyclomatic 15, cognitive 12): GuardianRelationshipsEditor 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":"web/features/multi-user/components/GuardianRelationshipsEditor.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9a1fcaaf9497e53f795b3066bc40ec4ab45730f231e80a6f6222d41a4bc157"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AddModelPanel (cyclomatic 15, cognitive 11): AddModelPanel has cyclomatic complexity 15 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"765c18d04302e49ed36bf937e5ffcc239aea473f5e0ac7299aa6cc88395a4920"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 11): (anonymous) has cyclomatic complexity 15 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":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e1df3a8866dbcedba4d04a4c8012be021dea4993a76384fa662220dd776775"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AttachmentSettingsPage (cyclomatic 15, cognitive 11): AttachmentSettingsPage has cyclomatic complexity 15 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":"web/features/settings/sections/AttachmentsSettingsSection.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c1edd7f19ce8bcaaff628e7b3a7bc48e88f7cd7d50373c54c3a3e4746e300c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ServerFolderPicker (cyclomatic 15, cognitive 10): ServerFolderPicker has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/workspaces/ServerFolderPicker.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0334412f39095707c23a4b2457d006bfba05227447b5a0010cffcf450a0baca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NetworkSettingsPage (cyclomatic 15, cognitive 10): NetworkSettingsPage has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/sections/NetworkSettingsSection.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"691dabd5bd4ecbba1a7e34a29d3c142daea1752e0a9b71aa1b7755aa73aa86b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function docIconFor (cyclomatic 15, cognitive 10): docIconFor has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/doc-attachments.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e283c8eb0464fc0c3de46a8056029fcc6fcbeaf5612627d92a13b323cfad339"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AddProviderPanel (cyclomatic 15, cognitive 9): AddProviderPanel has cyclomatic complexity 15 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":"web/components/settings/AddProviderPanel.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf759fa9aa8ad94b7dc84238ae62e5270e050a619ec7d40947f054b4aef668f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 31): (anonymous) has cyclomatic complexity 14 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":"web/lib/memory-graph.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"41385b46c8988c1949f59efe780fa29a1b50f4da402e9dc419ed272d81e46f94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function project (cyclomatic 14, cognitive 20): project has cyclomatic complexity 14 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/chat-engine/src/context/conversation.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ffcad00bd909caab16a923c66abbc7e5507bec72de5f466128d21b3ed39801"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 14, cognitive 19): save 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":"web/components/partners/PartnerChannels.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3834998ace6ab839025647301302534be613e784b2fdd5d168148548b23d04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 19): (anonymous) 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":"web/features/notes/components/NoteEditor.tsx"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"321dca705c49df75e046d135b4abb57e680eca4709a35778132c186d9d9bd02d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstIncompleteModel (cyclomatic 14, cognitive 19): firstIncompleteModel 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":"web/lib/model-settings.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a343cdfe2f67cd68d758d757991b828978e795c6007282d21a2268d825037282"}},{"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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":3579}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61112dd079fe13168653e96ff6f725d49b954867af41f6e078c2edaa5733e39"}},{"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":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":3239}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe6a29f8435365233bc08243a35169caa01ebb2d7a1248194e16594386cf7d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 17): (anonymous) has cyclomatic complexity 14 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":"web/components/chat/home/SubagentTabBody.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe63226b7b5abc170146f8429a1b978146a21718f2c9c228bfea0ad3142138d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cueIndexesFromSelection (cyclomatic 14, cognitive 17): cueIndexesFromSelection has cyclomatic complexity 14 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":"web/lib/video-learning-marks.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e899af4c6e396b8545671860920d8fcfa36444e098af5f23f0e97ac9c3c55560"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 14, cognitive 16): start has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/runtime.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d972ec43feba3d345fe1894f93e1b3b3f74a32b113bf7516aecc7feac553264"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 16): (anonymous) 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":"web/hooks/useKnowledgeBases.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0441d62066e6a5710ceb17deb2a5ff9333727af6b00251a1b662c088058750"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CanvasVisualization (cyclomatic 14, cognitive 15): CanvasVisualization 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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c91341936c111b55cf7377a1d55664d14c0d99bf804de13b15962d1275d5484"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Emit (cyclomatic 14, cognitive 14): Emit has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/native/event-coalescer.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"db99c91e0c8c918d51221effc0071245b0c4777d2b10c571709987f1f8f8f73c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendTraceEvent (cyclomatic 14, cognitive 14): appendTraceEvent has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e96fa6242fc91b66b8768b611b2d7f47c5eadd3053a1df0d1a53f0756d6be58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PickerShell (cyclomatic 14, cognitive 14): PickerShell has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/common/PickerShell.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76da2ceedf4947b716f7880ffc88f7633c7bfea3f9e1d8dfcbe94da1eed0a74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/context/QuizFollowupContext.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3b197e345afc32ab12d0a450a433136a05deb4d36acf19a83781f596622f06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toStreamEvent (cyclomatic 14, cognitive 14): toStreamEvent has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/transport/UnifiedTurnClient.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2649915f9aa2092c604526b49c3d3d54209adb4fdb565783f3eaef634cb73472"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ce9357fb5ff2b3e9e952800c51f98a250b16e2c84b4f2cd9b8fd91f3151d6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function noteConceptMap (cyclomatic 14, cognitive 14): noteConceptMap has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/model/concept-map.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea146b53226961bdd767e42a87b7b6e904db908a24fe42596fe9f961dec00bfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RuntimeHealthCard (cyclomatic 14, cognitive 14): RuntimeHealthCard has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/runtime-status/RuntimeHealthCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cc4e5b8df24ac0cd0ab0abe7d0c53880537687b4b5c55f98ec50435600d44a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 14, cognitive 14): onmessage has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":2293}}}],"partialFingerprints":{"codehealthFindingId/v1":"102cd2930f711180842762531a0137e769719d75e68b77b862f3a945f12ed2b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function citationTargetFromHref (cyclomatic 14, cognitive 14): citationTargetFromHref has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/reading-citations.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3cb9ab1d69945f6074ee7c1105b1d0341ce7bfd93665c05dce16c6f99c057b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BookStructureEditor (cyclomatic 14, cognitive 13): BookStructureEditor 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":"web/app/(workspace)/learning/books/components/BookStructureEditor.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"29370297946946c937d5e3dc9c80624b9f1d71f50b59cf81ea62d193042a6929"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewPartnerGroupPage (cyclomatic 14, cognitive 13): NewPartnerGroupPage 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":"web/app/(workspace)/partners/groups/new/page.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2995ab1b22465f482dd072fa182a244354dc1d18fe20d648c34ae1a7e600ca66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/common/PickerShell.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5d78079c90f8f50a4503c665bff66a699662bfb7180628dea61b147521ff38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PracticeInsights (cyclomatic 14, cognitive 13): PracticeInsights 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":"web/components/learning/practice/PracticeInsights.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1696e85e0a1a674a48b3d8649debd5bbe6a103e2d9d16ad0097249015e20603"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/notebook/NotebookConsole.tsx"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ec73096b37b229465b6eacc85792bf57cc1e453a04a35d649740620d267443"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TextUnitView (cyclomatic 14, cognitive 13): TextUnitView 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":"web/components/reading/TextUnitView.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e48a1c3a4d38067e25b57ea75c1756c71da7f91bc4d46e67b4cf108b58ba6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/workspace/MediaReadingStage.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5968bb4a7287d5c9f0b40e31df97b1dc063ad46c2fe59dbfe70bf78031d9a12e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/workspace/SourceNavigator.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37ddcc5f3806b5e4cb6dfff2334261025c721ee61d5f2e2f22f6db7274c5855"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LearningJournalPanel (cyclomatic 14, cognitive 13): LearningJournalPanel 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":"web/components/space/LearningJournalPanel.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3475f818fbf313e1fea21e434b81a887d710d2b725b7c4864e0c6c9cf73eae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/space/question-bank/QuestionCard.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b74a9b911d3011ec63634bf4dc413805fa2e49d309f70932ecb8fb09dcabe4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 14, cognitive 13): walk 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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27456acfaf22a6116905be948b6a53385d95ee8673eed8d93eddcc8649808f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureLanguage (cyclomatic 14, cognitive 13): ensureLanguage 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":"web/i18n/init.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b848b2c23d7fd7c6462a5373a170a397ddac2b83a38525198c57de771ef9f756"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexRemoteGuidance (cyclomatic 14, cognitive 13): codexRemoteGuidance 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":"web/lib/codex-oauth.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e27d9834f8b1843ee98eda3e35d71361f2a125c6b97072d398aa321919450d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LearningCapturePanel (cyclomatic 14, cognitive 12): LearningCapturePanel 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":"web/app/(workspace)/learning/books/components/LearningCapturePanel.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"59eb4592807cf08694da6bb1d4431e3a9f2aca3cbb3aa16229025cada2530b47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NotebookFavoriteContent (cyclomatic 14, cognitive 12): NotebookFavoriteContent 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":"web/components/notebook/NotebookFavoriteContent.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2f3c7ea4f4f6d41391ebb910286dda7c8f454cd53b07618106920ba80a0731"}},{"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":"web/components/reading/PdfDocumentView.tsx"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"e803853c345823eac1606dce672aacece7c0a3b7ffe7d49e4f863f69be357b47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RegistryModelIdField (cyclomatic 14, cognitive 12): RegistryModelIdField 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":"web/components/settings/RegistryControls.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"1def288ff01b5e206490c3b098c81f03a6e89791cd0415d43eb47da00fa9424e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resultLearningBlock (cyclomatic 14, cognitive 12): resultLearningBlock 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":"web/features/notes/model/results.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9478830cc27c6e4da911f1adf22f3053b993ce34882fc4b80579e4912332225d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceSettingsSection (cyclomatic 14, cognitive 12): WorkspaceSettingsSection 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":"web/features/settings/sections/WorkspaceSettingsSection.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7f08e5269fcc97ae8db8be8fb70aa7e6e3470308e056be4e3be2160ef9f3a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readerActionFrom (cyclomatic 14, cognitive 12): readerActionFrom 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":"web/lib/reading-reader-action.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c15f368639847a2102f5230a443946c59affd79fcaabcced07dfd2153d5ea81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateProvider (cyclomatic 14, cognitive 11): validateProvider has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/native/types.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2deca2065dcf43dc2fb58c6976dbd6d6ca35c95116938fd576281f4d7ae44422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PdfPage (cyclomatic 14, cognitive 11): PdfPage has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/PdfPage.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"416d364347ecdfaba02f7f3a2205fdc1e2cdc9366ae2c281fe945792745111e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 11): (anonymous) has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ProviderServices.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b457b49b03a83651cfe596ebb835873138a55a8c0216022e37468a451ff11147"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VisualizationViewer (cyclomatic 14, cognitive 11): VisualizationViewer has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12a99f223fb18060887cebee27504476196211d3ec27f98b1d36fa9f1a2e4ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ClassicSidebarShell (cyclomatic 14, cognitive 11): ClassicSidebarShell has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/ui-layout/classic/ClassicSidebarShell.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec7806d6420e7be255012043ff006f1ade46482ac6f84a04dab2ff6aa9a8d23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 10): (anonymous) has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55645a14d6306030a2cbaadc99b4bb3707e43be1dfe49432e1e6ade8af10bc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GateBar (cyclomatic 14, cognitive 9): GateBar has cyclomatic complexity 14 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":"web/components/space/learning/ObjectiveDetail.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6e4cb17788f78641d22f26524e06d3da5e3c031941643227d92209c51b61d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 9): (anonymous) has cyclomatic complexity 14 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":"web/features/notes/components/useNoteThreads.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37aeac4caa07740d272b7f92ac0cd2a7b12d840912b3694c41352f661269b32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 9): (anonymous) has cyclomatic complexity 14 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":"web/lib/knowledge-helpers.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb57dab0281e621fcbaf26db752e3923478c0da169f1eb455fb2fc43251e475"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function organizeSessionTree (cyclomatic 13, cognitive 20): organizeSessionTree has cyclomatic complexity 13 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":"web/lib/session-organization.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de79aea55a9ee297709d1b11379f91f7431514b66625379afc700623ced3f0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 13, cognitive 19): tick has cyclomatic complexity 13 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":"web/components/space/learning/LevelUpCelebration.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16ff349536e82b223fbdac04770015dfce72d5419a1874339dedc64b1f251df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 13, cognitive 18): request 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":"web/lib/book-api.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a148625835babf20f75baf79f834d7b842357c6543e92bc543ab820b03dddb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runGeoGebraCommand (cyclomatic 13, cognitive 18): runGeoGebraCommand 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":"web/lib/geogebra-commands.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"687fae0ce901abcb00f45c6d97ab8cb876b48235aff32ec79814e03ab4c37cf2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preview (cyclomatic 13, cognitive 17): preview 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":"web/components/settings/VoicePreviewPanel.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec55db4077952982e058d977e7385771fb567b438bfa1feac2ef46c5244a9e24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function messageUsage (cyclomatic 13, cognitive 17): messageUsage 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":"web/features/chat/messages/usage-summary.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80729ad5c24ef5424f25088abdc07fa8a3c2d646452a4142a709f2395cb5bb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 16): (anonymous) 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":"web/components/chat/QuestionBankPicker.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ead396b81f9f298d949be6264c9d73bfc9a31ba63b62cc4903d8571f389a5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 16): (anonymous) 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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5a235ed7af7e63bf710666f6167d05dd99a0833e75e6a06a43d865efb76e42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractStreamingQuizQuestions (cyclomatic 13, cognitive 16): extractStreamingQuizQuestions 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":"web/lib/quiz-types.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a601464b8e0bcfaacfe3370dbeb2447d1bb58fdfc349da716d0a655a2aa65b4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 15): (anonymous) 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":"web/context/QuizFollowupContext.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f502e532638e11c7c2eaa3264afa462156119011db4db1b9fe94c79cd6718460"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseClaudeSession (cyclomatic 13, cognitive 15): parseClaudeSession 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":"web/lib/chat-import/claude-code.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1718e30fd4814fdb5b927b818ffb74960fb414f4bf76641a7562d0a7d2bbcf8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"898126f5f1c5c22edee3e9356f2f4862427862a9a2873e2f596ed045b1ebc035"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AnswerModeMenu (cyclomatic 13, cognitive 13): AnswerModeMenu 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":"web/components/chat/home/AnswerModeMenu.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4203cca6217553694560eb37adf983e1a7f52de18e19e34f8ea8cc46acecd916"}},{"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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"df55dbd60541da901c53c31bf228dff72355e35415e4417d07547419ef3b19ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFailedSubmissions (cyclomatic 13, cognitive 13): readFailedSubmissions 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":"web/lib/failed-submissions.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d298bcaf2ee9d5a699623dbd9a31192a2abe955ba003c9ad5a1535b1e129ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wrapBareLatexInLine (cyclomatic 13, cognitive 13): wrapBareLatexInLine 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":"web/lib/latex-normalize.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce7fc97406e161036b11aa18842cb80dd6519915fa75b95b72b7dea57687a12"}},{"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":"web/app/(workspace)/learning/books/components/BookSidebar.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e63d72aa2595db1bbac0cbedcdb575e03843996392eee90f57c9c32316d28cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentGlyph (cyclomatic 13, cognitive 12): agentGlyph 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":"web/components/agents/agent-icons.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fefb24a0245f41f7b108fd977351ba087aeb20eeb4626449bfedcbf5893722"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentKindLabel (cyclomatic 13, cognitive 12): agentKindLabel 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":"web/components/agents/agent-icons.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a5cf16b4c23ab05560605bde8e45794de1364f6f881af7a46b1f72311e1981"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChannelRuntimeStatus (cyclomatic 13, cognitive 12): ChannelRuntimeStatus 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":"web/components/partners/ChannelRuntimeStatus.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"35faa37b432282f8404566d9a7c59bbafa136656bfab0cd3b3d4bebe926a5ba4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function builtInActionLabel (cyclomatic 13, cognitive 12): builtInActionLabel 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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36dc7f1b3e25662bc367877b1bbf62e9a38841d74cc4fe915ac0e0ec4f06920"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CategoryBody (cyclomatic 13, cognitive 12): CategoryBody 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":"web/components/sidebar/CategoryNavigation.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54edb97132403aad00c97992949e64bfb29c569367e54fd59a8106ace606d48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CategoryMenu (cyclomatic 13, cognitive 12): CategoryMenu 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":"web/components/space/question-bank/CategoryMenu.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c287c483a32f2076b230b48cf5a0350795eba764c73a94fe781d7d136c770ca3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VisualizeConfigPanel (cyclomatic 13, cognitive 12): VisualizeConfigPanel 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":"web/components/visualize/VisualizeConfigPanel.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc40762ca5766382822987d40c0d4aecbcb9c8b4c0c0ee81c521e15b6513cc45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DataMigrationSettingsSection (cyclomatic 13, cognitive 12): DataMigrationSettingsSection 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":"web/features/settings/sections/DataMigrationSettingsSection.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"278123a81ae317d0d2e32e36239b591831cfabee76a4bfd30e480da1ee2a4ec5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexErrorMessageKey (cyclomatic 13, cognitive 12): codexErrorMessageKey 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":"web/lib/codex-oauth.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc768c0ddf653e30bca4dc468ebf514dc316657500361f8a6eb79fcacaac783"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLocale (cyclomatic 13, cognitive 12): getLocale 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":"web/lib/datetime.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f3ed7205623219ed59dd44043d50149f42989a4e30e981d59ad5b83c02ace0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCatalogEntry (cyclomatic 13, cognitive 12): normalizeCatalogEntry 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":"web/lib/mcp-api.ts"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2d07b46d8ab281da59f6244720bb8d6ed1d169b3b1d746afee402142fe2b6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function L1View (cyclomatic 13, cognitive 11): L1View 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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"290e79112f4e5614cf5b59848df0ff9c03f41b0498d5ab161c512ca7df0f19f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LightRagModelsForm (cyclomatic 13, cognitive 11): LightRagModelsForm 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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b778ac9071ec344968f84455f1bba9c1e2d0026cfe1c781a6bee69c39b16ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArchivedChatsSettingsSection (cyclomatic 13, cognitive 11): ArchivedChatsSettingsSection 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":"web/features/settings/sections/ArchivedChatsSettingsSection.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8cf6ad935b2b400c492b4baafbef9992e2afa68b7c426ff1b2153b9977aec1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useMasteryStudySession (cyclomatic 13, cognitive 11): useMasteryStudySession 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":"web/hooks/useMasteryStudySession.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba300b8241b6fc85ea83f39a8270a8091e03514c57061d8c2831d8337733d601"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function placeTooltip (cyclomatic 13, cognitive 11): placeTooltip 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":"web/shared/ui/tooltip-position.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e2bfff4116391a2fd543a6fd3c080d6f22cb97ad3055687ab2edcd9aa91d0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LearningDashboard (cyclomatic 13, cognitive 10): LearningDashboard 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":"web/components/learning/LearningDashboard.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"143dab1faa984fbb35d96e32a2282e54421f5fa7eccd03283d1377b677d203b2"}},{"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":"web/components/reading/AnnotationLayer.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9890556951cdf28494db0a2db87d6d8631f56dd7480e018bd66d7815b95cc609"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PdfDocumentView (cyclomatic 13, cognitive 10): PdfDocumentView 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":"web/components/reading/PdfDocumentView.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f033076f22eb4854eb1b2c9cec8530510979f9946045b3db9b8ff96f748d0562"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PendingRow (cyclomatic 13, cognitive 10): PendingRow 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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"232c1b2bcd6a46b303408b2c01376d5e4c93142142fc536926ca60611b848ebd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatSessionMenu (cyclomatic 13, cognitive 10): ChatSessionMenu 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":"web/features/chat/components/ChatSessionMenu.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"997fc1cc098122a77ee3dcbd16d4a5fa048f89ddf69847aaa7ee59e8951948b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hydrateSource (cyclomatic 13, cognitive 10): hydrateSource 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":"web/hooks/useTopicSourceLibrary.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb8891c1efd7b377fee80d6d9f254d422c3c6077224e9ccfd991fa49a6d6bf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ItemChip (cyclomatic 13, cognitive 9): ItemChip 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":"web/features/calendar/components/ItemChip.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa2da271be910e24f114ad28f3893b9092a66eaebdfb67367d10b4abb4f42e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function feed (cyclomatic 12, cognitive 28): feed has cyclomatic complexity 12 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":"packages/chat-engine/src/providers/think-filter.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb968af5df8d928c7ba8916d25a7166463b28e124510f839d0741312087b07f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pruneExpiredEntries (cyclomatic 12, cognitive 27): pruneExpiredEntries has cyclomatic complexity 12 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":"web/lib/failed-submissions.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c208c465f429f68132ddc7524aa297c21a2e471c1c58681a303a2eeaca1c7ed3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectMarkdownHeadings (cyclomatic 12, cognitive 23): collectMarkdownHeadings has cyclomatic complexity 12 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":"web/lib/latex.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"adca2abfcffca385a5019934384dc74b7ca4e20bdc7b2b6eae847bfeac153578"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateJavaScript (cyclomatic 12, cognitive 22): evaluateJavaScript has cyclomatic complexity 12 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":"deeptutor/services/sandbox/javascript.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca69b354f93af50ae7f10308e4c5b6dfeb596fefb1c08f09f43686361db36a88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function project (cyclomatic 12, cognitive 21): project has cyclomatic complexity 12 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":"web/lib/reading-quote-locator.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed967b27a686842f89f9f8c62371d3622cd2d1580e8a7a44b2b8ace64fc478e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 19): (anonymous) 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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f2379aea45faf84978d2b0651778863f2df9a8ce7e26bcf0f679d5e4c7ba89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertFlowFenceToMermaid (cyclomatic 12, cognitive 18): convertFlowFenceToMermaid 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":"web/lib/latex.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec521c3207554322813c390383d2d0a7ec1646dee97ffa178921a2b18e346bfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function segmentTextByQuotes (cyclomatic 12, cognitive 17): segmentTextByQuotes 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":"web/lib/reading-quote-locator.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6dd4ee704a822da8c311efad0c06dc3cc72c21f3a91b1b569b216d031b345f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateToolRuntime (cyclomatic 12, cognitive 16): validateToolRuntime 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":"packages/chat-engine/src/native/types.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c3b1c69f5a90d06ab586510a6d617eb75340f9d09b66a5510f033989c95248"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 12, cognitive 16): onKeyDown 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":"web/components/settings/RegistryControls.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba57bd5fb88bcb1fdcf0496648ffa5cbd28cc3311b35905fd1fdff08f318576"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 16): (anonymous) 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":"web/context/ReadingContext.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad60b339de294713e5d6cd56394bbf2086fdd4c74b81be5725dd275b9ecf116d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compactTracePreview (cyclomatic 12, cognitive 15): compactTracePreview 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":"web/features/chat/trace/memory.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3dc4a89bf39d101454d67543e713893085ca86566610078432c2f04070fb4cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 12, cognitive 15): load 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":"web/features/settings/sections/NetworkSettingsSection.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad663d67c06bbbc2d458cdf6370d547c14b22f99ca81c773b5142125e8880d7"}},{"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":"web/components/chat/home/MasteryQuestionCard.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf9a6ee2b1c8e301dc9d84dd48c142a7abd9626b0c5b72a658bb98014eeb3a1"}},{"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":"web/components/chat/preview/previewers/useBinarySource.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b45825f564ad0a557bcb3c142ff648d50fbe2b2b50afb45ae29420ff9bbc07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractSetupCredential (cyclomatic 12, cognitive 14): extractSetupCredential 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":"web/lib/setup-signals.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42e00afa097b8623547f94dea2748260a463b97bd8a523d479becb8e8dd1353"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) 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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"04213d261835804dc7d1c9e463276fdfbc26de6805f4e1b70b6bbe76c72a19fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeCapabilityConfig (cyclomatic 12, cognitive 13): sanitizeCapabilityConfig 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":"web/features/capabilities/model.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b88ca941231d793ebcfdacf411cf4c8c6d838e31888db53a81c3bec832a8d8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) 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":"web/features/notes/components/useNoteThreads.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc391236c773f10ec10e1d4edfe3c7af4522986f1ce55b4288a6935c35c8c7c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveFailedSubmissions (cyclomatic 12, cognitive 13): moveFailedSubmissions 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":"web/lib/failed-submissions.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36a3595c01eda55f2bd9d0ef382eb45e2afff50c673096f2fbd7b04706a5a5e"}},{"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":"web/app/(workspace)/learning/books/components/PageReader.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc029e68ac0a03c1df4629fa8b9e1ac743576f9520b4dcafc57a63d7cba2871"}},{"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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2cf9e109aa9443eddeb4bc55b207af5656c3b2645ba1d333f12febdc52ee7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onReaderAction (cyclomatic 12, cognitive 12): onReaderAction 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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2ac7c2fce4a22cce130e1ddf5bd14f2304a4b36a3703002a68efa79b45082a"}},{"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":"web/features/notes/components/NoteLearningContent.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cf66ffc7c0288c73a54dc86ae2021696ae9ae19c525fe8282e00fd8117095e"}},{"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":"web/lib/markdown-display.ts"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50d4cba1da9ba32552fbfb2ffa94095bbbddf6711232bfd7120d65a4bc3b20e"}},{"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":"web/tests/e2e/parser-installation.audit.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"357c714c8711a652129c0996af4c9310c6d06ee0c3f2dba81deb3884f3c9ff0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Curve (cyclomatic 12, cognitive 11): Curve 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":"deeptutor/agents/video_lesson/remotion/kit.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6b0962a7c39b762b08cde98813208e07aedc32bb91a537989044596e3971e4"}},{"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":"web/app/(workspace)/learning/books/components/blocks/DeepDiveBlock.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1853bc8458116bcdcb195efa7938e35b8292ff5d49533f7e369c32e3cb9f3c3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BookReferencePicker (cyclomatic 12, cognitive 11): BookReferencePicker 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":"web/components/chat/BookReferencePicker.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f4083732135888b6f21c7c9e776c788fa59a67b7141c3016e20e63208048ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RichMarkdownRenderer (cyclomatic 12, cognitive 11): RichMarkdownRenderer 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":"web/components/common/RichMarkdownRenderer.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"54346fd76bc1bac570d057184d7f33c6a684eda98b7586d62f5e68387203f56a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SimpleMarkdownRenderer (cyclomatic 12, cognitive 11): SimpleMarkdownRenderer 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":"web/components/common/SimpleMarkdownRenderer.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d9e018ca390a7ce0f359bbf44fa876354e241deee7e7dafb9dea4aae4edad8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PartnerArchives (cyclomatic 12, cognitive 11): PartnerArchives 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":"web/components/partners/PartnerArchives.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd54be1a518b6a58b6f0e2c9238f9224a19492a28e013096db54bfcb325f8b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectionsEditor (cyclomatic 12, cognitive 11): ConnectionsEditor 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":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5792573d18716885623454c508036a0e51915f2eaf5df9dac896393230d3e0ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SourceRow (cyclomatic 12, cognitive 11): SourceRow 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":"web/components/space/learning/TopicWizardSteps.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de265c323930d291628a00770ef234031ce535418eaf8a86a93db711ba632fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onMessage (cyclomatic 12, cognitive 11): onMessage 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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b24b602ab91a0d1bd87107c56b5fcea7cc288d5cab0db043792bd1d202fe808"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function descriptorFrom (cyclomatic 12, cognitive 11): descriptorFrom 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":"web/features/capabilities/model.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"510263b814eec9adaa153615a297ae450fce97f127da1827c8e0abf2c77cc68d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySessionConfiguration (cyclomatic 12, cognitive 11): applySessionConfiguration 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d6adbd50f6582ffc8545749f653fcb98fb04355a9011e73a210c6285d39f3a"}},{"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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":3671}}}],"partialFingerprints":{"codehealthFindingId/v1":"9565ee23701cb9a374ff6dc80d0f6425a5cb79444705a112cf648e790724506d"}},{"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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78f1b520247b1856eeded06b1cafc3bca37d0d4e78999c6792ce2ad930246a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGrade (cyclomatic 12, cognitive 11): parseGrade 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":"web/lib/mastery-question.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c8d997d58ae5ee55ad9ad68f661b72627fe6b250974f67630c529a292f3599"}},{"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":"web/tests/e2e/book-reader-sequential.audit.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"247d59c885fe543e245d1d4f6b1a8b90229f79c2f111274f1bbe1427bed57a48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KbTaskLogs (cyclomatic 12, cognitive 10): KbTaskLogs 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":"web/components/knowledge/KbTaskLogs.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5e7a628e073037ce5d9808135617d986cb9e8eb918079be4e99f7b0dc3af95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function McpCatalogBrowser (cyclomatic 12, cognitive 10): McpCatalogBrowser 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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfff50bbc320710e8f2318229de4c809d228d49d9bc65bbad10c496d2d379876"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 12, cognitive 10): onKeyDown 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":"web/components/reading/PdfDocumentView.tsx"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"842c4f4a94bb12c81d83f7de87e075a4eb90c5a19782fe79c6bda799f7a802b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReadingBar (cyclomatic 12, cognitive 10): ReadingBar 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":"web/components/reading/workspace/ReadingBar.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"711cba247599a85f68d4429d0b52b821b73f1a35c2e70471950502a92ff5bdb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionActionsMenuItems (cyclomatic 12, cognitive 10): SessionActionsMenuItems 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":"web/components/sessions/SessionActionsMenu.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1907337b42949d04e9ce2b8872defe2c75c0bb884512f6ffe9c1b3225e4ee20c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelCard (cyclomatic 12, cognitive 10): ModelCard 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":"web/components/settings/ModelCards.tsx"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49734413b39e88a12a0c29269ec6922b1ad5a4a2d97f01bb06815691f0c94ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ImportWizard (cyclomatic 12, cognitive 10): ImportWizard 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":"web/components/space/ImportWizard.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d5d0df031764a9ebc74c83f41a06a92ec258fa352b66190e105ec68583c668"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EventDetails (cyclomatic 12, cognitive 10): EventDetails 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":"web/features/calendar/components/ItemDetails.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b2ef0f191a5e13f79252073a017efa041bfaa99077e6022cc1519b8b528616"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getExploreContextStatusLabel (cyclomatic 12, cognitive 10): getExploreContextStatusLabel 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"9649d84ef105bfbd0da056c5c6972242a846f54bb8c286f6336256638fc109b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WebCard (cyclomatic 12, cognitive 10): WebCard 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":"web/features/notes/components/NoteRichBlocks.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c376f17e6ce14afa08fc0b638522030b8fd65420592d43d7ab2c60bc15ce24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeEventBatch (cyclomatic 12, cognitive 10): mergeEventBatch 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":"web/hooks/useMasteryPathActivity.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78909e35db5e5e624e61acb970fa3c0ade5b790d5b27902a257a057bbb04062"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePersistedMessage (cyclomatic 12, cognitive 10): resolvePersistedMessage 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":"web/lib/optimistic-id.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f4068db7413f34b0ac961cd855e025280954ff48e978c000d4349cf79d1a4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerServiceSupport (cyclomatic 12, cognitive 10): providerServiceSupport 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":"web/lib/provider-registry.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfd1de137db6a3f5d3472a5d5a75702a6c2e3794211b4d9a861c95e0d2f8147"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) 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":"web/components/memory/MemoryGraph.tsx"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7bb7fa37ad1bdca550b34afd812a1992db200619049c27bd82a89bc14ba45e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) 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":"web/components/reading/TextUnitView.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9a6096a9ba13ec956a2c02baeaf913f2e0bf5e342e0928ce75ae269ac63a6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskModelsEditor (cyclomatic 12, cognitive 9): TaskModelsEditor 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":"web/components/settings/TaskModelsEditor.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43855e3eccb005c33df2141f87adde607829e821c417aeb5867b4ac812c08ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UsageFooter (cyclomatic 12, cognitive 9): UsageFooter 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":"web/features/chat/messages/UsageFooter.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58be12ebf291f8188c9d821e7722b20eddd7e5bc19b64029896e8d1c3be51c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseNoteMarkdown (cyclomatic 11, cognitive 23): parseNoteMarkdown has cyclomatic complexity 11 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":"web/features/notes/model/markdown.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0b52a7990bc37339cb2a4cfa6c6a82254a3a46f30122a554fcda0e9b9be459"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 11, cognitive 22): walk has cyclomatic complexity 11 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":"packages/chat-engine/src/tools/workspace.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4592579f658031c6c344b90b70f9f22b7e4b7865d767c3da9f04a800c0fc9299"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 21): (anonymous) has cyclomatic complexity 11 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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"863e3f5d98738c816fde16a2645f0afb9aba33e1aed2e3136b839fa5f94dc833"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildChatOutline (cyclomatic 11, cognitive 21): buildChatOutline has cyclomatic complexity 11 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":"web/lib/chat-outline.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43e76b6183eceeb0691aa28feb40046a8eb5d094de47347f87a48cab57bcbb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectMasteryGrades (cyclomatic 11, cognitive 21): collectMasteryGrades has cyclomatic complexity 11 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":"web/lib/mastery-question.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"71636e2cb4e3e5640a82b889eef25266cb85d71dc71c92c5d237eed544ad2b14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectTraceDisplayItems (cyclomatic 11, cognitive 19): selectTraceDisplayItems has cyclomatic complexity 11 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":"web/features/chat/trace/selectors.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d3ba46009b7f49b2717b07c36fd70035c2fe001e54f8c69b29cc9a949699ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 19): (anonymous) has cyclomatic complexity 11 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":"web/tests/internal-route-contract.test.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ad4ba6ef4b3753516a8cd25b22d31c4fd42cfc36285aa8d910d5ee973bc313"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanClaude (cyclomatic 11, cognitive 18): scanClaude 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":"web/lib/chat-import/claude-code.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91b41e29191c9a73c8b4242725ef1eea7959c8e19c6e0c9ad18b1548e8ee14e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function escapeStrayDollars (cyclomatic 11, cognitive 18): escapeStrayDollars 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":"web/lib/latex-normalize.ts"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b330292429aa18c33887b4a3bd0b83070f5be33dc9dc2d2046cce4a30617618"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pairedEmphasisDelimiters (cyclomatic 11, cognitive 17): pairedEmphasisDelimiters has cyclomatic complexity 11 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":"web/lib/markdown-display.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c813ae678f1136768c7ea7cee644075a47073a5f925c0876de336499bbdf98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 16): (anonymous) has cyclomatic complexity 11 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":"web/components/common/InlineFileCard.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c105319d09ec4b70497998ffac7b1c69164bdbc5a2bb7997583401dab16d3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function favoriteTranscript (cyclomatic 11, cognitive 16): favoriteTranscript has cyclomatic complexity 11 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":"web/lib/favorite-content.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"41566d59aed274dce10cc1b41f77f86a2d55e1099d99684026144d7321a12f07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 11, cognitive 16): (top-level) has cyclomatic complexity 11 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":"web/scripts/generate-contracts.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0194147ecc2e0df903b809e24d38c5d67d234f6bb3e27181d233926e957913a4"}},{"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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d88b2a94328fe3335740838452544cea534ad27f225925406f39f379b966c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairChineseEmphasisLine (cyclomatic 11, cognitive 15): repairChineseEmphasisLine 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":"web/lib/markdown-display.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a79426b8b986ab3214e214062b62d0dfc80b644c933ccb77de4971e17c2e5bc"}},{"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":"web/tests/learning-display-settings.spec.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f8a4d679d9b4e2b665d1f19b33dc3608ffe700d8dd38679b6181c7fb7973b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 11, cognitive 14): load 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":"web/components/settings/WebFetchBackendCard.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f5c5579008950e5a38ddb5054be7936196ed4a1f3dbc89cb10582d8d205454"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 11, cognitive 14): load 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":"web/features/settings/sections/AttachmentsSettingsSection.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b79ee296efba1cde4b8e64295899b48cfe4fb24991eec18e201744d664f296"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function presentedPagesFromSources (cyclomatic 11, cognitive 14): presentedPagesFromSources 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":"web/lib/mastery-source-pages.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"faeee1af83ca2e87a860a367fa91c6b62a47cbf402139e53f5bfdb408bc6c4e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/hooks/useSmoothStreamText.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9d41c175c70f09392b5aabbe6b89e699f265da94ed15380924c8465e1392bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderConceptGraphMermaid (cyclomatic 11, cognitive 13): renderConceptGraphMermaid 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":"web/lib/concept-graph.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3dc19799f73262de5f4d26861e628399a294fbf8f80d851b55b41aea385e7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTurnDurationSeconds (cyclomatic 11, cognitive 13): getTurnDurationSeconds 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":"web/lib/trace-timing.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ecb491a6d67217caf2ff25e910da5dde8617cd7891a37afdf41e5ce7179ec9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appletOnLoad (cyclomatic 11, cognitive 12): appletOnLoad 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":"web/components/Geogebra.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a316cc8570024c6aeec149bd42183c5e4c42a04d7a48871545e0357d55a948a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rebalanceCounts (cyclomatic 11, cognitive 12): rebalanceCounts 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":"web/components/quiz/QuizConfigPanel.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9335f5a2dcb9879b1ccc00a943c952345d8eb9410213218894293d1add5322"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/ReadingActionsProvider.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d10ce406dc86eea8ef64bc309bb00d4fc9be3ed1fe094ab623749144f56b8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":3629}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dccea119e182815471b6e776e2b4895bf4494c839b28b980ee83e44bccd87d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ce7d5e9df90b0e56a3fdc4cfd00608e08314e6b7d133627266fcf8cbbf68a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onstop (cyclomatic 11, cognitive 12): onstop 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":"web/hooks/useVoiceRecorder.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"224f4c5e91734653c68a794813a066d61319532ee8526edd93209ad29fd99425"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapMarkdownProse (cyclomatic 11, cognitive 12): mapMarkdownProse 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":"web/lib/latex-normalize.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94a8546cc1ebcc34e8725041e7da688059abf5042186f1a59def2abe0c11a48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function practiceActivity (cyclomatic 11, cognitive 12): practiceActivity 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":"web/lib/learning-dashboard.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb939f9054d8ef5ac20b9711c32595df14c3458a47916c932565fd645ecd00b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 11): handler 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":"web/app/(workspace)/learning/books/components/PageReader.tsx"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"551e7ec614497d5937b7232bb15a8697840e9b2aa91e6b0e79bfbe7639434ffd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KbWebSourcesSection (cyclomatic 11, cognitive 11): KbWebSourcesSection 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":"web/components/knowledge/KbWebSourcesSection.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a24597bf2bd42db5259806a1d01de89c4030ea66904bf271ad4243b34dd2b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rescope (cyclomatic 11, cognitive 11): rescope 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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"8816670ac416549cd22492cfbf813252c841d5aa94676269fa8779ab8f4fdd2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliver (cyclomatic 11, cognitive 11): deliver 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":"web/features/calendar/components/CalendarRuntime.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97b36caa788c090ea590c4fc8e8f5ae7ac24829ca1f9c1efe7c4cfb57345aec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasTurnEvent (cyclomatic 11, cognitive 11): hasTurnEvent 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"5728b1a8c9fcd719588a93697242bebcea6b9fb65f900c9a90029079ee162c0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyEdit (cyclomatic 11, cognitive 11): applyEdit 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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"af727e98574e6a1ff592e3a99c7f4c153e67f19d5a16e96bd6f56d963be2709d"}},{"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":"web/features/notes/components/NoteEditor.tsx"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2de5c271d902f95b0a7540baaad67941ecc73695b0ec245a1b8483be72897ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function directRecords (cyclomatic 11, cognitive 11): directRecords 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":"web/lib/failed-submissions.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0ed42bfdac7c6415f6ebf14241befbd21ee26c727829c9ed7bcec8bdcc2210"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backtickedLatex (cyclomatic 11, cognitive 11): backtickedLatex 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":"web/lib/latex-normalize.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"909c43409813f18fdafc2fe62dc4281f05a38f4693a1527ca7470d16ae13de26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveReadingAgeMode (cyclomatic 11, cognitive 11): resolveReadingAgeMode 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":"web/lib/reading-age-presentation.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1b54bb91f9ad15b990d45fe701c6febb3789a508dbb63f2fcc89091f819537"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function messageFromBody (cyclomatic 11, cognitive 11): messageFromBody 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":"web/shared/api/client.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb96e0fa14e9d4cb116509a1c8c9e2d292104c10f996a464a16baae56922e5e"}},{"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":"web/tests/calendar.spec.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f8da41c41c8e4cb0ba3c87728301b03f5babe7ca85af5671a412aed22e9d15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PartnerGroupPage (cyclomatic 11, cognitive 10): PartnerGroupPage 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":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bb3a456d443d3af507f11417f3d81b20244cd29b0b2bbb7f9b3ba7e6659868"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/ComposerInput.tsx"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f752e756475aecdab19b2117d6af1032885114dcb8a309f043f7246e18aaf28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/TurnNavigator.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"a864a61c65c233e9b28e3ced4586938982a84d8cddf945093d8cf02e93460deb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/preview/FilePreviewDrawer.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4916cd074594a37fa0fcb90d6dab78c7dde2127680706c5e2bcebbd659509e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/common/AssistantResponse.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e605e9704a17de95001c79658051d0e98b674801126435787c77b186b569e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/common/InlineFileCard.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4f190bf109b0f989db27d2c243cbbc2d5ac150a38b344d8cee599b7bdc00e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KbDocumentList (cyclomatic 11, cognitive 10): KbDocumentList 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":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4999378e5a0db7a50ff0cf3925415682b21877dcfa9b3884ba31eda101babc48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KbMarginNoteDevicesSection (cyclomatic 11, cognitive 10): KbMarginNoteDevicesSection 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":"web/components/knowledge/KbMarginNoteDevicesSection.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2617955a2969142ae8164137ffcf1404b8d80b26b7db4ee3392676d794aa3d60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PageIndexConfigForm (cyclomatic 11, cognitive 10): PageIndexConfigForm 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":"web/components/knowledge/PageIndexSettingsModal.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01e5c609c67d311641847ed603af83476fc77900f79c2df3935e90edf6a9db5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DocPane (cyclomatic 11, cognitive 10): DocPane 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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bab63119efcafae4107b92d7cd3eaf5324c3cd22d4551edca08357d33ed314"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onRelocated (cyclomatic 11, cognitive 10): onRelocated 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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2eae72bd14042cf7cee443ad508ceb224230277e6e7d62243f02494541a662"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/TextUnitView.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"1603406c7a6fe1acd859c2acb444bf6c4fac00a66efba0aa7d1f99aab0acc390"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MaterialLibraryPage (cyclomatic 11, cognitive 10): MaterialLibraryPage 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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4224aa077a57e6e7c0bf34409672e0359612bd0adcc173652a03c2d09c77134f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReadingFolderPage (cyclomatic 11, cognitive 10): ReadingFolderPage 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":"web/components/reading/library/ReadingFolder.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0af444928ff6956d4e2bba30e676a5f8915fc7ab4f40e277502d331d5ab205"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readingPanelBounds (cyclomatic 11, cognitive 10): readingPanelBounds 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":"web/components/reading/workspace/useReadingPanelLayout.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7570829fdafacf90a20369c6437e005f41057ed8023aa8d70820587134956c11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProfileCard (cyclomatic 11, cognitive 10): ProfileCard 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":"web/components/settings/ModelCards.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bc50796ca63bed096dce87ed7a5a125cffe31b1a843c7a2ea52a0f7f00c92a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatHistorySection (cyclomatic 11, cognitive 10): ChatHistorySection 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":"web/components/space/ChatHistorySection.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1f4a290f1d27fd11d9bc58ff63707746ee500512fb57f74d7b3ec260bff921"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DetailView (cyclomatic 11, cognitive 10): DetailView 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":"web/components/space/EduHubImportModal.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0e651972e08a7a3fe198fa21711f562ca5305ff1ce68cc7a4e2b4180680c6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildQuestionBankFilter (cyclomatic 11, cognitive 10): buildQuestionBankFilter 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":"web/components/space/question-bank/useQuestionBank.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"731e4d396fc59bc466430c0b7e3499b03cfd55c8e4702933ef89f2aa6c69b08a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PlayAudioButton (cyclomatic 11, cognitive 10): PlayAudioButton 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":"web/components/voice/SpeechButton.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74d40d51349a4b7c8ddc0073e072cdeb250942c58eeb70b61f9aa3a1e748710"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteFavoritesPicker.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"34eafd742b1873473b945450a7276d85be003c3772caecfbac8472991ce3ef35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NoteOutline (cyclomatic 11, cognitive 10): NoteOutline 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":"web/features/notes/components/NoteOutline.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e879b892b515c7503e76a7feef1edc5d113b772269c0768470e0ec281d3c153"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function responseItemMessage (cyclomatic 11, cognitive 10): responseItemMessage 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":"web/lib/chat-import/codex.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e700d48e415b1e17605dde7803747062477d91e12135d88234656bec0573b7bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDraft (cyclomatic 11, cognitive 10): parseDraft 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":"web/lib/chat-markdown-note.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e63fe89f2f16775b14a1bc44cd407c9a78fc22dc57802bc0dff7398ceb6c090"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markdownUrlTransform (cyclomatic 11, cognitive 10): markdownUrlTransform 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":"web/lib/markdown-display.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3aee3f3a265b1f28123c35c712e536915dba9bc0404da717ecaa08a42ae840c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMcpCatalog (cyclomatic 11, cognitive 10): getMcpCatalog 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":"web/lib/mcp-api.ts"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"5768eb832e8f83a12d94ac08fcb4af4319ebf7ce46db4853cc7246a4ac215ec0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function youtubeVideoId (cyclomatic 11, cognitive 10): youtubeVideoId 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":"web/lib/reading-video-sources.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40d58b5badce1f378ac5f3346ce8095db529e2d22d27e18f47477d3be65ce89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadTarget (cyclomatic 11, cognitive 9): loadTarget has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/scripts/lib/target.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fac400792f6cbac1cd8c74722c64a3caf4cd486cff6ecc5f5775893315a9b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSource (cyclomatic 11, cognitive 9): readSource 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/chat-engine/src/tools/read-source.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a878ca61681a888ea9758fc978cf0f14efac7d37f2811190d7928a3d60f62e5"}},{"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":"web/app/(workspace)/partners/[partnerId]/page.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4c80f8108ddccea51b496e238fafa7b087b784a9e9463ba82e9d0e74cb29dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CollectionCard (cyclomatic 11, cognitive 9): CollectionCard 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":"web/components/notebook/NotebookConsole.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"049b7071ff201badcd7851d67cc44e6293d031078288c3377e0879df6198024b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingsReadinessPanel (cyclomatic 11, cognitive 9): SettingsReadinessPanel 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":"web/components/settings/SettingsReadinessPanel.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2e4a8d92f6e1bdcba530a618a44c5c5ac9c576e0055925f1df6bf1ab82f763"}},{"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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":4232}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a550e596868cf56790b48bce80352e83756d7324837374e86525dcfa033aa4"}},{"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":"web/lib/chat-import/chatgpt.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a7120fd8a0d83d2a453b21b042c3f7ad097ce975517debb5e4c775e06ea6a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 11, cognitive 9): visit 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":"web/tests/native-button-title.test.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bed1535d1c52462d4f59d4f6a8d6fcb5b1fb2bc232378a0bf92fa6c0b57f74a"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/chat/ChatStateAdapter.tsx: 4343 lines of code: web/features/chat/ChatStateAdapter.tsx has 4343 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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0d9bd728fd77c0f20bc4956a3ba6bcb414540ded2391b55a255382ec32df3d"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/chat/components/ChatWorkspace.tsx: 3164 lines of code: web/features/chat/components/ChatWorkspace.tsx has 3164 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":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f340d96b630fe6eea081b6a122ed484a449dd2b867cd9d6fa645c2c63073e01"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/chat/messages/ChatMessageList.tsx: 2526 lines of code: web/features/chat/messages/ChatMessageList.tsx has 2526 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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ea2e105c48b0684aa69495ae06b4fab48031aa184045a4a71d69b848f9f055"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/settings/store/SettingsStore.tsx: 2488 lines of code: web/features/settings/store/SettingsStore.tsx has 2488 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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f14f0603063361efd9e62db65ffc824a691af487f954f68e4836f16f0dbd6e"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/co-writer/components/CoWriterWorkspace.tsx: 2407 lines of code: web/features/co-writer/components/CoWriterWorkspace.tsx has 2407 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":"web/features/co-writer/components/CoWriterWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03867a76ac069991ee3cb2cfc7f5f2d1f145c59a7aafb0a480b5179add767d29"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/knowledge/components/engines/EngineDetail.tsx: 1919 lines of code: web/features/knowledge/components/engines/EngineDetail.tsx has 1919 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":"web/features/knowledge/components/engines/EngineDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be06b779c3e2d6343a8af1d33285b3c9f0b2db2b23f38ce4fc2e134497573a3"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/chat/trace/TracePresentation.tsx: 1901 lines of code: web/features/chat/trace/TracePresentation.tsx has 1901 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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"626af63a078f8c6031b94fb58f3904ac33c972af14b027af088b5915483c7161"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/home/SessionViewerPanel.tsx: 1898 lines of code: web/components/chat/home/SessionViewerPanel.tsx has 1898 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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f8db8733f7ea1dfc21a856a06d605a219c3d052eb9a0f04060b46ecbabbf30"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/settings/ServiceConfigEditor.tsx: 1860 lines of code: web/components/settings/ServiceConfigEditor.tsx has 1860 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":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99619ef10b71c8f636336e2003e9597a3efc4f3689d4a1812aa160666ad849e5"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/knowledge/api/client.ts: 1769 lines of code: web/features/knowledge/api/client.ts has 1769 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":"web/features/knowledge/api/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40915e3e59b8a3eda2087b7f692cbe8d94047cfbc80e1ff869757ec75543b6d"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/home/ChatComposer.tsx: 1683 lines of code: web/components/chat/home/ChatComposer.tsx has 1683 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":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c09ecbe355b6e42e6941f7dc84ebb754e36cc4b2cc3a5be61e2d25348a20e10"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/notes/components/NoteEditor.tsx: 1618 lines of code: web/features/notes/components/NoteEditor.tsx has 1618 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":"web/features/notes/components/NoteEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7885e6b2d1bc44fc2da9027a0b7ee02723be1cea0647626b10c47aef5d723564"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/home/AskUserOptions.tsx: 1604 lines of code: web/components/chat/home/AskUserOptions.tsx has 1604 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":"web/components/chat/home/AskUserOptions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e620c1c6dbf4e23d49e1f1a3b5a39ce27b2dcbeb82ede7b82fd6380a79b722d"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/knowledge/CreateKbModal.tsx: 1584 lines of code: web/components/knowledge/CreateKbModal.tsx has 1584 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":"web/components/knowledge/CreateKbModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"954cac714739f53313227c30a6bdd271b7abf13835367cad517c42f929e8034e"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/memory/MemorySection.tsx: 1443 lines of code: web/components/memory/MemorySection.tsx has 1443 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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b199ef98c50d741e99c50762920999893b7178a49c92d08a0a741743f2e1f7"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/ReaderPane.tsx: 1401 lines of code: web/components/reading/ReaderPane.tsx has 1401 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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbeb4da30c9cb5b044acc5b743b915682e9692cf11034bcaa988a5213277d200"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/quiz/QuizViewer.tsx: 1351 lines of code: web/components/quiz/QuizViewer.tsx has 1351 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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecae904ee89688c51b96a3ad6529b23d2b6fa4ad3832706390495b135525ca7a"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/partners/PartnerChat.tsx: 1329 lines of code: web/components/partners/PartnerChat.tsx has 1329 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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebadaa95d86954a6dbf33c5b326ca03b6129daecaa2a69d4a73bb3c957fb854"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/settings/sections/DocumentParsingSettingsSection.tsx: 1296 lines of code: web/features/settings/sections/DocumentParsingSettingsSection.tsx has 1296 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":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fee91db0e770b50336c6e263bee91f62a225bc92d53d40ca4f2e8c436d3f8a5"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/settings/ModelsWorkspace.tsx: 1238 lines of code: web/components/settings/ModelsWorkspace.tsx has 1238 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":"web/components/settings/ModelsWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddf834934c2c88d589790e9227045fe145b8da9186a7a3782dd5ab1d6e1fa20"}},{"ruleId":"R3","level":"warning","message":{"text":"web/app/(workspace)/learning/books/BooksRoute.tsx: 1181 lines of code: web/app/(workspace)/learning/books/BooksRoute.tsx has 1181 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":"web/app/(workspace)/learning/books/BooksRoute.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7d29c4562362b352c0bae2f3a9688d50709a9115f6bbf75202ac7a40954f59"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/PdfDocumentView.tsx: 1067 lines of code: web/components/reading/PdfDocumentView.tsx has 1067 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":"web/components/reading/PdfDocumentView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cb569b61b0c964605fef3190f0baca49e2ce8db6570bbe119dc8fbf74aa8cd"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/home/StandaloneComposer.tsx: 1034 lines of code: web/components/chat/home/StandaloneComposer.tsx has 1034 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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02bb74f25d6f5297c39669cdb1dcc20520efe3a497789b3a7ce4332ed014eeb"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/workspace/MediaReadingStage.tsx: 1001 lines of code: web/components/reading/workspace/MediaReadingStage.tsx has 1001 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":"web/components/reading/workspace/MediaReadingStage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"180ef08c76bd572f093f0881d2c0429077ded012841c7a0b9d0e1babadb841e4"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/space/SkillsSection.tsx: 990 lines of code: web/components/space/SkillsSection.tsx has 990 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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde96a67d0c22c25ac234a32891e24ca42062e32418cf2af6be2869dd5c8eeba"}},{"ruleId":"R3","level":"warning","message":{"text":"web/app/(admin)/admin/users/page.tsx: 989 lines of code: web/app/(admin)/admin/users/page.tsx has 989 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":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f61d72c12cde2793005c56aa13ac740ea5bff08350b7c1ec306c1251a9229e"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/cli-apps/CliAppsSection.tsx: 967 lines of code: web/components/cli-apps/CliAppsSection.tsx has 967 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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92de27b231acd02f36b0f0fffc592a16439bd017db9c8ffef9fc891153a6d3b"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/notebook/NotebookConsole.tsx: 967 lines of code: web/components/notebook/NotebookConsole.tsx has 967 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":"web/components/notebook/NotebookConsole.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb1653ba87c298e6213aa957ef2cd3eb0d5114d2c675457338b312af6f58215"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/memory/MemoryGraph.tsx: 937 lines of code: web/components/memory/MemoryGraph.tsx has 937 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":"web/components/memory/MemoryGraph.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d44a92c073797603df41cb50a0d65b0d1ae509fcc3509cf2ab7bc66cb257e2"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/settings/SubagentSettingsEditor.tsx: 933 lines of code: web/components/settings/SubagentSettingsEditor.tsx has 933 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":"web/components/settings/SubagentSettingsEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3681ece16ca7e760c41993d9b2739f9c40b0c8e2004e7473439b9c00d629ad"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/markdown-display.ts: 930 lines of code: web/lib/markdown-display.ts has 930 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":"web/lib/markdown-display.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a601a043d358e345be5ec200092a031d8fcffbb7417b276e4ff25619345a1d"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/memory/MemoryRunPanel.tsx: 914 lines of code: web/components/memory/MemoryRunPanel.tsx has 914 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":"web/components/memory/MemoryRunPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae3970f1c10e0019e20be96075718e861288d03d6752a65e8292867f5353d8c"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/space/learning/MasteryStudy.tsx: 889 lines of code: web/components/space/learning/MasteryStudy.tsx has 889 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":"web/components/space/learning/MasteryStudy.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e85154ecb9327671fb0b86b9e4d2e9dfc67d27d87b5934242843293d97bf3b4"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/notes/components/NoteCompanion.tsx: 831 lines of code: web/features/notes/components/NoteCompanion.tsx has 831 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":"web/features/notes/components/NoteCompanion.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4187ba7473ba745c3d118408d683f1489cbe913aef0fad1bf7bdd4a6ccc3b4e7"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/multi-user/components/GrantEditor.tsx: 825 lines of code: web/features/multi-user/components/GrantEditor.tsx has 825 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":"web/features/multi-user/components/GrantEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f2cda5f914ccc23e3b03aef106ad9b94d2093cf04d599935cc3c61688f2365"}},{"ruleId":"R3","level":"warning","message":{"text":"web/app/(workspace)/partners/[partnerId]/page.tsx: 816 lines of code: web/app/(workspace)/partners/[partnerId]/page.tsx has 816 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":"web/app/(workspace)/partners/[partnerId]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c3c939caf1cbef35907755b826e340336132318f123c363675ebb922cb5645"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/notes/components/NoteWorkspace.tsx: 803 lines of code: web/features/notes/components/NoteWorkspace.tsx has 803 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":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5984ca0a7c6ff4bc4fd6e63acfe83f280b0f97b76a45ba6de5700ea7b2934bc9"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/learning-api.ts: 799 lines of code: web/lib/learning-api.ts has 799 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":"web/lib/learning-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec66208554abbdca1576536dd426d8dd33b3a1e0d8b23e009e49962fc0b58761"}},{"ruleId":"R3","level":"warning","message":{"text":"web/app/(workspace)/learning/books/components/PageReader.tsx: 787 lines of code: web/app/(workspace)/learning/books/components/PageReader.tsx has 787 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":"web/app/(workspace)/learning/books/components/PageReader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb52314556f4f2d18df493c4d2a5fd6acdf033051c1c97c5937ebc3ad8f7d70"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/home/ComposerInput.tsx: 785 lines of code: web/components/chat/home/ComposerInput.tsx has 785 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":"web/components/chat/home/ComposerInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f036e419686899ddb98b58f9e2db79c9ea015d1d2f33cfbcae50c45b4e94200d"}},{"ruleId":"R3","level":"warning","message":{"text":"web/app/(workspace)/learning/mastery/[pathId]/page.tsx: 781 lines of code: web/app/(workspace)/learning/mastery/[pathId]/page.tsx has 781 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":"web/app/(workspace)/learning/mastery/[pathId]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5aabee567c11946b4e6ecb98c6951bfb9d66a4b7749fa8a620cf3cef1eb65a"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/TextUnitView.tsx: 777 lines of code: web/components/reading/TextUnitView.tsx has 777 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":"web/components/reading/TextUnitView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79889b638ec6a914cb7b02f08e43d0d0d397a543c16ae65aa81e2ba80d1e55df"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/library/AddMaterialsDialog.tsx: 758 lines of code: web/components/reading/library/AddMaterialsDialog.tsx has 758 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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68043f86bbd0017b4bf3d5070b96c29c7195284ebd8d95875a927a7e0f45369"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/calendar/components/CalendarPage.tsx: 757 lines of code: web/features/calendar/components/CalendarPage.tsx has 757 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":"web/features/calendar/components/CalendarPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"550db60dcfb720c25d54c55c1170c0a16980cac3b4d5ab5f1002429cd5cf685e"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/calendar/components/TimeGrid.tsx: 757 lines of code: web/features/calendar/components/TimeGrid.tsx has 757 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":"web/features/calendar/components/TimeGrid.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbc7205cfd14f2f7ac478874df84fae30bad6aa06ccb78cf7720f0c6f67d7da"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/workspace/ReadingWorkspace.tsx: 731 lines of code: web/components/reading/workspace/ReadingWorkspace.tsx has 731 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":"web/components/reading/workspace/ReadingWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38209845fe24c2b83ea8206922a7e276b4f26ca41339fbe6268638f4275a680b"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/settings/ConnectionsEditor.tsx: 727 lines of code: web/components/settings/ConnectionsEditor.tsx has 727 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":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f52d2df3c21d5c831ad68e042bd9af3c4dc5e78afb8ca0565fa63482616b0c4"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/EpubDocumentView.tsx: 722 lines of code: web/components/reading/EpubDocumentView.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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7d0b09e6d3328dcb38d0d3a2e090b36be52a07a7d3570ed91ed730b112667c"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/quiz/QuizConfigPanel.tsx: 720 lines of code: web/components/quiz/QuizConfigPanel.tsx has 720 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":"web/components/quiz/QuizConfigPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4e55e44674ce6d84056bb2ba6bcb24b178cd2aea2ece4b9dec9f74c610b68c"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/mcp/McpCatalogBrowser.tsx: 719 lines of code: web/components/mcp/McpCatalogBrowser.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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77f68a553fac0d9fe1637c7d1f32456ccdb42083b7a87b93850a73ad4e1d915"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/common/RichMarkdownRenderer.tsx: 710 lines of code: web/components/common/RichMarkdownRenderer.tsx has 710 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":"web/components/common/RichMarkdownRenderer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c73d75db1ac6279773282a7e8ea8239dfec4a104948c50ee01d5e216001cac"}},{"ruleId":"R3","level":"warning","message":{"text":"web/context/QuizFollowupContext.tsx: 708 lines of code: web/context/QuizFollowupContext.tsx has 708 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":"web/context/QuizFollowupContext.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8cb1ad48af33a1e013f8a1c22d88891a7646f0cf49d853a0b016df7e0e34d5"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/memory-graph.ts: 706 lines of code: web/lib/memory-graph.ts has 706 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":"web/lib/memory-graph.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"206312bd4a464287467051e10f9ea282a45b653ef6b9d0fc49d1ecc48ee7e48a"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/sessions/OrganizedSessionList.tsx: 705 lines of code: web/components/sessions/OrganizedSessionList.tsx has 705 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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6af1ae6550a796498960711ea0bfb383f52499f6d21f646e6bcd60697349103"}},{"ruleId":"R3","level":"warning","message":{"text":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx: 704 lines of code: web/app/(workspace)/learning/books/components/BookChatPanel.tsx has 704 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":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d602c834f6b453da1a99f93a925523905def4bfce321fda96d3627c3907fcf68"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/library/MaterialLibrary.tsx: 702 lines of code: web/components/reading/library/MaterialLibrary.tsx has 702 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"338d183646cd6e1fae5589de3f52cfca58f1bd9b3611a66b22146e00267c0954"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/notebook/SaveToNotebookModal.tsx: 698 lines of code: web/components/notebook/SaveToNotebookModal.tsx has 698 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":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b54cf1b56b906fd6c5b093bd535cf85cccbaa1136c99ac7db68dcf7ced447e8"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/mcp-api.ts: 698 lines of code: web/lib/mcp-api.ts has 698 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":"web/lib/mcp-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8c09298a87d9669479dbb9f71f8ac10c9ae189d3376b0e83a11759917f2682"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/sidebar/SidebarNav.tsx: 693 lines of code: web/components/sidebar/SidebarNav.tsx has 693 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":"web/components/sidebar/SidebarNav.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf4edebe52affcaf74448c426dc256078bed3d8216d172c892ebb38cca539c6"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/partners-api.ts: 682 lines of code: web/lib/partners-api.ts has 682 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":"web/lib/partners-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0c6148d1bcc58227414e4eba5f7eaf76ffe1cdc37da8c80c01542f1a89fe18"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/ReadingExtensionBar.tsx: 670 lines of code: web/components/reading/ReadingExtensionBar.tsx has 670 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":"web/components/reading/ReadingExtensionBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"043eb4c27067d5dfe03fb0e39192ee447f72e45e023402bff0cb0e43de4678f1"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/workspace/SourceNavigator.tsx: 668 lines of code: web/components/reading/workspace/SourceNavigator.tsx has 668 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":"web/components/reading/workspace/SourceNavigator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a7d371cd3761c67e94b2aca4723700d8e6ef52543c9d52e121e86cfce57427"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/space/MyAgentsSection.tsx: 664 lines of code: web/components/space/MyAgentsSection.tsx has 664 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":"web/components/space/MyAgentsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbff9b6ff220fe1814698c726b6f0229d80e206ab802689d30c7a7c62bbda394"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/settings/MinerUEngineSettings.tsx: 660 lines of code: web/components/settings/MinerUEngineSettings.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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef7671efc277159474a3fe69d7f4a7cffb0efbc6ff2d72ce2e0e93f7fbcb7a0"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/MyAgentsPicker.tsx: 653 lines of code: web/components/chat/MyAgentsPicker.tsx has 653 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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf05b9202748b95dbedbb5b75da1a503b0202b00800f6de268c7fe284ae6012"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/visualize/VisualizationViewer.tsx: 643 lines of code: web/components/visualize/VisualizationViewer.tsx has 643 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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c6b082b251416bf7d5e92037458de99e20cfcafecd9abb0d859e18bfc13352"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/notebook-api.ts: 617 lines of code: web/lib/notebook-api.ts has 617 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":"web/lib/notebook-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab20556c17c165df18e74d1a1ad4957b154427b996ec2f3b181d0053b6fed15"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/reading-api.ts: 604 lines of code: web/lib/reading-api.ts has 604 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":"web/lib/reading-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddd656e321757d3a7b24e4cfeb336558295cde04a13918e4d951f8d851d279d"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/memory/MemoryWorkbench.tsx: 602 lines of code: web/components/memory/MemoryWorkbench.tsx has 602 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":"web/components/memory/MemoryWorkbench.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c2c9e85021d1665d93d392ae633945e575ce6963e9ad87870cc5b33b0389a1"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/settings/sections/CapabilitiesSettingsSection.tsx: 602 lines of code: web/features/settings/sections/CapabilitiesSettingsSection.tsx has 602 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":"web/features/settings/sections/CapabilitiesSettingsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d921ce7fdb2f7199624faeb0cdab3051495e3b0f9bed6e0d06accce6e13f34"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/settings/sections/ToolsSettingsSection.tsx: 590 lines of code: web/features/settings/sections/ToolsSettingsSection.tsx has 590 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":"web/features/settings/sections/ToolsSettingsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98311cadf3170b48a35bb8b127983c88ac9dde897a04821d03cd3fc36c0c933"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/partners/PartnerComposer.tsx: 587 lines of code: web/components/partners/PartnerComposer.tsx has 587 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":"web/components/partners/PartnerComposer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da4b78e1be4409b8b46d1ec743eadc904cefededef1991b74d5a4ef061d6568"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/latex-normalize.ts: 586 lines of code: web/lib/latex-normalize.ts 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":"web/lib/latex-normalize.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba25256047655353ec6893b7a17f1c355920bdb19e41be95eb954b7da157eef"}},{"ruleId":"R3","level":"warning","message":{"text":"web/app/(workspace)/learning/books/components/SpineEditor.tsx: 582 lines of code: web/app/(workspace)/learning/books/components/SpineEditor.tsx has 582 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(workspace)/learning/books/components/SpineEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"895a57cf507f096b247d3b45851d3df2e55d6a631c9131ad6bb4e1ceb0cf619f"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/knowledge/KbDocumentList.tsx: 572 lines of code: web/components/knowledge/KbDocumentList.tsx has 572 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":"web/components/knowledge/KbDocumentList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f637e9acb7bad360486d32cbab1feee03c096b693e2f95f3b6f933bf17ec86"}},{"ruleId":"R3","level":"warning","message":{"text":"web/hooks/useTopicSourceLibrary.ts: 569 lines of code: web/hooks/useTopicSourceLibrary.ts 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":"web/hooks/useTopicSourceLibrary.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6553676a59d60e21c3017d74fda8b600b4728bb28069612ebb32cc8fef59a914"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/knowledge/KbIndexVersionsSection.tsx: 562 lines of code: web/components/knowledge/KbIndexVersionsSection.tsx has 562 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":"web/components/knowledge/KbIndexVersionsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc7be85c2f62f65cbb8c2a921e92e82fff72caf6830e71aff766ad134561f0f"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/space/PersonasSection.tsx: 559 lines of code: web/components/space/PersonasSection.tsx 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":"web/components/space/PersonasSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efdee3864ac04309165e90fbcfd3e52817f8ef66f2edd5e6eb1a580873727b5"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/space/EduHubImportModal.tsx: 553 lines of code: web/components/space/EduHubImportModal.tsx has 553 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":"web/components/space/EduHubImportModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f46b9717951bf62a4950c54831e8514bae38c2434e6a7e481dc77ff965bd702"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/partners/PartnerConfigure.tsx: 550 lines of code: web/components/partners/PartnerConfigure.tsx has 550 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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5928f33d25026264a9c71b29f4fedb85fb95308e4eff1d4677cc6424d61dd32"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/space/ImportWizard.tsx: 546 lines of code: web/components/space/ImportWizard.tsx has 546 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":"web/components/space/ImportWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df09f8f7343fe95d19a6c8a53363ebece57ee20672cc7ffc84dff71693ff8b0b"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/chat/transport/TurnRuntimeClient.ts: 545 lines of code: web/features/chat/transport/TurnRuntimeClient.ts has 545 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":"web/features/chat/transport/TurnRuntimeClient.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"556f50dd9c055a8250b56a474bf6cd3290efa9a0438e4a694e49f530e95f8355"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/common/InlineFileCard.tsx: 543 lines of code: web/components/common/InlineFileCard.tsx has 543 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":"web/components/common/InlineFileCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f239068de43700cf9d6c3445a6aae7f0e431f1757968f276e793df9277f72d7"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/session-api.ts: 543 lines of code: web/lib/session-api.ts has 543 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":"web/lib/session-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cfaf3840aa7542872e1f1d8d36228e68f167b93bb928f142ba3f0e2da2fc84"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/home/SessionActivityPanel.tsx: 539 lines of code: web/components/chat/home/SessionActivityPanel.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":"web/components/chat/home/SessionActivityPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e72d5aa13b10e9ac78049e4fc2a2025104bd795167c9d0afccad34a20eda96"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/notes/components/useNoteThreads.ts: 533 lines of code: web/features/notes/components/useNoteThreads.ts has 533 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":"web/features/notes/components/useNoteThreads.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c49e1f007b8812d080a9ee70fca9ea3e6e714b3529368ff4b8bc59a8dbbaffe"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/settings/navigation/settings-nav.ts: 530 lines of code: web/features/settings/navigation/settings-nav.ts has 530 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":"web/features/settings/navigation/settings-nav.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98f84c5bd14e47cbd377fe778f838dec83f5dd778bbea470438ab98f8dc1d9e"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/partners/group/useGroupSession.ts: 528 lines of code: web/components/partners/group/useGroupSession.ts has 528 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":"web/components/partners/group/useGroupSession.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7efb748f56c73c86a559a439e6ea1add2027d615b81dd6087c95aadf3722149"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/HistorySessionPicker.tsx: 524 lines of code: web/components/chat/HistorySessionPicker.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":"web/components/chat/HistorySessionPicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b173a3140c88f7c184ce7fca8b929ab186440180cc7322c9d1ce786c522534"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/settings/CodexOAuthCard.tsx: 523 lines of code: web/components/settings/CodexOAuthCard.tsx has 523 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":"web/components/settings/CodexOAuthCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7702e30be2da0583055c0b6333afa4f97a4fe2229b0a90e5944f363f242204f"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/notebook/NotebookRecordRow.tsx: 517 lines of code: web/components/notebook/NotebookRecordRow.tsx has 517 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":"web/components/notebook/NotebookRecordRow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcd4f057b371a912a557ecc4f3bbd002e0534cdcb665fad94d2679439441cdc"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/workspace/useReadingWorkspace.ts: 517 lines of code: web/components/reading/workspace/useReadingWorkspace.ts has 517 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":"web/components/reading/workspace/useReadingWorkspace.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c7d1c0b3be7fa527bb43b0a245dcd4e58864194a380b9eee3baed97beb13bf"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/space/learning/TopicWizardSteps.tsx: 517 lines of code: web/components/space/learning/TopicWizardSteps.tsx has 517 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":"web/components/space/learning/TopicWizardSteps.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"475f07f47eeeff85f8a1146fff520f7a4d3e9cc83ed92d205d20bf0fc903952d"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/settings/RegistryControls.tsx: 516 lines of code: web/components/settings/RegistryControls.tsx has 516 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":"web/components/settings/RegistryControls.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37a70f07759d199c285bde1a83dad1a4c7cf317caf1ddb95df0521336c9e3fc"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/library/ReadingLibrary.tsx: 514 lines of code: web/components/reading/library/ReadingLibrary.tsx has 514 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":"web/components/reading/library/ReadingLibrary.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"335343643bcb1093c941de5b1335e4541388043d5a71c08bb3157c361461505a"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/workspace/ReadingCompanion.tsx: 510 lines of code: web/components/reading/workspace/ReadingCompanion.tsx has 510 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":"web/components/reading/workspace/ReadingCompanion.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c161dbd7a44dd42f7d562659e96d00caed037940e6f186f58dbf60844ff4fa8"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/knowledge-helpers.ts: 509 lines of code: web/lib/knowledge-helpers.ts has 509 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":"web/lib/knowledge-helpers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bc9addb8f7161aefdec279d2d772fea3e8e44ec94432df0041e0d836d434f5"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/space/question-bank/QuestionCard.tsx: 508 lines of code: web/components/space/question-bank/QuestionCard.tsx has 508 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":"web/components/space/question-bank/QuestionCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c851e5e1f5fb3c468e51f000ec4ecc3e99507ab747b2446c96835057896717"}},{"ruleId":"R3","level":"warning","message":{"text":"web/app/(workspace)/partners/new/page.tsx: 505 lines of code: web/app/(workspace)/partners/new/page.tsx has 505 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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0e47eb41b8b8efb32c98cf70429aff9459f7e7977f44d9f2a59a55ce086862"}},{"ruleId":"R3","level":"warning","message":{"text":"web/hooks/useKnowledgeProgress.ts: 505 lines of code: web/hooks/useKnowledgeProgress.ts has 505 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":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"614bf4ce9f5a09d3f8f06f419e8d16a1e6b6f3501c40980853c9480331115483"}},{"ruleId":"R3","level":"warning","message":{"text":"web/app/(utility)/profile/page.tsx: 504 lines of code: web/app/(utility)/profile/page.tsx 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":"web/app/(utility)/profile/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d7f4772299b88d4491235efb5ce10d36b6e7aef141dbb543836643642a0f19"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/notes/components/NoteBlockPreview.tsx: 503 lines of code: web/features/notes/components/NoteBlockPreview.tsx has 503 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteBlockPreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53310b4d7ecc0babb06e7d968cb303936c766d8c1c20b0ae2f5bbeee9f8a9ac"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/desktop/src/i18n.mjs: 499 lines of code: apps/desktop/src/i18n.mjs has 499 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/i18n.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aca8ad765ac6e1a65f8ae5c834ad6d9be25766c7f41c345a72dab8b6f70e7eb"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/partners/PartnerArchives.tsx: 498 lines of code: web/components/partners/PartnerArchives.tsx has 498 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":"web/components/partners/PartnerArchives.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"187a1e5935974e5879bec276023f978a1c7cf220b5cf28d1ca2a7f90e60cbce2"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/ReadingReferencePicker.tsx: 494 lines of code: web/components/chat/ReadingReferencePicker.tsx has 494 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":"web/components/chat/ReadingReferencePicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd6ededb391d1e53378fd01cf550ae2acae799751a1e35f3da5344a18f5ad61"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/knowledge/KnowledgePage.tsx: 493 lines of code: web/components/knowledge/KnowledgePage.tsx has 493 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":"web/components/knowledge/KnowledgePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cab7984e1829f7e92f9aedf082db3527c6268e5680f12e9554bd2aa79020a99"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/PdfPage.tsx: 488 lines of code: web/components/reading/PdfPage.tsx has 488 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":"web/components/reading/PdfPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0713cf8eee5b8caf01889634fed681f5f05e6963c61faa5883778892a478320d"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/home/ComposerResources.tsx: 485 lines of code: web/components/chat/home/ComposerResources.tsx has 485 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":"web/components/chat/home/ComposerResources.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30860d6bc5092afcca3dba6cfabd8ab8e148dcadaab410284b195d18fb581cb"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/common/SimpleMarkdownRenderer.tsx: 485 lines of code: web/components/common/SimpleMarkdownRenderer.tsx has 485 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":"web/components/common/SimpleMarkdownRenderer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73007cba9827fca64f6efb6aa38cf106770759f2ab4e59280e22f37c985b98a5"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/book-api.ts: 481 lines of code: web/lib/book-api.ts has 481 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":"web/lib/book-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0ec2471b3609e445dc7d835363b312f243fb1581f598723841e1f6b76ac39c"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/knowledge/KbWebSourcesSection.tsx: 474 lines of code: web/components/knowledge/KbWebSourcesSection.tsx has 474 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":"web/components/knowledge/KbWebSourcesSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f800484e683cbf3965c7c738a3a53f28210b223fb34de0c7099f6883bcb622ef"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/knowledge/KnowledgeHome.tsx: 471 lines of code: web/components/knowledge/KnowledgeHome.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":"web/components/knowledge/KnowledgeHome.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c2ca5abb758493a1788f1114b2fadef39f9b51575c26dd01f1f5ec0be69bce"}},{"ruleId":"R3","level":"warning","message":{"text":"web/context/ReadingContext.tsx: 471 lines of code: web/context/ReadingContext.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":"web/context/ReadingContext.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fc0682db952af1263a9655e521ff356156f7e5ac305a2d5f10e55953ec9d21"}},{"ruleId":"R3","level":"warning","message":{"text":"web/hooks/useKnowledgeBases.ts: 470 lines of code: web/hooks/useKnowledgeBases.ts has 470 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":"web/hooks/useKnowledgeBases.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ac7efcf6026e5293f867e462fb5877f6288ac59be1f4ea9cfbbc341cba5ebc"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/learning/practice/PracticeInsights.tsx: 468 lines of code: web/components/learning/practice/PracticeInsights.tsx has 468 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":"web/components/learning/practice/PracticeInsights.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef57bf6ceeb021834dac497d37961083e520bfa66b4e874d75dbad30eb699413"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/knowledge/KbLinkedFoldersSection.tsx: 461 lines of code: web/components/knowledge/KbLinkedFoldersSection.tsx has 461 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/KbLinkedFoldersSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ceaf3c91987a4062ee4ada47aa4efb0b7bcdb2a0b9bb9ff878fe643d7c87d0"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/settings/ProvidersWorkspace.tsx: 461 lines of code: web/components/settings/ProvidersWorkspace.tsx has 461 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ProvidersWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f91d1dfcc67f57c69a8dce8f1dde8ddf30008df908193090c7ad6bb421671d7"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/settings/ModelCards.tsx: 459 lines of code: web/components/settings/ModelCards.tsx has 459 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":"web/components/settings/ModelCards.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7e32d19bfbdd98b91ae891a833dd3e9aa3adb856cd095d825e78a484f1cde3"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/space/question-bank/useQuestionBank.ts: 458 lines of code: web/components/space/question-bank/useQuestionBank.ts has 458 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":"web/components/space/question-bank/useQuestionBank.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"142b5756c1398a3d345956c7e807c3f0a0994b358d1e34f25638fff6ec405f11"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/settings/sections/GuardianSettingsSection.tsx: 454 lines of code: web/features/settings/sections/GuardianSettingsSection.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":"web/features/settings/sections/GuardianSettingsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c429e4bd3d732bf8c5935c1a1f70c07672aa45732666693e3a280b9ec99791d"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/calendar/components/EventEditor.tsx: 453 lines of code: web/features/calendar/components/EventEditor.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":"web/features/calendar/components/EventEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"264eb86626e1526284f5f81e4e9a830825e6335ab4af6a5ef2fd739157998171"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/reading-workspace-api.ts: 452 lines of code: web/lib/reading-workspace-api.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":"web/lib/reading-workspace-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e2c776fd7340d1c0e1236672dd2f3c4686d2d19c39d9195327053a636d445f"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/settings/sections/AboutSettingsSection.tsx: 451 lines of code: web/features/settings/sections/AboutSettingsSection.tsx 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":"web/features/settings/sections/AboutSettingsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be68d2675b17a9ab4995d183fc4551295fba46a3c8ffba5b6e5628447d6e0aa"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/home/ComposerTrayMenu.tsx: 450 lines of code: web/components/chat/home/ComposerTrayMenu.tsx has 450 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":"web/components/chat/home/ComposerTrayMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca3be4627a2393cdc072e583f4898a92a461f353c5edd80302e58f5d2108e99"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/quiz/QuizFollowupTabBody.tsx: 443 lines of code: web/components/quiz/QuizFollowupTabBody.tsx has 443 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":"web/components/quiz/QuizFollowupTabBody.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8334792bbfa87f7ba5861a491ec0a5cfcac590b5ec0a29c97776496b33d45c63"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/memory/useMemoryRun.ts: 441 lines of code: web/components/memory/useMemoryRun.ts has 441 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":"web/components/memory/useMemoryRun.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfd88cd4e12006c9e41c0dd01c618a0407ab05c3b62835a01d5366c0699c483"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/sidebar/SidebarShell.tsx: 441 lines of code: web/components/sidebar/SidebarShell.tsx has 441 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":"web/components/sidebar/SidebarShell.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ba3113f48749f6fb91ca44339eb395acd0d6d03e24d3973c990d0ee6456c82"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/book-activity.ts: 439 lines of code: web/lib/book-activity.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":"web/lib/book-activity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ad6c024d6c258d9e34c6facad901ab23d216dddd1df3701c93d2605d181a8e"}},{"ruleId":"R3","level":"warning","message":{"text":"web/app/(workspace)/learning/books/components/BookCreator.tsx: 433 lines of code: web/app/(workspace)/learning/books/components/BookCreator.tsx has 433 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":"web/app/(workspace)/learning/books/components/BookCreator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc230fa2699ebc5e1a3a6e10ffd7e77a9c6c3cf96b6a64b9f93068386825bdd"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/home/ComposerTray.tsx: 430 lines of code: web/components/chat/home/ComposerTray.tsx has 430 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":"web/components/chat/home/ComposerTray.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32aed4e344d2bfdf34c6c20a7c08970c811ac0926dace03af7175ebe093ba051"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat-engine/src/native/session.ts: 426 lines of code: packages/chat-engine/src/native/session.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":"packages/chat-engine/src/native/session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"916c02b3ef2425512867aed15ea5bda271f4618eb1534647e857094d341865b2"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/BookReferencePicker.tsx: 426 lines of code: web/components/chat/BookReferencePicker.tsx 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":"web/components/chat/BookReferencePicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a27f63982459eca66c91bd5545ab8c82420b191738fd48410162b0ac19ea37b"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/home/AnswerModeMenu.tsx: 426 lines of code: web/components/chat/home/AnswerModeMenu.tsx 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":"web/components/chat/home/AnswerModeMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71d8950f5d509eb57ecbd5276ba710333b829d2dade463a96460f1b38f5ae7a"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/learning/practice/PracticeSession.tsx: 426 lines of code: web/components/learning/practice/PracticeSession.tsx 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":"web/components/learning/practice/PracticeSession.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3f8bf78218253e2859ff1e07f111f0cc4dc4e0c5440a6299bd1fd84dc671cb"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/space/learning/ReviewTrail.tsx: 426 lines of code: web/components/space/learning/ReviewTrail.tsx 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":"web/components/space/learning/ReviewTrail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ee87043b0cc4f2f711bdb6860bce99a257beae717a57626d08e18e756025ac"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/calendar/components/CalendarRail.tsx: 424 lines of code: web/features/calendar/components/CalendarRail.tsx has 424 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":"web/features/calendar/components/CalendarRail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1fbdfabd7d20cf33a4f7ab3469c209fab625875a3a1240a11fbcaa2b5ec435"}},{"ruleId":"R3","level":"warning","message":{"text":"web/context/AppShellContext.tsx: 420 lines of code: web/context/AppShellContext.tsx has 420 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/context/AppShellContext.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b82fda67286d495c3bb63d1c11ad71c410be7327cb3b5df78d79e0b5128bb0"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/calendar/components/MonthView.tsx: 418 lines of code: web/features/calendar/components/MonthView.tsx has 418 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":"web/features/calendar/components/MonthView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b920eef5e797bbc9abc71706a83788a150fe22823c8f653d0fd00fe7b62deb8"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/doc-attachments.ts: 418 lines of code: web/lib/doc-attachments.ts has 418 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":"web/lib/doc-attachments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e962c3cc158943f2b49b9476e09264e830c7041d18ee0e5bfbe23e690030fd"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/pdf-page-geometry.ts: 418 lines of code: web/lib/pdf-page-geometry.ts has 418 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":"web/lib/pdf-page-geometry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e407f752d1fd81b06f7be81aa26b1336f9f1f8a45e27c5da1b2125725f339dcf"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/video-learning-api.ts: 418 lines of code: web/lib/video-learning-api.ts has 418 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":"web/lib/video-learning-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71dd2c49399fffd612381f3bc295895b59b2432587f037a0c966ae63bd9c639"}},{"ruleId":"R3","level":"warning","message":{"text":"web/app/(workspace)/partners/groups/[groupId]/page.tsx: 415 lines of code: web/app/(workspace)/partners/groups/[groupId]/page.tsx 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":"web/app/(workspace)/partners/groups/[groupId]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a39442e14455c74eda4e6b4e5b88045eb2152b086d3fdfd88b26741ad0e510"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/home/MasteryQuestionCard.tsx: 413 lines of code: web/components/chat/home/MasteryQuestionCard.tsx has 413 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":"web/components/chat/home/MasteryQuestionCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f569ba5845e3141f0206d47da77677c87b835bdbefdeb67b8427290b8cc11b"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/settings/SettingsReadinessPanel.tsx: 413 lines of code: web/components/settings/SettingsReadinessPanel.tsx has 413 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":"web/components/settings/SettingsReadinessPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bd9b536bb04a3b99e1b7655976d3926150888e663130650f468bf60e7dd8b8"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/tasks/components/KanbanBoard.tsx: 413 lines of code: web/features/tasks/components/KanbanBoard.tsx has 413 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":"web/features/tasks/components/KanbanBoard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cfe7d8d83e33e764b0c7456a6bffc37b50e16694d7de77fd390189dcc2f4c2"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/library/ReadingFolder.tsx: 412 lines of code: web/components/reading/library/ReadingFolder.tsx has 412 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/reading/library/ReadingFolder.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dc19a5346a9f07f430d846251c915063eaf6dd7f68eeb8da9ab34219f660a0"}},{"ruleId":"R3","level":"warning","message":{"text":"web/features/settings/sections/DataMigrationSettingsSection.tsx: 410 lines of code: web/features/settings/sections/DataMigrationSettingsSection.tsx 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":"web/features/settings/sections/DataMigrationSettingsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f8f168d490272cd06a9061f313e1d8e8232f4b2c4c010b85c7607330b9d69a"}},{"ruleId":"R3","level":"warning","message":{"text":"deeptutor/agents/video_lesson/remotion/kit.tsx: 408 lines of code: deeptutor/agents/video_lesson/remotion/kit.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":"deeptutor/agents/video_lesson/remotion/kit.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f487e1318d312de64e8eb81b09b355a341f8f161f2f26d3577f9e834cc1eb1bc"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/mcp/McpServerForm.tsx: 406 lines of code: web/components/mcp/McpServerForm.tsx has 406 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":"web/components/mcp/McpServerForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6885a5089c3258e5a9941148d7ba738b111cdb76d39df805915ca3f4536d20a2"}},{"ruleId":"R3","level":"warning","message":{"text":"web/lib/reading-citations.ts: 406 lines of code: web/lib/reading-citations.ts has 406 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":"web/lib/reading-citations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"358887947c0ddd60299fe195c92f475e1ef9d621383f87efee446be30077d7d8"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/workspace/dialogs.tsx: 405 lines of code: web/components/reading/workspace/dialogs.tsx has 405 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":"web/components/reading/workspace/dialogs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d2484900ac5f0e4f254fe3ce492876caa7abcf2f318241816e6bb7aef514e9"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/chat/home/ViewerLauncher.tsx: 403 lines of code: web/components/chat/home/ViewerLauncher.tsx has 403 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":"web/components/chat/home/ViewerLauncher.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a9fde26dddcd5289339021bd6a17fa30a000545c11e4e74db3ac5bff0689a6"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/desktop/src/main.mjs: 402 lines of code: apps/desktop/src/main.mjs has 402 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/main.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"538e4a4c5e3a86f424aebfe2db71189abe5d9860d741f12ed5501ed4b9fb8d1f"}},{"ruleId":"R3","level":"warning","message":{"text":"web/app/(workspace)/learning/books/components/BookLibrary.tsx: 401 lines of code: web/app/(workspace)/learning/books/components/BookLibrary.tsx 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":"web/app/(workspace)/learning/books/components/BookLibrary.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e7bde6dfe1a0a9035597af9c16633f38f400c619383102d1aa9139dc693df0"}},{"ruleId":"R3","level":"warning","message":{"text":"web/components/reading/ReaderImageLightbox.tsx: 401 lines of code: web/components/reading/ReaderImageLightbox.tsx 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":"web/components/reading/ReaderImageLightbox.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec4fcd79ec6d295da1b61487fa1ee030e9b48fc6a08a7856c6265f80836c2c2"}},{"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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36f80194b9b686ce6c21c6faec5c6721543172289ad6e3576a0f9897df43b63"}},{"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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bf5ee2da2f01d5e5119f1626541eb896a47a7f0173d215b181e5c24470cd00"}},{"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":"web/components/cli-apps/CliAppsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3daa66933a807d0766571f275f0db0487707b391f0723badc50fac444a85f193"}},{"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":"web/components/memory/MemoryGraph.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54000b15ea2959c5056a75feeb701dda434aaeff1aebf17246ed5d86208a5d6a"}},{"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":"web/components/mcp/McpCatalogBrowser.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd04dd5c919297d3a7c6a98726bb0b2c4dd1bc7873aa0baee5a45411fcdadb7"}},{"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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe80fa870301838c5d4c8ae8224606cfad8c08bd4046a54751a198a6838e343"}},{"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":"web/components/space/MyAgentsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7f498513e6b1ea11fc88c80d9c9d828521f79abfd11d94d663c0a859c73865"}},{"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":"web/components/space/PersonasSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98706ab5caa4b62822b8b0a61041acaaa34a9401e68af417b7a645d12a0b6d23"}},{"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":"web/components/space/EduHubImportModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d479c68d867b8fdf854bd61f6eb621499f346fb9a84c9d3b59cb8cf850a7077"}},{"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":"web/components/space/ImportWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0938f432c8cd8a529af935a30028cd45af9c58503a757ab803070e5fefd610"}},{"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":"web/components/reading/library/ReadingLibrary.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7873cf097d5be098fb31abbc2b310e14cedcd583e160a75806a09bd2c2adbaba"}},{"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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba83139832067e882784ca5eb955f6584211c0311ce67e1f243bf6c80a941f03"}},{"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":"web/app/(utility)/profile/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea0a43ec148aceb1ea934f272541cd1b59fbd7c95ad174eab130b15b4479f5e"}},{"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":"web/components/knowledge/KnowledgePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d34ecd6d7b28a0e8fccfe8f44c828cfed31839396b4d42f884623a5d6dbe9d"}},{"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":"deeptutor/agents/video_lesson/remotion/kit.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede9b29c0cd0924ee0ab1b292e5d60d583886bc947b90e276b52d3dd8419cde7"}},{"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":"web/components/reading/library/ReadingFolder.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"439667a412257e35ee09192d9f144bbad47819a709092dfa33542b48af2b94e0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/main.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"976994098cc73af51b73e24f74d75b23946250433777737e143c2eca5b5c5c34"}},{"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":"web/app/(workspace)/co-writer/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86be3176ea5bc55d52dffdca54a7400de7c16f7a1ca9354f4b4d03694ddd54a"}},{"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":"web/components/space/McpStoreSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a267b6a1980a72a1c9180d0a8a4e795d9c5bb2db4f9393513412c67b451aee57"}},{"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":"web/app/(workspace)/partners/groups/new/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3a1ae63d187e67e097b793fe638186c47085d9f156615e6d62a3bda738888c"}},{"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":"web/app/(workspace)/partners/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"895a398466fdcc76e95e336cba4b79416ee84f692f8d8d1760005e9ee737fee5"}},{"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":"web/components/memory/MemoryL1Workbench.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0a17b4dedf9e73a80a52a54a5fe15064e58adfca953429999b252135256037"}},{"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":"web/components/space/learning/CreateTopicWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be0b338e79b019ef01826f57219b15041e371078b7680363f0becfd824823b8"}},{"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":"web/components/partners/SoulPicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"580bbecfeb5a8a82b580776659559c8db53abaadec152789aeffe697d37f2dd8"}},{"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":"web/components/memory/MemoryHub.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"445e2b72faf70d4b658616f2a59215520f562d2273f0927018be09aa9c4d6a15"}},{"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":"web/components/space/ScopeEditorModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf6b8d058460fa926aade64105a97caf821760c3a38c39fd3d8975583528c0d"}},{"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":"web/components/watching/WatchingMarksPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8791b968b865b6197525b19a0bc44f37a8e74fd1236ab81fc9f6e5fe3118cd90"}},{"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":"web/scripts/route_budgets.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02da10eb25d4ebf6387dc459a5f160210e486c451448df6760ed4e87e0142482"}},{"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/chat-engine/src/transport/stdio.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedcf672772b24770f6de87a363c986dcdcd71b73e4d0dc506b33a71edfddd92"}},{"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":"web/app/(auth)/register/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5d02b8117d6802356f6a18298f7d3f64fe3f8a738f210a4e2229a6c2f87c4b"}},{"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":"web/components/space/ScopePicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b10f066467571d9d33d72cf4a32f04071d602cda6f2531f3613bd0d0a11862"}},{"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":"web/app/(auth)/login/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29db39b46d6630ff461f8244f66dc1980d50cdc9e1f9a50f12832a7d5852ce4"}},{"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":"web/components/space/SpaceDashboard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4302127d48ed99e915913ae37694bfaba67987dc10d7194936cfb8d63607f36f"}},{"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":"web/components/sidebar/UtilitySidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fac08fac87d2a99bd9809a33da69ad073d5347fc1ea0e3d456be3e15198ece"}},{"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":"web/components/reading/library/FolderDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b86957604c86b61c8a1c661c6c42a07f63c6e5c9570c53e9c567459b566a102"}},{"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":"deeptutor/agents/video_lesson/remotion/build.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f143d5cc5657fd393715de9912db0d5efb2b6dcdd63e57de314f424bf251feb6"}},{"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":"web/components/mcp/McpAdminRegistry.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"398733cab0e03f292129688ea9611d57e313648450d45d3dc7a03a67c933dbf2"}},{"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":"web/components/partners/PartnerModelPicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb517784c00528f2cede1aa73f2aae78163a3b86a35516c943b0cb500b67c70"}},{"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":"web/app/(utility)/avatar-preview/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d96ba196d294560d036080ca31cb60811bf907c6e0693ce0fc181559faf194e"}},{"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":"web/components/space/learning/TopicAtlas.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e85ae8650e229b0a704f4c421648cfa98538b014808491f64206216f3b692d"}},{"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":"web/app/(utility)/session-handoff/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7c07946dd0090635a477440a17883ec3baf955a3a3a10b79627e20013f8747"}},{"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":"web/features/notes/components/NoteReview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f607ea7b7c46d21528cb78737ba2916a9518fbaf40811789dcd0796eaf74e8f9"}},{"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":"web/components/reading/library/LibraryShell.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a508dbac0a9ec04fff1f0bd11cb6b815ed95d57ebe591c6da2f9e10cf45bb0"}},{"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":"web/components/mcp/McpServerList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbabd7c5703a28bef1d3d216fadb5b29db8f935303df4976cbc5007ddd6efa7"}},{"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":"web/components/knowledge/ConnectKiwixModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fc79c1583c6651b8a8e0cee976a721b490facb5eab97b2c2fbdc498ff1e4e3"}},{"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":"web/app/(utility)/settings/progress/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ff4fe5b76c1d37a331f8e761f323d1cfe6428d8baadd5f915a4edaffe36edb"}},{"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":"web/app/(workspace)/learning/mastery/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67a14c94d8e03a230e6075f575134e5ce1b65a8d81adff565ca744e47843314"}},{"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":"web/app/(utility)/memory/resolve/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a61f91084202044e1800be3cf1befa47a96191506ffb95d7d8002487683addb"}},{"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":"web/components/settings/TaskModelsEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72feab462112dea0fc28d88c1ab5df8e6a0cbd2d50037e9ab452d3d8179bdbb"}},{"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":"web/components/memory/MemoryArchivedBanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8e43301751a336519a07291fe6f7feb8ff9d51b42befddb8ab6a599cab4556"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/scripts/build-runtime.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07c6ba7595f9e511e8304673ae8f9f6ef820e45cef958525d51402440d58212"}},{"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":"web/components/space/learning/CoverageNotice.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15c2ea428a8ce8e8c3d331ecbfa502f59226b2714d34c8815d0896eccb7a1c7"}},{"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":"web/scripts/generate-contracts.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e21f5280193d3f8fb4d767a6878d7b81933662359205c7e49ec4e9cc80f16f9"}},{"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":"web/scripts/i18n_parity.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b6875c7648cba7e874109417f17a6f5d9cf563905a340aec400a5cdd2e183c"}},{"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":"web/components/common/ToastViewport.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"778d50e94fd7900027cd127193a01982639b0325066b9b2443c445f09dcab230"}},{"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":"web/app/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7206ef2fff55f00d168d593c4b4be82242f8084739cda93d377785487d1c2101"}},{"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":"web/app/(utility)/memory/l1/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d7ca5573322523b322d663f5f527fe263627b296a2984befe1a42036c4051e"}},{"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":"web/i18n/I18nProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b725b108baf7891396e21b83f310fcd6d9b45c8ebbae8b4747b7dccc38367404"}},{"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":"web/components/space/SkillLibraryScope.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3759dd358e0f97addb6e3f9d0d8cc3b2bfd8ed685d21bfdec33453291f48508b"}},{"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":"web/components/mcp/McpDeploymentList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7061a398e2c42320c540a9665d9904a6819f9dc3d1533b719174ff3ec0d61481"}},{"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":"web/scripts/sync-logo-assets.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2652dcb457d312edbd104f18430366d85eadb5f2e41aa9cc19511fdc79f7a53"}},{"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":"web/components/space/SpaceMain.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b9f67bcbfd812459a9e069f970edb0891173ef1461bbc0bbce9d275b4f385b"}},{"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":"web/eslint/i18n-plugin.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc9a911d586587001eeb17c68fb7dee09630b24acda1d05e7e0ef6a72d7ffbf"}},{"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/chat-engine/src/providers/service-call.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4f3ad99bf5676a9dc87f5800a5167076826e497fb35b6320662ca198c2b165"}},{"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":"web/components/space/learning/TopicMapCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03eedb2974cbe03b4009c7592e49448cd56f0e5e858ab54db505d2785636650"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/scripts/seal-runtime.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cb46608dbe947778319019679cc352af3da24ffd8163d1b68cbb9df9e73ce4"}},{"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":"web/app/(utility)/memory/l2/[surface]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a038b5d1bcfbc66b05f657096e445707393c79e44a40dbfc6a5872bf7958516c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/supervisor.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f559136f6ba364daeda104c0826b30835b791d74c8e8c3af4ec20883839a1036"}},{"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":"web/app/(utility)/notebooks/NotebooksRoute.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b7ad4d24d1f1c263f9e43bb8bbfb37bd64a3cf7c967f9672e1ad7978027dff"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9450c81002815687c22ebc1176dfe4c85d74ccbecca7790f0ae3ef7f4ad81665"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/scripts/make-ico.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98130ed358eec9bf8768a039fa2bf59d50db698dcf9bda3091dc00e6c1d434c0"}},{"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":"web/app/(utility)/memory/l3/[slot]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fc37efbed626c13839096b58f1f9d190cdf9b74a06ec55331226acc207f849"}},{"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":"web/components/mcp/McpToolList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd460ef7a7d36ece24552d0385d41aa982e4f0b989ce198f42e6c83b4569de0"}},{"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":"web/app/(utility)/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bbe8138b08ab6d98cec73c2de2a7bcb0860e7a3022c4c3da790fbadb363a90"}},{"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":"web/app/(settings)/settings/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72dbc1d7f5cefc497020d695b31514d2973d2a15c7604ea5b62c83d480a809a"}},{"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":"web/components/reading/workspace/LegacyWatchingSession.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a7aaa8a240977a82e2eb4263c1a1c18a1fc83fc94dd0ff374eb16ff95ac60f"}},{"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":"web/components/space/PersonalizationHub.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"120d666d9e744e017f1e313088fc48c35bebdfbe62399c409395f8f7a178ef95"}},{"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":"web/app/(workspace)/learning/mastery/[pathId]/sessions/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdec25cb349c3cd07bb4a0a07fba86bd129957a854a906b90f5dbecce9339e35"}},{"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":"deeptutor/agents/video_lesson/remotion/render-platform.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"076f447ae213e6cff200a81ced934bd6447e00ac333382d01ea1eeb022736443"}},{"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":"web/app/(utility)/knowledge-bases/[kbName]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2e915f3548393175ef943f7c6d85915be2b1e151ce4975e29f6c6da6a4d43e"}},{"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":"web/app/(utility)/knowledge-bases/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6440444fbf8880a8a1495bb67743fd835ad225b05ee703338f28aeca5a32a97"}},{"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":"web/scripts/register-node-test-aliases.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0c9c4892b2b10dc4e82a8acd63e803a93e129035e7dbadbaabf1edc80a381c"}},{"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":"web/components/agents/AgentsHub.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06a1a497fed30722292579146f2d8bd15720e63a9fcae043d9d2eb05faee932"}},{"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":"web/app/(workspace)/co-writer/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9760ed486b249215b8115f4ef1173bb11c4871aae8094c267153287bb264475"}},{"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":"web/app/(workspace)/learning/mastery/[pathId]/sessions/[sessionId]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff74d967ceafd440f4f94364e5c772caec7eea273023450788bcbdf819d823e"}},{"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":"web/app/(settings)/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f853be522ab3973990e4eb2f3346e9df1cb4497efc50d38b50efac4885dcc755"}},{"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":"web/app/(utility)/memory/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f5fea620c36668b29c272ffc93dccc8f1cfbe93fd7d80c9853205d9d771e7c"}},{"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":"web/i18n/I18nClientBridge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a886ad885a97f0e85da26f99034079e8a3bb0a491270e61a64aeacb1a4dada6"}},{"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":"web/app/(utility)/agents/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb67fff63ea90b2602c01103b571f1585f5e167a025279d11235d8bd0805d537"}},{"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":"web/shared/api/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e233a2daa59b728c740bc199b6bea23d95b5868cff628e17fa1ae98d826cd74f"}},{"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":"web/app/api/knowledge-bases/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"074a257e738f2339d7421815dcc34033abbe296f92911415c362e8b9eb4d24ed"}},{"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":"web/app/(auth)/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"319fbda9643e5915203a17bac757ccc2966bc04dcd6ff4adb8369db15741593f"}},{"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":"web/app/(workspace)/learning/reading/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f72153b485257c39bd33222fc4227f5fb0197ebd5ad82f9d71461227acce03"}},{"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":"web/app/(settings)/settings/[section]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7f5f3164e8a8f00bf9a584ba5c1a38a24c48b07334a15f92d9422bf5ed7bfe"}},{"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":"web/app/(workspace)/learning/reading/folders/[folderId]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0121dd3eac171e01a052cf9675f7e7613dc2c67f770fb69d181c2958e5f1197c"}},{"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":"web/app/(workspace)/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbfbc12df8ffe358dae5edc15ef757b7840acfa7680aa4c744d1015932e6fc5"}},{"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":"web/components/common/MotionProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25267e1f406b93df2317112b21a89f0494b0bf08733869927e7c30ebecc90fd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/scripts/check.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44368e337cbc1a5956e3ebc22f3f243f32941a8e8684f015c7ffd603200adf8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/scripts/package.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"149f438c158b2b38454ec959922a952ffc8ca9eba6d29ccdea78ba3344d558f1"}},{"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":"web/app/(utility)/space/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0964e147abb8542627c2b171098fda89f898337fead653f9afe5ea78c3fd6afd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/preload.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e95794c820deba781966cf54a89b0f10c7fb927a7f69c62d6e91d3f4359292"}},{"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":"web/app/(workspace)/learning/watching/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e584be01fd47ff4356770d20c9c0e9cacc265eb6941419208cffa65c6ce20b0"}},{"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":"web/app/api/knowledge-bases/[kbName]/upload/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5472467ea50e873719e57c942211b770c58ef29b0f830afa9ee875525a8999"}},{"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":"web/app/(admin)/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0059345cebdc9426d63fc256b62a60170228da5e214526a40e0a293098f50ec7"}},{"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":"web/app/(utility)/memory/graph/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd3d350f9e7c36eb091f10a00d493d89632edf9fd381048ed04de5d510e5390"}},{"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":"web/app/(utility)/memory/l2/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc4ea56743649cf2d4d43898358b4432b7bdb4110ddd64d61e55008d32e3253"}},{"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":"web/app/(utility)/memory/l3/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e22d3afb20273134b6f80a5602aca3b854a14430710f76cae4479c8e222352"}},{"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":"web/app/(utility)/agents/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2928b80b3213c430bcbf49240bf97496855ac14976aef0a42d3680bfd7f20213"}},{"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":"web/app/(utility)/memory/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ebb79e7507c67fd30b35d7c58edd343727abd34128a89b27a145c8ab64e67d"}},{"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":"web/app/(utility)/space/journal/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7589adbeb83296b344011cab9ff790555b2e8ffba2d2c9a9473c8d82f623799f"}},{"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":"web/app/(workspace)/learning/mastery/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a82e60040ecff60ed6eb21e970f853629a0a9b6b94fe31879d6efcb287380f3"}},{"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":"web/app/(utility)/personalization/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1cb708465d0dde41cf869776661d9ecf5dcd4ffc0ca5f4d9ff26668ca379bd"}},{"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":"web/app/(utility)/space/chat-history/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1231f86fb5057f96e277b42fc711b2613e326f22528207b7bd26178589a2d0"}},{"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":"web/app/(utility)/space/cli-apps/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55e40052780060626bf3cd7210642357360aa2939a092b7f3c2324fb8e2f974"}},{"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":"web/app/(utility)/space/mcp/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d288066eaf61afac3672ed3a314d7c1352fde1076eb352fd29c6e4338f300c20"}},{"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":"web/app/(utility)/space/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd3e57906a5db47cac89aa5cedbf2ea9bd3a499abff6f8ee1b96ac5f03d55e9"}},{"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":"web/app/(utility)/space/personas/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"717c274e4070a746a5af3f69a1d5df555aea4737753f925f67b5bfafb1518a83"}},{"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":"web/app/(utility)/space/skills/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ae6ac6101c52d22e39fa7f94dc89275873b5e91209ff669d08eeadaf2c3716"}},{"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":"web/app/(workspace)/learning/new/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac980ca0da237d54fd1341c0bff6641388b97dba8f985dd1960f41951843c718"}},{"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":"web/app/(workspace)/learning/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d65b2f078ea9cbe24ca12f1b288895c100c33b888018f448101f991fad1055"}},{"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":"web/app/(workspace)/learning/reading/[workspaceId]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c4aaf09dbe285f36598b4b2e44efdef5c0f013bcd3cac299635d1001591a6b"}},{"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":"web/app/(workspace)/learning/reading/[workspaceId]/sessions/[sessionId]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b0d1141239295840e7dd63bcb3241a262e9436d3332172f77a706301f809b7"}},{"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":"web/app/(workspace)/learning/reading/[workspaceId]/sessions/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8e25bfa8ee802c92fd5ec7481948882ffbde8eb688b75ea202472c5080583d"}},{"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":"web/app/(workspace)/learning/reading/materials/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"030d020138253a13599d40fd10ae6f8386ed9b86e483b95e01a3e5df7b9e6c2c"}},{"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":"web/app/(workspace)/learning/watching/[sessionId]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fde60e311f985c26e57b024dfc02f0774776b80fbc6c7c9358b99a444f49e7"}},{"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":"web/app/(workspace)/learning/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c41924bd1ffebdc43db1a6a2bf9ab422967c61c6e9045d7d086454d157beb1"}},{"ruleId":"R5","level":"warning","message":{"text":"Dependency Freshness: 31 outdated package(s); JS/npm CVEs scored in D30"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7de98450603a813bc7a991bc6e60f440c1deac6f9c9bfd4d0da057afed869bcf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1900 LoC): no import path from any entry point (135 application, 15 tooling, 522 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/components/settings/TaskModelsEditor.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ServiceConfigEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1398ad3692a372fea4d6a5ffefa84c05680cb904570f18ccb45b45341e71878e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~762 LoC): no import path from any entry point (135 application, 15 tooling, 522 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":"web/components/settings/ConnectionsEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4992e8121c1ffc599f6b317b1a79bf7c25292293106fd6acdd2f2ac82eca5e1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~473 LoC): no import path from any entry point (135 application, 15 tooling, 522 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/components/settings/ServiceConfigEditor.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ModelCards.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4505976d4e27e9a921946e06a205205d3a12b3f34a409f629a5c62e1c316d0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~216 LoC): no import path from any entry point (135 application, 15 tooling, 522 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":"web/components/watching/WatchingMarksPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b440c8adc21b0fe6877c8f71fbb28739a0194f545e8d79c85c9ca3ad73005d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~181 LoC): no import path from any entry point (135 application, 15 tooling, 522 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":"web/components/settings/SettingsPresetsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da20f7a69b380a9a11d8871874970f8b13a198a4e34cb53fe0bc3c59f4b41f23"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~176 LoC): no import path from any entry point (135 application, 15 tooling, 522 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/components/settings/ServiceConfigEditor.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/DimensionField.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccf17049b6d2c64be4fb2fe01423baf799138a5b0acb7c1d11cdec9568e1e84"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~151 LoC): no import path from any entry point (135 application, 15 tooling, 522 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":"deeptutor/agents/video_lesson/remotion/build.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfde61f51c4af170e1547ac3134a2fa176ad98c39e1f07a3d86b2dbea13ba29"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~138 LoC): no import path from any entry point (135 application, 15 tooling, 522 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/components/settings/ServiceConfigEditor.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/ModelCapabilityFields.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5310299efe5263c1e7ac8c2ae457de0f9bd12052628a1e11cf19f5dc2a8f0c82"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~100 LoC): no import path from any entry point (135 application, 15 tooling, 522 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":"web/components/settings/TaskModelsEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f16933ff2efe85e31db2e0b8a5aa072481fbf4cbdd272332dd52316dee80e56"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~90 LoC): no import path from any entry point (135 application, 15 tooling, 522 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":"web/components/space/learning/CoverageNotice.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0588f4aa1717c3e985839d5a4bbc79a0d2ee84c6539f4cee9fde834778990da4"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (135 application, 15 tooling, 522 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/components/settings/SettingsPresetsPanel.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/settings-presets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df2750a73c76615085f846074fe738f1c9f2b1ff5846d00edf448aed7dfa595"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (135 application, 15 tooling, 522 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (deeptutor/agents/video_lesson/remotion/build.mjs) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/video_lesson/remotion/render-platform.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"601cc4fe694ab94a99596139876e1af7017b9d6c8ed9169e75106e6d914f6fa1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~13 LoC): no import path from any entry point (135 application, 15 tooling, 522 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":"web/shared/api/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82f3f82ce97f4a6fe5bb52d7e46e00839dbc66b1a5dc8fe731773eeac8103bc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~4 LoC): no import path from any entry point (135 application, 15 tooling, 522 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":"web/i18n/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"611d7f65c7750d22bc6c1a4ea6e1f54b8667cdc03cd3f4b2b5c6c72446ababa2"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (135 application, 15 tooling, 522 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":"web/features/knowledge/components/engines/GraphRagForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3b2aa1a64befc427722e1c9daf699420c8298543b011effa12ce82656e0343"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (135 application, 15 tooling, 522 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":"web/features/knowledge/components/engines/ImaForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4951d854384103787f1b78946fcfb036a174eda9a65d2e3515883640ea218f42"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (135 application, 15 tooling, 522 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":"web/features/knowledge/components/engines/LightRagForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba052de804e3fedcb914271f4f2abaec666e58e8d458a4cb2b3dc20b18f88d19"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (135 application, 15 tooling, 522 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":"web/features/knowledge/components/engines/LlamaIndexForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47c6bcbce8f6b7725ae32f342881e2bcac8a884f4a6e3833f9761e08925986a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027readConfig\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/config.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24701d68928649282d216af66b0047a9cb66c96c4d680bda7579122c27122a3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027saveConfig\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/config.mjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ff259a61b9ce165f9acb1e81eb60da19c65113af3bba6ed277f49eddd0cc5d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/app/(utility)/notebooks/[notebookId]/page.tsx, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in web/app/(utility)/notebooks/[notebookId]/page.tsx in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/app/(utility)/notebooks/NotebooksRoute.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2009b191b4df90110b9c92413ba149d5519a025bf25b25c394bd64f42bb8a2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027shouldOpenSlashPopup\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/chat/home/ComposerInput.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ea115db80a0e51756e8466c6f6b8bb88b27409b9a2fe00688fb2ba65431b33"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/knowledge/PageIndexSettingsModal.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd18e672b5a5f160e7a783c675339166f72c897bc7c0f0b10c78cc4b87bc77b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/memory/MemorySection.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a1eff69278f2bf1f6444b7c577fe24862646709a825acabd1092cf946af3a0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/TaskModelsWorkspace.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ebd6ec6c012a36ded9d8a469440af24a142fcd06a444f1eb8451a457114329"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027WorkspaceFieldGroup\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/WorkspaceShell.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"79906235ce0354bebc4eb21afe636ea16ab12b75dc5259914946a2878d35ce23"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatContextWindowUpdatedAt\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/shared.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3e625a7eefc6bc0a34dface0a3753828bc2079a33ddcb3ca56d30e47408532"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027activeModelDetail\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/shared.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdec68a1ea9f8bee987b1eb013cdea6584eadccce5bce4e3336565b674caa2da"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027labelClass\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/components/settings/shared.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68fb98f4c30b5caa549780f835dd25ca8eef5c0102d1461b3f19635c0651dbe"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027buildSubscribeSession\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/contracts/parse/turn-command.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4462e7898b9a97a50407411be8f44f6086466f8376696cdffa715018d9f8a589"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027buildRegenerate\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/contracts/parse/turn-command.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd187898b46780292cadb175714d09a65367c6a7bf29f9bac449e90501ad1f6d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027buildUserInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/contracts/parse/turn-command.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf321d939a1b7e18c3306f2ad81e1e6198a157a00be23bf2d0e6414ce816b3a0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027buildCheckActiveTurn\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/contracts/parse/turn-command.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6055b340ebff72482fb811d95bcb0ae2e3569a07d86966c421c708ad09955b3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027buildUnsubscribe\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/contracts/parse/turn-command.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"374a2bb9bcd3863ae0e3743ebd42f3dbfc67b582c31c1e673e92144f44d050e6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DayList\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/components/ItemDetails.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e625dd7424e2b1487ff63a93ee74568f2ee3591ea2d36d3183e275e8164f22"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027addDaysToKey\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/model/dates.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bf119c1d857fe47e45314fe6e2c6860f88eb3de356aa6ddd9dc0342295736c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isSameDay\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/model/dates.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c28772a438e1090c56fa9d07b8ab8051d01b1d6decc837896835f03765de59"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027snapMinutes\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/model/dates.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d623a53b352a0b86dbcb8946771a0a40326acdd8c3a1d2803af25a157d2774"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatLongDay\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/model/dates.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4190290ff2aa36605a034445b76b10fb9d797c1555ee30f11763fe5809541418"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatShortDate\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/model/dates.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f795abee204c231d309e3babd41a9f2705fb213441315683978675da4c9bcb1c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027TIMED_REMINDERS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/model/describe.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5052268db2a86be51e95b382226f57cbe3efb22a176f1a5c87572a3275309e16"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ALL_DAY_REMINDERS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/model/describe.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9da3f276346a87c74a0e713ff358853453adec9f4a49bcc7001a64dae99d4bc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027dayOffset\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/calendar/model/items.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d2ab0132a502cf93539dde6773c7098e9dd9d0fcdaecf347c86040917024e5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/trace/ActivityOrb.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"115a6b500d560ea9046cec81b62f66a58ab95e942df5a07ac753f80d0a2aa525"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ResearchStagePanel\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/features/chat/trace/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 web/features/chat/trace/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a88cae7db022b13ddab986f8d4101019c817b5edc61840332f343b992942be"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027NoteAIRequest\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/model/ai-request.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c30be4070797e18f8f7bff46bfc65a1cf6e72e84d5de4e0f3ca5b1344e4e5ae"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027visibleSettingsChildren\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/navigation/settings-nav.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d0cd34f639f67fb539f34d2bf236c9b7b61c27126fc9630118b777747db5ca"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isWideSettingsPage\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/navigation/settings-pages.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5045c42154c61863e892aedef97607d8b175dbe52d38e8334093fb82aeeb994"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SettingsAnchorEvent\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/navigation/settings-scroll.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb98aca94fd8a2f961d5a7036099a09a18ab791d6b51d96e394183d47dcaed35"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027requestSettingsSection\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/navigation/settings-scroll.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd6e789a0a43436ff9a22351e05e9e84d3ff536f257c0eb5a14d0e2a92cf32b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027useModelCatalog\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/features/settings/store/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 web/features/settings/store/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/store/ModelCatalogProvider.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be94588e584df0b3ce8f0c9ffb9cb1a60adead8130dcb4777bf6aa0248b36e5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027useSettingsDraft\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/features/settings/store/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 web/features/settings/store/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/settings/store/SettingsDraftProvider.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d092229fa4fd34663566c715d111513abfc9b1d598be14bb41fd0dd58b7002c6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027UseKnowledgeBasesReturn\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/hooks/useKnowledgeBases.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8f06efe765ebe243d63cd2a48ec489d16501140c43cbafefa888868daa13d4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027UseKnowledgeHistoryReturn\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/hooks/useKnowledgeHistory.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c5f33bbc085265cb68a1d8f548368fe849b83e1a6a1748ddbb40d608c729c0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027KnowledgeBaseFiles\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/hooks/useTopicSourceLibrary.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"544141d51e53c018fd5f8f315617a6be4f25f27c353226d96cd5ee0fe5066930"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027KNOWN_BOOK_ERROR_CODES\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/book-errors.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"774919af2c30384b5510e8e72be0a287dfb57f7e2458bac4f428cc6cbe2049e0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027countSelectedBookPages\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/book-references.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d990c8ee651b736697168d8358bbb5e1e5757cfd30aa02fd20c7fc0e57ac32"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getAgent\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/chat-import/agent-store.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"df02365dd6ab79f5f2644638ab53248abb038771f12d30328b40768114cebf25"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027listCoWriterDocuments\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/co-writer-api.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdfa1befcce7795e605158a273ff7f25d0ed48041a84da4d01a12fd731fbbdd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createCoWriterDocument\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/co-writer-api.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd1673c7fbb10bca75401ffa722607fa11857e742bcbe2220c59f19bce5bcaf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027subscribeCoWriterChanges\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/co-writer-events.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2cb3799abad20eda022b85b031e56b450a694cd49d2a9c611279fe0be432d2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CODE_EXTS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/code-languages.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6fb53c0aa552197b4046de5635803b8b7800c269aad9ae097ea968f290f36c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027creationKindDef\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/creations.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"32efdb53232727f365c082096fc3cf05ebf62c8560670fd42ac8ad349a82192d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027saveGuardianMaterials\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/guardian-api.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d6c9ff4b3bfe553b115c1012c989ef7f32a6117ecf47d20b3359e12d886eba"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027saveGuardianRestrictions\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/guardian-api.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3bd6a6d88566d5447504d904e98d76b206fdc30c4059f951b739a6b7e63fdc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027latestChildId\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/message-branches.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2497236b6852d3d26270c4ecba75cdd2151bc3780ac82ac3eaae001b1311f0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MessageContentItem\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/message-content.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64bec6563a0c6b246ec30a124b493c09103eb19d4e5cea7cb6645df8c4324af"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MODEL_SERVICES\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/model-settings.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9cac0d841671c7d0fa37d1e14605d71a327f885d8c2413e2a82ca27af83e16"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MODEL_SERVICE_LABELS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/model-settings.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6584e59d683639bcfb9577a365e43e56d3f9de3132da7fca837d11ec4781f063"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getPartnerGroupInvocations\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/partner-groups-api.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94fa7ea3e7de3d5384916d5734ad4961da7a674bf9e845a32bea339a4f3c277"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getPartnerHistory\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/partners-api.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26ae4f70527538c85f1ab6d9e655cf7423be9fa7243d7985797916801926297"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PdfPageProxy\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/pdfjs-loader.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acf281d072e731fbe4f3f8685a4b04a4e52e510c0f75d74cb12f849e8e8dbe6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027setOwnLearnerProfile\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/profile-api.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f3eff40dff3b070c268be91f1f8bc109c554169b892fb01a7254b8a03d442c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isFreeTextQuizQuestion\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/quiz-question-type.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e11838ec9db1d558efb1b25e6f4d457906a5a971d86e2c2d2d56b3a853708e0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getSupportedFormats\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/reading-api.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2fa61cc5b6ea20a96e7331ee3d8bfaf0d9488ffe968ced78b15095a84e0fb2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027deleteMaterial\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/reading-api.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fedb21ad8f1675233a0b688711703f7786ed6229441fefbcf07aaee013c0ff"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027listReadingQuizRewards\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/reading-api.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d3d5175525981db22395702e8dd2f2788f88b812ea9d1a26cf82d1ad6761dc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027segmentTextByQuotes\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/reading-quote-locator.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f2248860f151da5257d8c13c38bd9b751f1892dfebcacb5213c2366376a6e6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027READING_CAPABILITY\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/reading-turn-state.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6254fcc113077292f9928ac4d4f630ab8eb354e5461e45915f9685e3e6bb87"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027normalizeResearchConfig\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/research-types.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e391e9074809b46eb3fa4b1192f237f981a970cf298d15ac44206709096fbf5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DEFAULT_NAV_LAYOUT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/sidebar-layout.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cb6ed5f9c9543fdbb1b3c53e2770fea7f90a68585a8505d0f08047791547c1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027VideoMark\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5fb64ddd379e9bf225f8dc7f2700e5d14f4ff0d5901318ea385df34912382f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SuggestedVideoMark\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0675ff1899db03c98c690f5f756298d828f985d758ae4f02562114018bc852fc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027listVideoNotes\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ddb98fd717f966ffdc496402a5526008c2d91ee969b6423ae75a6bda45dcc0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createVideoNote\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"487d5929ac5e289fdc7eb2cffb8b9258848878da752590029872fb3844af84ad"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027exportVideoNotes\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"671b958b2270608c2a3d5394e357ed974c6af0916da7d196fad589567457e0f5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027updateVideoNote\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"413ced03460f390f903db231c761516b23108ac7ab6a4a9c6c2d750e5eb8c8a2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027deleteVideoNote\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0cc5325865ca6a554b72093211a96351b7cd86f783f88e106a34bc0fcff39f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resolveVideo\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb022615db7b7bb6ebae2398bdebbcf8f13cd725022408410e9c0d7e01135b8f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getVideoMaterial\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12ab01882a3a4b1a734905a5eff373c191ea2cea2fdff58d5afe311acdb69a8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027refreshInvidiousTranscript\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d203c77fc3914161a466764a8a84b3119a611df7b83bef4d258da0ea5df5f869"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027saveVideoProgress\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"428b434eafe463bf7e4d86d8ef5e1d6bb9d04bf4b48c412ef403433b4425960e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027listVideoMarks\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"551bce1d0e4ad8129a78c338563fc45663df6761c23da7b1d31a41f14ba02ccf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createVideoMark\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e895a24fab0e7fb7fbde13ae7921f5e352ae44dc9e076c49bf94792ac1b67e47"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027updateVideoMark\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e177d6b78b73939daf9c4263bb2ed957145f06240ea0d4727c6c7ffe913c458c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027deleteVideoMark\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"f186b478d6399fa155d60cd74b0b1ea24b98a254ed8f38a179aec5aaa1f9d111"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027suggestVideoMarks\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa8a96c9f14b6c795acf53357d04a0cac79e11d0c3a74e8f089dddf276fc3a3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027saveVideoLearningSettings\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-api.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dacf7ee3369e728291bbddbaafd158d545d384ed8817a61ec39b984b9c498e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027VIDEO_MARK_KINDS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-marks.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72275555b4d2fd88e7cf732826ae17b56fe413f809180a85b46b3e4347c468d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027cueIndexesFromSelection\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-marks.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"517590e55a5a4199443f55dcf596b44a0ae5c56089a889c4be361e9288a9c266"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027cuesToRange\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-marks.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0234bf49cd3149562ad14f804e4268c11bb09a92db3d0600c349e73643cfdeb7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027cuesToSegmentLocators\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-learning-marks.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d340ea428f29b4fbc796603c336e9bcecefc2e70caedbc0d05c692d99a4f8eaa"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027WATCHING_PLAYBACK_RATES\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/video-player-controller.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec5008db0a889c5066a8148194e45944b555feb224cd246c4692d174dc74c93"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027VisualizeRenderType\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/visualize-types.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa036d9786e0ab4a144b3927e04814f26594c618111748e99f250a226826a6ad"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027proxy\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/proxy.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5373ff930046fdfe1150decfd1bd4b2af7b12edc390ac8110d229c19b7fdc0cc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027dynamicStorageKey\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/shared/storage/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 web/shared/storage/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/shared/storage/keys.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f1e9029a5038cbcafe17a240c2b1534f1964c27f1c44c34bd40f99146151ed"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027StorageEnvelope\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/shared/storage/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 web/shared/storage/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/shared/storage/schema.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7229e4e1d853a8f2260bb9cefebf9d6f73904dbb82e9032bcc8d103455a4344"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/shared/ui/Button.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b7e9c743336b8937216a12ace35f89a9c1a2c09e2358bfac32f2f84fde75ab"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027NotebookReferenceGroup\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":"web/features/chat/messages/ChatMessageList.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e9058b6a443b4877f13f0fc75bfa1aa3b151c18821591bd92732b8e5fa51f2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027ScrollableTraceBody\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":"web/features/chat/trace/TracePresentation.tsx"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5aed3353c45ed9dff804406f603c232a9bc5ffcd432d37e28933bbc63c475b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027EMPHASIS_DELIMITER_REGEX\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":"web/lib/markdown-display.ts"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc67a4b1e13437eb9757de83f8fc73c30afb7933df0804731045f1407abfb172"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027isCjkCharacter\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":"web/lib/markdown-display.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed76b7bba56504fc97be999ee510e8c1d5eb0867f057fb15c6952729ffc0c60"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027firstNonWhitespaceAfter\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":"web/lib/markdown-display.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"71be2bc7403057688ffb012e02b5293c61a453613ded9d1b0b675baa0a50c742"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027lastNonWhitespaceBefore\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":"web/lib/markdown-display.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd67ce3c11a0136cbabe66146b74e2d297acef631203fb8b3d81a31eb80aaf62"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027emptySurfaceEntries\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":"web/tests/lib/memory-graph.test.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"39634aace6e5eeefcb9341e202f71d8d915fc04d220b174e7202a1a7d002849a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027selectZoomMode\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":"web/tests/pdf-zoom-small-page.spec.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"291bc860be57f873f8291252a4b94f9e4ef871644bd945bd54563fd25fff8ba0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027VALID_UI\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":"web/tests/settings/settings-store.test.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"730f9f50310b93ef0c98b1135d66d35f1b5763e6f2fe409581d974ccb1d78841"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027quickjs-emscripten\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/services/sandbox/javascript.test.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0121cb50b97bd5715916749b888eea14831ceed235d4adeb2102a9456ca6100e"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@tiptap/pm\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/components/NoteEditor.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c0d58b6272e38f5b1d3071224d118642d24cee68b0d9128cd27286202fac5e"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027jszip\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/tests/epub-reader.audit.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9500b888facfff928e5c8cba456ede7765cfee5de2d28a6952acbc76359ee5b"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027prettier\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/scripts/generate-contracts.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fab826f323154b6bcafcb6a9dd97e8ad8126b1e543fc399f7b283430d00991"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027sharp\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/scripts/sync-logo-assets.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cb86b12b5a25f8d3bf19b23c06c858189a22a1fcaefed7f5b3d62a30521044"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027html2canvas\u0027: Declared in web/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/package.json"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cc6850332dd40246f7bd33a3d3db8752fbfa75ccba85e33af173e6798a7e20"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027json-schema-to-typescript\u0027: Declared in web/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/package.json"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fa4c38d7f0fe24b60d5c0e982fefbd37f875e5c1d0c2ce49e47c63e4fa3841"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027openapi-typescript\u0027: Declared in web/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/package.json"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"985cc158c3c5caa4cae81d5915aa4019797c787b12eecf74028468d8abab4bc2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027react-chartjs-2\u0027: Declared in web/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/package.json"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb24cfaa2795727548ee240c098d1050d11872b941c21c5c56f604772e765b5"}},{"ruleId":"R8","level":"note","message":{"text":"Test-only dependency \u0027jspdf\u0027 in production deps: Only test files import it (first: web/tests/e2e/pdf-reading-resize.audit.ts:4) \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/package.json"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93dbfe6c6a2258cf92d21d6e24daa836226d17abfcfc632462363d04a82855f"}},{"ruleId":"X1","level":"warning","message":{"text":"Task from \u0060worker_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":"deeptutor/services/rag/pipelines/lightrag/worker.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b3f421c9cc83423b29fcb09745bee871d0f2000144a86e3bcd14bc27c2d919"}},{"ruleId":"X1","level":"warning","message":{"text":"Task from \u0060loop.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":"deeptutor/services/llm/provider_factory.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3beaf914d434575d3c743b0a01ed7ae4160a29c34cf258c0763bb4b85a89c3d8"}},{"ruleId":"X1","level":"warning","message":{"text":"Task from \u0060loop.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":"deeptutor/runtime/agentic/client.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"59352dd44f1d6b406588912272ef52968c6b920b5b96f1cd5245a6fdc2ba0578"}},{"ruleId":"X1","level":"warning","message":{"text":"Task from \u0060asyncio.ensure_future\u0060 is not kept: The task this creates is not kept anywhere. The event loop holds only a weak reference to its tasks, so a task nobody references can be garbage-collected before it finishes (Python\u0027s documentation for \u0060asyncio.create_task\u0060: save a reference to the result); and nothing ever awaits it, so an exception it raises is never handled \u2014 it surfaces, if at all, as \u0022Task exception was never retrieved\u0022 in a log. Keep the task: \u0060await\u0060 it, gather it, start it in an \u0060asyncio.TaskGroup\u0060 (\u0060async with asyncio.TaskGroup() as tg: tg.create_task(\u2026)\u0060), or, for genuine fire-and-forget, add it to a set and \u0060task.add_done_callback(tasks.discard)\u0060 with a callback that also reads its exception."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/logging/process_stream.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed4f858e5b3238c5d53308e5b31083cddf2efabbda532a3fcb5c6c8e33a27fb"}},{"ruleId":"X1","level":"warning","message":{"text":"Task from \u0060loop.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":"deeptutor/knowledge/progress_tracker.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e8901c3f01b94bc6cfa2e8d7b91d625093ce819c5ad3aea0b65e98e48bc892"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!settings \u0026\u0026 !!serverSnapshot \u0026\u0026 JSON.stringify(settings) !== JSON.stringify(serverSnapshot)\u0060 appears character-identically in 2 files \u2014 web/features/settings/sections/CapabilitiesSettingsSection.tsx, web/features/settings/sections/MemorySettingsSection.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":"web/features/settings/sections/CapabilitiesSettingsSection.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b258bede4f11361e436aedba62fb4f3913f3890b49651db70af02e31dc22ad98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!value \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 web/features/capabilities/model.ts, web/shared/storage/schema.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":"web/features/capabilities/model.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a3e55fa0a48f6ca4a008b026504166828241ef17f4aae04a3994dd30997c68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!agent.handle || !(await ensureReadPermission(agent.handle))\u0060 appears character-identically in 2 files \u2014 web/components/space/MyAgentsSection.tsx, web/components/space/ScopeEditorModal.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":"web/components/space/MyAgentsSection.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"89117578e82d0f628f6e3947090a9aec692fe5dad6b911d4dc7feb37b20e08f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!event.metaKey \u0026\u0026 !event.ctrlKey \u0026\u0026 !event.shiftKey\u0060 appears character-identically in 2 files \u2014 web/components/sidebar/LearningNavigation.tsx, web/components/sidebar/NavigationPrimitives.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":"web/components/sidebar/LearningNavigation.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b283feebea5d42c2403ff1e4257292c1b3c918a01fd723aa1ac1aaf24ee948"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!event.shiftKey \u0026\u0026 document.activeElement === last\u0060 appears character-identically in 5 files \u2014 web/app/(workspace)/learning/books/components/BookStructureEditor.tsx, web/components/chat/home/ComposerResources.tsx, web/components/learning/LearningWays.tsx, web/hooks/useModalDialog.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":"web/app/(workspace)/learning/books/components/BookStructureEditor.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e81b4e1719f100b2b44ca5f54f780465ba63dd6bd0b5790a1d1c2a7b6af701b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!force \u0026\u0026 loadedAt \u0026\u0026 Date.now() - loadedAt \u003C STALE_MS\u0060 appears character-identically in 2 files \u2014 web/hooks/usePartnerGroups.ts, web/hooks/usePartnerRoster.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":"web/hooks/usePartnerGroups.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0916416b11a58a5f760514c631d6ccae13a4a914652d863c59d04210ac5a65d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!input.modifier || (!input.readerHovered \u0026\u0026 !input.readerFocused)\u0060 appears character-identically in 2 files \u2014 web/lib/reading-display-preferences.ts, web/lib/reading-zoom.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":"web/lib/reading-display-preferences.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9698eceb61c9381336b2b6e1ff9d1c1674949595019928ad3c904cc46a77c2f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!menuRootRef.current?.contains(target) \u0026\u0026 !menuAnchorRef.current?.contains(target)\u0060 appears character-identically in 2 files \u2014 web/components/sessions/OrganizedSessionList.tsx, web/components/sidebar/SidebarNav.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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f133395801b92859a3201d39d46ae8e2a200074679b2729c7a15e3378d28e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!moved \u0026\u0026 Math.hypot(pointer.clientX - origin.x, pointer.clientY - origin.y) \u003C DRAG_THRESHOLD\u0060 appears character-identically in 2 files \u2014 web/features/calendar/components/TimeGrid.tsx, web/features/calendar/components/gesture.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":"web/features/calendar/components/TimeGrid.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c531eafaafe2638a09bab2a6bf3c04d167aa6e16bc911a1f9b069fb2caa5f53c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!selection || selection.isCollapsed || selection.rangeCount === 0\u0060 appears character-identically in 2 files \u2014 web/components/reading/PdfDocumentView.tsx, web/lib/selection-text.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":"web/components/reading/PdfDocumentView.tsx"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2ead4cdd2b9b48c849cdd53122209da145d8217b482b46ae44af2175d28ef9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!session.preferences?.archived \u0026\u0026 !session.preferences?.parent_session_id \u0026\u0026 !isNoteSession(session)\u0060 appears character-identically in 2 files \u2014 web/components/sidebar/CommandPalette.tsx, web/components/sidebar/SidebarShell.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":"web/components/sidebar/CommandPalette.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee33f1eb229cc6ddbc1f473200a2c246d04a8d38b8b98695cbe9d44bfc93755"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0022object\u0022 || Array.isArray(value)\u0060 appears character-identically in 3 files \u2014 packages/chat-engine/src/native/types.ts, web/features/chat/ChatStateAdapter.tsx, web/features/runtime-status/model.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/chat-engine/src/native/types.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f959a725e880cca65a0db78e2dbf55564b915266c66a6a76570adca835ca6ef3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022workspace_id\u0022 in patch \u0026\u0026 (updated.preferences?.workspace_id || \u0022\u0022) !== activeWorkspaceId()\u0060 appears character-identically in 2 files \u2014 web/components/sidebar/UtilitySidebar.tsx, web/components/sidebar/WorkspaceSidebar.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":"web/components/sidebar/UtilitySidebar.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"89443a53acc0e2c9522773d2bae18f3cb2bd8b1657d2dc8c198b959d81fa2db2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(attachment.type === \u0022image\u0022 || isSvgFilename(attachment.filename)) \u0026\u0026 attachment.previewUrl\u0060 appears character-identically in 2 files \u2014 web/components/partners/PartnerChat.tsx, web/components/partners/PartnerComposer.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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa41ca1fb20019361a09cf46ae1e990e4565f89e26ea3cc9dfc239ce98145b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(task?.kind === \u0022reindex\u0022 || task?.kind === \u0022retry\u0022) \u0026\u0026 task.executing\u0060 appears character-identically in 2 files \u2014 web/components/knowledge/KbDocumentsSection.tsx, web/components/knowledge/KbIndexVersionsSection.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":"web/components/knowledge/KbDocumentsSection.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"810a209594ce2f85665f23c63ec9bc44a68ec98120f217acd37862a007de31b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Intl.DateTimeFormat().resolvedOptions().timeZone || \u0027UTC\u0027\u0060 appears character-identically in 3 files \u2014 web/features/calendar/model/dates.ts, web/lib/practice-api.ts, web/lib/usage-statistics.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":"web/features/calendar/model/dates.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae903562cd00794002cbd8998d6fb9ea19d422fcbce75991f7ad16b9c94bf554"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isInteger(locator) \u0026\u0026 locator \u003E= 1\u0060 appears character-identically in 2 files \u2014 web/lib/reading-citations.ts, web/lib/reading-reader-action.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":"web/lib/reading-citations.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"3496282d2c16ded4865c53c282774ced78aa5576470f2cce44339d66dad6025f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060awaitingUserReply \u0026\u0026 submission.content.trim()\u0060 appears character-identically in 2 files \u2014 web/components/reading/workspace/ReadingComposer.tsx, web/components/space/learning/MasteryComposer.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":"web/components/reading/workspace/ReadingComposer.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7fd41de49c53090df36ab51937d42381b486085a27bf26c6d28f9842a7232f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060block.error || failure?.message || t(\u0022Unknown error\u0022)\u0060 appears character-identically in 2 files \u2014 web/app/(workspace)/learning/books/components/PageReader.tsx, web/app/(workspace)/learning/books/components/blocks/BlockRenderer.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":"web/app/(workspace)/learning/books/components/PageReader.tsx"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1677502a4334d600861bc16e4bf20db509816d3b385dab2e06eed608996f562"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060block.status === \u0022pending\u0022 || block.status === \u0022generating\u0022\u0060 appears character-identically in 2 files \u2014 web/app/(workspace)/learning/books/components/PageOutlineNav.tsx, web/app/(workspace)/learning/books/components/blocks/BlockRenderer.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":"web/app/(workspace)/learning/books/components/PageOutlineNav.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bbfd177234ca319b6c4dcd1831450c753d4de4293ecfbe8271431ee01c4101"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060book.status === \u0027paused\u0027 \u0026\u0026 book.metadata.pause_reason\u0060 appears character-identically in 2 files \u2014 web/components/learning/LearningDashboard.tsx, web/features/ui-layout/classic/ClassicLearningDashboard.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":"web/components/learning/LearningDashboard.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c284a591ca0957daeb3d885087f925a4de45729da6a0710a6681a7e01b1b153"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060busy || document.visibilityState === \u0027hidden\u0027\u0060 appears character-identically in 3 files \u2014 web/features/ui-layout/classic/ClassicLearningDashboard.tsx, web/hooks/useLearningIndex.ts, web/hooks/usePartnerNavigation.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":"web/features/ui-layout/classic/ClassicLearningDashboard.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4635d3094bc26662cfdf4d2df647a1d1dda98b7ac68882a63f2d6d7dc3654e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.detail || t(\u0022Connection test failed.\u0022)\u0060 appears character-identically in 2 files \u2014 web/components/settings/MinerUEngineSettings.tsx, web/features/settings/sections/DocumentParsingSettingsSection.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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a2c6552cdba766673d17891dd9befad24b8c3952c675697fed9ac92b04c354"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060editor?.name \u0026\u0026 !isValidSkillName(editor.name)\u0060 appears character-identically in 2 files \u2014 web/components/space/PersonasSection.tsx, web/components/space/SkillsSection.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":"web/components/space/PersonasSection.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3981a4ae0e89a05b36a143a5c8a936a888420a9e43d31864d44ec7b85d54f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err instanceof DOMException \u0026\u0026 err.name === \u0022AbortError\u0022\u0060 appears character-identically in 3 files \u2014 web/components/knowledge/KbLinkedFoldersSection.tsx, web/components/knowledge/KbWebSourcesSection.tsx, web/features/co-writer/components/CoWriterWorkspace.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":"web/components/knowledge/KbLinkedFoldersSection.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b522aa395deb4b283774eccd0082cdaa6495c08f7dd7e81692d4cb96ca40edd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof DOMException \u0026\u0026 error.name === \u0022AbortError\u0022\u0060 appears character-identically in 3 files \u2014 web/components/chat/HistorySessionPicker.tsx, web/components/space/ChatHistorySection.tsx, web/shared/api/client.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":"web/components/chat/HistorySessionPicker.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc71acea78985e97c796192520fbb684ba2eeec90470c0babfd338fdd9380bdd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022ArrowLeft\u0022 || event.key === \u0022ArrowRight\u0022\u0060 appears character-identically in 5 files \u2014 web/app/(workspace)/learning/books/components/BookChatPanel.tsx, web/components/learning/practice/PracticeInsights.tsx, web/components/learning/practice/PracticePage.tsx, web/components/reading/ReaderImageLightbox.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":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"18970e2e1a55429575c0b0d472f1efec61f60a51f9e31474f6eee0b765d0e003"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022Enter\u0022 \u0026\u0026 !event.nativeEvent.isComposing\u0060 appears character-identically in 2 files \u2014 web/components/reading/library/AddMaterialsDialog.tsx, web/components/space/question-bank/CategoryMenu.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":"web/components/reading/library/AddMaterialsDialog.tsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce8f6e81a1b99eb245841cd3aa5da80af7e804477fe6bf63a3f9c6b886d0ebd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022Enter\u0022 \u0026\u0026 (event.metaKey || event.ctrlKey)\u0060 appears character-identically in 2 files \u2014 web/app/(workspace)/learning/books/components/blocks/BlockBodyEditor.tsx, web/app/(workspace)/learning/books/components/blocks/UserNoteBlock.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":"web/app/(workspace)/learning/books/components/blocks/BlockBodyEditor.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29c7c18e6b18472535080ef4e4c1ae526e49f88bab059e81e493a9e28b0468d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022Enter\u0022 || event.key === \u0022 \u0022\u0060 appears character-identically in 6 files \u2014 web/components/SessionList.tsx, web/components/cli-apps/CliAppsSection.tsx, web/components/reading/AnnotationList.tsx, web/components/sessions/OrganizedSessionList.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":"web/components/SessionList.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"628cb4ae4e047872d5e0042a03e5bbb69a2fe4abf05adf07cbb31cc974abb902"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.metaKey || event.ctrlKey || event.altKey\u0060 appears character-identically in 3 files \u2014 web/app/(workspace)/learning/books/components/PageReader.tsx, web/components/chat/home/AskUserOptions.tsx, web/components/reading/ReaderImageLightbox.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":"web/app/(workspace)/learning/books/components/PageReader.tsx"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"80311c1c2d79ce9fba82081374a5aa9697b71e3096df45579fe0a8ce747cf072"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.metaKey || event.ctrlKey || event.shiftKey || event.altKey\u0060 appears character-identically in 2 files \u2014 web/components/reading/ReaderPane.tsx, web/features/chat/components/ChatWorkspace.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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2eca93ec857f1e83cfcb55b0485c2cb9a3535c531f5bd0fc41642e99fea12a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.metaKey || event.ctrlKey || event.shiftKey || event.button === 1\u0060 appears character-identically in 2 files \u2014 web/components/sidebar/SidebarShell.tsx, web/features/ui-layout/classic/ClassicSidebarShell.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":"web/components/sidebar/SidebarShell.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"598a3000eb5f5666e9efab0af467b88265159e9fb5e6221530a558db6e682d25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.shiftKey \u0026\u0026 document.activeElement === first\u0060 appears character-identically in 4 files \u2014 web/app/(workspace)/learning/books/components/BookStructureEditor.tsx, web/components/chat/home/ComposerResources.tsx, web/hooks/useModalDialog.ts, web/shared/ui/Dialog.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":"web/app/(workspace)/learning/books/components/BookStructureEditor.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d690d16038db9c65d93d936424b39461a02f2abc55892bd5696f0afd0b2b2ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060failed \u0026\u0026 readingFailureMessage(material, t)\u0060 appears character-identically in 2 files \u2014 web/components/reading/library/MaterialLibrary.tsx, web/components/reading/library/ReadingLibrary.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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca35342a23025bab79e3426e81196ca7a711e469429dfc08b8ca0dddd81f1214"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060followupQuestionContext \u0026\u0026 typeof followupQuestionContext === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 web/context/QuizFollowupContext.tsx, web/features/chat/ChatStateAdapter.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":"web/context/QuizFollowupContext.tsx"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"03925181e62cca169ca8ccb43f3191eb5173c785c13639f81462a616703e8ccc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060href?.startsWith(\u0022http://\u0022) || href?.startsWith(\u0022https://\u0022)\u0060 appears character-identically in 2 files \u2014 web/components/common/RichMarkdownRenderer.tsx, web/components/common/SimpleMarkdownRenderer.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":"web/components/common/RichMarkdownRenderer.tsx"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"f970505af34242c2eb16ac28ff8b8faedad5a19ce0187d54180027c9adecf345"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060image.currentSrc || image.getAttribute(\u0022src\u0022) || \u0022\u0022\u0060 appears character-identically in 2 files \u2014 web/components/reading/EpubDocumentView.tsx, web/components/reading/TextUnitView.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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caf64af79adce74a61fc2d70c8974ad60effee1554b448ea0eacf1ab12b1ed5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isSvgFilename(file.name) || file.type === \u0022image/svg\u002Bxml\u0022\u0060 appears character-identically in 2 files \u2014 web/components/partners/PartnerComposer.tsx, web/features/chat/controllers/pending-attachments.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":"web/components/partners/PartnerComposer.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"19af94f76ea02c4cef94a97974a1d8cd585d2bdb098577981a0d9c275adb048c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.kind === \u0027task\u0027 \u0026\u0026 item.card.status === \u0027done\u0027\u0060 appears character-identically in 2 files \u2014 web/features/calendar/components/ItemChip.tsx, web/features/calendar/components/TimeGrid.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":"web/features/calendar/components/ItemChip.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a56435f149da12aaa56deaa87315ef8ec65a80266b0590cce99420cfd36564"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kb.metadata?.type === \u0022subagent\u0022 \u0026\u0026 kb.metadata?.agent_kind !== \u0022partner\u0022\u0060 appears character-identically in 2 files \u2014 web/components/chat/home/StandaloneComposer.tsx, web/features/chat/components/ChatWorkspace.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":"web/components/chat/home/StandaloneComposer.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bef03f966d1b26aeebafc25e048d012b057514b599788e3035152ce15d92170"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kb.statistics?.rag_provider || \u0022llamaindex\u0022\u0060 appears character-identically in 3 files \u2014 web/components/knowledge/KbIndexVersionsSection.tsx, web/components/knowledge/KbSettingsSection.tsx, web/components/knowledge/KnowledgeBaseDetail.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":"web/components/knowledge/KbIndexVersionsSection.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23d08fc1fbf0da606c257cb1f6b197632cafb5a11db202d7a2658723cdc2b0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.role === \u0022user\u0022 || m.role === \u0022assistant\u0022\u0060 appears character-identically in 3 files \u2014 web/app/(workspace)/learning/books/components/BookChatPanel.tsx, web/components/chat/HistorySessionPicker.tsx, web/components/partners/PartnerArchives.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":"web/app/(workspace)/learning/books/components/BookChatPanel.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a318e6a6389bf0a97edfc80173a746b81093c1e986f07778895a87338173d283"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060material.status === \u0022processing\u0022 || material.status === \u0022queued\u0022\u0060 appears character-identically in 2 files \u2014 web/components/reading/library/MaterialLibrary.tsx, web/components/reading/library/ReadingFolder.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":"web/components/reading/library/MaterialLibrary.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4e1f0bea327f49d582b4852db55103a1d27c63260ca314308ca9423bb2b4a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.role === \u0022user\u0022 || message.role === \u0022assistant\u0022\u0060 appears character-identically in 2 files \u2014 web/components/partners/PartnerArchives.tsx, web/components/partners/PartnerChat.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":"web/components/partners/PartnerArchives.tsx"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee600fc8c309781bd16523bfd11dee302bf758ec11131c11ed9eb90b9592a848"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060option.profile_id === selection?.profile_id \u0026\u0026 option.model_id === selection?.model_id\u0060 appears character-identically in 2 files \u2014 web/components/knowledge/IndexingModelSelector.tsx, web/components/knowledge/LightRagRoleModelsEditor.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":"web/components/knowledge/IndexingModelSelector.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d9c86f7578a52a297382624ecd27c6905bb4973658cbd3e1f9f779e87e9ff9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060option.provider_label || option.profile_name\u0060 appears character-identically in 2 files \u2014 web/components/knowledge/IndexingModelSelector.tsx, web/components/knowledge/LightRagRoleModelsEditor.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":"web/components/knowledge/IndexingModelSelector.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"899e5f4cd7077f2ab4f298f68a0c4bd429ee6d34ebc44f877130a2f1ad6cface"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parseFloat(style.lineHeight) || parseFloat(style.fontSize) * 1.5\u0060 appears character-identically in 2 files \u2014 web/features/notes/components/NoteEditor.tsx, web/features/notes/components/NoteThreadMarkers.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":"web/features/notes/components/NoteEditor.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e02a5eb4d7b5f9e7e342b7d899862fcdf433a95e183509b816eeb97a70ba9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.DEEPTUTOR_NEXT_DIST_DIR || \u0022.next\u0022\u0060 appears character-identically in 2 files \u2014 web/next.config.js, web/scripts/build.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/next.config.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8ee1b2d207ba094c6f0f59a7e7b2758da67661d868934aa68be259e37d6332"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060restoreFocusOnReturnRef.current \u0026\u0026 document.visibilityState === \u0022visible\u0022\u0060 appears character-identically in 2 files \u2014 web/components/chat/home/ChatComposer.tsx, web/components/partners/PartnerComposer.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":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"215329a69c126dceaf0e4a8dd9ddfd4b2b53ab86818ae35d4c0327fb96abaa65"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resultMetadata.code \u0026\u0026 typeof resultMetadata.code === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 web/lib/math-animator-types.ts, web/lib/video-lesson-types.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":"web/lib/math-animator-types.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfee9b8f2ad67c7f4e6883bbe75b5762979f52a787035011e4d0fcd2ba88504d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resultMetadata.render \u0026\u0026 typeof resultMetadata.render === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 web/lib/math-animator-types.ts, web/lib/video-lesson-types.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":"web/lib/math-animator-types.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe67776c39e296f5700821308d26d390870900fd7054c706004b2e07bf7507f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060seat.message?.author_name || member?.name || seat.partnerId\u0060 appears character-identically in 2 files \u2014 web/components/partners/group/GroupSidePanel.tsx, web/components/partners/group/PartnerSeat.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":"web/components/partners/group/GroupSidePanel.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0169b5446bfe1ff33d8edcd114ef272025d927da76fb3e5e12375e595018ba0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectionTutorContext \u0026\u0026 typeof selectionTutorContext === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 web/context/QuizFollowupContext.tsx, web/features/chat/ChatStateAdapter.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":"web/context/QuizFollowupContext.tsx"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b7b0ed76da04fdeb886951fdc1d0a0717b8022e990c6363e58cd29629e6c5c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060service === \u0022imagegen\u0022 || service === \u0022videogen\u0022\u0060 appears character-identically in 2 files \u2014 web/components/settings/ProvidersWorkspace.tsx, web/features/settings/store/SettingsStore.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":"web/components/settings/ProvidersWorkspace.tsx"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7aeb38ea22f95420630d3624cced0463a91d741f308ec89e624e4e951a58c4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session.preferences?.parent_session_id || \u0022\u0022\u0060 appears character-identically in 2 files \u2014 web/lib/session-archive.ts, web/lib/session-organization.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":"web/lib/session-archive.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd42d20f81f90cfa6298e1b01173d17ac3927b8887aa9a0428b2887a09c0fe48"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stage === \u0022completed\u0022 || stage === \u0022error\u0022\u0060 appears character-identically in 2 files \u2014 web/hooks/useKnowledgeProgress.ts, web/lib/knowledge-helpers.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":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3d4d5d7893740f91cc0ba351e6a31604922beb81e20ff59e41e369173fafe4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status?.preset === \u0022learner\u0022 || Boolean(status?.learning_policy)\u0060 appears character-identically in 2 files \u2014 web/components/reading/ReadingActionsProvider.tsx, web/components/reading/ReadingExtensionBar.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":"web/components/reading/ReadingActionsProvider.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"47895dbbb9f97c02d71e382114aabef7f6bad8dcd7c8dbbdad89cdfad0529136"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tab.material.status === \u0022processing\u0022 || tab.material.status === \u0022queued\u0022\u0060 appears character-identically in 3 files \u2014 web/components/reading/library/ReadingFolder.tsx, web/components/reading/library/ReadingLibrary.tsx, web/components/reading/workspace/useReadingWorkspace.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":"web/components/reading/library/ReadingFolder.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03941eb54236779a2ce4bd18aa3b45433c0267354036edb63df220efc0b81c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target instanceof Node \u0026\u0026 menuRootRef.current?.contains(target)\u0060 appears character-identically in 2 files \u2014 web/components/sessions/OrganizedSessionList.tsx, web/components/sidebar/SidebarNav.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":"web/components/sessions/OrganizedSessionList.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"96eac7a4a88c5faa40a4fe6c6dd4a09a247faae516d7513ab165764b16a5db15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060todos.reviews.length \u003E 0 || todos.books.length \u003E 0\u0060 appears character-identically in 2 files \u2014 web/components/learning/LearningDashboard.tsx, web/features/ui-layout/classic/ClassicLearningDashboard.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":"web/components/learning/LearningDashboard.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0496554efdb86f63f9bdc39d6b05c8a075a39e8ef6113352c6105015d6f8d9cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof document !== \u0022undefined\u0022 \u0026\u0026 document.hidden\u0060 appears character-identically in 2 files \u2014 web/components/memory/MemoryL1Workbench.tsx, web/components/memory/MemorySection.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":"web/components/memory/MemoryL1Workbench.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"404b2a7fcb0a61ca99d084f4c5b4912ae16fd7fa9940a44c47a35dd18f7e6200"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isFinite(value)\u0060 appears character-identically in 2 files \u2014 web/features/chat/trace/memory.ts, web/lib/reading-display-preferences.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":"web/features/chat/trace/memory.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddaa99be80e48e4819e44786119328d470ebff294543329c077654f322e30246"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.startsWith(\u0022http://\u0022) || url.startsWith(\u0022https://\u0022)\u0060 appears character-identically in 3 files \u2014 web/app/(workspace)/learning/books/components/blocks/AnimationBlock.tsx, web/components/math-animator/MathAnimatorViewer.tsx, web/components/video-lesson/VideoLessonViewer.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":"web/app/(workspace)/learning/books/components/blocks/AnimationBlock.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7633f67056dcedfbe55df529a90ef1d0b0bc0c6005467ce4b4aabc524389f15f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value !== null \u0026\u0026 sameLLMSelection(option, value)\u0060 appears character-identically in 2 files \u2014 web/components/partners/PartnerModelPicker.tsx, web/components/partners/PartnerModelSelect.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":"web/components/partners/PartnerModelPicker.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa3b671c7ae4c14b21d8b8a6a0c2358477204a3b85647fca236d6825e3a6891"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 5 files \u2014 packages/chat-engine/src/core/contracts.ts, web/features/chat/ChatStateAdapter.tsx, web/lib/ask-user-state.ts, web/lib/mastery-question.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/chat-engine/src/core/contracts.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f16b32271c0ad7fb05c0bb13dec7b33f62c4c262b217e075b8bf73047dae0db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060version.provider === \u0022lightrag\u0022 \u0026\u0026 version.ready \u0026\u0026 (!kb.metadata?.embedding_selection || version.version === kb.metadata.indexed_version)\u0060 appears character-identically in 2 files \u2014 web/components/knowledge/KbDocumentsSection.tsx, web/components/knowledge/KbIndexVersionsSection.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":"web/components/knowledge/KbDocumentsSection.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce6c0eef5b1c73485457de97340d6c4f4be62f2b0a7da5c4cb3fb41b3f6df08"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022/models/\u0022 in path and path.endswith(\u0022:batchEmbedContents\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/services/config/embedding_endpoint.py, deeptutor_cli/init_wizard.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":"deeptutor/services/config/embedding_endpoint.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2565941b1fdd4d39cfcdc0701d44a65f0df52e6ae8667aaaef4be4ada256913d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060annotation in block.get(\u0022annotations\u0022) or []\u0060 appears character-identically in 2 files \u2014 deeptutor/services/llm/provider_core/openai_responses/parsing.py, deeptutor/services/search/providers/doubao.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":"deeptutor/services/llm/provider_core/openai_responses/parsing.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc43b26fd90d80a3f6ade80feb07c2096341af66bb81ace292faa8b4e7ad5844"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060base_metadata.get(\u0022label\u0022, \u0022\u0022) or stage.replace(\u0022_\u0022, \u0022 \u0022).title()\u0060 appears character-identically in 3 files \u2014 deeptutor/agents/math_animator/capability.py, deeptutor/agents/video_lesson/capability.py, deeptutor/agents/visualize/capability.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":"deeptutor/agents/math_animator/capability.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba8d8cf06b2cc8075263ce0270f5c1c4b556c0fc2a7b4704247b4e68623c30f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060block.get(\u0022table_body\u0022) or block.get(\u0022table_html\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/services/rag/visual_assets.py, deeptutor/services/rag/visual_coverage.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":"deeptutor/services/rag/visual_assets.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca238447c34e59be914a9e0565c3184a376c7ea35c67ba0ff6c1a7b192c1dc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060block.get(\u0022text\u0022) or block.get(\u0022content\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/rag/pipelines/graphrag/ingestion.py, deeptutor/services/rag/pipelines/llamaindex/document_loader.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/graphrag/ingestion.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"10eb42f4b634fc555d27229a66c871f682a17040df4322b49028520acd7fe349"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bool(enabled_tools) and self._can_use_native_tool_calling()\u0060 appears character-identically in 2 files \u2014 deeptutor/agents/loop/pipeline.py, deeptutor/capabilities/mastery/pipeline.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdde973aaebc4f4a1876830126d2fce26f265909ba03ad9cfdcc982c67ac53c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child.is_dir() and child not in candidate_dirs\u0060 appears character-identically in 2 files \u2014 deeptutor/services/parsing/cache.py, deeptutor/tools/question/question_extractor.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":"deeptutor/services/parsing/cache.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae2dbaf517dbb79fef755cb1ff356c3ef66e3e78be9d2b628ce9198efbc2876"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060client_factory or _default_client_factory\u0060 appears character-identically in 2 files \u2014 deeptutor/services/web_source/snapshot_assets.py, deeptutor/tools/web_fetch.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":"deeptutor/services/web_source/snapshot_assets.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bd3010cef71209ffe5455be8bdba75263490b71ceac2741d0600132be38ef9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.binding == \u0022openai\u0022 and config.api_version\u0060 appears character-identically in 2 files \u2014 deeptutor/runtime/agentic/client.py, deeptutor/runtime/ts_engine/config.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/agentic/client.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08b135a00ea0f33ec034b2fd9922ac3f6c0412c8fe117a3b4b1e1543ce7f0ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.effective_url or config.base_url or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/runtime/ts_engine/config.py, deeptutor/services/llm/provider_factory.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":"deeptutor/runtime/ts_engine/config.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e05f6b453968abf14cec220da7f275a2101befc81f49f7ba042c436b4b65c0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.system_prompt.strip() and fresh_session\u0060 appears character-identically in 2 files \u2014 deeptutor/services/subagent/kimi.py, deeptutor/services/subagent/openclaw.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":"deeptutor/services/subagent/kimi.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3151781a4131ffef2fa9dbc4c6c8b42596982ab3c3efe4317171616ddeb40f67"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.system_prompt.strip() and not session_id\u0060 appears character-identically in 3 files \u2014 deeptutor/services/subagent/antigravity.py, deeptutor/services/subagent/deepseek_harness.py, deeptutor/services/subagent/hermes.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":"deeptutor/services/subagent/antigravity.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2706d38c1dd9a43206357b9dfb77a173d30e095f3ff7452b508470ade20fbb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.metadata.get(\u0022conversation_context_text\u0022, \u0022\u0022) or \u0022\u0022\u0060 appears character-identically in 4 files \u2014 deeptutor/agents/math_animator/capability.py, deeptutor/agents/question/capability.py, deeptutor/agents/video_lesson/capability.py, deeptutor/agents/visualize/capability.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":"deeptutor/agents/math_animator/capability.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8fcfe7cb39a1c8fadf9ece7551ba91648d714b5648e2a6585ee5ba805178e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.metadata.get(\u0022mastery_path_id\u0022) or \u0022\u0022\u0060 appears character-identically in 4 files \u2014 deeptutor/capabilities/mastery/capability.py, deeptutor/capabilities/mastery/loop.py, deeptutor/capabilities/mastery/pipeline.py, deeptutor/services/session/turns/executor.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":"deeptutor/capabilities/mastery/capability.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c113e2620a4e7a210e286a4cddde786d33996be26a72821fab44ec46b2fc00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060convert_tool_choice(tool_choice) or \u0022auto\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/llm/provider_core/azure_openai_provider.py, deeptutor/services/llm/provider_core/openai_codex_provider.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":"deeptutor/services/llm/provider_core/azure_openai_provider.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f710e2b935c3c20195edf1103656fce6758160b9d79183e67ccf45c5516eb7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.get(\u0022code\u0022) not in (None, \u0022\u0022, 0, \u00220\u0022) or data.get(\u0022success\u0022) is False\u0060 appears character-identically in 3 files \u2014 deeptutor/services/imagegen/adapters/dashscope.py, deeptutor/services/videogen/adapters/dashscope.py, deeptutor/services/voice/adapters/dashscope.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":"deeptutor/services/imagegen/adapters/dashscope.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7257331b9e84e0373ffbfcecdd3b63478c7e5ebff213f15112ed8016e3c1d98d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.get(\u0022message\u0022) or \u0022no detail provided\u0022\u0060 appears character-identically in 3 files \u2014 deeptutor/services/imagegen/adapters/dashscope.py, deeptutor/services/videogen/adapters/dashscope.py, deeptutor/services/voice/adapters/dashscope.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":"deeptutor/services/imagegen/adapters/dashscope.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e70019f02b1d53cc6c5735172f933aae4bcc8c2d243a9713f245c7827784df9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data[:4] == b\u0022RIFF\u0022 and data[8:12] == b\u0022WEBP\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/auth.py, deeptutor/partners/helpers.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":"deeptutor/api/routers/auth.py"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7a7b5516ce24d987c1159b170567997bcafe53e22eac629e93367b312e764a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060default_model or DEFAULT_CODEBUDDY_MODEL\u0060 appears character-identically in 2 files \u2014 deeptutor/services/llm/provider_core/codebuddy_http_provider.py, deeptutor/services/llm/provider_core/codebuddy_provider.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":"deeptutor/services/llm/provider_core/codebuddy_http_provider.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db100b9bddde82b1e86eef6c9b8ded3cfeacac98a0f95cc01aadaaf3c25f290"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060delta and session.last_response and delta[0].get(\u0022role\u0022) == \u0022assistant\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/llm/provider_core/claude_code_provider.py, deeptutor/services/llm/provider_core/codebuddy_provider.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":"deeptutor/services/llm/provider_core/claude_code_provider.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"0140b918f076dc1064b2d0dc67cf56bbce03458db8a92e02f8387bc223700a8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dim_value and self._should_send_dimensions(model)\u0060 appears character-identically in 2 files \u2014 deeptutor/services/embedding/adapters/openai_compatible.py, deeptutor/services/embedding/adapters/openai_sdk.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":"deeptutor/services/embedding/adapters/openai_compatible.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f0e8a9c6c8f5b3737bb36aa12653a62abb594d7eeb31c9e8f2cd93c4267237"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060directory.is_dir() and not (root / directory.name).exists()\u0060 appears character-identically in 2 files \u2014 deeptutor/services/partner_groups/store.py, deeptutor/services/persona/service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/partner_groups/store.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7e23c1ec88b0d184ef29566cc7f560cac2cb2031ec67d0fd8b5c0006f0f51f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060doc.is_encrypted and not doc.authenticate(\u0022\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/reading/extract.py, deeptutor/utils/document_extractor.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":"deeptutor/reading/extract.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"492c6ac684fea20d9194f00530e6317739cd241a93d1e837d15e120d8d20a758"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.get(\u0022questionId\u0022) or entry.get(\u0022id\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/agents/loop/pipeline.py, deeptutor/api/routers/unified_ws.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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b42a905b09aa259ac62bbd7d7b27d788e4a02b40a3c23d65a746c9c7dca4a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.type == StreamEventType.ERROR and event.content\u0060 appears character-identically in 2 files \u2014 deeptutor/services/cron/executor.py, deeptutor/services/partners/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":"deeptutor/services/cron/executor.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac51bc48c906f9831e7f47b2357402077ea0f1d243a188056687cf2a4df24e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.type == StreamEventType.RESULT and event.source == \u0022chat\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/cron/executor.py, deeptutor/services/partners/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":"deeptutor/services/cron/executor.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4abf96f1504dbf26d2ad665e700298f6d024119ac29e47c60a37d2ceedc665"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060execution.lease is not None and self.coordinator is not None\u0060 appears character-identically in 2 files \u2014 deeptutor/services/session/turns/executor.py, deeptutor/services/session/turns/request_preparer.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":"deeptutor/services/session/turns/executor.py"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"33728a2790e9e111a6c71ff4285fe8051c165e16f3f640158356aeee1e56c5f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing is not None and existing.task is not None\u0060 appears character-identically in 2 files \u2014 deeptutor/capabilities/handoff/capability.py, deeptutor/services/subagent/partner.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":"deeptutor/capabilities/handoff/capability.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"29aa3e2bb4982d7ea8f01b49d153207dc181128f7c1516be9a4fa7b921e9077c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expected_dims and actual_dims != expected_dims\u0060 appears character-identically in 3 files \u2014 deeptutor/services/embedding/adapters/cohere.py, deeptutor/services/embedding/adapters/ollama.py, deeptutor/services/embedding/adapters/openai_compatible.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":"deeptutor/services/embedding/adapters/cohere.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"85414ed06b05fd7cd638585e7968992fe5c25e1f27a0504b40739ac1db54a9c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060extension.type == \u0022frontend_page\u0022 and extension.manifest\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/plugins.py, deeptutor/plugins/manifest.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":"deeptutor/api/routers/plugins.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdbd952c381e0cc749459627dfa8cb2951aa573ed91f88abbfbbb9fe68595ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060function.get(\u0022name\u0022) == \u0022rag\u0022 and isinstance(properties, dict)\u0060 appears character-identically in 2 files \u2014 deeptutor/agents/loop/pipeline.py, deeptutor/agents/research/pipeline.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2861dedd243f8e25447829c2c83750853d5f0b20bfa23f9577e0d0051391d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(client, \u0022aclose\u0022, None) or getattr(client, \u0022close\u0022, None)\u0060 appears character-identically in 2 files \u2014 deeptutor/runtime/agentic/client.py, deeptutor/services/llm/provider_core/base.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/agentic/client.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b66f0eb0c88b787f3725f8209efb04af95197b3faa158b2c7a5bf34994d386"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(config, \u0022binding\u0022, None) or \u0022openai\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/agents/base_agent.py, deeptutor/book/blocks/_llm_writer.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":"deeptutor/agents/base_agent.py"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9501fc30601be3fa038c671969e31ff9c9ca524636716fecdee0f90d30b64d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(config, \u0022effective_url\u0022, None) or getattr(config, \u0022base_url\u0022, None)\u0060 appears character-identically in 2 files \u2014 deeptutor/services/doctor.py, deeptutor/services/rag/pipelines/llamaindex/embedding_adapter.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/doctor.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2eb199834bf65487db6fd535992af4a0d19b95dd97c1d3f97cb85c51d87ba6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(config, \u0022effective_url\u0022, None) or getattr(config, \u0022base_url\u0022, None) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/doctor.py, deeptutor/services/rag/embedding_signature.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/doctor.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbb360957ec9782c653f63a6cb40cfc2f3ac4849258a1a297028ca1ac57c097"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(context, \u0022session_id\u0022, \u0022\u0022) or \u0022\u0022\u0060 appears character-identically in 3 files \u2014 deeptutor/capabilities/handoff/capability.py, deeptutor/capabilities/notes/capability.py, deeptutor/capabilities/subagent/capability.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":"deeptutor/capabilities/handoff/capability.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"772b461c2065696053f8070ab44fae1a76ccd1e037af157937f0db49ef3ecc21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(delta, \u0022reasoning_content\u0022, None) or getattr( delta, \u0022reasoning\u0022, None )\u0060 appears character-identically in 3 files \u2014 deeptutor/capabilities/explore_context/explorer.py, deeptutor/runtime/agentic/labeled_step.py, deeptutor/services/llm/provider_core/openai_compat_provider.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":"deeptutor/capabilities/explore_context/explorer.py"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"5860843beb6f1649654dfc5cfee1f41649aa092b16421ce7f3839a95a32bf1bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(exc, \u0022status_code\u0022, None) or getattr( getattr(exc, \u0022response\u0022, None), \u0022status_code\u0022, None )\u0060 appears character-identically in 2 files \u2014 deeptutor/runtime/agentic/client.py, deeptutor/services/llm/provider_core/openai_compat_provider.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":"deeptutor/runtime/agentic/client.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9311e399aee1471313561849893e114074ba8538bf28f6a66e048cbb4655333f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(llm_cfg, \u0022api_key\u0022, None) or \u0022sk-no-key-required\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/rag/pipelines/graphrag/config.py, deeptutor/services/rag/pipelines/graphrag/engine.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/graphrag/config.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e0e95885375d3af1ef36c1e2a866d59e3d6702b94932f4cafaefa8339c068f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(llm_cfg, \u0022effective_url\u0022, None) or getattr(llm_cfg, \u0022base_url\u0022, None)\u0060 appears character-identically in 2 files \u2014 deeptutor/services/rag/pipelines/graphrag/config.py, deeptutor/services/rag/pipelines/graphrag/engine.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/graphrag/config.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa72881011053229a938ba559c46380729281ec665a8ea107b1866a3698e1141"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(model_config, \u0022api_base\u0022, \u0022\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/rag/pipelines/graphrag/completion_adapter.py, deeptutor/services/rag/pipelines/graphrag/provider.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":"deeptutor/services/rag/pipelines/graphrag/completion_adapter.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"759e3ad0a4e3480733e86f8198234b3c19272d45f7cabf584e329e287f0ab216"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(model_config, \u0022model\u0022, \u0022\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/rag/pipelines/graphrag/completion_adapter.py, deeptutor/services/rag/pipelines/graphrag/provider.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":"deeptutor/services/rag/pipelines/graphrag/completion_adapter.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9ed134530cffde91708c5ad6079d53ecf1a9c6a123d0023772293f49bad140"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(record, \u0022role\u0022, \u0022user\u0022) or \u0022user\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/auth.py, deeptutor/services/pocketbase_client.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":"deeptutor/services/auth.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"903fad9faea26a2451f406cd3e1fdfe60ff6d2e7fdf5b9198e51a6b4c27fe9cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(render_result, \u0022workspace_items\u0022, []) or []\u0060 appears character-identically in 2 files \u2014 deeptutor/agents/math_animator/capability.py, deeptutor/agents/visualize/capability.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":"deeptutor/agents/math_animator/capability.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"429c995ef77ece92808a90ba4546c96e76c24bf7f94705e2f9ad9e54f0b5a8b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(self.llm_config, \u0022api_format\u0022, None) or \u0022auto\u0022\u0060 appears character-identically in 3 files \u2014 deeptutor/agents/loop/pipeline.py, deeptutor/agents/question/pipeline.py, deeptutor/agents/research/pipeline.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"553d056b40d7e67c0cdb872f5105122fef96409c18a2d33f89fc41e28eba19e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(self.llm_config, \u0022binding\u0022, None) or \u0022openai\u0022\u0060 appears character-identically in 5 files \u2014 deeptutor/agents/loop/pipeline.py, deeptutor/agents/notebook/analysis_agent.py, deeptutor/agents/notebook/summarize_agent.py, deeptutor/agents/question/pipeline.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcfb3d34e47cabc49be45877ab179f4a173031c9181ee0df9a80e36bb816ab4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(self.llm_config, \u0022wire_api\u0022, None) or \u0022auto\u0022\u0060 appears character-identically in 3 files \u2014 deeptutor/agents/loop/pipeline.py, deeptutor/agents/question/pipeline.py, deeptutor/agents/research/pipeline.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"01beb6974fcc880bc1b385c7ca3096f7be592b945603f2067da99871f3d2fa38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060images_dir.is_dir() and not any(images_dir.iterdir())\u0060 appears character-identically in 2 files \u2014 deeptutor/services/parsing/engines/liteparse/engine.py, deeptutor/services/parsing/engines/pymupdf4llm/engine.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/parsing/engines/liteparse/engine.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35137e38d03da233534ef52ef49eb7088cba62c19e98ca0260754b3d0c5b9b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060include_revoked or record[\u0022revoked_at\u0022] is None\u0060 appears character-identically in 2 files \u2014 deeptutor/multi_user/device_credentials.py, deeptutor/multi_user/guardians.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":"deeptutor/multi_user/device_credentials.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"db43d4abea2c280faa5909db6079115317f8e26c2d839a18edda362cc10793f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060instance is None or not instance.running\u0060 appears character-identically in 4 files \u2014 deeptutor/api/main.py, deeptutor/capabilities/handoff/capability.py, deeptutor/services/partner_groups/manager.py, deeptutor/services/subagent/partner.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":"deeptutor/api/main.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc19037f07aaeb09edddb9617f2b592464d61a40d48d012be7e738e7a6b3a66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(addr, ipaddress.IPv6Address) and addr.ipv4_mapped is not None\u0060 appears character-identically in 2 files \u2014 deeptutor/partners/network.py, deeptutor/services/mcp/network.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":"deeptutor/partners/network.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2b476205ef41bcae790e2fbbc4e05676fe4d75e3bf37a277a52cdb4941807b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(entry, dict) and entry.get(\u0022doc_id\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/services/rag/pipelines/pageindex/pipeline.py, deeptutor/services/rag/pipelines/pageindex/storage.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":"deeptutor/services/rag/pipelines/pageindex/pipeline.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a376ab07e0e02ced18c96b6b067a0b3e74d7b899209836df6fc00c58b94a5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(error_code, str) and error_code\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/knowledge.py, deeptutor/runtime/orchestrator.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d3d1b7b4c0293d12ff00233b67d9d6bdcf00b422c005e494b199aab61ec8e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(extra_content, dict) and extra_content\u0060 appears character-identically in 2 files \u2014 deeptutor/runtime/agentic/messages.py, deeptutor/runtime/agentic/tool_call_stream.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/agentic/messages.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad0c8e5fd566acb601b3f84af3a3eb36638eec8ac2225e51f3d2ae9438e583f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(extra_headers, dict) and extra_headers\u0060 appears character-identically in 2 files \u2014 deeptutor/services/rag/pipelines/graphrag/config.py, deeptutor/services/rag/pipelines/graphrag/provider.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":"deeptutor/services/rag/pipelines/graphrag/config.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"abccca75ad316a9fef10c08debf0a945a93ecdf263ce9f0a8a090b7cce358040"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(item, dict) and item.get(\u0022partner_id\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/capabilities/partner_group/capability.py, deeptutor/capabilities/partner_group/tools.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":"deeptutor/capabilities/partner_group/capability.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e925c8e361d4a3f03c943a0c479d6b78150212d5b701150868a09b7c20d51da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(item, dict) and item.get(\u0022text\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/services/embedding/adapters/dashscope_native.py, deeptutor/services/subagent/openclaw.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":"deeptutor/services/embedding/adapters/dashscope_native.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80a0f6ea91787dd0f3efa0681f088d48f048b0b5d5b308bd580cf705aadbefa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(item, dict) and item.get(\u0022type\u0022) == \u0022reasoning\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/agents/loop/agent_loop.py, deeptutor/agents/loop/loop_state.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":"deeptutor/agents/loop/agent_loop.py"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b154f8b3ac3324ab739d7a36620df3449c12088db213150106b9c72c64c27b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(kb_schema, dict) and kb_choices\u0060 appears character-identically in 2 files \u2014 deeptutor/agents/question/pipeline.py, deeptutor/agents/research/pipeline.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfdbd8f9e56029a7f4eea6068dca458b70dd1abf2d36fbb64c4884aa57ea14d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(message_id, str) and message_id\u0060 appears character-identically in 2 files \u2014 deeptutor/partners/channels/feishu.py, deeptutor/partners/channels/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":"deeptutor/partners/channels/feishu.py"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa22bb509fe4a3ba39393b8ab13403efa36f005e9bb4ac8a0b01d156a9bed3a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(name, str) and name in allowed and name not in seen\u0060 appears character-identically in 2 files \u2014 deeptutor/agents/_shared/tool_composition.py, deeptutor/services/settings/interface_settings.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":"deeptutor/agents/_shared/tool_composition.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2100c634d8701fedd9e257aef518dd86c2af17c2f0044f3b85bb4dc0f87d0181"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(output, dict) and isinstance(output.get(\u0022task_id\u0022), str)\u0060 appears character-identically in 2 files \u2014 deeptutor/services/imagegen/adapters/dashscope.py, deeptutor/services/videogen/adapters/dashscope.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":"deeptutor/services/imagegen/adapters/dashscope.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a923084243ab39dafd3f99e9d4e983e799174193cc305d96c1d869e943fb4bd3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(part, dict) and part.get(\u0022type\u0022) == \u0022image_url\u0022\u0060 appears character-identically in 3 files \u2014 deeptutor/runtime/agentic/messages.py, deeptutor/runtime/agentic/tool_dispatch.py, deeptutor/services/llm/provider_core/claude_code_provider.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":"deeptutor/runtime/agentic/messages.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0408a29fe4bdb1f91c32276ab36e0c0378aa8b428b1d78487b3f2463c8115f69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(part, dict) and part.get(\u0022type\u0022) == \u0022text\u0022\u0060 appears character-identically in 3 files \u2014 deeptutor/agents/loop/context_budget.py, deeptutor/services/subagent/claude_code.py, deeptutor/tools/write_note.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":"deeptutor/agents/loop/context_budget.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fac4ac47edf6bc44345916b6f62867686989a45363078e09faf43f3474fc0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(signed_blocks, list) and signed_blocks\u0060 appears character-identically in 2 files \u2014 deeptutor/agents/loop/agent_loop.py, deeptutor/runtime/agentic/labeled_step.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":"deeptutor/agents/loop/agent_loop.py"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fa4ab5cd5b69341b5e8813763d3b45cd193e550c09c8298dfa4a4c8c65b2ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, bool) or not isinstance(value, int) or value \u003C= 0\u0060 appears character-identically in 3 files \u2014 deeptutor/services/codex_auth/catalog.py, deeptutor/services/codex_auth/contracts.py, deeptutor/services/codex_auth/service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/codex_auth/catalog.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c6324ae24af50e89167358a3b031d0bc0b5051dd10c8f0bfbbaeb1190c53c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, str) and not value.strip()\u0060 appears character-identically in 2 files \u2014 deeptutor/core/turn_request.py, deeptutor/runtime/agentic/tool_arg_guard.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":"deeptutor/core/turn_request.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"662ac0ad137aabeaef2b62acda5ec4b03cb1ef9e549c7ba2ce75914f156219e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, str) and value.strip()\u0060 appears character-identically in 15 files \u2014 deeptutor/book/export.py, deeptutor/learning/topic_generation.py, deeptutor/partners/channels/mochat.py, deeptutor/services/config/provider_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":"deeptutor/book/export.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9fc84eb6887b064dce18c46feed59810112a201595376dd73a0597be369af0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, str) and value.strip().isdigit()\u0060 appears character-identically in 2 files \u2014 deeptutor/reading/references.py, deeptutor/services/llm/provider_core/base.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/references.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cffcc0de8273cf2928726fce05e6acb1cc9ff89cbdebb5cd184f818285c52fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.get(\u0022name\u0022) or item.get(\u0022kb_name\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/multi_user/knowledge_access.py, deeptutor/services/workspace/kb_move.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":"deeptutor/multi_user/knowledge_access.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6398aa5b1dd5b673158ff966ce037fe738d351884acfaac23a76487910403c5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.get(\u0022name\u0022) or item.get(\u0022partner_id\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/multi_user.py, deeptutor/capabilities/partner_group/tools.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":"deeptutor/api/routers/multi_user.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ae49941dea4dca3351f536b20f5ddba5baf55b8670c13ca9c2d262375f1449"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.get(\u0022resource_id\u0022) or item.get(\u0022id\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/multi_user/knowledge_access.py, deeptutor/services/workspace/kb_move.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":"deeptutor/multi_user/knowledge_access.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1c42027b2ad6f4b393adfd6d4386571b1cd962caf81f6e0cfbc0b887c659fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kwargs.get(\u0022_sandbox_internal_root\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/cli_apps/provider.py, deeptutor/tools/exec_tool.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":"deeptutor/services/cli_apps/provider.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"559f2a9f2ba433db017b4bb0c090eccb7d1ae852fa3258e0db9c0f7ad577cd9c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kwargs.get(\u0022_sandbox_user_id\u0022) or \u0022anonymous\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/cli_apps/provider.py, deeptutor/tools/exec_tool.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":"deeptutor/services/cli_apps/provider.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f0ec8d0bdba39b57745b0a8280593771ab7515abd37fd95f0dbc2921abab0b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kwargs.get(\u0022indexing_snapshot\u0022) or kwargs.get(\u0022accepted_indexing_snapshot\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/services/rag/embedding_binding.py, deeptutor/services/rag/pipelines/lightrag/pipeline.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/embedding_binding.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7686a7c4d18d9c544c4ae669f9347d6b24c6fb37f3dfc0f21942e757652ca36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kwargs.pop(\u0022deeptutor_session_id\u0022, \u0022\u0022) or \u0022\u0022\u0060 appears character-identically in 3 files \u2014 deeptutor/services/llm/provider_core/claude_code_provider.py, deeptutor/services/llm/provider_core/codebuddy_provider.py, deeptutor/services/llm/provider_core/openai_codex_provider.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":"deeptutor/services/llm/provider_core/claude_code_provider.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd524793c6f6482ee7a124cf5a180c47b0aa9ee082d9f1c6860759e96f57f5c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(token) \u003E 4 and token.endswith(\u0022ies\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/agents/research/data_structures.py, deeptutor/agents/research/pipeline.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/research/data_structures.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac1c47003c265f04cb821b4808ba625834b449fc76f41a324bf98049e92e0b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060length \u003E= MIN_SEGMENT_SECONDS and sentence_end\u0060 appears character-identically in 2 files \u2014 deeptutor/reading/ingestion.py, deeptutor/video_learning/service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/ingestion.py"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9571e7ad6aae68d342d6f9de81f9f8a8a6355f3e139e54f23d386d8df7a2255"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line != \u00220\u0022 and result.success and not result.final_text\u0060 appears character-identically in 4 files \u2014 deeptutor/services/subagent/antigravity.py, deeptutor/services/subagent/claude_code.py, deeptutor/services/subagent/codex.py, deeptutor/services/subagent/kimi.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":"deeptutor/services/subagent/antigravity.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56b6a45d2cb100bde3756c3c524a8d0c746181161c19ec4e3cf64e1defe85cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.kind != \u0022bullet\u0022 or not line.entry_id\u0060 appears character-identically in 2 files \u2014 deeptutor/services/memory/consolidator/line_doc.py, deeptutor/services/memory/consolidator/modes/audit.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":"deeptutor/services/memory/consolidator/line_doc.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbff4defa721291ad3d229886778f42be8fbcf0e137c464509a44f3750ec615"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060live.task is not None and not live.task.done()\u0060 appears character-identically in 2 files \u2014 deeptutor/capabilities/handoff/capability.py, deeptutor/services/subagent/partner.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":"deeptutor/capabilities/handoff/capability.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68c59cfda8aaee9758cfc89064d5c555be33429f3e1a1be6a83e378837260fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060load_system_settings().get(\u0022backend_workers\u0022) or 1\u0060 appears character-identically in 3 files \u2014 deeptutor/api/run_server.py, deeptutor/runtime/launcher.py, deeptutor_cli/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":"deeptutor/api/run_server.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebe5bd9ea1bd01dc26178ae32cfeefca2b760efffdcf0df641ad2ba596fdf39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media_type or \u0022application/octet-stream\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/knowledge.py, deeptutor/services/voice/base.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":3283}}}],"partialFingerprints":{"codehealthFindingId/v1":"005b80bde3f6d19bd604a6f15ce9c1a59594a0e6877940f4e3700544deaef496"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata.get(\u0022_stream_delta\u0022) or metadata.get(\u0022_stream_end\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/partners/channels/base.py, deeptutor/services/partners/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":"deeptutor/partners/channels/base.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"52212ec8baa5bbc2e26f8e30efcbb563109fc9134bc46cc26af6f0afba8a5d57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mimetypes.guess_type(name)[0] or \u0022application/octet-stream\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/capabilities/reading/figure_view.py, deeptutor/reading/captions.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":"deeptutor/capabilities/reading/figure_view.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccc93aa68f74fbd033f15ba9c1d88eb9d13f3a347c3214d031da666693a9654"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model in profile.get(\u0022models\u0022, []) or []\u0060 appears character-identically in 7 files \u2014 deeptutor/api/routers/knowledge.py, deeptutor/api/routers/multi_user.py, deeptutor/multi_user/model_access.py, deeptutor/multi_user/personal_models.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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b3591b8eadb92ae641cf8233d4a0d21262d9f5a327657570af4984d9724026"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model.get(\u0022name\u0022) or model.get(\u0022model\u0022) or model.get(\u0022id\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/knowledge.py, deeptutor/api/routers/multi_user.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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e241f22b67e400f8a6d645acdffd185085f447753d8a8426d93c59db9d3f84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060msg.content and msg.content != \u0022[empty message]\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/partners/channels/telegram.py, deeptutor/partners/channels/zulip.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":"deeptutor/partners/channels/telegram.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"513e6e2091f5a23426880db96ce6553ec7e8576b8ea5a5038511d5b128472985"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not config.api_key or config.api_key == \u0022***\u0022\u0060 appears character-identically in 3 files \u2014 deeptutor/services/voice/adapters/minimax.py, deeptutor/services/voice/adapters/volcengine.py, deeptutor/services/voice/discovery.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":"deeptutor/services/voice/adapters/minimax.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"146ccc1c90f3a3ceede1b161cf6495760a9c02120f25936c70bc6fbcef33cb26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not instance or not instance.running or not instance.runner\u0060 appears character-identically in 2 files \u2014 deeptutor/services/cron/executor.py, deeptutor/services/partners/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":"deeptutor/services/cron/executor.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d623d7f8e559484a4617f046de2545ab8a8fb54452087d04fcceeb184db6bdb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(meta, dict) or meta.get(\u0022type\u0022) != SUBAGENT_KB_TYPE\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/subagents.py, deeptutor/multi_user/knowledge_access.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":"deeptutor/api/routers/subagents.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea48d402241068c5321eaf84676b9db17b73f5f7e7b5e623d4485a546dd81814"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(notebooks, list) or not notebooks\u0060 appears character-identically in 2 files \u2014 deeptutor/tools/list_notebook.py, deeptutor/tools/write_note.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":"deeptutor/tools/list_notebook.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2119dd86b9a094fa13e0a41dca3aa56e371b9bdbcd0835cd1076ff53898227"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(override, dict) or not override.get(\u0022enabled\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/services/config/model_catalog.py, deeptutor/services/config/provider_links.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":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0c8b5a876cc10b580b89ebe52ff06fb39f4c8c43f1c643c18806255f455d5f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(questions, list) or not questions\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/reading_extensions.py, deeptutor/book/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":"deeptutor/api/routers/reading_extensions.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"23534d50ccb4d5ec7a4557e4d2a29839ecba63ce33bae65357e8075047aa92d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(raw, str) or not raw.strip()\u0060 appears character-identically in 2 files \u2014 deeptutor/partners/channels/matrix.py, deeptutor/services/rag/pipelines/lightrag/ingress.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":"deeptutor/partners/channels/matrix.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"08404fbe92fcfb13ca7dc00ab2af0f02d77fd2c6f1ab647b900adbb7d0bce779"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(row, dict) or not isinstance(row.get(\u0022text\u0022), str)\u0060 appears character-identically in 2 files \u2014 deeptutor/services/voice/adapters/volcengine.py, deeptutor/video_learning/service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/voice/adapters/volcengine.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e71e10c1c97c58f5353509aa67802e86b3d41d6d3e07d3a0c7a8f124065b9b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(text, str) or not text.strip()\u0060 appears character-identically in 3 files \u2014 deeptutor/services/parsing/engines/docling/content_list.py, deeptutor/services/voice/adapters/mistral.py, deeptutor/services/voice/adapters/xai.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":"deeptutor/services/parsing/engines/docling/content_list.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"66da55fc627de29a2ac635a6c440c660f442624f0375886e678ae11fe742b161"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value, dict) or part not in value\u0060 appears character-identically in 5 files \u2014 deeptutor/agents/loop/pipeline.py, deeptutor/agents/loop/prompt_blocks.py, deeptutor/agents/question/pipeline.py, deeptutor/agents/research/pipeline.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":2142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbbbbb4d54d6322d3d9906db97e1b6b523c9d14c15da13f636a262279388731"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value, list) or not value\u0060 appears character-identically in 2 files \u2014 deeptutor/learning/models.py, deeptutor/plugins/manifest.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":"deeptutor/learning/models.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"31656adb898cd4d898ccb04877cd98952470ae51c6b6904ee102d5498128930a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value, str) or not value.strip()\u0060 appears character-identically in 3 files \u2014 deeptutor/book/blocks/_prompts.py, deeptutor/partners/channels/mochat.py, deeptutor/runtime/launcher.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":"deeptutor/book/blocks/_prompts.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0061a2f1d7ffe7678ad44428a5eca9b6d6ce1bf927ce32d4dcf08f7733795e56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(vector, list) or not vector\u0060 appears character-identically in 2 files \u2014 deeptutor/services/embedding/adapters/gemini.py, deeptutor/services/rag/pipelines/graphrag/engine.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/gemini.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"94413449b978e708b1c197cf455184f429c211a92bece24d0e2b293ffbe32aa8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not math.isfinite(config.speed) or not 0.5 \u003C= config.speed \u003C= 2\u0060 appears character-identically in 2 files \u2014 deeptutor/services/voice/adapters/minimax.py, deeptutor/services/voice/adapters/volcengine.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":"deeptutor/services/voice/adapters/minimax.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"559103287a7ba3d70294fccb7cdb7399805868d655dd9cd408e8d51772526add"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not meta or meta.get(\u0022type\u0022) != SUBAGENT_KB_TYPE\u0060 appears character-identically in 2 files \u2014 deeptutor/capabilities/handoff/capability.py, deeptutor/capabilities/subagent/binding.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":"deeptutor/capabilities/handoff/capability.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85cd160d5403f6c53e5145a5207ad9e9b1afa42e198b5d9327975a004006163"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not path.exists() or path.stat().st_size == 0\u0060 appears character-identically in 2 files \u2014 deeptutor/services/config/launch_settings.py, deeptutor/services/config/runtime_settings.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":"deeptutor/services/config/launch_settings.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b055ab0df970aaf5d39786a8ce28680a5eb140efcd57475e35394cb2b968aa0b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not result.final_text and result.success\u0060 appears character-identically in 2 files \u2014 deeptutor/services/subagent/deepseek_harness.py, deeptutor/services/subagent/hermes.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":"deeptutor/services/subagent/deepseek_harness.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"445ae79a7707a107569454a1a944f3dba13a8fc37e42e1b1748e0dacd961c6e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not self.path.exists() or self.path.stat().st_size == 0\u0060 appears character-identically in 2 files \u2014 deeptutor/services/config/model_catalog.py, deeptutor/services/config/settings_draft.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":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"89029ca09cdec3111a07cce33b2d941086062762bc32632a4d6b0e154951e585"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not source.get(\u0022enabled\u0022, True) or not source.get(\u0022auto_sync_enabled\u0022, True)\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/knowledge.py, deeptutor/services/web_source/scheduler.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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":5231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2222625ed08d9dc829ee669da47279581309ac960d3f9ad00ce0612149c1b47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not source_dir.is_dir() or source_dir.is_symlink()\u0060 appears character-identically in 2 files \u2014 deeptutor/services/storage/attachment_store.py, deeptutor/services/workspace/kb_move.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":"deeptutor/services/storage/attachment_store.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"98658a81476b84f00fbb2f622c5a16d1bebb13bbdd10f54d650c3433cada5a30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not source_path or r.get(\u0022source_path\u0022) == source_path\u0060 appears character-identically in 2 files \u2014 deeptutor/services/rag/source_visuals.py, deeptutor/services/rag/visual_coverage.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":"deeptutor/services/rag/source_visuals.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f6e8bd11219bbb8829859ec20b2f6efa6e5a80a516996680b0d86263332f7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not source_path.exists() or not source_path.is_file()\u0060 appears character-identically in 2 files \u2014 deeptutor/knowledge/add_documents.py, deeptutor/knowledge/initializer.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":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c003d8d948cdbfe748a43abd2c361a50baf64f212475e069e153cb4672ac85e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not title or title.lower() in seen_titles\u0060 appears character-identically in 2 files \u2014 deeptutor/book/agents/spine_agent.py, deeptutor/book/agents/spine_synthesizer.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":"deeptutor/book/agents/spine_agent.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"95245919d23ea8e8e5d75f13d2670bffb15468db4874c804b0682ab8129a8dcb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060output.get(\u0022message\u0022) or \u0022no detail provided\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/imagegen/adapters/dashscope.py, deeptutor/services/videogen/adapters/dashscope.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":"deeptutor/services/imagegen/adapters/dashscope.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"779a5b8e8e1ad64a8f648f36e72ef99cbc6a06b1a054a6e488ff6e646f1688af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060override or _load_system_prompt(language)\u0060 appears character-identically in 5 files \u2014 deeptutor/capabilities/ima/capability.py, deeptutor/capabilities/marginnote4/capability.py, deeptutor/capabilities/obsidian/capability.py, deeptutor/capabilities/setup/capability.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":"deeptutor/capabilities/ima/capability.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9610d0706d3ab6776e8a9d4f110f58f29adff2cca53d0728829e4005323a79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060package_path_raw is not None and ( not isinstance(package_path_raw, str) or not package_path_raw )\u0060 appears character-identically in 2 files \u2014 deeptutor/plugins/lifecycle.py, deeptutor/plugins/registry.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/plugins/lifecycle.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6557edde9eb4366f7f365140f7ac8cb48c049ea2bdf4837771c842066b8c7b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060params.get(\u0022objectives\u0022) or ctx.chapter.learning_objectives\u0060 appears character-identically in 8 files \u2014 deeptutor/book/blocks/animation.py, deeptutor/book/blocks/callout.py, deeptutor/book/blocks/code.py, deeptutor/book/blocks/figure.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":"deeptutor/book/blocks/animation.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f69cd4524c96d428f2d1890ee59db3742e2fcdaccba32ebf5913571758a0ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.username or parsed.password or parsed.query or parsed.fragment\u0060 appears character-identically in 2 files \u2014 deeptutor/plugins/catalog.py, deeptutor/services/rag/pipelines/weknora/config.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/plugins/catalog.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"811605e74e4efff10a4fdd9a725cedff101417b3a62c6360a6d97f72bd7e11fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path == prefix or path.startswith(prefix \u002B \u0022/\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/modules/catalog.py, deeptutor/services/web_source/crawler.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":"deeptutor/modules/catalog.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c0646a5ddf47af0638e781c94cd509e1b8c8319d0c094859cd56616d996600"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pending is not None and not pending.done()\u0060 appears character-identically in 2 files \u2014 deeptutor/runtime/memory_reclaim.py, deeptutor/services/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":"deeptutor/runtime/memory_reclaim.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d72c0d668b3792f86a41c453d13b22b1f42086f68999d168c8b0ee07041ff5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060policy.get(\u0022allowed_surfaces\u0022) or [\u0022chat\u0022, \u0022reading\u0022]\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/multi_user.py, deeptutor/multi_user/learning_access.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":"deeptutor/api/routers/multi_user.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"484196f77944ed121f5d76755bce0eefceaab8bb82d5d5be9418aa5f6cf0cf3e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prefix and not p.startswith(prefix \u002B \u0022/\u0022) and p != prefix\u0060 appears character-identically in 2 files \u2014 deeptutor/services/github_source/client.py, deeptutor/services/github_source/sync.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":"deeptutor/services/github_source/client.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc22edbed80f3c8992ee01bb5cbfa95b0cfbdafc841ea2d526212caf6266f6b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previous and len(messages) \u003E= len(previous) and messages[: len(previous)] == previous\u0060 appears character-identically in 2 files \u2014 deeptutor/services/llm/provider_core/claude_code_provider.py, deeptutor/services/llm/provider_core/codebuddy_provider.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":"deeptutor/services/llm/provider_core/claude_code_provider.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e4e613c19fe0835d28bd3f12e15d0cccfa9727659e3baea8d1dcba1e2273aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060profile in service.get(\u0022profiles\u0022, []) or []\u0060 appears character-identically in 2 files \u2014 deeptutor/services/config/provider_runtime.py, deeptutor/services/model_selection/llm.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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ad9e1bd072ff1707d888ff6b2cb5f6af0281348f7a22a414755270e8e1ae0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060proposal.description or \u0022Overview chapter.\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/book/agents/spine_agent.py, deeptutor/book/agents/spine_synthesizer.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":"deeptutor/book/agents/spine_agent.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4da26114e745916bb5659b13f539d7881d598dcbae69d5f8b90af4e66d664ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060question.get(\u0022knowledge_point_id\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/book.py, deeptutor/api/routers/reading_extensions.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":"deeptutor/api/routers/book.py"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"513b53767cc37a355e34634d7dd37bf96a688dcf49d5b6ae459b1d06837b47ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw.startswith(\u0022__MACOSX/\u0022) or rel.name.startswith(\u0022.\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/services/skill/hub.py, deeptutor/visualizers/store.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/skill/hub.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc8a65a5092cbdaeac3a3bc45ee808f6e5e4208077b68479b53fad9120d52f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reasoning_effort and reasoning_effort.lower() != \u0022none\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/llm/provider_core/azure_openai_provider.py, deeptutor/services/llm/provider_core/openai_compat_provider.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":"deeptutor/services/llm/provider_core/azure_openai_provider.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa3b2af4f8be6a6c7f86b860fa51671b6192b6fffbf924b6f18d31336a09fa4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reasoning_effort or self.reasoning_effort\u0060 appears character-identically in 2 files \u2014 deeptutor/agents/question/pipeline.py, deeptutor/agents/research/pipeline.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7d966e152c1334c2ec76a4c592f5a0870f921b902e4a7f8b1fa16155362266"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.get(\u0022filename\u0022) or \u0022Untitled file\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/partners/runtime.py, deeptutor/services/session/source_inventory.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":"deeptutor/services/partners/runtime.py"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c797b6aac2b385ce6fdc4a329f98240bdc9a446745f78486a94e7522e9b8e966"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.status != \u0022enabled\u0022 or record.manifest is None or record.installation is None\u0060 appears character-identically in 2 files \u2014 deeptutor/plugins/runtime.py, deeptutor/runtime/registry/capability_registry.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/plugins/runtime.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1996db0882f9207a65c6badd8e1272ac909463beccd15216de39c2ed8003135"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ref.title and ref.source_href.startswith(\u0022#t=\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/capabilities/reading/capability.py, deeptutor/reading/service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/reading/capability.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40f72059121c656583dd14f283df64dae1d37ab621dc430c1bea9a722c143b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060relative.is_absolute() or \u0022..\u0022 in relative.parts\u0060 appears character-identically in 2 files \u2014 deeptutor/services/rag/pipelines/lightrag/sidecar.py, deeptutor/services/rag/visual_assets.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":"deeptutor/services/rag/pipelines/lightrag/sidecar.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"681ca3fd965e0eae12d2e61625d9aef8e98efcecfcd6ff9438643cc005418216"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requirement.url or requirement.marker or requirement.extras\u0060 appears character-identically in 2 files \u2014 deeptutor/plugins/catalog.py, deeptutor/plugins/manifest.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":"deeptutor/plugins/catalog.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6be2035be33eb9186e486f6d416baa57fa9fa610dc82735bcc7ed603794fcf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolved is None or not resolved.can_edit\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/book.py, deeptutor/book/authoring_tool.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":"deeptutor/api/routers/book.py"},"region":{"startLine":1844}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c66664e0dcb5de174412e55a6bb3bcc9e1661a51a3588a0a3e5c1719c099c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resp.headers.get(\u0022content-type\u0022) or \u0022image/png\u0022\u0060 appears character-identically in 3 files \u2014 deeptutor/services/imagegen/adapters/chat_completions.py, deeptutor/services/imagegen/adapters/dashscope.py, deeptutor/services/imagegen/adapters/openai_compat.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":"deeptutor/services/imagegen/adapters/chat_completions.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f226da798db5419dea9007fdbf9fa8d91ee0387bcc1a24efb2790736ba5de256"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status_code \u003E= 500 or response.status_code == 429\u0060 appears character-identically in 2 files \u2014 deeptutor/services/mcp/oauth.py, deeptutor/services/web_source/robots.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":"deeptutor/services/mcp/oauth.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7ae7b943c235ed34963e2c1ef1a6e5c9c161c5683f7696eed8144c95170dcd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.get(\u0022answer\u0022) or result.get(\u0022content\u0022) or \u0022\u0022\u0060 appears character-identically in 4 files \u2014 deeptutor/book/agents/source_explorer.py, deeptutor/book/blocks/_rag_helpers.py, deeptutor/capabilities/audio_overview/pipeline.py, deeptutor/services/rag/service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dd4a4e56bd78549d9e389b1296918606143e52a4e4b625e7d003975e9df2f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.get(\u0022answer\u0022) or result.get(\u0022content\u0022, \u0022\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/tools/builtin/__init__.py, deeptutor_cli/kb.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":"deeptutor/tools/builtin/__init__.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23230cb54a0d49a3e3cce540ce4ed4784f1982d06492c1581f44860992da381"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.get(\u0022content\u0022) or result.get(\u0022answer\u0022) or \u0022\u0022\u0060 appears character-identically in 3 files \u2014 deeptutor/learning/topic_generation.py, deeptutor/services/rag/eval/runner.py, deeptutor/services/rag/smart_retriever.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":"deeptutor/learning/topic_generation.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9851282bad2c55347f2e240c2ca61b1c60a60f6046bfdc689163f1c54d7f350"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.get(\u0022error_type\u0022) or result.get(\u0022needs_reindex\u0022)\u0060 appears character-identically in 4 files \u2014 deeptutor/book/blocks/_rag_helpers.py, deeptutor/capabilities/audio_overview/pipeline.py, deeptutor/services/rag/service.py, deeptutor/tools/builtin/__init__.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":"deeptutor/book/blocks/_rag_helpers.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3dbf9eac4f395f5574956c857bc08d7deabf28d0236eba2ec4c138a661bb9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row in metadata.get(\u0022formatStreams\u0022) or []\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/video_learning.py, deeptutor/video_learning/service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/video_learning.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a096be61df8046496f79efc2de5765d0627cb25703fdb2420f3994966ba6b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row in payload.get(\u0022organic_results\u0022) or []\u0060 appears character-identically in 2 files \u2014 deeptutor/services/search/providers/google_browser_scraper.py, deeptutor/services/search/providers/searchapi.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":"deeptutor/services/search/providers/google_browser_scraper.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bad2779ac6a6b63d27f4143e494504dc53329ebc0e214dd2242d1d98558789a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row in self._read_settings().get(\u0022bindings\u0022) or []\u0060 appears character-identically in 2 files \u2014 deeptutor/services/workspace/catalog.py, deeptutor/services/workspace/service.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/catalog.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"003873ea628d6f2f1aa9b1929ae7d93095ed53265ca64e5a974f01039c9487b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row[\u0022kind\u0022] != \u0022workspace\u0022 or row[\u0022status\u0022] != \u0022ready\u0022\u0060 appears character-identically in 3 files \u2014 deeptutor/services/partner_groups/store.py, deeptutor/services/persona/service.py, deeptutor/services/task_board.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":"deeptutor/services/partner_groups/store.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"80403a2440c2baec0652f8a07ad2bf71612934434dc5b8a7fee86dccc3953116"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.get_prompt(\u0022system\u0022) or _FALLBACK_SYSTEM\u0060 appears character-identically in 2 files \u2014 deeptutor/book/agents/ideation_agent.py, deeptutor/book/agents/spine_agent.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/ideation_agent.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fec4bde91594c71b46023cc97c3980b6b24d059da0a406844b4c020c3218d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.get_prompt(\u0022user_template\u0022) or _FALLBACK_USER\u0060 appears character-identically in 2 files \u2014 deeptutor/book/agents/ideation_agent.py, deeptutor/book/agents/spine_agent.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/ideation_agent.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b380e0a2d3e045b82eb7c27b7ee87078a83a7c4bc85211389986cab9b32932d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.origin_ref and self.origin_ref != self.session_id\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/question_notebook.py, deeptutor/learning/assessment.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":"deeptutor/api/routers/question_notebook.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca0dab02f375ced7662a7b91d579f5ae70a75678c88dae567afb55be69d88bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session.get(\u0022compressed_summary\u0022, \u0022\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/capabilities/mastery/memory.py, deeptutor/services/session/context_builder.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/mastery/memory.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ae8b5dee1030401daba0343f1ddcd88aa18026bf26302733d0805da9fbd94d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session.get(\u0022summary_up_to_msg_id\u0022, 0) or 0\u0060 appears character-identically in 2 files \u2014 deeptutor/capabilities/mastery/memory.py, deeptutor/services/session/context_builder.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/mastery/memory.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"456fd8aecda1c21edb35ccccc17f9d9ee6f85000a01654a756b29c0bad49fba7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session.get(\u0022title\u0022) or \u0022Imported video conversation\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/sessions.py, deeptutor/services/session/turns/request_preparer.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":"deeptutor/api/routers/sessions.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3061891ea6062df56e934a61674e2e60098fa43b141fd6331cb22ffd36b073e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session_id or f\u0022deeptutor-{uuid.uuid4().hex}\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/subagent/deepseek_harness.py, deeptutor/services/subagent/openclaw.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":"deeptutor/services/subagent/deepseek_harness.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc7867fbdbfec2fc5760d228353a502a0f8cad049f3b8f33382a3e8ff4bfead"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session_id or f\u0022unified_{int(now * 1000)}_{uuid.uuid4().hex[:8]}\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/session/pocketbase_store.py, deeptutor/services/session/sqlite_store.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a48112a6df19672e62959ca31f2243aabc055bc0b201e02a5bc1800dc7533af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settings.get(\u0022response_type\u0022) or \u0022Multiple Paragraphs\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/rag/pipelines/graphrag/config.py, deeptutor/services/rag/pipelines/lightrag/config.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/graphrag/config.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"84741cde22633b7ac7753f69635e4f2dbb84a0c6ca153a50e92197feb0b2b2cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source.is_symlink() or not source.is_file()\u0060 appears character-identically in 3 files \u2014 deeptutor/services/rag/pipelines/lightrag/ingress.py, deeptutor/services/rag/pipelines/lightrag/parser.py, deeptutor/services/storage/attachment_store.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/ingress.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f70aac43145edad4c8910524e4e2f55de8e7801e3c1f34e865892982920c20a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060src.get(\u0022text\u0022) or src.get(\u0022snippet\u0022) or src.get(\u0022content\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/book/agents/source_explorer.py, deeptutor/book/blocks/_rag_helpers.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":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a6594236403ae7ddaab2cc727d25bbbd9ab133972ce0d1e393bbf47838f1fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state[\u0022enabled\u0022] and state[\u0022session_key\u0022] != validate_session_key(session_key)\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/partners.py, deeptutor/services/partners/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":"deeptutor/api/routers/partners.py"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ef9c4e304623a32614cc7da240d5cb71af590617a3e946b20c91ae2633fca0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stream_id is not None and buf.stream_id is not None and buf.stream_id != stream_id\u0060 appears character-identically in 2 files \u2014 deeptutor/partners/channels/discord.py, deeptutor/partners/channels/telegram.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":"deeptutor/partners/channels/discord.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de0434cc9c24029e6be468327d9884ec9d4464554ee2118c549b328fbd95aa7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060system_prompt or \u0022You are a helpful assistant.\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/llm/client.py, deeptutor/services/llm/image_description.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":"deeptutor/services/llm/client.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cdd2a84732b60d28397321ed06554cc52c9c7e08c98a4fd1fe50e89e79cdcc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tc in getattr(delta, \u0022tool_calls\u0022, None) or []\u0060 appears character-identically in 2 files \u2014 deeptutor/capabilities/explore_context/explorer.py, deeptutor/services/llm/provider_core/openai_compat_provider.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":"deeptutor/capabilities/explore_context/explorer.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1c88ed653e92d535dcb5401931a55cdd2f885ebfb7ec8c50c9533df668d046"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tc_delta in getattr(delta, \u0022tool_calls\u0022, None) or []\u0060 appears character-identically in 2 files \u2014 deeptutor/agents/loop/agent_loop.py, deeptutor/runtime/agentic/labeled_step.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":"deeptutor/agents/loop/agent_loop.py"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b760ec664c406cbc9d133ae28e9036bfd59ee15f264fb06e1425b1825a9d014"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text.startswith(\u0022\u0060\u0060\u0060\u0022) or text.endswith(\u0022\u0060\u0060\u0060\u0022)\u0060 appears character-identically in 2 files \u2014 deeptutor/services/chat_hints.py, deeptutor/services/reading_hints.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":"deeptutor/services/chat_hints.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2d1a05ce5d7dcbadcd341736bf0f2794d9ffef9c55241700b5a5fc7aa15733"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060truncate_field(text) or \u0022(empty result)\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/subagent/claude_code.py, deeptutor/services/subagent/kimi.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":"deeptutor/services/subagent/claude_code.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaef7d4a9863b01cf718da1bf31936210eef1083662d858eeb2a1dba34344b05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060turn_id or f\u0022turn_{int(now * 1000)}_{uuid.uuid4().hex[:10]}\u0022\u0060 appears character-identically in 2 files \u2014 deeptutor/services/session/pocketbase_store.py, deeptutor/services/session/sqlite_store.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d0e9cbbdf0ee082d88cd1ac3fe61d77c28fa0c6ad9603312431b8ab06b1778"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060worker is not None and not worker.done()\u0060 appears character-identically in 2 files \u2014 deeptutor/api/routers/reading_extensions.py, deeptutor/book/engine.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/reading_extensions.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21fbc4bab16823eee4cc237410c4aa9df893e4e5ab314b9301298a82b9a05f6"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060parseRuntimeStatus\u0060 is exported, takes a document from its caller (line 79) and hands it to \u0060hasCredentialLikeKey\u0060, which calls itself at line 50 (\u0060hasCredentialLikeKey\u0060) with a piece of \u0060value\u0060 (and at line 53) \u2014 and nowhere in \u0060hasCredentialLikeKey\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 \u0060hasCredentialLikeKey\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/runtime-status/model.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6c309d7a8d6bea62016d13bb2bab6ac4f958c4f2c4dbefb86d209679721203"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060blockPreview\u0060 is exported, takes a document from its caller (line 27) and hands it to \u0060inlineText\u0060, which calls itself at line 13 (\u0060inlineText\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060inlineText\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 \u0060inlineText\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/model/blocks.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d57b6fa6077840684a6b6568f91701d7901f6c729ae3cc7dcda96e336edfb6"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060blockPreview\u0060 is exported and takes \u0060block: NoteBlock\u0060 from its caller, and it calls itself at line 100 (\u0060blockPreview\u0060) with a piece of \u0060block\u0060 \u2014 and nowhere in \u0060blockPreview\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 \u0060blockPreview\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/model/blocks.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b47159f12b15998416fc264365b048ec8c83a23506c3d4c34d466ed2d4df1ee"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060inlineText\u0060 is exported and takes \u0060content: unknown\u0060 from its caller, and it calls itself at line 76 (\u0060inlineText\u0060) with a piece of \u0060content\u0060 \u2014 and nowhere in \u0060inlineText\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 \u0060inlineText\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/features/notes/model/threads.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f6bf65cf673ab7a1d16febcffa9387e571ad291e2d55edf7d6df2a7001e934"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060estimateValue\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 25 (\u0060estimateValue\u0060) with a piece of \u0060value\u0060 (and at line 31) \u2014 and nowhere in \u0060estimateValue\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 \u0060estimateValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat-engine/src/context/conversation.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"04757d69ab54640a64938e1d9282e63d4e246e7a86f9b2b0dcfe298349ac9ebc"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060save_config\u0060 is public, takes a document from its caller (line 69) and hands it to \u0060_deep_update\u0060, which calls itself at line 51 (\u0060self._deep_update\u0060) with a piece of \u0060target\u0060 \u2014 and nowhere in \u0060_deep_update\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_deep_update\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/config_manager.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a3509ad737dadf5e532d0b04cb962ae6cb18f0fa803164e6dc6e96a3b8fdec"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060render_docx_text\u0060 is public, takes a document from its caller (line 431) and hands it to \u0060_render_omml\u0060, which calls itself at line 422 (\u0060_render_omml\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060_render_omml\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_render_omml\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/document_images.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"8353a6a6e00655fc4e8c42e53a2356a45f6295d4a95e5106c00c322d0a4c592c"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060render_docx_text\u0060 is public and takes \u0060node: Any\u0060 from its caller, and it calls itself at line 443 (\u0060render_docx_text\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060render_docx_text\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 \u0060render_docx_text\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/document_images.py"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"010c632c3d4316c1d6b77e71d700ad3cc74fb7394c2bfe91c114c9645b7eebfb"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060build_pdf_documents\u0060 is public, takes a document from its caller (line 145) and hands it to \u0060_list_item_pieces\u0060, which calls itself at line 127 (\u0060_list_item_pieces\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060_list_item_pieces\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_list_item_pieces\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/source_pages.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68c2ff3e8ddd2bd4c18b3ae9b26df3ee966f13d1cc9438f52780bf76db2c530"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060public_policy\u0060 is public and takes \u0060policy: dict[str, Any]\u0060 from its caller, and it calls itself at line 668 (\u0060public_policy\u0060) with a piece of \u0060policy\u0060 (and at line 673) \u2014 and nowhere in \u0060public_policy\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 \u0060public_policy\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/lightrag/indexing_policy.py"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"184cafc57cdd9ab9e0b638da10bf903abb00520a4367ba91e9fcccb85353315b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060mask_channel_secrets\u0060 is public, takes a document from its caller (line 150) and hands it to \u0060_walk\u0060, which calls itself at line 155 (\u0060_walk\u0060) with a piece of \u0060value\u0060 (and at line 157, line 159) \u2014 and nowhere in \u0060_walk\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_walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/partners/manager.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e95b579595cb3da90c9e629ee2b512743b64dfb5045177af18af48df11e3da"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060save_memory_settings\u0060 is public, takes a document from its caller (line 82) and hands it to \u0060_from_dict\u0060, which calls itself at line 132 (\u0060_from_dict\u0060) with a piece of \u0060raw\u0060 (and at line 137) \u2014 and nowhere in \u0060_from_dict\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_from_dict\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/settings.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32935564cdb7bc6d9620df3a1ebddbba335f7c7ea9f345c3d6a63e24ab547a7"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060resolve_references\u0060 is public and takes \u0060payload: Any\u0060 from its caller, and it calls itself at line 125 (\u0060resolve_references\u0060) with a piece of \u0060payload\u0060 (and at line 127) \u2014 and nowhere in \u0060resolve_references\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 \u0060resolve_references\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/mcp/secrets.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b752b7c231f858d35381e8c1161001b7273df7c9578d6351b73c32f21672645"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060estimate_prompt_tokens\u0060 is public, takes a document from its caller (line 15) and hands it to \u0060without_image_payloads\u0060, which calls itself at line 36 (\u0060without_image_payloads\u0060) with a piece of \u0060value\u0060 (and at line 40) \u2014 and nowhere in \u0060without_image_payloads\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 \u0060without_image_payloads\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/usage_estimation.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"391f0c7a422c059e98bf52fed23e8c446c2bab4734fc3391922e9a369866e51b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060extract_response_content\u0060 is public and takes \u0060message: object\u0060 from its caller, and it calls itself at line 349 (\u0060extract_response_content\u0060) with a piece of \u0060message\u0060 \u2014 and nowhere in \u0060extract_response_content\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 \u0060extract_response_content\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/utils.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9899b3adf76d7e8bcec2914ffaa7e0b64a39142364a6b2b1dc5456815259cb2"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060chat\u0060 is public and takes \u0060extra_kwargs: Any\u0060 from its caller, and it calls itself at line 1259 (\u0060self.chat\u0060) with a piece of \u0060extra_kwargs\u0060 \u2014 and nowhere in \u0060chat\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 \u0060chat\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"925055a5257e2d1a1d9f9e9c6c36561eacc502ae36f21d74b0921f475e85b48e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060chat_stream\u0060 is public and takes \u0060extra_kwargs: Any\u0060 from its caller, and it calls itself at line 1532 (\u0060self.chat_stream\u0060) with a piece of \u0060extra_kwargs\u0060 \u2014 and nowhere in \u0060chat_stream\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 \u0060chat_stream\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/openai_compat_provider.py"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"53251949ddfdd990440e1ff8759d055166edb4293477aa2ddf530ee269afd5f9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060restore_catalog_secrets\u0060 is public, takes a document from its caller (line 99) and hands it to \u0060_restore_secret_value\u0060, which calls itself at line 83 (\u0060_restore_secret_value\u0060) with a piece of \u0060proposed\u0060 (and at line 87) \u2014 and nowhere in \u0060_restore_secret_value\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_restore_secret_value\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f17ab3310f171a67d44903f0380338ec9a46d5af486fb0648157e1647659142"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060normalize_origins\u0060 is public, takes a document from its caller (line 47) and hands it to \u0060_raw_origin_items\u0060, which calls itself at line 16 (\u0060_raw_origin_items\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060_raw_origin_items\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_raw_origin_items\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/origins.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f6420355cc07115c2616ee56bac0aabf92911a265a1bddf025242cb6f98532"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060inline_markdown\u0060 is public and takes \u0060content: Any\u0060 from its caller, and it calls itself at line 203 (\u0060inline_markdown\u0060) with a piece of \u0060content\u0060 \u2014 and nowhere in \u0060inline_markdown\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 \u0060inline_markdown\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/notes/blocks.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bc3f133dc6f8d5653aab0b3ccf5dad9ee480db38bc61b2a354073ce692ee65"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060validate_grant\u0060 is public, takes a document from its caller (line 316) and hands it to \u0060walk\u0060, which calls itself at line 329 (\u0060walk\u0060) with a piece of \u0060value\u0060 (and at line 332) \u2014 and nowhere in \u0060walk\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 \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/multi_user/grants.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67cdc612cb53dce795fb61de07dc4041f6a5956b52fb48f2edd9f23a0c66538"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060exact_diff\u0060 is public and takes \u0060before: Any\u0060 from its caller, and it calls itself at line 47 (\u0060exact_diff\u0060) with a piece of \u0060before\u0060 (and at line 63) \u2014 and nowhere in \u0060exact_diff\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 \u0060exact_diff\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/learning/outline_revision.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee22a867788b08ba1d209832b0e29919ba12f587de16050dfb0d991671aae197"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060append_history\u0060 is public, takes a document from its caller (line 76) and hands it to \u0060_clip_history_value\u0060, which calls itself at line 72 (\u0060_clip_history_value\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060_clip_history_value\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_clip_history_value\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/co_writer/edit_agent.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e209ad12eb66b34559499afe83e30d9ad7d2f3b2939f7cc06b885031d3a36731"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060inline_refs\u0060 is public, takes a document from its caller (line 49) and hands it to \u0060_walk\u0060, which calls itself at line 68 (\u0060_walk\u0060) with a piece of \u0060node\u0060 (and at line 69, line 71) \u2014 and nowhere in \u0060_walk\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_walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/_partners_channel_schema.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2f0e80388cdbef3c8ccfa0fec0477c91f7bc93653e6121a363d0da841f2311"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060collect_secret_fields\u0060 is public and takes \u0060schema: dict[str, Any]\u0060 from its caller, and it calls itself at line 116 (\u0060collect_secret_fields\u0060) with a piece of \u0060schema\u0060 \u2014 and nowhere in \u0060collect_secret_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 \u0060collect_secret_fields\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/_partners_channel_schema.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"387d060bf6974a2d1f76d3e1ac851d833173316c595eb28761e4fd8c155d1efa"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 10/15 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: apiFetch: \u0060apiFetch\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":"web/shared/api/client.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4ede8ceb4c5ff8184ca9b33f68008cf309d7bfdecabbd0d6e4e69efe361360"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: waitForServer: \u0060waitForServer\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":"web/scripts/route_budgets.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"155cababab532142c947e6a90ba21e1341c1576d550a093e5c33c2fc118d82ce"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadRouteChunks: \u0060loadRouteChunks\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":"web/scripts/route_budgets.mjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f86582ac602a4a3386ceda2693dcc9e6e2c688129bd5a46c107c1dbcab7e077"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: assertRootRedirect: \u0060assertRootRedirect\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":"web/scripts/route_budgets.mjs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5e0f59187bb68bb01bc73063cae218c2c7a7278419eb49dea33f3f78e942da"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchNode: \u0060fetchNode\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":"apps/desktop/scripts/build-runtime.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"01303bb964143ed199c830ebf55fc1b4e4605630421cc679b3353bb64da35496"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060themeScript\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":"web/components/ThemeScript.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d326e3d70c1d80ae3d43808f68558d1d6acd91ada6da5a2b4a5f3d38ef402c68"}},{"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":"web/components/partners/WeixinQrLogin.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c461d4e779daae284661504758604c06c0c689e6291daba534ddc86e1e97802"}},{"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 \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":"web/features/notes/components/NoteMath.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0470338b9e9e77cd0eab33980c108826a7d945b84a5a80637f2a81f0cc0dbd"}},{"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":"web/shared/storage/store.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4686148efd3b3f50c34320f06388be9a7c304ab80479a8d694008d83a13625"}},{"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":"web/shared/storage/store.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b4d48d39bf8e1115d94cb4bf935a7b33b0cbb764f6ad48fabc22cbd1b8394a"}},{"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":"web/shared/api/client.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2af8533801fc0909972831511a18807e768bd24a0fac85038b4d2fdf5a984b"}},{"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":"web/scripts/dev.mjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8444eda9785377b012861d5e95a1fae8e94ec14d08969fb24c0f2cc5fd39146b"}},{"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":"web/scripts/route_budgets.mjs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"791ee27f6cace4b8923336dbf1bd7d3842c586b8ba0b2a449739a0ae5de67bdd"}},{"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":"web/lib/app-update.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac60066cb43d752957b2005af189dd4cd5ebff50427efa0523865e3be7d6bd1"}},{"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":"web/lib/auth.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5b6dea0fb83b4f0f768709dedfae018f46e0be3b485d5c955ec5d9bc35947a"}},{"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":"web/lib/auth.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d96abf7395845644220bce9ea2cfdfd59181b6882e945b905f3e426c151994"}},{"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":"web/lib/book-ws-operation.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e99d2a3d78bdd0d7a12be5cdaa3d7124b303f3818135e1e2c07752a5023a6a"}},{"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":"web/lib/book-ws-operation.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe40b4758d374cf4a23d6bf9aef2b3ca810852ba08fc487be19bb0b95ca2f69"}},{"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":"web/lib/chat-markdown-note.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73046be7451b153d15d4ee76950ed6c2b630ab12d634ee9112519ddd986b93a"}},{"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":"web/lib/chat-markdown-note.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f6da41ca8372142c3ccdc4f4b36d2e98950cf05bc9a65555f720c3d54329f4"}},{"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":"web/lib/chat-markdown-note.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21cd3cb37888e4ef39c49e741b0d4ba46292460f508c63747d58de963e9e2fb"}},{"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":"web/lib/cli-apps-api.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"443ebe6b4756aa6c5e6e437ce37bc87ef3f5386771f01f82f37d36e19797e11a"}},{"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":"web/lib/clipboard.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc69c2babae01480dda2b9e2d11e78d7dcc93d917f2bfceb778c05ebad8f36b"}},{"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":"web/lib/codex-oauth.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5a057f64c75538265327d7b56e4871a072ab7a3240dd018cc63a80562dc91c"}},{"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":"web/lib/failed-submissions.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cff4f051f598ec19f89dbb7e7af671dc2290d8fefe2bb353a8561d0d885d3c"}},{"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":"web/lib/failed-submissions.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aad82f31e06e5ab3f661213e99a5515c90c26941897705642937eff6dc835e"}},{"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":"web/lib/learning-api.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"21550121ad1fe51b3d79e26d0638b2878eae3dfbed260377bd2a8e6a8593257e"}},{"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":"web/lib/mcp-api.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ee23e790ecf151cf3e5ba61818b622e5d9b3705eedd802240321bc841334e9"}},{"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":"web/lib/notebook-api.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d675216b0520c61e879e7209c7a58619d54dda2ceb25e42339829dfb37e62f0"}},{"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":"web/lib/notifications.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b40d8c43edbd6ccc2472ce5566f1f761e7358072ecfb5c47fc79aa2cee0a97"}},{"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":"web/lib/partner-session.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a316e7cba6aea5f012100b1dc5bfffd587436b46bc6b213d2d9ad00e8aed5a19"}},{"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":"web/lib/pending-llm-selection.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a235264f3f86716860af8ab9590f8aff852d9fc3fdfea8ad29f38ad885a0c1"}},{"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":"web/lib/pending-llm-selection.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6463470e94a15189d94c6a3ad7751169efb934c83f988b27c6dcc04f66040147"}},{"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":"web/lib/pending-prompt.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"740537198261c129f681df5ac8c5b92c87cf317376addeadf33f45b1f31e7f45"}},{"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":"web/lib/profile-api.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"739d81129f0bfa542fba3f545e7ee28b0aaa333c6f28ba6268431cf3ec0c50dd"}},{"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":"web/lib/quiz-judge.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7a867988d4d6d7a23dfca9f70889428f61933e642bbb79b3d24fb3933b5bb7"}},{"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":"web/lib/quiz-judge.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd11c5489b98cb0c1841cf8abd78a249d8930e792944f42d952a6da84706043c"}},{"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":"web/lib/quiz-judge.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"627f777a7cc758cf4f3a9433750d3476dae46b3ca430535479d4be8eddebc0ae"}},{"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":"web/lib/reading-annotation-sync.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34768fc954bbe2bca2c466cb67180b3711a890acdbb2b51b4fdd61acf27187e"}},{"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":"web/lib/reading-annotation-sync.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d8dd4818cf68cf52358265083fa8cada1580c43c6a7c26b5a7408bea97b32b"}},{"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":"web/lib/reading-api.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7412bd77712be6381eaee22e3305cc29887374b98497e300277bbe56486e5ae0"}},{"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":"web/lib/reading-api.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed16b82efa39c1926ebd7ed888d58f29ee35056e29797bea7f8680742564b2d6"}},{"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":"web/lib/reading-api.ts"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f390419115da722ed512b52c9500d829435b15f9df2a5a5626ac6f9fae434ad"}},{"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":"web/lib/reading-location-history.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fae56ec5ab6ea902b073827233d0d08ecc279040601ba7ba6d770f353e6db47"}},{"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":"web/lib/reading-workspace-api.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f2cfefa3d4d0fe7d5b45b041626d1dd7e1de3417121af238eec063c20e4808"}},{"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":"web/lib/sidebar-layout.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21a0bc8dc9ba98ab5e7de1dc055be084f8250672a5ec62eda029b204d603692"}},{"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":"web/lib/use-book-stream.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec29d394fe3e2e6f01c077d170316c4bf22e48e6ad65f0e94fa9bb880d49dd2"}},{"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":"web/lib/use-book-stream.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c753db523d687879bb7eb2e5991eb0d3675dcd24c648e9191fd6c4eb47c21ca"}},{"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":"web/lib/use-book-stream.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64a3382484836f6c6370dc296a06353a06cb8dee0fcbecc0545dc7a060162e1"}},{"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":"web/lib/chat-import/claude-code.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e3fbf136f426ec8120c0889bd32d0f39091d04aff94e10449963a9bcb79a37"}},{"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":"web/lib/chat-import/codex.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d7e026cf1a18b09af7611fce26d462c78d4881ddfa78a40898e3959c527bb7"}},{"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":"web/lib/chat-import/index.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e5f8dc1b9e806d50bc6f3d9ae2f15e7e8b84c577fd77fdfc1990fb6c22d8a0"}},{"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":"web/lib/chat-import/streaming.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9acef22be5be610948a7a87c08fadef54db6b1a74b6481813b6fbca42215503"}},{"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":"web/hooks/useCollapsiblePanel.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"914996e140de20a61b4a9c0e0a59f5b5e861c4568a79f8f1508bcb63aaa28647"}},{"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":"web/hooks/useCollapsiblePanel.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f191584e6cf3ec0f932159ef192d0568835658581e2912f7ebc20ddecfd8078"}},{"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":"web/hooks/useConsultationReference.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70ad6620db13d564e0a93c4029e43a1fc8e4d00e85919efa35efa7aa91f7d64"}},{"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":"web/hooks/useKnowledgeHistory.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e68930369b2b335beffd8419a778e31aba04c5e56057af8036c7e4b46a0c2e"}},{"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":"web/hooks/useKnowledgeHistory.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1d1a34bfa5ccc579778623bc90271cb0e6155d1dd436fdfeb12847d039803e"}},{"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":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3468e4b3cdf5aaa9602f4d6c56dfe433071955493a4e0882633428feef8d66e8"}},{"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":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0daca8f5561bf216a7f43e0f1bc4c06fcf915e24f5076338b97ce56c6c0595"}},{"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":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4cafe35164ace42978f03cc004865c6aee5e5d300292bc83be5ea9dfc50cf7"}},{"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":"web/hooks/useKnowledgeProgress.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"36082abbcca4b618994b869006b36ea760ee083c4022b8f06b4e26405fdff6b4"}},{"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":"web/hooks/useSessionOrganization.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7e466402ae7976326da1b65036fa95a06973630cd775ef973eb8099c87975a"}},{"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":"web/hooks/useSetupSync.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe089efc3b0b24a0fa8e42f145ef2c7e28c3e8c7479ff4328050835059cc60ac"}},{"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":"web/hooks/useVoiceAutoplay.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"27141bbebd96783082b3a9250be326e252b04480dfffa1e26c0b027ba5ed5c1a"}},{"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":"web/hooks/useVoiceAutoplay.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cd64398318bdd17c2c68b6e6c6fc87818c4efad62c1aa4d9bcd9044f7b7dfd"}},{"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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b734f47cfe8e27e651f21d7afeb9759323f6f4733e406a36575f7ec47bda23"}},{"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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c606205901eeb4bcbef6e860890f2ba64dae295722d2e7663c02888f514b296d"}},{"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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2516ed8b56c43e42b80bda0d38e83c4afca5fe966295060e518f3d44436c982"}},{"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":"web/features/settings/sections/AboutSettingsSection.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa843e7594e6a536e7a2af4cd79c653b8e402c6a917b9757163ec9648229a5ff"}},{"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":"web/features/settings/sections/ArchivedChatsSettingsSection.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a736fe5d43bb8e0ab52977b64cdba3040ac649cc9e749cd7b9e9232582ad8ad"}},{"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":"web/features/settings/sections/DataMigrationSettingsSection.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6c536dc38d1da8a72991488d194549494f12eeba78f01d05ddb00003950a8b"}},{"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":"web/features/settings/sections/DataMigrationSettingsSection.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5fdd2a42e7f83490a5f194a0680ff104e2b185aea31463a05759996afd33ee"}},{"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":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f816b9164baa8a4a9f85299bf0d2d0ca1ebecd1fa2af5e935f2ff2f81f6fba9d"}},{"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":"web/features/settings/sections/DocumentParsingSettingsSection.tsx"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"270b663f9f6dd4abd36e006da17f6329cd3f7df9730849e7eb09e96977bbd1db"}},{"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":"web/features/settings/navigation/settings-pages.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b190cff0a9a3c85cc60989224be681c6c078eefe495e6ae067f2b1c3c1af0c0"}},{"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":"web/features/notes/model/learning-kinds.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"69372836af0f32923e1c2ede6c7175b68d3683380d5d757084ccaa9e803169bd"}},{"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":"web/features/notes/components/NoteEditor.tsx"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"7932d28136235bc7f939cd8a8b63ba8da8f339f6d05c40c688569cffa2532611"}},{"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":"web/features/notes/components/NoteFavoriteBlock.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4f9782cfd5c22598ef2da62878eece73bef05174fc85e9fa7e3c6a9974179d"}},{"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":"web/features/notes/components/NoteLearningContent.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d519691aceaa078bd34e6ec68dbe3d22025bb2936d626bf6c11dd2f8ae13e0fa"}},{"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":"web/features/notes/components/NoteTaskBlock.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4d9084c6a76f24fc421eb36da853e5b02f5010ebb095764379ef15b83f8ca5"}},{"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":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"517c0512e84930b76722473b988ca5cdbb975ae76f219c563a39d7c1f70d1ae5"}},{"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":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a013fc7ea2340849300b5ffbb8f2528820321a586fa2541daa663965a0a788a5"}},{"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":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"244f8f53187b41224c5b88a9d38e3fbc68d987b10770801a591dd66f0041fb4f"}},{"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":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf8b2ae4dee2f67253435a7ef44cddf0f141118e86033c29a8d7a87a035c406"}},{"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":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d18d309ac2b24cf2caf48ed923a823a48c1f6e12b029b3ffde69adf9554004"}},{"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":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1cf3a35e191b0a6efe0665a42bad640540c01cd63c6f0022f11481fa1df18e"}},{"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":"web/features/notes/components/NoteWorkspace.tsx"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b469480ea0b7cc6218107d41888eb986e1cbae57c574d67243defeead0b0e2"}},{"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":"web/features/knowledge/api/client.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa66dc9e541c4ef1e7e1c25bbe7c8584a6b43bb1a9b145a1398d032a28a99af"}},{"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":"web/features/co-writer/hooks/useSplitPane.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef839225798c3f4e64952e2962261954a19f25392acb7e35fbbfcb81dc220ed3"}},{"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":"web/features/chat/ChatStateAdapter.tsx"},"region":{"startLine":2472}}}],"partialFingerprints":{"codehealthFindingId/v1":"2435cbb4275b67c26da50ba4efbb29da2a5bc13d8f73ca5c78ca42843198a994"}},{"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":"web/features/chat/messages/MessageThreadMarker.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64f60be68ace7f7874538b912473045af3adc0d878eee4c47675dd2e9756302"}},{"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":"web/features/chat/components/ChatWorkspace.tsx"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"658a32bb8054e58132c0ef327be9b669cfc5f0d3993845a73b0eb613124aee7d"}},{"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":"web/features/calendar/transport/api.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f85d0f7b7ac575d128a565a195f4c6b72c8af00d3e8094ef6e55218e0d6d39"}},{"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":"web/features/calendar/transport/export.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"38796a1b9c32646045dbf9721ec4542f3fe7ba20117995d5032b523e5e9249d3"}},{"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":"web/features/calendar/transport/export.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53ed42df8646b1f94e9b83ab7e9c95ee20b88c1ba89cd30b42fbaa0dad16d08"}},{"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":"web/features/calendar/store/calendar-store.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"381ffb708f77c5b947b89a04042c7f80075e5efd3452bb5dab794d64607035bc"}},{"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":"web/features/calendar/model/dates.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4209cd500e8cb7ca00abec92893d7f598220db42d38fb3532e83e568fe87cec"}},{"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":"web/features/calendar/components/CalendarPage.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f786ec72f16c0135a86aef464426ae7189dff19d23b4c7e65ac87709fdd2269"}},{"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":"web/features/calendar/components/CalendarRuntime.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9edf597e8cfa067f7d2a276f569063280573eaf9026e95334606274a04f2903"}},{"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":"web/features/calendar/components/CalendarRuntime.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c34dec624a77e95708633831dbfa6986e847238debb241bc3e89ca0da25c302"}},{"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":"web/features/calendar/components/CalendarRuntime.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f040ae0bba972112d4057a878efe51d3db7a4b4de14fe3bcf9b4eb50d966a80"}},{"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":"web/features/calendar/components/CalendarRuntime.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"871683a9b1e131bfad0e7ac764d40f4a623be61c2cb70774fd9bdfe50e6e353a"}},{"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":"web/context/app-shell-storage.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb22d378146654197d2614f9ff39f5fb5828416ff896d44e3aabee69fb63d13c"}},{"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":"web/context/app-shell-storage.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e2e41551915bcf8c1f78211c89d1312df8346f5a79dd4786b96eccd3d6822b"}},{"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":"web/context/app-shell-storage.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfdccd81a1aac12c5f9b38ce32ae92155566326c8e770dcb6df3b14771913d8"}},{"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":"web/context/app-shell-storage.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8b3f8e666e5d2f6cc6b0efa39ace7a21042a6e1323d4dae0306c80ccf03c84"}},{"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":"web/context/app-shell-storage.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"353697ff9b9a107bbf62f4b881e4483e8732b17441312363fe6ff25356884e25"}},{"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":"web/context/app-shell-storage.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"681a142d9f6bf1a3e2537d9ce3aa0508e3c61164017b5c31daed59d81b628c4f"}},{"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":"web/context/app-shell-storage.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"475b6fe404d5c550451048f7d47657c2c0effaf55828b6e569ac31258932d3a3"}},{"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":"web/context/app-shell-storage.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad97e9e463491edb4a7bc157d0b26f94edbb459a3cb3f711e94af994e4942b4"}},{"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":"web/context/AppShellContext.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da8a3c423b6705f22044580cd17ac7b89bc2a8200175a9f0130016d2fbc1d3a"}},{"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":"web/context/AppShellContext.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"278ebf26c5b3ea36d5fc9e1cae2b450116d4ac0971137a645024fd24c7fc9ddb"}},{"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":"web/components/Mermaid.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20f25b538a8a03bb43d2ee85a445f2a27f676a214f0f328ab4c9824c33fe3ef"}},{"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":"web/components/whisper/WhisperRoomChip.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3948619698a821abd74f458ab9cc532a0cb92bef75c3273595fad81a2eb06381"}},{"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":"web/components/watching/WatchingBrowser.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5350f0ec8db2c1863a8c57a251c598197981122173112db455b2d243922510"}},{"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":"web/components/watching/WatchingBrowser.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08273829521892b8afc7b499c6d5bb70bda31deb4d3adbf9f67ad5865d341c4"}},{"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":"web/components/watching/WatchingBrowser.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"63522d1c52e6f9dcc5b67170a445be6c0f5aa912690c8bf5ec82cda9ce1fe8be"}},{"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":"web/components/watching/WatchingBrowser.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bb2e9fc6a989904ae9728946eed63b67c2a8066ade364b0f07d2d2f8baa322"}},{"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":"web/components/voice/SpeechButton.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"24884fcb5a8a4f98ffb886822a3a451b3c1e2ac56138325f837e7dcab0351255"}},{"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":"web/components/voice/SpeechButton.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"af624810864cb8d5ae7b0c9ce0a8afaaf864034f3ef49d828cca1465992e26c9"}},{"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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"611321408f9134a4019efef4cb1dc04e68e00ccc4230ababf0aa7eac77ba8f4f"}},{"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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe54df18b03e473d139439a4cfa259b15c1c00a7b0b85794f843e7cd5ac967f"}},{"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":"web/components/space/ImportWizard.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc50792f019f1f3cfc43b6b4105a60fcb7883d687a90bb060a2ed19ba98a127"}},{"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":"web/components/space/SkillsSection.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7296e54987697ad4f31c24d4c263cf7e2eb35dbf79ad4da08848cdc6a2097a"}},{"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":"web/components/space/SpaceDashboard.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd63b7a7b4213f61028096ac56ab78d8bdeb222d67724c98a23570e9cb8a0806"}},{"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":"web/components/space/learning/MasteryStudy.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"711c33fc83a47139b4238c04c4c99dbd9e0adc194b5506d799e79624734d3004"}},{"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":"web/components/space/learning/MasteryStudy.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0586914b8b8d92643c582d90d1bb30ae0009f7312a16e8fcd4e9828eec354f"}},{"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":"web/components/space/learning/MasteryStudy.tsx"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"8829bf0c114655ebf353fb2c1d3d9491e17d790ccf84b3ba95959600ab8c2af1"}},{"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":"web/components/space/learning/PathTitle.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"99de802a0d38e68e7abfe63fbb3d5839d508a8c40aee832577f039aa699d581a"}},{"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":"web/components/settings/AddProviderPanel.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"feac9660f9c0b6e3e8982fe227afa38b271d85e8f201bdfce9da94179207a42c"}},{"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":"web/components/settings/MemoryUsageItem.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd852952b52c1014183bff72c9cfd7af989bb4a07adfb95e67057926bbb11c6"}},{"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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f19ccf918d572929ee664054ebb2e69b4bbdccf3f6649a45e9a68f1a8e8211"}},{"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":"web/components/settings/MinerUEngineSettings.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac778dff42ccf3943e9b63214b3607490e0356726f91e880a36680d2b8606a1"}},{"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":"web/components/settings/ModelCapabilityFields.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f018ba38d60026aefe7b80b69430656754505c59756a56d02d7d5a259233a66"}},{"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":"web/components/settings/ServicePreviewPanel.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da4a1a7eb4cfc62b6732139a1f2203f654866564f3c1a3e5e3a4dac417600b4"}},{"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":"web/components/settings/SettingsMain.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d11ea24dad653f8d8b7ede2a0b08ec5c8bcb816e4bf280ce90a6410a210a4d9"}},{"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":"web/components/settings/SettingsReturnTracker.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9823680c108c8b45b89f9fc3219c41d473ab23af3396953747a37ac88047c278"}},{"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":"web/components/reading/AnnotationPopover.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"730434ccaff2b3aef46cd93468b41123b8150f123e57fcdd7b628e7d31287f82"}},{"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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6793c850ec5b3e8f28fc10b6e831accaffc1326f0dd4d9af4351e77e1fd422d"}},{"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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c454e0f54f2135961ac0c21af5ea3a79163a73e8c6f0d3ba3d1d2f711457808d"}},{"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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"723f70c2242520fb1b4538af6a783dbc49cd671b270fe6e09af634e2c505969f"}},{"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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36df102d1d624470d06b707ccbf8d4b70abecd92176e11f587bebbd7fcbe889"}},{"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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b53d6fcda9317ceb23d065e93916ac0f34959b31aec99c3051070ad11eb22bf"}},{"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":"web/components/reading/EpubDocumentView.tsx"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e1464cd52c5e0ed733cf7eeab2305161d03942b3ef14e79ebd7ff13f03e9d3"}},{"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":"web/components/reading/PdfImageZoomOverlay.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6b9d82dfca98ff87508ab5e8991aa23523f6f1ca5c6da768232a0f31ddc21d"}},{"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":"web/components/reading/PdfPage.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a55c510f345d4b5c6b87d89817260cadfcfd987e3502516494275e1b623d5c"}},{"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":"web/components/reading/PdfPage.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb41e76743d02750b20cba6d4c843a5e6c5664bcce5f6c4da340aefa4c83bca9"}},{"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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09388f7eae1ca9df463ca1881a843df0a70dcd9a7e392d9f65bd436c5c4757a"}},{"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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b2f28d2575b9fdf2dcd099703cb6daa8ffdc813192ce2cda3752ab4a05c81e"}},{"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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5512a85c3b823378200b4386bf70391757b1dd5c31e5bf02d5e22ec06f5452"}},{"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":"web/components/reading/ReaderPane.tsx"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7c46cb43d1ca3e30266dc0353e2b7c1f21b1c2e3c545b888d9d52315095e38"}},{"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":"web/components/reading/ReadingActionsProvider.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bfec8a2da49056906aab080e90d32f566fc35d0bc67cf81e2f64b593453e89"}},{"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":"web/components/reading/workspace/useReadingWorkspace.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc8ddd11ae370d9dad0333166b98ad88c80280b4383eecbc4311e7c8fe523bd"}},{"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":"web/components/reading/library/LibraryShell.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e7c65316f71fa4b638be8fd07edac80fdcb8ccdb83da6fb74f8d7204bab445"}},{"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":"web/components/reading/library/ReadingFolder.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fab1093a61ae82912475cc6ecaeb25303d4f92b0847c677515b4e3dcedb1f5a"}},{"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":"web/components/quiz/QuizConfigPanel.tsx"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb66e8648fd443874d8912d00bad3a4d60a40daf5e3d99ba26857849ffe7870"}},{"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":"web/components/quiz/QuizFollowupTabBody.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3271c06b65ade8734fc7a2806f76969286b6792ae215a28166ecf02c6627f5"}},{"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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc27bfaef3988d58fe6738b6893f3446ac7482299e9a8ad1c3e5ab2c49799463"}},{"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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81a32608ccbf1ba10e2fe59a7295e10abbbc98a14808d9c0d20e4d0b9b59b4a"}},{"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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1a1adf6879e959f846bce9b37aa7d7cea1a8b6f85c0658c497248ca460a8a1"}},{"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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"798497c0743972c75ab8c566c3002dec5a5e8f7fb89d91d85e771fc441eb1c18"}},{"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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed790c83018886f5a8f30fa38a7fb5142c591a04da00ca4971035c32e3d2fcdd"}},{"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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f91c1caeba0b8798101387df1493f1a2652c37344d6bb11b6ad40b62b440d3e"}},{"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":"web/components/quiz/QuizViewer.tsx"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af8ad7bdc8bbf3f3663649f72d9a1a837fe20c0037c9f9021b5bc247c99a2ea"}},{"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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"98abef1541dc13f53f1778a159127e391528066043bc187817a00d18d23dc13b"}},{"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":"web/components/partners/PartnerChat.tsx"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c88bbfa33ac98d614db86631e88c0098c2913746d9be933573c04a523a4a67"}},{"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":"web/components/partners/PartnerComposer.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4656bf45a1229322efd26070241448ebdf4d7ef4e90e781a1b654cdaf6389092"}},{"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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dad24d29309da76ed2e6824b8910002b929ed5bd99722cb852b42e6ef91bcf"}},{"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":"web/components/partners/PartnerConfigure.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcae31938484b8b9fa42d492c859e533e14637103e88f1cc204b5591a9f8bc4e"}},{"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":"web/components/partners/group/useGroupSession.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"948b1eaab3868c4828ab2ace24359af19d57eaa6e66475f3fbc8be2ed62f38b8"}},{"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":"web/components/partners/group/GroupSessionPicker.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc87dde4c32867f499f53b19bc5e869232b835649263bd436a53cc4c936962c"}},{"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":"web/components/partners/group/PartnerSeat.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76378e8860e6f5c5dab2266a083696d7089f102ba11a4261ca1e3f031235eb4"}},{"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":"web/components/notebook/SaveToNotebookModal.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eced09871d5dc94ebdb012fb7d53cdf97868e81c6d46088c29b5ad4e7bbc1d0"}},{"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":"web/components/memory/useMemoryRun.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59f9fbd47a0e0c56199a6606faebac388bf65eef07cc01a78a839e514fcd343"}},{"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":"web/components/memory/useMemoryRun.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"789e8ce8d01feb70455b9fd74747712892235d32d78551e5d66763bc1abe8f3b"}},{"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":"web/components/memory/useMemoryRun.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"926872f581d567fdd373f279ddc3e5e3d64753cf6c01b7a4580fd4d875af02f7"}},{"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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a16231669b31f63e2b09461d326b88a61729dcd89f93a08d30e11f682cdb4c9"}},{"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":"web/components/knowledge/KbFilePreview.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bdafee820ef6166ee2dc6e2a42a2ae16241aeb842a83390f943b92c7414a5c"}},{"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":"web/components/knowledge/KbMarginNoteDevicesSection.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8c13674e9ec1c8b5a44e04ce47ca462cbac77a502e390da576eb3fe88422a8"}},{"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":"web/components/chat/HistorySessionPicker.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"238483d1b5011be8d1c042484ac5709ac9fa68c0649b1606890a8782d065e4ce"}},{"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":"web/components/chat/HistorySessionPicker.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"da275f8fb234c1af2d9eea67064266dd536376f0a7fa89c43b6ddc977d1c69ba"}},{"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":"web/components/chat/preview/FilePreviewDrawer.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda79ef7e532817e3ce249a1b27cd0af02af60412e7cd9acd54e1cd431494081"}},{"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":"web/components/chat/home/ComposerTrayFold.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"07595ebe92aca9b13eb7ec0cf8d933c40055d1d83e7bf9b033284fe4ca9eadf7"}},{"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":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2e20f8fad968963ca6e9dbcee34b33d9133ee19938aa84d8ff013398eb94b4"}},{"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":"web/components/chat/home/ChatComposer.tsx"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"16347732666e7c3620ec48d587a87a3d619acd5e2592d669ad72991870e53094"}},{"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":"web/components/chat/home/ConsultationTabBody.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56b6b7576b807a055e27113579fef341ece07039f633d28a2439cae0495aaf8"}},{"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":"web/components/chat/home/CreationDraftCard.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2667bc684c48e4c261d876792a2f0a6e126cc1062ed5787f38170e9f701454c5"}},{"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":"web/components/chat/home/SessionActivityPanel.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9063b22340499fa0993b76cdedf96f16f5cb8e7d1f517b7e5c8a1c8a2805696"}},{"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":"web/components/chat/home/SessionActivityPanel.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48db8bdc4ac2f8760b60292b3ae43e3a1cb6196125397e28941139f0bb08b64"}},{"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":"web/components/chat/home/SessionActivityPanel.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41deb98926315bb2f3fe5cf1c261990e7b92aa71f8efab930cf63ce7184c79f"}},{"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":"web/components/chat/home/SessionViewerPanel.tsx"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"91626f23fad9d3cad58630ed880138b7794566820f60b368253a2aec126684cf"}},{"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":"web/components/access/CapabilityAccessContext.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"855378bcc089319a5ad6efe10b3564897ae559491b9386aed23d14588d75d819"}},{"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":"web/app/(workspace)/partners/new/page.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f30fb5bdf840f937f7657ec97bb532ae07d3c3405eaaf1575a39cb1e66e0f2c"}},{"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":"web/app/(workspace)/learning/books/BooksRoute.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d4b5bf4108cb81ea64b6d729e8ea01f830a4e1b0ad5105d55ee6e3fc63da7d"}},{"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":"web/app/(workspace)/learning/books/BooksRoute.tsx"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c8ffbd6521b78ad43a418b8ac8e5d1f8be25e3793585f27045d4e8074cdbe0"}},{"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":"web/app/(workspace)/learning/books/components/BookHealthBanner.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"370ab47cc697dc67ebaf3b7a6c25aa0c7344f9cc326ae27c0f1f6d01d839d000"}},{"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":"web/app/(workspace)/learning/books/components/SpineEditor.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fefd55d48ff3f89e7f95d78a23c8daac3f41d8d376e061dcf1e98aa1857f910"}},{"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":"web/app/(workspace)/learning/books/components/SpineEditor.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5434d83d6d35a95bd9db5961b015c15748f43788453d1bfe063454ecda29459c"}},{"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":"web/app/(utility)/settings/progress/page.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecdb2389ab2537b16167fc36543b0cc46d91dbe978017c7699913ce9104ca6b"}},{"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":"packages/chat-engine/src/tools/ask-user-draft.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c462193b657eec94569fe1af389a4e739a107cface5b48509e5e10f524c45358"}},{"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":"packages/chat-engine/src/tools/workspace.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"84efe3f94ae995388224261a4a04b4d25ee27ca0af9187043736054afed72dfd"}},{"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":"packages/chat-engine/src/tools/workspace.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a10ef3ef690929ebec356fd40de8d9f9de3ff725eff2bcc62db7ba3cf83f74"}},{"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/chat-engine/src/tools/workspace.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efcdc6b138d14b0fed93a2bd6dd1e93e147f6a9769b9e15d97daf65c9a54542"}},{"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":"packages/chat-engine/src/providers/body.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"44277053e59b2a808932a44bba12d3aa92d57ab8ec9e22f83c78751d28a798ec"}},{"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":"packages/chat-engine/src/providers/body.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7243cdd10014408631fa4af160ccf1e7e346771e3672d4c07ae765ad8fbb8a2f"}},{"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":"packages/chat-engine/src/providers/service-call.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f020713163e9e98a96fef3ddb9c8752c8768c3dcebf411c5896335b309363ce4"}},{"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":"packages/chat-engine/src/providers/sse.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"885715aff67038b0b339e5f66e7bbb2f0c6a6882caa040291d2d6f9be24c0db1"}},{"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":"packages/chat-engine/src/providers/sse.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2148c645c4992b72f77024d235b3c860c2cd552daa29a257b14e4de479502aec"}},{"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":"packages/chat-engine/src/native/event-coalescer.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39514e35fee9b169bb1d20ca9c8a472df382d6c55f974c19dc326084cb12879"}},{"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":"packages/chat-engine/src/native/session.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"2253d3f47019781ac9a55a69784f41319f045ddcf4010597813f06632e8bfe8d"}},{"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":"deeptutor_cli/chat.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f967bb2cfff0bb4d02463d97cd43614733705015478c12c040a547de318216"}},{"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":"deeptutor_cli/common.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"de95aa2727217633784ad21472a4ae4288979ba8284f17c93a3a1a608db857b1"}},{"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":"deeptutor_cli/config_cmd.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a850881d5b5187845d0862fb2f8726ddbe49d091764e0ce1d40adc6dcfad6189"}},{"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":"deeptutor_cli/provider_cmd.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"306acaf3bf2e96508231df293b3489ab246a335b2a3cbb0a8ee43c36d1f9bfc4"}},{"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":"deeptutor/video_learning/marks.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8ecd8bbd86a5ff7adef535f204cab536295bd248f88e9ddb5570bff6e25825"}},{"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":"deeptutor/video_learning/service.py"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"542b2daa626b764510e214f6c4b96d4c2d3f3e90b85384a8b4fe4df11088421c"}},{"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":"deeptutor/utils/document_images.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afdfd30a1cde629ef3f10310bc8ac5cdebf3947edeb59b72220f0b583d29787"}},{"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":"deeptutor/utils/document_images.py"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"34796c5b95dd54451ebd5dca7a554730d078bb1ac125d738a013780b0a129bb6"}},{"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":"deeptutor/utils/document_images.py"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1e4c5c281b06fa573e6989a3878246ec0db603ecee00ba3a2ccb96d7f59d86"}},{"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":"deeptutor/utils/document_images.py"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad5891ac4e18602beeb03ec8d3582418ec52cf8d6b48dddaf530ac327ee799b"}},{"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":"deeptutor/utils/document_images.py"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edb8208cd05dc2738a550429616032020a29d5cc2bf31c3c3d520b55284f728"}},{"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":"deeptutor/utils/file_types.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d493aab051af63c3d3d1a3460482524b5a8e9054db74ac0b667cc6eb6eb390e"}},{"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":"deeptutor/tools/ask_user.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"48289df20157976e9159b272452364ac431b0f0489d3a556f1922c37c23d6d7d"}},{"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":"deeptutor/tools/question_bank.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f98ef0d70c002d5a5d0e9341db54f224c39a45fbd26410a781af913bedeed6"}},{"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":"deeptutor/tools/question_bank.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac03f388244fc980fc22c4118c1b9482892dc0aeac7736b2447d2dc291aa17a"}},{"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":"deeptutor/tools/tex_chunker.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"194618911783232df7a76c259b9d618e54ff18c79e815c62ee8d06678545583e"}},{"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":"deeptutor/tools/tex_downloader.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b509d3b1bfb5c8c1dbc9df85a7b7590af8e74517064dc64070fc969bc2c88916"}},{"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":"deeptutor/tools/tex_downloader.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf167b058be3e237fad8d2f2fec312134441cdc7effaa7eb4e3afb638a78ab87"}},{"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":"deeptutor/tools/vision/image_utils.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5a764fb856adc236c980e3be51c4811eba8ed6d597859cc566a1f28accd846"}},{"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":"deeptutor/services/auth.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98d8c1b5c5195d8bbf4115bb7a4768fb8f5af56bfd35595c41b718357e654cd"}},{"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":"deeptutor/services/base_sync.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"886bcbfbed770093dcaea8262ec447967a6d18d23a4cfc59aa77483437966a72"}},{"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":"deeptutor/services/base_sync.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2510037144f303f0cb3f31572e16424fc6765eb36647ad201cb1cbabb32bd515"}},{"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":"deeptutor/services/workspace/catalog.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c773204c9c0fd971dab24c9795399a0c8931bbfc19c1fd9d4f1f1d517684b29"}},{"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":"deeptutor/services/web_source/html_extractor.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9745f9fc05d73fa0e605611ead52131352aa97ca230cbc18ddc998feaf5b11fa"}},{"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":"deeptutor/services/web_source/html_extractor.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8418935934ff49dbd03dd49b79e1e00617862086b946cb5317b97aeb2082cb"}},{"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":"deeptutor/services/voice/__init__.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a555544d7cd0dba92f1427861d4ab14af80c04be93e633b54b82ffe58520d6f9"}},{"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":"deeptutor/services/subagent/claude_models.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d060cbf95453c3c7ab1d1df2e871557c2e4b740798c3ed6e584083b1541cde"}},{"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":"deeptutor/services/subagent/models.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf60808515e9711c3fb6ab4c29c49f784abbdf12dd62b1cbdfad6089148cdf7a"}},{"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":"deeptutor/services/storage/file_library.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec486fcdca475526b2b67c745003c6d5a118c9cd6e967cd63911e7fc0200d44"}},{"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":"deeptutor/services/storage/file_library.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b3df0575e73bac537af0335b1df5e2e20d9f23bcc0b0da1e125799533ebd4c"}},{"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":"deeptutor/services/skill/credentials.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3d415d79c948d4ca792071635cb1802f0adf9a6958607952b3e42629220b07"}},{"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":"deeptutor/services/skill/hub.py"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d3181a2f5e2a1b784456bd5c7e61e777cb24532bad1a502f40f447909add3f"}},{"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":"deeptutor/services/skill/hub.py"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8bb69292ddfea30c42a5d776a4597ca1e123863666dd915d490061610743a6"}},{"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":"deeptutor/services/skill/service.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24414c195cc16961e74df7c8d9019e2a67a22ef0c895315cd5cd1ffa290ac59"}},{"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":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8055af9528d2dddfc94ff4183ab4ec11312475e4674d245a6fc0420ee1ec83"}},{"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":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5ea1c6a088ccd568df62605f3ee0546288d71b67d3172cb83ec9b56c38d019"}},{"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":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"627672ea56adad156ff45c44e63831bf83e346ca667161df7b5634b50aef461e"}},{"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":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79f78fbc8d20f9aaa44978fd79527c56f01f052fca9f4149b5f0ba5c9df1d9f"}},{"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":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7d2c664fa724a70fb8c7d12d0595013f2aa2d6b2e5e9d0045e6697e01464e7"}},{"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":"deeptutor/services/session/source_inventory.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1d2c6587b28c92d1e0bd30d00de0be533bcf6b1b2fd84933ef538146c61dd0"}},{"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":"deeptutor/services/session/source_inventory.py"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3382234449bf6f62fc527bfe6a20dc969b17c3a46c0e857c8fe951f9ec79e9"}},{"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":"deeptutor/services/session/source_inventory.py"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2c8c7268fc2828622eab242269000e417a42d0e2a13231c9436e2bc83040db"}},{"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":"deeptutor/services/session/source_inventory.py"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"123f603a749ebede3377cbf527008614b9e8395b860173d75e9427e0fcf0cc64"}},{"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":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":4484}}}],"partialFingerprints":{"codehealthFindingId/v1":"c395781dfad65234eb6ffc3c34da7222ade955cd9e1f0d85babd30ff640840d5"}},{"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":"deeptutor/services/session/turns/request_preparer.py"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a6bdcc6b4b91ad78be3c80239df7588ff0c52d50cbec856bacf04a83a726ed"}},{"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":"deeptutor/services/rag/embedding_signature.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b940e05a436d2c00c823e211fefe3ddd4822adaa3c575459c07c179efb79461b"}},{"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":"deeptutor/services/rag/factory.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a824cfff1391c5a9b68bba093e081c7cdfb5cb7f4281cb39b16be47801d5e56f"}},{"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":"deeptutor/services/rag/factory.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6c4503b679b33afea7d2b6951bd27e9ce4fa2576169ae77c7106eb8e2522cf"}},{"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":"deeptutor/services/rag/factory.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb6484de43f0448e8e05719b4504a4dd9acf299725cf7b90a84803c41d307b4"}},{"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":"deeptutor/services/rag/factory.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"647c6c521d613b05f3c5ad5abfd7bd3b2ed6d0f7d3cec24c1f9fb0f752fbdee9"}},{"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":"deeptutor/services/rag/factory.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd7228276fab72e1d29ac7ab9c0f42cb4146123f7e694e101ad60ed701c8e33"}},{"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":"deeptutor/services/rag/index_probe.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4988695c897e746b8f6d985a27aae25977515767708fb7539cfe803efcb77544"}},{"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":"deeptutor/services/rag/kb_paths.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88d842dec960aef55f74122921db4b48ef679b248a3d6b371050fc25afebfc3"}},{"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":"deeptutor/services/rag/preflight.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c81e214b35d80ac6ce537ddd92dd6690be850a9b108db4ac9772131dfa604e6"}},{"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":"deeptutor/services/rag/preflight.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"46427dc0e4f1b47d72293e3a1841cad47b638eb581dc614dad5a63dfac76a50b"}},{"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":"deeptutor/services/rag/preflight.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a731820daf42b208e71603070c58b9e227218f3bf7c0c36752e2aa2b883de6e7"}},{"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":"deeptutor/services/rag/preflight.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc82b7543bbdcabc9b32ca16c5c999c1f79f6e357ad729ee0590832f4572ac90"}},{"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":"deeptutor/services/rag/preflight.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7776992e2d285447895c6717b34a0bccedeec96c0fa37d95ba4600cb6560db"}},{"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":"deeptutor/services/rag/preflight.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e79b2c9d49aaa9da912a8f6a03e9bd1fb588d42f1f3e429839469b8da66a54d"}},{"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":"deeptutor/services/rag/preflight.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"41261f4311bbb567b155654ebc9e890ae6668a6873db6b7cced45227925e1011"}},{"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":"deeptutor/services/rag/preflight.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef101747ac3991f1628efef839acb1de36d0878129701fee4f986f427e12b91"}},{"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":"deeptutor/services/rag/provider_binding.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"91dc6309278581e622d530ffaa50ba04b71c7f94ab9384abcf0d6879f01c33ed"}},{"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":"deeptutor/services/rag/provider_binding.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa53f0021d05053d71ef1b2656e41e8f552bfd908a09c39f5f510803d1fbe489"}},{"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":"deeptutor/services/rag/service.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d90ed652c3560cca1edb3c060959e2d59ab2b0a56e8fc04ca0653d4342b9711"}},{"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":"deeptutor/services/rag/smart_retriever.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56395da703d316c54eb4a0549e119a9bf8666cd80ed64a58e2c262bd5398b74"}},{"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":"deeptutor/services/rag/source_pages.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"09343c5b888a94b0ad5f65c0c078347f9ce9999f089b662031ca4391f424cf40"}},{"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":"deeptutor/services/rag/pipelines/pageindex/__init__.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ab580426ce51e81e9f952f3d08b5945f533f7cb082f2a4edd84a8b5ef1b1ec"}},{"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":"deeptutor/services/rag/pipelines/pageindex/config.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2634873b38a890a284fba6e01f4f54033bd38d68c593947c70afa99b22e305d4"}},{"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":"deeptutor/services/rag/pipelines/pageindex/pipeline.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d92f81033232cd70ca7f9f37456763136ecb98dfd348bc696ba18e6e238d33"}},{"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":"deeptutor/services/rag/pipelines/llamaindex/config.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa232a4e1debabdecbeeb949bfab0903e10655ce8f62109cc0b611e2ae89fc0"}},{"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":"deeptutor/services/rag/pipelines/llamaindex/config.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93ebb25daf189ed6bb967870fbb998a55c37af1add92dda7f516e55c6e649b1"}},{"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":"deeptutor/services/rag/pipelines/llamaindex/config.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c7778b9a2f4ca7671facbf65cb8ff453a9d09b732626c2f35f6002cd49be33"}},{"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":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a854e158a49ea4fd0b2f213dd7af9629b1111d9a068d93137d881c4e3dadd1"}},{"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":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55818da0ad8e0dcb395af2681ac3239ac049739c77c4a493d1294a5b6e7a25f"}},{"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":"deeptutor/services/rag/pipelines/llamaindex/storage.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47f469540e6a70f8d20821e30d73ac902317f7bc8d1346bec6ceb9803478e75"}},{"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":"deeptutor/services/rag/pipelines/llamaindex/storage.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14b44915dd8e38f6adde71d4294f0336496b9e5a7bc68a978c751c26fab49d2"}},{"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":"deeptutor/services/rag/pipelines/lightrag/config.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0614be88afbf55f697ac314e7efea93237ea083e38f422288f810c6017bfca"}},{"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":"deeptutor/services/rag/pipelines/lightrag/config.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1069f85021328129ae77b7dd8244811e0e3b59c67563a242ad37f707e980ceb"}},{"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":"deeptutor/services/rag/pipelines/lightrag/config.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bbd5aa77081cc422b08d3f22badf6cf00a2ffcd1c97dcfe3ecf8685135545b"}},{"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":"deeptutor/services/rag/pipelines/lightrag/config.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd735c49b8f575c1cbfc85210b8cba85ebe0dcf887ccb7c01bf3cec625a5b8d6"}},{"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":"deeptutor/services/rag/pipelines/lightrag/worker.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"942ebffd99cc5a0948757afb4bd371c758996d518501881b86bf0f1e17e842de"}},{"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":"deeptutor/services/rag/pipelines/ima/transport.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a12a084ce51f010ab0a542ff8e85e86967b8f048c18b3c6c8236891c3074eb"}},{"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":"deeptutor/services/partners/manager.py"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"874824c1f449c204c25627108017aae92a6a350b6d0357e5c74eb62788b874dc"}},{"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":"deeptutor/services/parsing/service.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"da030173048dbd010ce58130564fffb674fca4ec542f41d150aa73f5500c2476"}},{"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":"deeptutor/services/parsing/engines/_versions.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f3943d95f7e19b30a2f96cb7a115726c96ad4dd56ce787b23f5eeff23b4820"}},{"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":"deeptutor/services/parsing/engines/factory.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f457882d13413593f37a0a1a8d215763c68fb9d3db1fb9a8815cd5a17fbf66e5"}},{"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":"deeptutor/services/parsing/engines/mineru/backend.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f56317acd9e068afbb84c3bdbc4af9fededa200da889d0607cbe27089a505d"}},{"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":"deeptutor/services/parsing/engines/mineru/cloud.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"5495eddd9e370274c7efca3a500e713b0a15021212a0d94260f467f9079447b5"}},{"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":"deeptutor/services/parsing/engines/mineru/local.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"804ca37c247549a6c43cf8a15727c2cf5f92bb9673d885d2c4f6023b440b6979"}},{"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":"deeptutor/services/parsing/engines/mineru/readiness.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"37280840d317fdf12a4866f8b6d4b3bd69f1668b0a226b87e86bf33327691d09"}},{"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":"deeptutor/services/parsing/engines/markitdown/formats.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"67518299432894ab1bb303f101f6bc7d0ac56c5920228cb8e8c0f203780a0486"}},{"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":"deeptutor/services/parsing/engines/markitdown/formats.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ea6b70df8ba84b6b9b283f9f21bf477e5c1098536f7922a7b8b84b44bbc749"}},{"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":"deeptutor/services/parsing/engines/docling/engine.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d4226e7fadbe5efcec79b3c404e87f5f3857b312f21cfe9132554c5b8540d0"}},{"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":"deeptutor/services/parsing/engines/docling/engine.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"81192ff10c51a9c8376a14408913cf2e62f956be4a8c29e57c1d1ea8d4fea97e"}},{"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":"deeptutor/services/parsing/engines/docling/remote.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e70c218e746e178fccb0ab77326ad3be4bd60271c9a9b831967c3dbf357856"}},{"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":"deeptutor/services/model_selection/task_agent.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2c2ce44624356b42cfa093adce2278b2e50d4724d3c6cb9cbb3e35536c5020"}},{"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":"deeptutor/services/memory/store.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40f0f9028cce7a9d187a9fe02ee75eef065f89f5aebc1bbf876309f5e13aec6"}},{"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":"deeptutor/services/memory/store.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a506602af634f32045518c1f8cd6ab5153a2918214772371d615b803214fc2e"}},{"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":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c61ef10e031b6f9e4a35901fabf1ed12335ef26e3d082ecd302ecdc70feb501"}},{"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":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"739d4b83876c3e9ae25bcad9d5b6ca038400661580f27844cc2c9471b26f7e59"}},{"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":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c825c071df6043d9cdb4942874f8bf2eb2d750e21373c5381e439bd7c2c95786"}},{"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":"deeptutor/services/memory/consolidator/modes/audit.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"766d076b2c03d31ee3ca1c8674131e8403868d567f159851c4d4cafb6b67a31c"}},{"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":"deeptutor/services/memory/consolidator/modes/update.py"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e6bd607a319a06a5223930921500c2c6d434de6f86725ff4dbe3e659b61daa"}},{"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":"deeptutor/services/llm/config.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ad360500a60bcdeaf69ee0369d783855d937727508af44988c409c6fbb8b10"}},{"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":"deeptutor/services/llm/utils.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d47fc567787dc85a68fdce347780d6e48edf419e9828a0ae584e51c564aa949"}},{"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":"deeptutor/services/llm/provider_core/codebuddy_provider.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac01a022f8852628460f24700f05816506158588c84911463359b6ea8192419c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/codebuddy_provider.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"89533afe09328cee1f2707a8b4332bbd7b11496b37c6cd777e71efbe95ca2c79"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060aclose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/llm/provider_core/codebuddy_provider.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd31c6d277eef0c4fe3a927b9524a30d49f139b5af7afbc7feab48190dafe3c"}},{"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":"deeptutor/services/llm/provider_core/openai_responses/parsing.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"203f8fcc3a44110f9a519bddd0daee05edb3b24603c1b666fd2c287477743bb1"}},{"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":"deeptutor/services/llm/provider_core/openai_responses/parsing.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"54039c21e4b67f5761755906f1fda5cff7516c8c1f891aab3641cab671624f2f"}},{"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":"deeptutor/services/github_source/client.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3608a59d02d9c6deebceda6fd46e7923f8bd5e6d3aac73b838c08fa78be2932e"}},{"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":"deeptutor/services/embedding/client.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f9cb4bf58d35b7ba705bb112e6558150d1c517ef3de8bfd2c37940be78e2b2"}},{"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":"deeptutor/services/embedding/adapters/openai_sdk.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"087c9788fb731029f7f8ac1c4cfd290192f47f1ffbe3bcbce984ca1d816bfcf3"}},{"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":"deeptutor/services/config/launch_settings.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0076961b8ba443f7d34a3ab3ffcef855abeb80e6bab007ab61aff4b152d650"}},{"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":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c3b734f01f001ffb58d59e14e6985103cbc6c24b839683bfec8cc165c57e70"}},{"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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"6541cfbaf9d096ea134a4a41fee712b83849eab1df04a5cbb517c40269d73e51"}},{"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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"621a1b8fa72c950e6c93c0bf1289f4ce0bfa1791e7409be8e47ca9479a00c70a"}},{"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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a38745a08ab2faf3865defb9fee89168f6c81ad59670bf1d51ded69ea01605"}},{"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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"192addf792566756b9b6798d54d10f1a0bde06cb663a54cca7296edb52a122e5"}},{"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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbca5c6a3d82b5ac6f7ba929e6595cd582c996b25df08a5cc3940aee9c335e6"}},{"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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e7f8ddd533dbf137fe05293a854a9e061e319077866aaa9161c514118697a2"}},{"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":"deeptutor/services/config/readiness.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a75c764f52e3888a69b707648de93124ca5725ad6f9e99f2c85fc3ed6f68d2c"}},{"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":"deeptutor/services/config/readiness.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9ac7fe80b14e48b0921ee271905fbc0346507f9b731ef95b6b1aeded28cada"}},{"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":"deeptutor/services/config/readiness.py"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6e879d3fb988ff02fb29dd65c66e4441d098cd1e52674d3cedd0b3854b2234"}},{"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":"deeptutor/services/config/readiness.py"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45045869f3dfbbbbbc6c43982b8c60966b91673f3915d973123d47303e5f261"}},{"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":"deeptutor/services/config/readiness.py"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ee12e44039bc1a436286ff563e6b0fa616d649745835eb31243def1ee775f2"}},{"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":"deeptutor/services/config/runtime_settings.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"6898c21a38b272b3e489e8e5f4d0aa15b35ac7cc111d8f18f7ce67a4e2d2c889"}},{"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":"deeptutor/services/codex_auth/service.py"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9404d58d814243cdfdd38f8cda4e89ea04e4d198408bd3996950378de124cb"}},{"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":"deeptutor/services/codex_auth/service.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a53c733b31c3abba12654247a757571e8d78b7d1fb45f539045ad9e2c067d2"}},{"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":"deeptutor/runtime/launcher.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69f998b43067f50e8e389ad6ca59e9cfb12df3656fb6049ba2ae0c526effd63"}},{"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":"deeptutor/runtime/launcher.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e9b0bf5de5c85db8629b9fe823e69758a8053d08b2efbe49e5c2a34d7fb840"}},{"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":"deeptutor/runtime/launcher.py"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"93132766dbd5a34107e9e36c55587c56c91ff03659ddfaa65af3b7e893773653"}},{"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":"deeptutor/runtime/launcher.py"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd64cf52c6987402317e458105f7f371b0ee4f5135467f78f9c7da41aa9e400b"}},{"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":"deeptutor/runtime/launcher.py"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2fabf91f71e86166aca3d01d8fb9448d815767e8792c6454756854bce6d286"}},{"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":"deeptutor/runtime/launcher.py"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"256e549775037f2f2bf56e271243baf4308e2c4e86d3c65dd77a588492758958"}},{"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":"deeptutor/runtime/launcher.py"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8abe5055f16d9324b09a665143118a3bc8b90fc86971c36d1df26587a63d473"}},{"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":"deeptutor/runtime/launcher.py"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8a71e9e84b9baf69be8b35a1a711963567d0486702d2e91fa70bbfdf4b7c95"}},{"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":"deeptutor/runtime/launcher.py"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f40e49e2ef49b4b4d4c36c2d2cbd166c9bbb8b57e3f3f452baa71433ff15f49"}},{"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":"deeptutor/runtime/launcher.py"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e90c29adb91aa2c7ca150cd138a725dc75b4b32046d23520070a48e5f75913"}},{"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":"deeptutor/runtime/update_worker.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90b88343dd8b550b97a49d5fcf3feacfc53838f1a9ddcf849c67587483369d2"}},{"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":"deeptutor/runtime/ts_engine/client.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"17104fa81a2af55d7136a9bb0605bd1369178c21a0d71e88e78796788c1babd1"}},{"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":"deeptutor/runtime/coordination/redis.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"0278e4b7cab64eea3a1f5e259f232bb4effdfd666f2a48b2af4f76992dfc1fe7"}},{"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":"deeptutor/runtime/agentic/tool_dispatch.py"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d184cacb7658506235e6ddb29229702586a6ff120016c7abe0e26ae76ca0df"}},{"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":"deeptutor/reading/extract.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"02946816261538af0e6aa9088d8f3e15019ee15f6b032c345756004f1b188403"}},{"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":"deeptutor/reading/extract.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9cb8c52be712ff81df1d7cdd758ce65f1566da17b572a571abbf4b15d9af1b"}},{"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":"deeptutor/reading/references.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b97be955ec3e8068971962f7b63785c232aa77578e92db630e500583d316bc"}},{"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":"deeptutor/partners/channels/dingtalk.py"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"25684f65929284c1751ac37faf4a9a59937e609b814367b080bd339c6264a716"}},{"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":"deeptutor/partners/channels/email.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"5968de5302b350d726a9452139eb70ebcbfe3e810d4a4ef03a74c2e536aa3950"}},{"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":"deeptutor/partners/channels/email.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"430a827a0a6b97230769a9c79a86a25e56d6a287f2bac870f1c3049216dc1902"}},{"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":"deeptutor/partners/channels/lark_http.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"619e441ad72b97280a75046351ba422971235ac3e1365ef23fea6bfd548d8cc0"}},{"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":"deeptutor/partners/channels/matrix.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16555c3624f57dc10726c6ce3cd5683f3636a0a910a9d135ae4093ee2052b6e"}},{"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":"deeptutor/partners/channels/matrix.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db957c588f3d387b98e7f270df3538e6ff7a11af7e59086b138ba801d36f5bd"}},{"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":"deeptutor/partners/channels/matrix.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd72e857188c7a4b2bb9551caefebd0465e58331ab95bb188c0afa574cd3cb3"}},{"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":"deeptutor/partners/channels/matrix.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f642772a18ca852eb237b5a21b2e46a60d2f171b63a86aab086eaee5651535"}},{"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":"deeptutor/partners/channels/matrix.py"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5f394314ad2bc3c1624e998cc23164ded153d3dc5515f9cf5b94ca0759ed6b"}},{"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":"deeptutor/partners/channels/mochat.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4cd72bacd16e83100dfb742bc21afbbd545dc094dc6822e368091eb096a10f"}},{"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":"deeptutor/partners/channels/mochat.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"df74256b4b816d2073410672fb100e275b1ceba42352e5b0803cfda3386fcde5"}},{"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":"deeptutor/partners/channels/mochat.py"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdffafe55e40a09f5a5038470ed834cdfdc7813e88c9fe45c4695833c20c0a8"}},{"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":"deeptutor/partners/channels/napcat.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be7a938addd0b10cbb0151dba9c8f970cda9d9a628406137273f4b263944156"}},{"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":"deeptutor/partners/channels/napcat.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1832f6133a104a44dd0fc41111e849b83ef465f5559351e62c450bed4f97583"}},{"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":"deeptutor/partners/channels/qq.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4571aa613fd443cde5c44c0827379bc0c003cc6f2a48b127083d2a9e5a78f6"}},{"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":"deeptutor/partners/channels/telegram.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17a6b92a0860bf0398b8588dd140f7d240379e7ba305ca0701b3899449e8c27"}},{"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":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"345ce9fc99ca469efc35c1d55a7e7d25a433b22b2b1c7fda78e86a3a61473748"}},{"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":"deeptutor/partners/channels/zulip.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d96ffff0958b3ce7193d0dfe20e0f230a7a7415736513800ea30e1840b370f"}},{"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":"deeptutor/partners/channels/zulip.py"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b933e0bea2ae6c1391c8ff42c5f2718f870918ab79baf080d70ef529c966234"}},{"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":"deeptutor/multi_user/device_credentials.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"477f5e9b15827ccbad6f3a817bb84d9da195d095a6e424c8c38086d54b52b045"}},{"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":"deeptutor/multi_user/guardians.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d362a976c4b57e0b2ec1d0d704e58686b4bb93ad9d2b0cf2efd6709edf5a1bf8"}},{"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":"deeptutor/multi_user/personal_models.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8af28deb8d40f62785c8191a940fe81e2eda3d405a73bb3371eace8bb108da"}},{"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":"deeptutor/multi_user/skill_access.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6999e986b3a8b33b9d5bd0d9a05252110775614501dd4ab03ed5fdb8d82a7c94"}},{"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":"deeptutor/logging/loguru_bridge.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c76a75f2b4c251a22d6ce1dfdfe0f02175444b1093fd2291e561679879b189"}},{"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":"deeptutor/learning/navigation.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a739a10beb232ef18ad6bc991a9adb6eb0b5fc1ed0342827ac8b5f70d031e7d6"}},{"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":"deeptutor/learning/semantic_assessment.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57d1fd05ca0dbfe83b8e2800b380a0e201c12a58e38652f95a25d0ab20fc808"}},{"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":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1851cd573404ebb2b4841e5b1b0fe02075e4695883521c736b3d62e6b28c7a"}},{"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":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7b49ccaf98b4769fdfce957fbc33942f6b2e4667e751f52caec35092efcbbb"}},{"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":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"97905c56803b807be93fb8437992bdae7735ffaa3050a25881498f363e30adc8"}},{"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":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"046e82b46e103f60f1d2d91cae0a2027ebf2bc28e80eb77e42fecdd6f426b039"}},{"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":"deeptutor/knowledge/indexing_run.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a88d18ecc627c66e0dace95c0dc37e3d0fe4d43ac5960e4ab260591f8004dc4"}},{"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":"deeptutor/knowledge/initializer.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b994fa79972a6af09bce35a34873c3d3f119bea8f02d64af1356661bbe551c41"}},{"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":"deeptutor/knowledge/initializer.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b32a2c3eeff49acbe91704d1ed0e444bf7fdad80ceb5d3ea76cb3c2fc2d01b"}},{"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":"deeptutor/knowledge/manager.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee26b8d5a22939f28445d33c36e6d43d3f078c63f943e47109d3d1eecebc67e"}},{"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":"deeptutor/knowledge/manager.py"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2328ee10a0f670d0e29dc836a14f125605775950428e6cb6ca46df38b9e1db"}},{"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":"deeptutor/knowledge/manager.py"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"0854f9a979c89cfff0b27e9bd54f03ac2304c1df79adfe6d201403dc40154f86"}},{"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":"deeptutor/knowledge/manager.py"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bb32065a49663b7c0b6761c2a0cda8271ba77a08b4b4acefec973cc937b189"}},{"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":"deeptutor/knowledge/manager.py"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"70944cbfcec210412629d23879cf63a45aea893e2574930894acdc9aafc70a28"}},{"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":"deeptutor/knowledge/manager.py"},"region":{"startLine":2022}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee6ce039f3807ff77b129ffdce6d224174ea5da72e3ea03ae6d069f809632cf"}},{"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":"deeptutor/knowledge/manager.py"},"region":{"startLine":2074}}}],"partialFingerprints":{"codehealthFindingId/v1":"20be4cb8f6b2c1bb988cfcbb20b97349904e727ff4da6feb4fcc8e47bdfb5d8f"}},{"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":"deeptutor/knowledge/manager.py"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e173db3445b04c1d082e3e38c9c5e7e6db5606cfbfaf2d11b9e017a6fe370cd"}},{"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":"deeptutor/knowledge/manager.py"},"region":{"startLine":2224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29d9bc7d38d5ac94c62fe041bceb3b9f8c4a92fb7d0235011a26f383e74e7f2"}},{"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":"deeptutor/knowledge/manager.py"},"region":{"startLine":2472}}}],"partialFingerprints":{"codehealthFindingId/v1":"564d4b134f41ce6eacd98d1b0ee8d3c67410c618edcc86c31d771805c893a246"}},{"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":"deeptutor/knowledge/manifest.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c07bbb883cb6628d714ec74dfc408764a4d186ae6bc80ecdc44948ddbc4d69e"}},{"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":"deeptutor/knowledge/progress_tracker.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"faedab4bd58d79aeb988fba7733a7a34bb115108c989475201207c06ef204f70"}},{"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":"deeptutor/co_writer/docx_converter.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b1639103b17c8ddbf5b0fbdc684a60dfced1079d49493dab642060b03fb6c3"}},{"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":"deeptutor/co_writer/docx_converter.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e16bac60e1217161ed71c4e53ee4f8ae83780f5a853cf458ef7a31cc106a62"}},{"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":"deeptutor/co_writer/docx_converter.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"706c126fe5337a192d0ebc2e998cf87239c82680b7f94c5c3cb5fe3f366443d1"}},{"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":"deeptutor/co_writer/docx_converter.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05e9721d046bda3e0f240d4013cc1f9ddb66e242b12fd6a083a663034b48da8"}},{"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":"deeptutor/co_writer/docx_converter.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20d19043a832bc1e6e1e30f3cb7111c9ca0361765d9b2dcce33889b1963b408"}},{"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":"deeptutor/co_writer/docx_converter.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"de918ab37e8e6f94d8b9fd018869f0dc56c863b8c942813dc935a70c822c688b"}},{"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":"deeptutor/co_writer/edit_agent.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d71607c66e5e99a128d2e3fb8ee05eafdb19d319ff170b7dd8cf9c896e813d"}},{"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":"deeptutor/capabilities/reading/capability.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dda4530419385499ddcac93cade05e182838cec286c647aa808a0b09fd4cc85"}},{"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":"deeptutor/capabilities/reading/capability.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"928c12ef6958a8e7f915a089d2cd1004f7676c3e7cb1d2f6b3778eb3e91a5898"}},{"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":"deeptutor/capabilities/reading/capability.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"456c9a9faa6e0da04e74981eee1e6f333bcc99e6b58a87b2c35dc323a7b5deda"}},{"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":"deeptutor/capabilities/reading/capability.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e3805dc9818dd1d5fbd5d6a83e0405615d865b804c6409db088eb1246bded3"}},{"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":"deeptutor/capabilities/reading/media_notes.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f831d7ab565c0209478fc43b794678182dfbfc9d1b575c763a30bb18009686b5"}},{"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":"deeptutor/book/learning_overlay.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea70d7f497d544a2815acf239e8ba35b9f5894dd3cb1521570d32ac999995c61"}},{"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":"deeptutor/book/blocks/_rag_helpers.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fff7737bdb58ee192f0022538bb4375dd9de2c19c651324f1a2351934f48148"}},{"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":"deeptutor/book/blocks/section.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd65e2da085aeaf94607dfa53f7f3458bd0b196c16d82123edb40cad832098f"}},{"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":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81a248757526b4d9701693d4ea3e016f66ccf5cbcb4e198273a8779a386575c"}},{"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":"deeptutor/app/service.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ba1cf19551c32733b4f9a258c523d40e06cd839269260747f8db4ef923e173"}},{"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":"deeptutor/app/service.py"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adaefb889d66a96b5a5235c4a516f1408a84f1bab281e876dc554caf6faa367"}},{"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":"deeptutor/app/service.py"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea938a9f2ff83efdd5b582ad5182bf2f27f5c63c708a119981602f03fcba51c"}},{"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":"deeptutor/api/utils/task_log_stream.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d0b2d344c7172d253dc7909224de09f5b065b7ad3f1e5412522b6ab9afa9ea"}},{"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":"deeptutor/api/utils/tool_options.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"694714b41f2c32a84c25e92d7656343e62f16c36da766944b05cdeddfb2fbfef"}},{"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":"deeptutor/api/routers/_partners_channel_schema.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa77bcdd590e96d2f5c923627a861337bd6f9611f7110b4d0838609b9831092"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"b258b0e29d23ed092aa30705c75c3580396008034cedf7f0e5297353eb236ed5"}},{"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":"deeptutor/api/routers/book.py"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fd93451b990db5815ee530ae43d6f00e0fb863dab9f8c78cf87790c73f0f3e"}},{"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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"5476d7050e9b2d357ecba7f189e02dc82ac76497788931d4c80d1fc2291efac9"}},{"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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":4534}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ae5f764796f8b7836309897e0fdc31ffdf08c3c96a8caf9d43630e27801106"}},{"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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":4756}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cff037df3f9076ae52077326405281fc3a751185677439615e194984ec7b3d7"}},{"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":"deeptutor/api/routers/partner_groups.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"651839e2286628a9be07039556672ed9af27b81e02ac1a8c0dfe6edfd9a1279f"}},{"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":"deeptutor/api/routers/partners.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9ea38812850d041495cf4f9e63fea44e1048f65d92b4cda9b802fa5c0a6c9b"}},{"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":"deeptutor/api/routers/partners.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7e90bfb75d7c148e7d14c713d53c3acfcff11d9eba0899deb2fbb09766aef2"}},{"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":"deeptutor/api/routers/partners.py"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"636d5a8cdbca9c2bdf82bde1fa14e8fc596e890e3e7bbe4e58fcf61771215ba7"}},{"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":"deeptutor/api/routers/partners.py"},"region":{"startLine":2111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8482af2a4026a529d7289b2b1bb6dfe9d4b202e67ba4ab47affd7e2be8c7a794"}},{"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":"deeptutor/api/routers/question.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"80be52aab44c41204482568d686c2b37cc7ef592161228534ae9fc951826a3ad"}},{"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":"deeptutor/api/routers/question.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6004fc0a6055c0ade7f48423f50563aecf76cb37df9cc97d2cd151faea9160c4"}},{"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":"deeptutor/api/routers/question.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f730eddf17badafe09e05e24cf88ce7a0e4277ffeb83ba7fde623bbead1e3dc6"}},{"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":"deeptutor/api/routers/question.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3bc629e60642344ec31edf2ee27b6badc708611f98fbc483d0ca4bfcc99a2f"}},{"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":"deeptutor/api/routers/question.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b5bd8370ce0c2a92920416803eb9bc784961d65b8fb20786238eb6446f5b5e"}},{"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":"deeptutor/api/routers/question.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfef9b05e875862cc74dbf391690408b054fd0db0c55ffad77fab018f3efeff"}},{"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":"deeptutor/api/routers/question.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b61a2e0414b367ca1da00f34a5ee33c6ed7a158992fc76452271747a4fc0bc"}},{"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":"deeptutor/api/routers/question.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a42ee1d34940e5eb6a24c8a960a4d07c3904e1e5876182edbc7ed262d68944"}},{"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":"deeptutor/api/routers/question.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"b660a7324ad14290114f351b99d1d52103be27f14945425c7863a9512545e576"}},{"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":"deeptutor/api/routers/question.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f21dc164bc81d8d14016f948629eda7c77bd3a65b27827eb0254ccb31038fda"}},{"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":"deeptutor/api/routers/question.py"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec47ca12a1aa9396c2bde92dc6e4020c01794dedd2aca01f62e8f2264f10e555"}},{"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":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85573bd35286bef7cc2c61a4304c6ac71b9016071341324d849a6dc82e969df"}},{"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":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbb07a93372d6ca89adc04c97a85153eea73dee5c141588db2dd1c631960c8b"}},{"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":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e179bcccb9717079358e3742e375bf80e24e741a1d1c7f35ad88c6ec3e7164e"}},{"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":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa30d8bc04feb362dc56dee83fc91d07a9c321528153ed663f91c8937fe85dec"}},{"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":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"af58d54a482095a09de8f7fbfb5f1fb8da246ce030893b26add893287b1544d6"}},{"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":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba73471ec3c582684e5544b146462bc88cd841fd7ef9155a78032a92c5007640"}},{"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":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfcf1aeed8f3a29ea980f1bc4deec3c8d9aad871adccd25ed8f013cae04b54f"}},{"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":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee42f4848496d6adda1108016e8eace6994ea4788bd58dc61829dd1260c97f6b"}},{"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":"deeptutor/api/routers/quiz_judge.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed12219de9e16a702954f2fd9a1cfb5f76cdb2d2c04613bb605ad1c0de572b68"}},{"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":"deeptutor/api/routers/reading_extensions.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"307e51a7855633a7a518708105fa21eec5ae3d953321cfc354bc623c074634c2"}},{"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":"deeptutor/api/routers/settings.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"661066860020a16dddd57fc5f28ce0ff0b5ec9fd52dc2fb108af7f4734892bd3"}},{"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":"deeptutor/api/routers/settings.py"},"region":{"startLine":2528}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f13ecd2d134bf85c3305e39fca13fe0cb32850db93ef1a64fbf125ee6cb1d9e"}},{"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":"deeptutor/api/routers/settings.py"},"region":{"startLine":2558}}}],"partialFingerprints":{"codehealthFindingId/v1":"68253014925d6d87d124883ac9ae99dbf6fb609adbb3bcf538025fb610cde996"}},{"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":"deeptutor/api/routers/unified_ws.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9d3c9687a3e1e0254251b2ec3b1330476293aeeae04292c287cd2ee77df9cd"}},{"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":"deeptutor/agents/base_agent.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5314520e1b12a5bd271528801f7fce12ff71660be6d8ad3eb742fb44ec7d558"}},{"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":"deeptutor/agents/base_agent.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"788703630194b002e50d48650b99a5bbbed9a260151fbdcb2443bdcb2204d814"}},{"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":"deeptutor/agents/base_agent.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"b773007b9103d0805cc0da9eafff71d0cce1d3102aa100383b7f4edf46ad89a3"}},{"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":"deeptutor/agents/video_lesson/narration.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb05af508397bd22c5d8c67288d82ed07d21607f0f03a38c68089f9ed65da16"}},{"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":"deeptutor/agents/video_lesson/narration.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80f6313e57a989d82b139cda91c2eee737ab067cd0050aae8fa4ed9aa9a8ab8"}},{"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":"deeptutor/agents/research/pipeline.py"},"region":{"startLine":2250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5a6205babb50e1da5e9bc824f4afaeb9d2092dc7aab9cc838e805661cd513d"}},{"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":"deeptutor/agents/research/utils/citation_manager.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfc74836224c1a8ac1270b1fd5715dc2dfc50b8b8e143928d8497edde703e6d"}},{"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":"deeptutor/agents/research/utils/token_tracker.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa0353032e488a75b1e8f24aa6d1a959aea48908ceae30d259b76ede88081a8"}},{"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":"deeptutor/agents/loop/dsml_tool_calls.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ca7bb2b0f4c901956ce42717dc86ba4305fded3d4a092547863c34c85dae6d"}},{"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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfec4ad0452a1f6083009dc11c05ee29f6ba88dec84107039f19e26c4ed1e3d"}},{"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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"f268db45ed5946d5b2417902cc5537d230a2be4b4b01d963f1b4920f5e54a297"}},{"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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1934}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd34962a43c869b64786bdda6efde9525c09ba2b5ee5ddcd6a8f31084f31f9b5"}},{"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":"deeptutor/agents/_shared/tool_composition.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6331ec1aa7dc6de5069df5a7390873de34910c30e0ff11ea4797820229b0c57"}},{"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":"deeptutor/agents/_shared/tool_composition.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a500514c68efc4b677ad2fbf7f002d852c2837db67a7cfa67ba2160346dc3f1"}},{"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":"deeptutor/agents/_shared/tool_composition.py"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5f8349f4344a650dde1f8ec322b2f098ad3661ebde8850926162fbedc9e7c8"}},{"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":"deeptutor/agents/_shared/tool_composition.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"3916fde328fb5aeb14678221a572ea3000be4e0095050e2a687347208dff85aa"}},{"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":"deeptutor/agents/_shared/tool_composition.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"469997fbaaa7c1f82ffef841200d4e5a75281a3a4b049560eb993dee0c74aacb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/main.mjs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bec3abe035217bb4498c6ab5b322ac5767fa9c604bb4be0404dc8944ff8db7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/platforms/windows-x64/package.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0381cf6990fead84efd5fe8d0c0a7032ff6ab1ed9e87fb9635091715758674b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 259 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/utils/file_types.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6209690d3a95e00344b4d8dea57302dd988b1d8c2cfbc3d9f8fbbe18d3ef67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 108 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/utils/json_parser.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5790f062b9628ead654ac0c63055e67baa5a518d3d3f16e6af846419e511b79a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 132 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/json_parser.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac60d53f2bb15418b8c6115f3e5c1e7ec6ab41d20b166f3e8d7f6f54dafd40b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 176 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/utils/json_parser.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7f71b10d53a568641510e0bbdef2e54a24562156237a5fae603d9fc6aa0898"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 189 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/utils/json_parser.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"839422e5bb6d9b378a858656de89707d1ea66bdb9424030d6f1f3b148117eb8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 190 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/utils/json_parser.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d9a39080079d0777a3f5c3da30691ea370502914cf24cac96a4136dd31788e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 210 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/utils/json_parser.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7b45dd42bf53b5245ace59765f2aa8809037b9f70c13011553f7243fd566ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 76 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/vision/image_utils.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"20449f3ffbb7cac6c34e9c1505167a8f751653586450f97b221d0c97bead92a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 101 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/vision/image_utils.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0cf4b3c7fcd7ab211826d7a279a4cdcebca499ce0d607ab2307fffeb619250"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 150 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/vision/image_utils.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b348bb546d969440a82492e5d020ff56437217d6a67249be528963a09da08a68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 189 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/tools/vision/image_utils.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"def27712338bce1dbac8aa2c234542c1aaab29a4bd721017341853714bdb750e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 206 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/vision/image_utils.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5d707f194a8dadf7364d4c1446dd688cf38b453677fa626334ee38476263a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 214 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/auth.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3169f36f1bba6645752827bc131f42548dd1296c5bc9072ed5ee26a83b001cfb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 382 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/auth.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"c329bae52620147634f7201b5132bec00c2add56e2762c1f82a7181b34078eb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 406 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/auth.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"e657c68736fbcc9facb3647ac4a723d420651890aa4b73a316733af2ff8732fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 91 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/pocketbase_client.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f624fa397892127aeb9c1ad814edd02b393bc8d060ce19966583b941b52757"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 93 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/pocketbase_client.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee5bf2877ea7bef5efe1b5455d77aeed79da42e621ec4a66e8528e572757111"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 160 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/services/pocketbase_client.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4ce4fe7f41a134b1971cdbe224c6f5ddc7c6af91e8691d5516344b6346e831"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 183 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/pocketbase_client.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5a832d9abbe4fcd49e765403d2966ec2a079cfd0bdb441b2da7d3d8f19e038"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 185 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/pocketbase_client.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a458068871f9d04bb79e3e8d9891ba085a8e2d9f86adaee731275c7c98589b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 191 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/pocketbase_client.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b44ae843c77e3b312843a8e9398d0a0a32a917ea21f300f6ba2b034b114285"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 282 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/setup/init.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"8115527e1cc80839fdb5793f6d1465413f80348906cae7e361d3487c50067319"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 299 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/setup/init.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87e946a8f69395d79e71b11fc445d7b2be0e67032bb52a95e4a66bb71dc5734"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 388 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5644823ae9d62ad70767c192327e76b09353a6eeaa3a2aacd8edf749fedb46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 495 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7cadce7227c94644e55e8f18e0a17863876701a11fddad7645f675219d0fb3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 514 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88cfa1b390c812dba692c745eb0b70dec27bdb88bf762746d5cb2fc1fa1920d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 533 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dc644d52bdfe8916d6d6a93709c5053e75c6c9dd91e8bb26856639464a0498"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 556 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"d758a0503d6254fb345c8bfb81d0203edf25219d576a53e8b2f6d28fa0102ef4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 585 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"979a6bd55de9c416eea8b12d47331b87eb9d9d4639b8f72c7f31fb4b36cfe215"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 643 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7d156e4ed8a1b3882d3e60970b17c2955b20ad5b575efcd0a028c9f04f02e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 741 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec1eb252ad09317fca44d603908bf0ba74c2c19a029d059eb31a03e33c9b958"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 800 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1ccb987f05608a6fff0bc4cd9e2257b3ad3dbe9f2a8585e4c614fe8756662c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 835 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"db04ba564d9a0bec75fcb569e078d0f8ac0893e8502951648f87e8a88631c6eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 855 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b27fe0f95b0a75af42995bf040a83732d8888272788e68db02462acebe84827"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 908 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8df5a94a31bf5f3bc8d093439176fbffe554f5d6d113efb706e9e17aeb30c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 981 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf671c05af5d9c9c54845783a58bbd1b08661b92f39f525ca6037c13f376f9c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1038 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"053a6609dd6c09e89073fddb58c97dd2d08549db3b3f5767c81257394cdb71db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1061 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff27e89f7b9b7b03ce49632472bb52990883f00dea448c59ef3c71b58860b846"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1096 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf060d28e3ce8aa32e40a1dc4d5f7a721ef84fbd2903aea7e2cc0197680842e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1327 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78c4aac6460c346f413ff0ad50065cd995a02e167a6a5b0675ad80ac51b58b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1625 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d8ce68f1f384272cbf1bd3ff7c376ab427c62d1ec2164680be9ecb2c43ecc2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1891 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a81eb71e451ccafaa2a48f9252251933f05df8f4bf469dbbf040b0fb39b4c78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 48 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/services/search/__init__.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf58cb467ca69114478376e5d3fb5fec9fa0f1f63b4609fe68080e8a1b69a991"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 126 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/__init__.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f8cf2c869ca15d0c3cfa662cfb23fa8886986762c74f2105611df9a2deed21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 180 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/__init__.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6919af8ea92d15883edd9848ab7ce24e8b2fb8b318e1a82a35d20a3ea831295a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 218 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/__init__.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"630053406a8df3f08790d0c492ac402a8dce8d9c890bdd67a54461de287ed366"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 222 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/__init__.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f0d985a3bf5b60e21591124ace7025a3e7b220aa620e9e5d6b17c7a53bcc71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 259 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/__init__.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"693d2678d6a3ad0d58dac63096d0cd5906dbb965fc01f7fcc0842bb2a954f5e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/__init__.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0fd5038d2a1e0ea0e5e701a644e5b7d2afc5a2c56ca7496e94dbce7797a35e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 181 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/consolidation.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97c3cf2276cece36e2cad432039f5844e151cc42230eeb3d747c2134a92c99d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 183 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/consolidation.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d48de18bd234a70d2dc3d9ab128a0887c662a117000e087581959138f5eb83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 185 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/consolidation.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"abed073ed39edb897984b709ca32012ae974daf7287fcb7184aaf523086e0e10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 189 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/consolidation.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1279cff1c53e3661133a465c35be61641eecf7cf1647fe368ab81c17e30914"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 196 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/services/search/consolidation.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"364be3ee9ee96d15ac8b24b872cf9e048195f5c0fa983985f22853dfce1dae62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 201 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/services/search/consolidation.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0135d7517b920b8e30a9f22df7db244832db9db4ad2d2148b51b697923ebd20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 204 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/services/search/consolidation.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b259dba03ebb5ff27b30fb1bfe89b12e9b80100efe2bdb89cbb6ec5fc0f6a9"}},{"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":"deeptutor/services/search/consolidation.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"280bee14471cdd943d78066b0fadc8bcfc1fdf92ac5bd875ac16adc56e116039"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/consolidation.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3746697e4bab93acf9db7523a3b8a0d134f06405c233dacec2f0a3d64dff57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 283 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/services/search/consolidation.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"821aec191e024f6d347db88d48f2d6e60e8ab16304ed04d593cebecaf3305dd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 292 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/search/consolidation.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e1086a9ebdbb2f3504e016f8f8fbe314e460825f39e533a2b381b6514e280b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 43 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/services/rag/embedding_signature.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9972a469f064a4b848a76a735fa65afece5559c1825647710dfd00cdea62af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 107 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/index_versioning.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc3299d611aefa0d45fd52bf6ac35b47513020cdc86169298fc632e2ded0667"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 122 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/index_versioning.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d932a453a9832f14e3c460cf32251d836cefefa5096aa67ba822ca907bcb426"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 249 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/index_versioning.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c10eebf442244e4bac4c2a02970dd3a44a0b6eab29b2e177b4d1c960393b64"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 259 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/index_versioning.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ec1fc93b3bd0968f3b7835461ba101a77647ba2efc325a5cd4019ac2ccb584"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 266 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/index_versioning.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3913808eadfa285fe570ccdd719241c1e6f6abc3eb717be3e4798e0cf361839b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 272 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/index_versioning.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"8861487552c03a4959dad77dd5f38bada6048f4c25f5f4bcb98d4278927dcc02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 194 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/service.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cde9df76375090323969b60700cdaf1069e11d69a8cfe1f1654d7cc380fdea3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 351 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/service.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93dad6df17460bdd3fd0dc498416dc679e4dd125341d96832167d23362072aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 360 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/service.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"640f0fb5528e6ed73924d6bf61e78cc120465f9d907e757097331e9e894f8abd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 91 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f4bc7b77471774295803d9755fa214a661bfe42dc689b138b34a7c2a3fe74f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 149 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d6f3fd0e4902a4b266131aa4cb7fde79bc814798b269a9936f90d77909add0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 160 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e53890f167aed088d3f5f4aa336de00ed59c4c1ba94a07e4e10bf5068e03c30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 190 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3435d22e111f201a01a664ce961905ee826d20cdf8a86a3d339e8beba16407"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76cd145d0659b8d222663f3d575c7dff7932efc4b8f085f336ac9979141b75f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 359 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be9719b85e03fb2ea4ab188ae84f7830877c7a564f2a13f605dd97f0ddf5070"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 433 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"3004b05042be24ff0fb394f6c15474a2366ca133893f6cbae2ee0367912d33cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 445 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddff133bb79686f4001523de411498e6dd53ecd36c5671b75ee832aa6bf5ac73"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 577 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"82aec72db40a1868afa1af3f800ea2e15acee1f9f69fa0a07f3fc738dc54d084"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 582 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"d581fd7be85a6677abb2fb72a7edab87a5434bc1b73f605da5e87a51f0f71622"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 634 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb465e99a3b4c5158161cc3b155430d0e17bfaec7bf2617def4d98df983eea60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 648 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/document_loader.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10f6d1edbf23fcea8e3a6f2c448cc23ceb66b3e1bd45fa1b197eda2f57fd440"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 191 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/embedding_adapter.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34cc30b496ae1b95976b4f33d5cdef0ec968e2690f8914d933b93a5d0a8595a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 193 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/embedding_adapter.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae050d9cd96179cc5874d4e64258a70752dba666816feb4b242e8d73816b2150"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 267 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/embedding_adapter.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d914b15c7457cdfb1e3da31efa1e0ed63762a8f03107cbff97bcf39a785d95f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 270 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/embedding_adapter.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd386e0a3b375030d13526c8d4fb6e73ceaceef418d4c6c086e15896923d97c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 217 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed84ebd6ff192ee274c33550e708a90d8074e0d4fc7c652031ae60b77caa01c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 221 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0981500e27092aec4fddb878c4101b2cc48c1049fa062f324d2295d6a2612c9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 241 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfef12f69e5b03032f0a0d999e7ae27ca54197e21dd571c66730498f3ccebde0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 273 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"907a9c74ebe23e85857201e263227e97746bdf01c0c03850a791a143b2d5b824"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 305 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"933ea94993c23d45c6fc2f287806f8ffe295c1c4179d19b4630a71c01ed952b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 307 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7797ee7b0914138102a94eb6f1439e2fb9f7f1fff79defd64b75c365b372a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 311 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e781344e91c6022e963281a20c19e7536399505e5cf30af397ceb2c314c75242"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 315 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"4321d467a39096e2f7bbda5900fa587184f4944cb93e4237fcc0377204efb720"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 353 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"0146fdd480085db72cc620ed8b96c4094bac459e6c608561c0f4f151585f567f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 360 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd97cb206139ff018918686f6aaeead76afa177d6f8f2ccae73518e01875f07"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 426 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"8677e9827dfd5e335aa4b407ac777998f244aa74cf2e9f19798bde4113c495e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 428 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cf2b01d4537623a39898bca5fc5b3178421c61d64000b030b5df351f3cf454"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 511 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"acecf5250d3c51bed43c0d7dbbe2cc077b94ce1d0b5547fd3735c8cc5ad3c353"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 532 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd00528ecb7cc9b330946b511b2774d71175bc3bdad64fee19c9a56d78a2cffc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 540 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ff3745125450cc5887dd6e264b1c6e3cc3eadea2582d416853bd523de35448"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 543 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"031797613ac08302b858a560afd68da780e2489c5ea210eee318733e78ae57c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 552 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f92c34574155e4e077045b5855660ff579637fcdf2173f72bb1c1045b6c6584"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 556 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"52151b56a8257ceda0720abc5de67facaf5086fc84c6f8cfd158cd76d2e17133"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 560 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b41a739f67b2a7dbc360928a692ce048a3fcf001395a2f9c0f55a7bce3494d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 603 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/llamaindex/pipeline.py"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7afb7e7388b9183fcfd6d18da02ecb50d7b3106d7de10a46c88fc1b972eeb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 124 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/services/llm/client.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09ca6aff84b4e79398bc84878702b70dde07a28defa23c9b3d7ee952002d7c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 113 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/client.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17422c770049bb27dcedb60b4eaf0e51633db690d10dbfebf78e1fba879c8c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 142 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/client.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecd8561b5435190d676c3870e6a4dc3c1e1e73c81801cc093e1f1bd8cda036c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 168 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/client.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a2d8e900659fedc28a8adf1d17e6bf59272bbe2f25c0ea71abb1a1d0dda26e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 208 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/client.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a47d97fa7c20959d40d646e659649cf994c3ea3f2b0280fbcb7bb0ac404230e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 214 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/services/embedding/client.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8760c9201c54e139adb87ed141b283d39214670990b8e7ca826f65919cb074"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 297 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/client.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dff23620a00bb591069dca01227a1a2cf1a35d1a1084f86417d39e3262dc896"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 128 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/services/embedding/adapters/cohere.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c101da0768c9ebd3ff15c5b2af51cccdbb4b3ca6bed05e00920bf7f97819ae1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 136 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/cohere.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e634b3b67035663f839908ab8581a7cbd29ecfbd3eba832a85bc7819aa1b985"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 150 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/cohere.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a377f00bce31b197e61de485d90afdb60ed4a906a8d807b6343f679792c35d7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 152 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/cohere.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46b0ad36f81223c895402de83da3aa40ed4820ecb5608794a0d930e50ff269f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 115 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/services/embedding/adapters/dashscope_native.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"48067d2a0255e9bb514d2f5ffd230bcd95eddc0c917150e6a4e7582605523f48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 149 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/services/embedding/adapters/dashscope_native.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3863c9044c7e534afbc4d47975a411dbdb68a080bf210589be0ee6f7eb38923"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 220 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/dashscope_native.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4874b35b80be92405b5da81dd4a525d1fce6a63999e075af7c9f00e92cd73b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 56 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/jina.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bab2ae70fea9036c2b742e8d7c1ac43e60f834b0b4514a21a0ce624a6acdbf3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 104 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/services/embedding/adapters/jina.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3f23213693595ca523301dd054db5b4254fc0bdbb60de21a060379b8893906"}},{"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":"deeptutor/services/embedding/adapters/jina.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6331bee25bd7adb6026227ae794b5113c02d124f80b2fbf60b8f6406ce8b0bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 122 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/jina.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dddfa8a22040f69132923c2a3b4777c2f59729b99c2b62b1da31fe639827d5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 130 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/jina.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a282511813c1db7977c3fa5809f97540a8b5c096a79ce6c0191e1ed13cd1b62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 60 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/services/embedding/adapters/ollama.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b3e54e3a40e0f0f5457c325b7af4caffb9cf7718ee9cbaaccca18b3e57aa7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 108 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/ollama.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"803bdf595a8e15fde760cc5dbb02127bc2c3db8b753061818200601af8264376"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 117 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/ollama.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6251e9c1135468bdd5569b62b135e823b068281e57e6663d8946cec4a4d63b37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 122 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/ollama.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"342f8856561c5187c92cde23946af0ad430125e23bf247844f55b6feb7b59edb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 245 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/services/embedding/adapters/openai_compatible.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8de42ca2e7d433bb78c5964553b519e89ceab35acf8242da79fe403b87e886"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 310 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/openai_compatible.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89120830f06ec5461331f0cc47454c8ad4eacbfa4c3e7789bd5fbbb898ccff0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 366 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/openai_compatible.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c1bac7545ef08e68626e59d82850eb55242a16b371b5277a4ea43b18aef878"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 373 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/openai_compatible.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9e5b16e7c9ea0470cef1555455c26ab2a541dfe50d31481837ec6ecc8e45db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 393 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/openai_compatible.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cef56cb33bc63b97733e79007641d67a07f2392c0f2a3249a86ef7fd5be9c42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 398 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/openai_compatible.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"de33ff94eda26b441abbfa2b69c050309b0e53d83b7566ee32ac955102b0da0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 131 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/embedding/adapters/openai_sdk.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7380992296fff6dd39600dea5e42fdab2c44d1439d5601f1afc567a86cbb98"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 65 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/knowledge_base_config.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9b17ebc5ce19965c87f940cb30c622c315afd886c93309301aadc45f37e401"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 212 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/config/knowledge_base_config.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed51b75fc543e1e2dc77bf8f675375483da81cfee685251a3005e1ef6e20dadf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 176 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/logging/stats/llm_stats.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe02d3b178e20efa225d174576947339f5afb36cf4f1e0d21ef6c6dfb42e9f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 178 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/logging/stats/llm_stats.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0319a44d66f10018c805e264c22fdea8072ffee06eb352aebb1b69f1199a0459"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 179 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/logging/stats/llm_stats.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c216ffc059e80e469960a7e3557abb968cafce968283abf777777d8b707aed0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 180 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/logging/stats/llm_stats.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb38187a0699884e8bdeebf8b55218d9375f6ceb3320abfb9d759e59efe181dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 183 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/logging/stats/llm_stats.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c5d8e504235f58ec0fb3db64e6ce64890909869eb8e905443d736e88608089"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 281 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71618c3a25a382bb8aaf8e56209d46c8f0cff65d8d5b5df846e44defbb59d06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 290 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7bd2093cdb20f84b060435438eceaee0d99aa08784d0b6dfc7abcccd569f7c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 295 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"74629060837989682d456c58c1dd445134113c9768ff3b752222a20397617b04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 314 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f70917492908ecae7421a6a0474598259749a22cd08aaaba0548a76a8ccb21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 316 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2fb6a5e5bcadc2c84b10dacd03accfa9266c2ad1e89ecd29290b2c3b5403be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 471 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb00b329efbe4b96e8369a5e7b74be6413ff634dc51cc2189bb35a3eaba447b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 483 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef63a1054ae9bbe012390ad22576fd7b87a5f85d4d8b4f140a71258c438564a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 490 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"947f68ef75694fad58d9a2589e9c7bd6bb47acb28cbadf8f0440b5e6023a15ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 834 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f1361aa89255a40a3042bf9a79b0e6b26599cbe61fd0ac33c977ea9a6f8fef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 91 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/initializer.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7095cac37374330ddc27b3d64148da93f52f33f69f8c231abf109fef11d98c23"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 130 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/initializer.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b022eabe90b0385777785eabad8135b0823a5018ee99244c8ea22d6c77078fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 134 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/initializer.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db39219aa04c60ef42314fb4c69ebea98ef807bff2b2c6f6350933c5d965ce3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 168 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/initializer.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6ec30f0233eddf1aa1be3327df9d3f09985de62e835830499c668e3d8db6d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 176 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/initializer.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1c76619da034b13ab62d00caba5641683115011b1486c79044fbbeb19ac856"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 304 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/initializer.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0577bdcfffde8b4b4a2928bb07086621a0ca7527efbb844b1ae49fbbb39f3da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/initializer.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efd400adda8c06f17c07512ac69cf099376f21cc84fb936adfc833bc8a255d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 340 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/initializer.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2973e875cd4e993e342023524e4070d1a6e6e61743ea8e1f9806b578139901d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 341 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/initializer.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced41b20c525828200b0a27323c4106836f731316dd1de6c9017dc0b266351b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 451 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"9977ea9742a51076c330d3f8dfa243817e43d3b842943ff7d30683ad3772cbb6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 455 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4e767e2693f1d495af38be0b756e15e42dfe4d7e68d22ec70ade37df569f5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 498 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/knowledge/manager.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd75608185e820a866a9b93ae98794ba0ac98e9ee13182e4e76d908cb6caed4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 613 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca05542ded2b3dad76dddc3a18bf7769fd6e8b648c8457a9061a8e0b683e00ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 621 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"597a28d4f264b74baee6f2afdd6fad01b6cb664a6763b16bd0a01e966f184cb3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 813 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"241f275ed0723d86212d61947f5174157749ddec1ee038037f0c49898b06ce00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 837 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"469e7c0934707e406144e424bcfc125b94bf81b9da3ff88833763f9699afb8ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1353 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c08e770bf2be06549a9fc18d87c5ee5920f979f2a496695f25e019d238dfa0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1877 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a1dda3303b4cab9fd79dabdc1cae19ab79f5c17919eae920f0003db550b81c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1884 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":1884}}}],"partialFingerprints":{"codehealthFindingId/v1":"146aed07c331c4735d6847191fe98c8ebbc1ae30db61e0fedc7d8bea78a1fddb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1916 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedd00d1fb3c15319d26c979107d2ce8a0b59d8ca845fb85a6c1ff2c715590b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1955 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39da2bfce166c6d95384ed719253feb433ffc7cdc18f58df0012c3482282da2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1973 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"982707cb40efdb73a0c814171f0facff7912d35680b296aab15ba5f6c416b089"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1976 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34b4e101722d6f29f9228a811f7519e2595eb51681112e1e4c047cca670bb9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2250 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/manager.py"},"region":{"startLine":2250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c3abb9c6feb7ce8c675cf6c4fe05e8906fd84850eca5a51c0d5e9f96a5aae2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 254 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/knowledge/progress_tracker.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"875ffd40529753cd34962e95815d78dc8e81ab1ae111fe0b6a0ddd46b48f3f5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 83 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/co_writer/storage.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3096be5c9d10ff3ba356162fe7edb39dde8fccd4670e0fd0f0e6fba184e5ed54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 267 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/co_writer/storage.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"276f1132988e0bb26af89b5fbd5cc7507f77f05de9c1a08b545881e19e37cee5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 177 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/compiler.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d413a2fce7583513bba0c3bc980d32d8bb817a09a114fdf7c291d373abac0fe5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 341 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/compiler.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"32197bac71547720bae93725caf97916e73189a6e2302dd6be42ccba80a1567e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 377 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/compiler.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf2b3ab12ed050b03a0fd3223672bedab1d4d85959319f750724a10b7b101d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 534 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/book/engine.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a364786bf5e19e7529dc4b93e60e00483d21a19d9751600e8b6d15ac333fbf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 628 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/engine.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f57efc5faa054512561c6b6a73eeb35eeee67500c72d27c09bfe9354de4c80c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 726 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/engine.py"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"c587c3c2e9b8cceab31d3d759392f0fe9f11f7c3a3dc65bf95263ca129f63804"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1173 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/engine.py"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbe8752cfa668542d5d64ae47e06cccf42c49f09fc375c70a233a219d5cbd65"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1362 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/book/engine.py"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf001318defd6e567c2c8997e3f161ffe8b07c2c0fc70754efd3dba147d3e613"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1420 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/engine.py"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"834ed75cd245c1bb95a7fc057879c958d6f80f76f5864a79ec24e85b0cc9705b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1504 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/engine.py"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d422e4ccfa1bbad95a3a71bc8fdf5838fe880367fcde466c6ba28ca6ae16b23"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1517 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/engine.py"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"535ec3670b477555bffa55de91eb3be7cb07850870b20510cbc5c02e92741d6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 108 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/inputs.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"01793597e1e9214977261223fcc9e269bfa3b0c9588e596e7b2685c0e37dfe6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 119 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/inputs.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"88859d43b0d859afa3d335266999e64a9d4f23c47efe88d290d04d39af94d045"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 176 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/inputs.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"988f6fc9e01c03cd8301f876b17f5b138fd21873147952f7818df2f1296d6423"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 199 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/inputs.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c69418f303aa5ab74a9033af1cacdaef67b4b0f3b08dd677e34c16c44c72c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 211 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/inputs.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1bb6a1f5b1142642ae693db7883e0a3edaf83d9131f15a14a0e6ea496498af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/inputs.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ec4d7c276b0de7392abc33b532e037fad5ac851c38f6a577b2bfecb3e1454d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 258 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/inputs.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df4708eb2815c53ca19382ceab53e7172e17431642d3db3128b8597d3cc8b90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 280 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/inputs.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c3a72081b8c9f38a3e0cf2560520140a69242664a4cbdb2ce778dd865316dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 309 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/inputs.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"4015e5953e2491dd477e2af4088e306ca59a4b4df89a3d199d0c40c2b89a52af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 506 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/kb_health.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4090b0867fe5aea012df44bc04d24eb54e260c852c17fca5cff4495d501c29a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 89 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/storage.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3967c8db63860e68b49a71599d128cf8d5bc9a5c54c5297e0e207beeec7700"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 169 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/storage.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7207f72aa4853222f57c0ad02e9d2cbcf1e1456053b8be44426026fdc8f399d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 189 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/storage.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"83affdde42982af89071d3e9b93021fde17803e0b92affdaff896ab2e8ba9c2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 210 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/storage.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdda29746bb78341cfdc7d633ab70a44028cc6dd9ea57eddb4e0e53b9a48cb67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 230 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/storage.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"4257a94ae56833cb24fcf9eb5d768ad6bbf2fb910a9f0f915cd900eaad8704a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 306 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/storage.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca6f815c85bc503fca87211ee6bfa2dd4c556af2e5c5d09e07bf9af0aef8786"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 332 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/storage.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a1b3147a34a6ab98509a1ab824785e23bb102d2427564619bb4de66dc0cef3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 349 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/storage.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9390b71f9b60e61cd150c6e2e4d8c6f9d5785c62215cb226007e945bddc419a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 68 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/book/blocks/_rag_helpers.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf2005383ac77ba389262a4cacf429e37045fcee0b5025211c1ce20661a51c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 111 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/book/blocks/_rag_helpers.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"91265533c1c4fe485fa19a56e402ab18cfa1495310119cdac6ac88324b7b5193"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 123 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/book/blocks/_rag_helpers.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"47722a6186f1a68b52b9069d6e5ebfd2aff97ab88f51f7bc95c8a92b531f3bc4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 104 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/animation.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3e63e98004eac2e6a2053d2109aee9feb22fbcc1484814eddd45fd8af6c490"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 153 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/base.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca57f7d455bb574769df484df8f1c2a68b0be4cf918918d2b8e8e20251042b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/figure.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff0d725b31af8e2c6999e22a3770d2e5397e862f3705cf6d1728469d535d8de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 91 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/interactive.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35b654aef25918c9e9eedf9bd9a555a4750502bc591f7ee2b00279da6f0d824"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 67 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/quiz.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7244ef99239cf4849ec6ec5fd90924e48a7e888957a03a58bf75100efc4f3aa2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 214 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/section.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81a26bb054e01970d1b1e1489c0b4b096e4fb84e7fd0b9f8d2050ae8aec40b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 314 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/blocks/section.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79a2c0600752baea11223f66cc0f7e28a55c1070569bdbc08f2a40a1cc5906e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 349 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/page_planner.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03e2839b3dcfe3247e41e1a5ae63b03fd3f42b0bc08d1251bd4a37d17edffd6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba25db8bd677789c8401112451032923efa32023d20f4d14e0d48b3132d47f20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 430 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd3e6330fb1db19abef21741651fa67a83bf35df9ec6e965a25bdeccf99cfbf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 437 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a8669096e99ccc4675207fe92ebcf51acd6cb7d65cad76dffcfd7289ac6c23"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 502 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab262bc4f4ec0120cb0ed216220ea806f4f97ba1e26b20806343e5fce0bcf3de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 629 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c7e79f2bc38ef51fab9768994e8ce80e97aa84815395bc20b665b30c5f1209"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 730 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/source_explorer.py"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"371567b027419a87f7dcb738a387ae63032a12737079694c4cff9a6121fb39ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 298 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/book/agents/spine_synthesizer.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ee6822fb32f92f78d16a1ad6ed788f94c596ef4ab2d4ba1a03574e34af32a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 683 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/book/agents/spine_synthesizer.py"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b311896d3dda9d362cab277cce2f51fad44c19472b628cf763c0d682c4dd17a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 176 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/main.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54fadbdedab2477990e7b20b02e53902a47582dcc133b61cf2ea1f383131e22"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 178 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/main.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e169f1a8ea5aaefdf48a4d04763a916f284d149b1b29cfc32ac60d9c192975d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 187 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/main.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda1b919b4eba2701302d3ba3ad96bcd8c8b8d2c4a61405cdd1180e97803a4a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 278 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/main.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b44d18b78c6277f21b37f2f29300d6de3e9cfe8101cfb38f47feb8411bf0a70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 298 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/main.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8cfed7bb6c3f2e7a1cfb8db8e87aca5c3b353918b216c0af8d84bd881f387c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 314 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/main.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d064924b1ac7a1abe1dd59fc0f3abad9d4a1e3e276bb69030eb4db43db134f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 320 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/main.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b75bf3001f226f9c1a592f2b7bb543b05d18bbba6c3282cecaed46e119de634"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 331 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/main.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adbdacdd96e449f170e5df9c9a6442696d07526df53da26fcfd480957f6804e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 341 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/main.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"06569c2dbc86093127059c8c0736ad880767ff4da3dd1ffa539753a571ad60ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 349 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/main.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1147ffbdecf1c3d375a42fd2978b98fb23318c875192fa0ff8bc6b2be1b8c88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 359 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/main.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"85717da936bcb484eab926d6b9737a2d772dbe681961df103958ffa66946be37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 34 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/api/utils/progress_broadcaster.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb8b7c9b2af1c8688f628038ec4bae8810059cd5fef72e63a915cdf3d350ff9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 45 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/api/utils/progress_broadcaster.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ddd52aae19111245d5f477faf44066e313303f346f0d6865f8f22b784c544e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 61 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/api/utils/progress_broadcaster.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f086dea0c2db06518d664aedf5a0700d0004b03ae792fb51f15becabda343e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 955 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"43acd2376d2e6e62fbcb1ec9f973e99c9c78a61ef8553edbfd40cd738992c889"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 975 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"a016ad61476a5f333887093583866ae6ffe1b3404cadd12064ec8032beacc40a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1021 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02e80d65da19afbb4b2a026e4225bbd6cf30020c4ae16776c7ee0719a8b2ff3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1281 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0e95c83a1edd1709ad6895f50e66398a7163d3f0095e4d9f38c9e1efb705f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1313 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b48f5bdd0447dcce5370d595fa1b264e49bd9016a68226115776e48786fba33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1459 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fa1ab31c760bb5d55a965f9bbd9da6807e6ed6ef55e7d63d6948712d95c812"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1556 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb82b3b88dd8cadfe893acf2421149f4ede867e4d256349c8d13db8eb6395cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1607 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"4791db121f376bc5b662ad722c42925c4f6bab5a7562e3e14572fefdaa77c77a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2058 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c1945e969e2fb0672d7c925a21cfeac5018097d15a32954c27308ab86307e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2085 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":2085}}}],"partialFingerprints":{"codehealthFindingId/v1":"749b4ad2263dba63d324d25414549ec770decb00d70d93367341162833995830"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 855 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e3b99fe04edff7533483443e20ef72f85e404abb9695fb192edb5f30408a45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 885 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef3d2e665d01bf5c2113b289dbbd7d3d7df23d2e8c08d3bb29a6e807c71c944"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 921 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a498c0c3dd1650bb10d76eb025b8796edb51d42265a3e0227f9f91a97d6da5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 947 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f86910f15e75ebfd516e2865756576e81c8461663caff66f4e7516b4907787e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 973 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"13faa1a5347ad1c264631bf24d28f383a7fa6627360e3d8ba695ed6ad1aa9f95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1018 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd9baa22b8399872a34e456cf0e70d9c1479c4a4a7e7057574364420a6da669"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1087 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed54e03c918ed41e3aa7b02fb08ee1d04d26e6137d7f50dc63f127a2dfe8fbe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1135 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b13376d260343a160d70b9b38127233fa1093c3711b818d88ede1993aa4ea10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1168 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04bf1a1ce05865349f7f21a4f4665c12b3e672112041bf128a0898557cc8aa8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1195 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc47a55a8d90aaeb299dc172f1f136a67839ba47fbbf68a6bc3e362722c3c85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1222 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1852d97ac8d7a7b149f71da399811a7a2d07acac8e90b2c10a1f1e63e53415"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1252 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ef332005c43d79ad41beb38ce339e709b9292798ffa868759ddabb5bcb1af1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1535 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d19d6631809b6ef6bb8354eff3c6224fc5742777b62ab46e75f2504efdc43b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1593 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74861f86d23fb16963c7a5124fe21b29926790eafdaa0842c82f42ef8294ba7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1615 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af7e925f0d5bca0941ceac1fb31d5067379d173f2573967004a7318a9ffc100"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1636 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"524e2dca4943bc1740ba462577baed7aa1f513e3fb0ca2c89144b98d9064209b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1985 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"685117f63711217bd22c47a73ff328a6c9f5b65799ebbed5137ca8486fa3bd44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1994 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/book.py"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acecbd07a7b8800bb9b0bfcf0346054741769b45220538d23f100b2df55f94e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 703 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b6c8eaa99ec47bfec18922cc96e30ed9968553a6241d73f90ed9a21de9c97c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 711 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8643dfa57199ac41f790c34e9608067bd4590b7528530114f846c330f58f6fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 713 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e218f6d7f1b8b7c77aa1f807d670fef255918670e8fb1f73d3d1d998ad51a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 725 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffeb366ed403199e49cab3c7310169ffcdc3e68862e02fb34b94d30d8623b88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1482 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eabf70ab49eae58755fd981e5511dc23ec3ce7da2b4044680b4234b1e90801e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1541 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e8cb49faada5e8821643fcd62e0c997fcea9256119c4a31520e0d558ba8923"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1562 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5024f97299c5ddd6e23c47d39cedaf80c5b078880a9a6fee74b15d24fa7a35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1594 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"7923ac01e8792882d7a67d87eff71edf39388e44b8ad83d4adfbc97d5caeeef3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1618 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb82219e35d4c47f6895f5261f21567b8cbe228e73a1482b5c875a4334d530a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1664 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0a96967488f6fd6ad5e0c59ea37f521915ba18aa5ec38388bcc77cfb1009d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1684 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1684}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1493eeb7138853d30230d3e4d89edfaffa3cba189580261020a132a18db95a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1704 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1704}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3185f00427dd1e3df96e371361a1a3074b175844e7c003cf1eb54189a1ecda8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1719 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b66cf340e1a2e4b8dcb79566992a2e3814b6fa0698a66370779cae415875ded"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1767 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3ea013e0167367119febaa486c37e42e50da54df73df2d92c7f22fd8aaddcf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1820 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4d016a4a637f41a8040b690eb0e0854c6b03fd2fcdc9d268b5cd9b7c1a1b49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1850 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"1deeecde467206774c7828ce9ac7355cb6baa1568849fe99a7bdd439742540eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1872 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7bef2f728612e2ad73fa5fb3edc242ecbd8dacf1eaa291e7c10d97f78a702f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1888 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"16476d5cad79506a91ab7ee5ed3f50b7009f5f5489b8b09fe90e6cc148c1644a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1948 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"944e4d7f79606e64afa814b1220368ab66125ebcee38dbb53f4182ab0cd6b080"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2070 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6df710ef80cc828fe7a1f3448b477fe52ee5233cae425ec071be4cd5f189a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2107 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"348b2c77751519132f84dbb226d422d18157d0dd7407e7aad64c6a0cbfaeb201"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2121 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8352e018b4cbd0c67aff1b247345f5640d31af2e4cd5e1a784dc1d5b0a6f16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2183 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30b2bffd3b380f8ae5c29cc03d64ad01000126c7da58137b2fe739118f18b7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2197 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2197}}}],"partialFingerprints":{"codehealthFindingId/v1":"022df735805582af68069ba296e3cd11a0fff1d9ccf2b4b4f3c18ec6ae850fa9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2209 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"15701175c43a308b0bed53d4566403f5e01ab2974b62893d2c8607a7274f2d51"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2228 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f775d0a3c581267bab35f75e8288c951236401bfe6e6020a6e3401fc71fbc2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2265 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2265}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b9f177b9c3913ecc37599b38b70c70df56174b1aea5e58907caa9c6f435485"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2302 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2302}}}],"partialFingerprints":{"codehealthFindingId/v1":"621e350a0eec7422fbce243537d073e3deea52c1f4d75fccc404e3bfce6d4ac3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2375 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2375}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf68f6f89a01ea7acef644a4cd9230a57fc06ef79b0b2e5cd3d96c783d6f56a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2486 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2486}}}],"partialFingerprints":{"codehealthFindingId/v1":"3278d0e954c5f22b32a30b15375902f6311aac357e9258389428ca8e2d72aebb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2556 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2556}}}],"partialFingerprints":{"codehealthFindingId/v1":"747bfb1fbbafc8df1ad590159d9873a7fb14fe3236ceb56e81acd8654062fa24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2885 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2885}}}],"partialFingerprints":{"codehealthFindingId/v1":"884c2b45682379f9e37047047227d89a3f05195f4bb1ce80f1118219bf02874e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2897 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2897}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a89a8a8a2fc35d46486121baeee78b5baf411be9094158089ccf369e5d3ebf3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2919 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2919}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f163e63de5dc904887ccdf7accef10c488825e815ab6c03bac129a9cdaad58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2923 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2923}}}],"partialFingerprints":{"codehealthFindingId/v1":"960cfd057b7a88439adf5c8b3b3f5a89a316e815973559ec17e6fed5c785c823"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2948 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dd2300b688834e577155e1234c7f44c3e647e2bc8084a93c7891ccb438eaaf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2956 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2956}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdd1481485390a5ded1e52fc0ab3692d072d8a973e53265f4a7122c56ff6041"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2960 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":2960}}}],"partialFingerprints":{"codehealthFindingId/v1":"8729047b98db954ff466caf19785fbda5ad2cf376a807137b9ee0067fd5780ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3042 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":3042}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a19d47eb18f1761796a63db4ed81d790f929c0580bf280722684ef80ed46d49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3415 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":3415}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a850da723855983cf38366fa74f7039105cb37d05b50397a6b5721d2d605bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3541 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":3541}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a56ffd09af22ac638b45de98f6f667d8d92d4e56ed94f1c6bac6c61d09d8d11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3734 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":3734}}}],"partialFingerprints":{"codehealthFindingId/v1":"138645de9de6fe56307564ef74e5501626899327be61ce9cc542b3003808cf63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3795 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":3795}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b1bb59ee337ec614b4dc60a58f39b7f92b3e4dd803adcce6e96e5ce0bafb96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3821 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":3821}}}],"partialFingerprints":{"codehealthFindingId/v1":"5deac794edb2c2c5542eaa83225f3a122e039a234917e926cbe61f1651627c25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3850 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":3850}}}],"partialFingerprints":{"codehealthFindingId/v1":"75aa4867548cb0d38726cd5c615e81f94443a51bf191e1233e82b00c6d3a6cf5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3862 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":3862}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76887c7594552f338e9e5520841e39905c7baf058539ebd5fdb94f12b11eadd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4344 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":4344}}}],"partialFingerprints":{"codehealthFindingId/v1":"079fe124083e3133cfc02ad3fd6ed280c9d4080a50b4e11f2689eecaa726e21f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4393 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":4393}}}],"partialFingerprints":{"codehealthFindingId/v1":"27645eb4c92005bedfe9c2269a772b05aa45e155dda444a5a58178182501b5ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4760 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":4760}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06cfc8a07c29931302e7772f45b24caaf2100a12cfe9e230751c82a8df6e6c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4800 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":4800}}}],"partialFingerprints":{"codehealthFindingId/v1":"4998508065164a8291500c07083399f233c08447af1a80a1909ae929dca58001"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4838 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":4838}}}],"partialFingerprints":{"codehealthFindingId/v1":"1875bfbe87e27f3505c88d9ba858bdcac490e3352c5132a47bc1344a553cf47b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4898 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/knowledge.py"},"region":{"startLine":4898}}}],"partialFingerprints":{"codehealthFindingId/v1":"22553eca01d1f8e745583d58dd1d495769840079e15b4cdee2c6c35c7d100ec7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 94 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78e1e3136db0d703c7665272d267b12cf89d79199d7ce45b78f9067e30c4e41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 233 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a95f311440d5ecc2b0d2fe5c981d45b0e2e96dbf5eee514be3ec693878d05d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 265 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/api/routers/question.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1fb5466e7fb6f49488a2fbfd9d0a7321f653b7c2814532d87fdb67bc36253a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 294 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d1723d27008fe90c2423629476773d30c8a0a7444b43f909a59928d6efd436"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 308 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b758df63bea3d6021dda4855c466b13189d6b28de3eaaef277d64ede6c930274"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 402 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"8907ca6161c7d53106ef9ec88af524b2af2bd60007e11c87055ae03eba434d1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 485 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b1db6b62b2e78763657eadc9225d894cdcb30ac7c8aa01bb1a3747925c086c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 511 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37a4f02c4e385da4ad009e3cb12c9da1d1d789a5aed9237c9f8d27afefc8ea2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 524 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"247e537320758835680ebf4b68a6936951f263ee418741bb64bb03902a4e6f38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 532 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d4e66d003423028e9317a3780f9d3d9a244560baa635ce589b7cedc7388843"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 533 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"929f10d1ef47a3d43b0cba32a59565c85a85648338285a3f470b05d36ff9f0e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 539 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9f3916f371e3c0fe17b2c47a38612efef4f67bc88b2f623632523f204b5461"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 544 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"067f77e852f13f7733d8313b928db7c3c898616643a1a29fffb5844d581362fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 546 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea2f1ecedd121acea7053a121f38e30fc9878d5bdb2d4e355af64174c10ce99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 547 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b65e4404f0d67dec2efe7da06efaced8113c71449a4cd821d4bbd0225828800"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 550 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"e048fb57a364416e94be405c39384ba49ad2351f75656bb494d3dec988b1652a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 554 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"884d008286be386fe5852f03c713807df6375f39ba0ada104f64fa138916e306"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 574 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/question.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d00a3c37343e60882d3cabae250ce8c8d9289e883694ff4c39b6c4dbe31374"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/base_agent.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca833e630803a4256ce985681d33eff6d0feb378d80e37218b637315d6b5ceb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 146 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/base_agent.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"60aa02ba7535d132f088e8635305836251c2720b9aac85500585f9e602fe04da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 232 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/base_agent.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a502631e44e2b5f846dac71611bb29d66aeb5477ed894fee71c084ab31ffedd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 247 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/agents/base_agent.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafd4c2814971c9e500ef5e830f1479b77916129bcef9c4f1b4140ffd0d97e95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 419 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"deeptutor/agents/base_agent.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d49f84fcd904b4ddf3d87ce007a1520a82498e5d11119ad964e9485fe767b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 481 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/base_agent.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d30d9b8caf7f3c3a6ef93c14dded6f57e561d775f03a8f92981ce4b489909f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 515 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/agents/base_agent.py"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b5afca1425f245df03b594878789b0163e4ecd2ee9b0191a6ddc69c155f910"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 591 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"deeptutor/agents/base_agent.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5f8bae83943977c63187db420408c0ad71a34e5c956141b42f576fb90a623a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 692 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/agents/base_agent.py"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb99ec333153a9a761647760258130a58be7ba7810be8353cec1f9384eebc96c"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.5 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 107 assertion(s) across the 236078 source line(s) of the 1075 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: web/lib/memory-graph.ts (6), web/features/calendar/components/MonthView.tsx (5), web/features/calendar/components/TimeGrid.tsx (5). 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 JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/lib/selection-text.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c9b1c5f361bd546fcdff6f22130c9cca6ae3aa1ee355e5c4ac78a0bf8e090c"}},{"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":"web/components/visualize/VisualizationViewer.tsx"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1893df5510f31d8d267e40d2e35929a6b029eb4cbf697510381f66306a83cb"}},{"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":"deeptutor/tools/web_fetch.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f952ddb7692d93002e7bc71f7d0f34f7d232b9448a9d9cfac10ff3d0d2054a37"}},{"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":"deeptutor/services/web_source/html_extractor.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1c37d3efddd39ab5a9cb5f26bbee2b71f968565960a19c34833885dbfba901"}},{"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":"deeptutor/agents/video_lesson/layout_check.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"5961b9b17d3b8b23dcf359ec434285d89479ef58528236cbf57b86ae8d9ae39d"}},{"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":"deeptutor/agents/_shared/json_output.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e696e06b1592a3065dd871a0f3b482d6d3901b65860dbfb50eee2271f789c4"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv aria-busy=\u0022true\u0022 aria-hidden=\u0022true\u0022 class=\u0022min-h-dvh bg-[var(--background)]\u0022/\u003E\u0060 under \u0060! enabled || readyLanguage !== nextLang\u0060, but \u0060readyLanguage\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":"web/i18n/I18nProvider.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9a2fb3d70565583eea1b719317ebfad9f4f36263db3a572ef4c7f85c12208d"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 size=  class=\u0022animate-spin\u0022/\u003E\u0060 under \u0060saving\u0060, but \u0060saving\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":"web/features/multi-user/components/LearnerProfileEditor.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d081c2d05765cd9cc25e9636265e86b679ac49da8dcc3e2eda384ffab5df344"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060busy\u0060, but \u0060busy\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":"web/components/space/question-bank/CategoryMenu.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0a2d813351d76d7ceb1ae00afb6e0b1e214ec12a2801a35a5a76545411edaa"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 size=  class=\u0022animate-spin\u0022/\u003E\u0060 under \u0060saving\u0060, but \u0060saving\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":"web/components/settings/SettingsToolbar.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca1b5dce3b52678b02e2496ca837c650ed11a34628e2f980c66a79e4372425f"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 size=  class=\u0022animate-spin\u0022/\u003E\u0060 under \u0060applying\u0060, but \u0060applying\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":"web/components/settings/SettingsToolbar.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ab0bb93ea96647e4eed72c1a853fc1b0f08b5a08c6ad2a1d0fef54b8bce53f"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex min-h-[300px] items-center justify-center\u0022\u003E\u0060 under \u0060loading\u0060, but \u0060loading\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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"4302900fc5d0cf8306008ac0fe13b2cf824a3b970a3bed2815af408f49994214"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3 w-3 animate-spin\u0022/\u003E\u0060 under \u0060refreshing\u0060, but \u0060refreshing\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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bd4440ce80ec267216fa0117b913b61458bacb722d813adcd919779dab6f6a"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3 w-3 animate-spin\u0022/\u003E\u0060 under \u0060refreshing\u0060, but \u0060refreshing\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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"86298fdf748c0dc5c7653d8772978dc6dad608c5cf05a1fc1da02b57aba74cac"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex items-center justify-center rounded-xl border border-[var(--border)] py-12\u0022\u003E\u0060 under \u0060loading \u0026\u0026 entities . length === 0\u0060, but \u0060loading\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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52390076a963ac3cc60aa9b088cec0f8422aa0047509333d83e659f76b70cf0"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex items-center justify-center rounded-xl border border-[var(--border)] py-12\u0022\u003E\u0060 under \u0060loading \u0026\u0026 changes . length === 0 \u0026\u0026 pending . length === 0\u0060, but \u0060loading\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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2f6c1be9b1c8f2b2838145abd09c68d9487d30b116823a9edad3b48638f04a"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex items-center justify-center rounded-xl border border-[var(--border)] py-12\u0022\u003E\u0060 under \u0060loading \u0026\u0026 queries . length === 0\u0060, but \u0060loading\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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c1c655367c39ecbb1b23dfe9901823e89b3d011b4e82b86543a477a69e7d14"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3 w-3 animate-spin\u0022/\u003E\u0060 under \u0060busy\u0060, but \u0060busy\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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ec303769bf03197ff0641e2e89c3c9915dff36d2a61ec7b7ddb696b03b1f35"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3 w-3 animate-spin\u0022/\u003E\u0060 under \u0060busy\u0060, but \u0060busy\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":"web/components/memory/MemorySection.tsx"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4c66ec4ded55474ef9d36859125b209c674d548d896fb0ddb7960096376707"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060saving\u0060, but \u0060saving\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":"web/components/memory/MemoryWorkbench.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"873c49072bee4df31fb0ee0a5cdd0c9c2574a2aa1a0a26cf0d5c3338d67b143a"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex min-h-[280px] items-center justify-center\u0022\u003E\u0060 under \u0060loading\u0060, but \u0060loading\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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e7bbadf80ce5f33b0a07e6f65aaf31de4e86474e749300f86691fa9cddf4d6"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex min-h-[280px] items-center justify-center\u0022\u003E\u0060 under \u0060loading\u0060, but \u0060loading\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":"web/components/chat/MyAgentsPicker.tsx"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b1c0970a3996486c48d9353a9509bb40aa7a3011101c32605259c99ed94711"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex min-h-[280px] items-center justify-center\u0022\u003E\u0060 under \u0060loading\u0060, but \u0060loading\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":"web/components/chat/QuestionBankPicker.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"213687236256392b688c52fc938c76acde4aeb1af8f3ed9c3cb7bee48970c991"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex min-h-[320px] items-center justify-center\u0022\u003E\u0060 under \u0060loading\u0060, but \u0060loading\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":"web/app/(workspace)/partners/page.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4105067c5e078c1d15744507a86852acd3b1a4e88ed89d2f97201c71714c55b8"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3 w-3 animate-spin\u0022/\u003E\u0060 under \u0060saving\u0060, but \u0060saving\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":"web/app/(workspace)/learning/books/components/blocks/BlockBodyEditor.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"698100c3d8efba1fd4fd4150ce0da19b714c0139760ea0f833ce52146afb5b46"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_notebook_choices_full\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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f582e24414c41c421f576ca4d4b9cbbcfd4403a335e3c7c16c6fe3f731f7608f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_current_user_id\u0060 swallows every exception into \u0060return \u0027anonymous\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":"deeptutor/agents/loop/pipeline.py"},"region":{"startLine":1934}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ddc1af52d52732248283f89725979477092a343a9845f054da1ea961fa2f4e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_first_json_object\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":"deeptutor/agents/question/pipeline.py"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"a569bc06a0dd23242e497afe20ddd12a854de868aa18992fd6488bf77565cbd7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_request_frontend_host\u0060 returns \u0060\u0027\u0027\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/api/routers/auth.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"32651d8837dab875f938b9b767af1393d004ca0a47916f520957d589956233e7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_navigation_timestamp\u0060 returns \u00600.0\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":"deeptutor/api/routers/partners.py"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"3366c5d9251eecb084700d7e501ffb0b724459dda39ab0d3126d2f717a9f298f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_material_title\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":"deeptutor/api/routers/reading_extensions.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bead5fb3e46f521cff817e7d18c6184e7d4fc8f971b85e8c685215a2786990b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_event_bytes\u0060 swallows every exception into \u0060return 256\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":"deeptutor/api/utils/task_log_stream.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cc7dea3879af0a18f4ff77f6e7401a617784569ac801cbd1033214004a2849"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060depth_scale\u0060 returns \u00601.0\u0060 when \u0060(ValueError, KeyError)\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":"deeptutor/book/models.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11d378a7951bc250e4e931e490efe6dc94fa31002a1043501700da6909e9037"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_json\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":"deeptutor/capabilities/notes/generation.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfaaee8ec71b2d2f085beb169f98f4dae4e605560fb3e3f7c0380b8b327835df"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_workspace_facts\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":"deeptutor/capabilities/reading/capability.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"de02d23aeaca21075622ddaeea1bb761a8a6553d4b31b26f77feef68c4bbb67a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_embedded_image_count\u0060 swallows every exception into \u0060return 0\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":"deeptutor/capabilities/reading/capability.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46b76dbb23ed95c949f03058313cfc7ac71a218a0edf11ef528be02f4a8dbee"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_figure_caption_line\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":"deeptutor/capabilities/reading/capability.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97e710219941a7f9be751c252699185c56e36fdb580a9a32fab3fb5b11033aa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_as_int\u0060 returns \u00600\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/capabilities/reading/capability.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"3273c476257975cb097f628c2998358ae2637bb9152a27fa540c0d38b5f7f491"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_as_float\u0060 returns \u0060-1.0\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":"deeptutor/capabilities/reading/capability.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87b1b5e2569834cbe82f0407cc899d901d481eb1a939227c6eff5320594d909"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060render_media_note\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":"deeptutor/capabilities/reading/media_notes.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8015054bd496ab93b69c68d33080bf48e27fd7b6a446345790512f29d1128f5d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_as_locator\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":"deeptutor/capabilities/reading/tools.py"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b532f72cf70d0a95bf14bd87b294f7b13030167dd29132e89b4ce2d1b4d6f7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060setup_gaps\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":"deeptutor/capabilities/setup/binding.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d48ead75ce1732a21a79288b03ec8c9c6c8bfddf87c767bda1f68bb4f78106"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_numbering_formats\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":"deeptutor/co_writer/docx_converter.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa3c273ce6bc2a90ed5a5ec5c31be77dba60357628fac20a9acb92e13991499"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load_history\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":"deeptutor/co_writer/edit_agent.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e600c6be9b43bcf7ea007c875cbd90307ea9afb0c8eacb5be673920dbf7217e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060get_ingested_hashes\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":"deeptutor/knowledge/add_documents.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76670bce725e9d8cbd2f2d9a4c4dbd3c81a6a50ba30ded8f107082d7bb074f7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_attempt_count\u0060 returns \u00601\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":"deeptutor/learning/assessment.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"499d2cb0aff40317be31242fe354131ababd10777e45f4f8b3a451fb3fd4d110"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_hints_used\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":"deeptutor/learning/assessment.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0c3b9fc291261225df5c90784e2109a7873467a28c2637adac24c8a128c00c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_prior_correct_questions\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":"deeptutor/learning/semantic_assessment.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df4b1f84603bf2e1f1c1ccaff35060b60e1ee9acebde474aabce81b8fd4949c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_load_records\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":"deeptutor/multi_user/device_credentials.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5116bfd72086697acc230e593a6237f50b9ebf8b2aeee9fadc32b008a9549a1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_load_records\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":"deeptutor/multi_user/guardians.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc70adb52bb979a5214de6ca81abc9cd2a04fa652c4919631fe3f4ee130984e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060card_content\u0060 returns \u0060\u0027\u0027\u0060 when \u0060(ValueError, TypeError, AttributeError)\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":"deeptutor/notes/threads.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"10934095db23fd8a688357ea504f1604d5c8fa8530b557e250bfd0e5ea3b3115"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_as_int\u0060 (in \u0060_build_client_version\u0060) swallows every exception into \u0060return 0\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":"deeptutor/partners/channels/weixin.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a740462b6d9c3664686378f6784ed4dd3522abd92ddef584b56b87f2d0f22e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_metadata\u0060 returns \u0060{}\u0060 when \u0060(DefusedXmlException, ET.ParseError, KeyError, OSError, StopIteration, zipfile.BadZipFile)\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":"deeptutor/reading/epub_bilingual.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c84cc1c8001fac396247a24753c5b72296aaaf35f536656a1f3a146338e45e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060list_epub_pairings\u0060 returns \u0060[]\u0060 when \u0060(FileNotFoundError, OSError, json.JSONDecodeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/reading/epub_bilingual.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"439acd62d16956f5644d8197c278592903c4ae1f0bca746e663fec62fb5fd969"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_sensitive_arg_names\u0060 swallows every exception into \u0060return frozenset()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/runtime/agentic/tool_dispatch.py"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc803686c189555093e99f4cbaeac22983809118efd66e7d752c5de382917039"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060sequence\u0060 (in \u0060read_background_commands\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":"deeptutor/runtime/coordination/memory.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bd5cd3821cc2463784965a29c004c313c21b4487e457b8077b36ef8c07eb47"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_worker_limit\u0060 returns \u00602\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":"deeptutor/runtime/isolated_worker.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98fb97728b90664190e2b33af8e9d3cc8079e56c91eb8c0dcc1cf7b286605a1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_port_listeners\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":"deeptutor/runtime/launcher.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d69593f6338fdfa7b5756f1d1116ebecdf49a491de2db772e13a51ea5300c93"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_port_listeners_windows\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":"deeptutor/runtime/launcher.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bcca7c9eca9f9b73448f101654e224cf18166174af7b0629024acfcb649c97"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_process_command\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":"deeptutor/runtime/launcher.py"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"571dcea7a9cabe85617be7cf98413a9ed83f992429266438f2b97721fd245659"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060probe_process_liveness\u0060 returns \u0060\u0027unknown\u0027\u0060 when \u0060(OverflowError, OSError)\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":"deeptutor/runtime/process.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd185f05c0891edcf73c41202f969002801c9d61fffc92e74c3e37c628deae48"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060catalog_pin\u0060 returns \u0060\u0027\u0027\u0060 when \u0060(OSError, json.JSONDecodeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/cli_apps/catalog.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"99aca64de31df5b47a5a1bedcdb6736545a0d177be935dce63dcf97954ee3fae"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_offset\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":"deeptutor/services/cli_apps/catalog.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21d4b89ca30c08c1e88cc8cae19cd3060cb8ce15617c0c6147323094f945246"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060disabled_apps\u0060 returns \u0060set()\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":"deeptutor/services/cli_apps/state.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbcf776172b6e452ad2c07a6a490dcdc38934c219e35876367179ba2d4f82ba"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_as_float\u0060 returns \u00600.0\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":"deeptutor/services/codebuddy_credentials.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e04cb1b036dc0b80ce0409508dbdb7b86e961593dcfa8fea3dfe20ff8f23b00"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_load_json_object\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":"deeptutor/services/config/launch_settings.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6fab88c9b9cc01e513f6d45d63b67abf3fcb3a97d857ed28ea283b714b18b1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_read_existing_catalog\u0060 returns \u0060{}\u0060 when \u0060(json.JSONDecodeError, UnicodeDecodeError)\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":"deeptutor/services/config/model_catalog.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"858f574a234bd22ee19c621925361a3a36cd1268fa2c03298cb0536a260e53a7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_to_headers\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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bde507d59bbc258dc56796c999ec07184c4a290232a698805840c3567423eea"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_clamp_batch_size\u0060 swallows every exception into \u0060return 10\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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5e0a98ede73929d1bbe74cdd8f331bbf131f10991b058884b6a19c9e8be939"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_clamp_batch_delay\u0060 swallows every exception into \u0060return 0.0\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":"deeptutor/services/config/provider_runtime.py"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4c7f6132929f70e9c6de8434d8ac3e0e5683c25a94ba42e85b2f3553a87918"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_selected_remote_parser_reachable\u0060 swallows every exception into \u0060return False\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":"deeptutor/services/config/readiness.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"669a89de960eba0964396e54a4176fe28f7f46b954359acae441d272965853ed"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_json_object\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":"deeptutor/services/config/runtime_settings.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c83d222257f648efb5f5c9aa0838a27f46aa845e050437b6218a9ffbd9f6ac"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_content_encoding\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":"deeptutor/services/fetch/providers/deepseek.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6fd50844ad39dadc40ebb28ea62499fb2793fec0b06866b3b899e92a4b7e45"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_catalog_deepseek_api_key\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":"deeptutor/services/fetch/providers/deepseek.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60ce8d91e4b692b7fba66437012a69e533ebeb7a673a81bb93d6466986e41b5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060redact_url\u0060 (in \u0060redact_sync_error\u0060) returns \u0060\u0027[redacted-url]\u0027\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/github_source/sync.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd62803b180d7dc2a29712b5318b9d64aa2868c78640f81ebd0528fb55ece89"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_as_int\u0060 returns \u00600\u0060 when \u0060(TypeError, ValueError, OverflowError)\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":"deeptutor/services/llm/usage_frame.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ae37dea32a412e047dde04bc738c82dedb5ae6b4355038cdf0f7aece399c0e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_parse_facts\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":"deeptutor/services/memory/consolidator/modes/update.py"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3686c204e7eb5388569212f97ab8dc0cd69df13671bb71570e7b38e11c08f4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_partner_archived_sessions\u0060 returns \u0060set()\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":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa565189483ce0a77f2cbda613f944e017916b17b459eb54f2a77d604094061"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060read_kb_entities\u0060 returns \u0060[]\u0060 when \u0060(OSError, json.JSONDecodeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/memory/snapshot/adapters.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"147e1ef65fb6914943c107ebe54f32cf4f669e7e10fe7707ee3a6d8644c99d76"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060package_version\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":"deeptutor/services/parsing/engines/_versions.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1590924efc62c6574d65225a4eae8ef4eaec75bdbeeede082e478768afaca279"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_export_with_doc\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":"deeptutor/services/parsing/engines/docling/content_list.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf52b801335b6b3e3e51b96711017a53423a4e13021d1ff7233d488487ee4b49"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_max_pages\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":"deeptutor/services/parsing/engines/liteparse/config.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5117e41ed8922c32085d2a0cf9ede3bf0f88dc690cda4b1570494cc23e7c95bf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060local_cli_version\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":"deeptutor/services/parsing/engines/mineru/backend.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"95357b4508201857f274846b9bba229e11760ba633250dbab6a0b1ad61bd5462"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_load_souls\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":"deeptutor/services/partners/manager.py"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e029223037149f95920ee536244e69acabfb01133a228dbe93fa536725af516"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_send_max_retries\u0060 returns \u00603\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":"deeptutor/services/partners/manager.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ed94e34676fa723a1e441396e78295c4cb98d36bb88c56091f061a87a7501d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_load_index\u0060 returns \u0060{}\u0060 when \u0060(OSError, json.JSONDecodeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/partners/sessions.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48f67989f5f62ada1201c6f39ef4faa842d616622051209eeaf56f0030d4099"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_int\u0060 returns \u00600\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/ima/models.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8912b52604c46db77d13bb633a559714697df6c17196c4fa05297e99a24029a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060query_kwargs_from_settings\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":"deeptutor/services/rag/pipelines/lightrag/config.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfce29515e77bbbd6254d39f6c96ad14b879ce8f94ce0185c136d975d84b08c4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060indexing_kwargs_from_settings\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":"deeptutor/services/rag/pipelines/lightrag/config.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"386b277134dda7b79524025e3d207a8302fe6c7b1a31a96e8ebd72028ccea624"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060constructor_kwargs_from_settings\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":"deeptutor/services/rag/pipelines/lightrag/config.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c90ebdf72498a9853ae58fc5700e693a22c998bc8191d28b342411e4f6c83d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060default_top_k\u0060 swallows every exception into \u0060return 5\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":"deeptutor/services/rag/pipelines/llamaindex/config.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13faf1adc927c254f5f45848f2207557b65442906c86a1d4f502cb35829de80"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060image_description_batch_size\u0060 returns \u00601\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":"deeptutor/services/rag/pipelines/llamaindex/config.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"028b7a2041d5e6ce35f244bc52c247ab9bbd46951c0adc2c4450882bb9836fd1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060node_in_scope\u0060 (in \u0060_scope_matcher\u0060) returns \u0060False\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":"deeptutor/services/rag/pipelines/llamaindex/retrievers.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b8190569e5bfad995dca8e323be2148b2470865b719750122a0b62d93569a5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060pageindex_sources_from_text\u0060 returns \u0060[]\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/rag/pipelines/pageindex/tools.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b28e9219ae4ef990855c77d2fc556443a80be15d55476e19a81410f007a7cc7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load_kb_config_entry\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":"deeptutor/services/rag/provider_binding.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"312b520ea78a7573dbe69a3f949dc801c6c103d804a2aa420b4bb059f038d621"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060source_state\u0060 returns \u0060\u0027missing\u0027\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":"deeptutor/services/rag/source_visuals.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7999647020bfdb7f413752cc106793537207f57a7b15007143d16e531f60ba0f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_timed_media_viewport\u0060 returns \u0060{}\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/_turn_runtime_shared.py"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbdaf29e65ef95011fec577b05657deacf7ae367f9226df11f54f250e00f40e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060select_ask_user_events\u0060 returns \u0060[]\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/ask_user_trace.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2e1b30ff6c050988aaf5ac3ede89f9282f8f0260c31c2fcd30174a38ba8894"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060list_active_turns\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":"deeptutor/services/session/pocketbase_store.py"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c57acb4a99fd7a7f3395710cd615e17a8387f55691a840b01168eb92ccbb0b3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_normalized_output_items\u0060 returns \u0060[]\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/provider_response_state.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c54a6eeb8126c21f5c0f868b84c2a91bebde0b7d6e630b9e7803b6bba8d91f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_normalized_thinking_blocks\u0060 returns \u0060[]\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/provider_response_state.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f68341a8358870f58222de864c07529c2b46413c204b260f9c466d3fc80dfec"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_trace_bounds\u0060 returns \u0060{}\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/session/sqlite_store.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98280655b78abb0c8da9113541654450ee26e34b3f6fc59f942efee1e2476bb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_number\u0060 returns \u00600\u0060 when \u0060(ValueError, TypeError, OverflowError)\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":"deeptutor/services/session/usage_statistics.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ce7d01500b34a4f283df4f59ac6e160b8109847cbd45956b41e12955e5a8aa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_latest_version\u0060 returns \u0060\u0027\u0027\u0060 when \u0060(HubError, 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":"deeptutor/services/skill/hub.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bf284265eabd64ea44300b48d3f3aee80de09e5d02549ef8efac2844552bdf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_read_frontmatter\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":"deeptutor/services/skill/hub.py"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a44b8d9b8c404c7e787790f2c7e7a3d79b3e218d04a22823a25b7877aedaa5b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_read_tag_vocab\u0060 returns \u0060[]\u0060 when \u0060(OSError, json.JSONDecodeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/skill/service.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2705fe95ffe439eac4c21360eb0c9656049445335928e5a9d9c2acd9f990c44"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_read_hub_lock\u0060 returns \u0060{}\u0060 when \u0060(OSError, json.JSONDecodeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/skill/service.py"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f15ce2d926db4e033620819cf141d6120a854e6993a26aee2f283f60f499f0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_current_schema_version\u0060 swallows every exception into \u0060return 0\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":"deeptutor/services/storage/file_library.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7eabbcae6318c16d1e46de00c5ec90d5a48015c808e5ccf21c31427f08aa124"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_parse_command\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":"deeptutor/services/subagent/acp.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"073240c039f7669fb32e393ccc0b4b771b5a251c7d03fde7c523e196f522a598"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_codex_default_model\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":"deeptutor/services/subagent/models.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"63021bfe8a394515bea1e29c8b2637ad060fcbe5046e5fab500a97ef63605635"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_response_parts\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":"deeptutor/services/subagent/opencode_family.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7847fa43d92739f50ad67c864f090bc973f8d2a47e114566b956f88731ab2c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_scope_key\u0060 swallows every exception into \u0060return \u0027\u003Cunresolved\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":"deeptutor/services/suggestions.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2e49bdf418df61f5ecbb9d9d4b7cd5880376942bd3c67ebbc653d658f96743"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_parse_cues\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":"deeptutor/services/voice/adapters/openai_compat.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"f796742a4a91faf70ee9fc77fcdc292bab06af456be149cb2a6b5a355502ddb3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extract_navigation\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":"deeptutor/services/web_source/html_extractor.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89b8dbe91f72f99b3a53f2b8b3a802fbf87a2fd302821526ce23bf8ebcc44fa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_read_settings\u0060 returns \u0060{}\u0060 when \u0060(OSError, json.JSONDecodeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/service.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf69b1b9a175e43a182a755722e11ba909218d075da601ff70cdd3f245ff001"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_read\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":"deeptutor/services/workspace/snapshot.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"495aa5bc6279b441a30157b049976cce2c6ee6efaf97bec6c60d79c379a728b2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_origin\u0060 returns \u0060\u0027\u0027\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/services/workspace/snapshot.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c38e37222f59e10a01ba2bc2037b0ea6157d5c99290ac0f37dd1d2ce67a552"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_parse_queries\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":"deeptutor/tools/knowledge_frontier.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c8cbae0ea4d6dfb87882dafc524098f15c8d44919c82140a63dce20cbd29b9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_format_timestamp\u0060 returns \u0060\u0027\u0027\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deeptutor/tools/list_notebook.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2283e0ffd14e33129bf28f145f402331490c737d5d72774f020f7f2b4e29b47"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060image_index_from_name\u0060 returns \u00600\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":"deeptutor/utils/document_images.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bce985cae0e39fb74906c28270393e8e1f683dfdc1baaffd5988fe9b976ee56"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_office_rels\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":"deeptutor/utils/document_images.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"90de05413a0e8924255c477d048369c47c77893b2751ae410166946289d27962"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060read_json\u0060 returns \u0060{}\u0060 when \u0060(OSError, UnicodeError, 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":"deeptutor/video_learning/invidious_account_storage.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44c792c318af03f3da998ced40c93b48da0c984e4efb7d5f5a04298f736c90d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_parse_json_array\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":"deeptutor/video_learning/marks.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5958ab452d132d0fbceff302d478ecc8e77488b124de04b1e58a04f64b4c20b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_youtube_metadata\u0060 returns \u0060{}\u0060 when \u0060(httpx.HTTPError, 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":"deeptutor/video_learning/service.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"65be95727535751a724358f27c85fa225eb5c4255254a64ecee22c914e0b7f24"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_read_json_object\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":"scripts/docker_compose.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e383d89f3ebc5dac90e5cd370af3d3dfbf075879b5d4e92bf36648c92552875b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_existing_collections\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":"scripts/pb_setup.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"067ce828b696d2c978fd5e5651d84d23460366f758864ff7baa16b1ac7fae105"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatDate\u0060 swallows every exception into \u0060return \u0022\u2014\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":"web/app/(admin)/admin/users/page.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e4c8acc3c834369f20df920f01e4b5b34d77e42738f1ce18d266b511104f9f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060stringifyExtraHeaders\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":"web/components/settings/shared.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f517aef4e225fa8019d3e1712fbedc586838fb9273b735e580daed9b1816071"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readOpen\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":"web/components/sidebar/LearningNavigation.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e275eb3e51735901f1a1b7a1bed328c27e7f3dc5531d4611038aad056490bc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readStoredLanguage\u0060 swallows every exception into \u0060return \u0022en\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":"web/context/app-shell-storage.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9a9a342021feee0f49a537b5c684a81cd83efc4b450e15307b6ca91da251b6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readStoredResponseLanguage\u0060 swallows every exception into \u0060return \u0022en\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":"web/context/app-shell-storage.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f10d9d1b8796bfac53b59847e318326959009f81303a013ff9539a01492607"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060browserTimeZone\u0060 swallows every exception into \u0060return \u0027UTC\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":"web/features/calendar/model/dates.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c8a38045b7b3855f01dac46a9f5cb5a3a615066c985e3b4c5a25b5d177fb4e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadSplitRatio\u0060 swallows every exception into \u0060return 0.5\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":"web/features/co-writer/storage/drafts.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4364ac00eb1b6510b9733dbc91d37ae48288e3c1e1be409639f8c50c9b9733e2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readStoredDiagnosticsResults\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":"web/features/settings/store/SettingsStore.tsx"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bab5153c8d1e6a3cbe4a27236889e9a4d90127d7c6a1a43ee2c0c1ca942e64"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getAgents\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":"web/lib/chat-import/agent-store.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fc82605f021eb334642e8969880fb92dfb37cd2bf03244b6c308e1075d8855"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060storedRecords\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":"web/lib/failed-submissions.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc467281edf3f5ca6ad74742d7eb3bd3e0167d5049241b2fea6df66507622b2c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060pageImageBoxes\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":"web/lib/pdf-page-geometry.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"96017d7944324394fed94d7f014c3617ac4f7a0222b4063d9eaef4ef63216e4c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060consumePendingPrompt\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":"web/lib/pending-prompt.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3dd194ef8bd68718decac93a28999a29977de497386d5807db187609b00c4f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060base64ToUtf8\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":"web/lib/quote-attachments.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7740bf141e28bfd0c1645111fa15f2970fb0a95b7752c3a87f14055c475b00d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060youtubeVideoId\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":"web/lib/reading-video-sources.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8403d8ceb95ceec2af6148c7cf16a1c8d2b0ae4dd2496de37ec28ab1333618"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060youtubeEntryTime\u0060 swallows every exception into \u0060return 0\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":"web/lib/reading-video-sources.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89863f55a65e313f9d052b874cab049c9232bb07ae818f7a16a6ff483291021"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readingContentId\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":"web/lib/reading-workspace-api.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cd5783dafb88da3066fe6209a09d941fb37f6a5909a275e4d9d7a85f1b6250"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchReadingAskHint\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":"web/lib/reading-workspace-api.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"3480274985a1fa2d7e22f1aa707c1f68981fa445a4470afa4cb7fec14fde10fa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchReadingCollectionIndex\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":"web/lib/reading-workspace-api.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2366140de4f3bc5ced053fd45855fd90839c3ef3bebf391811e91e2a04a51b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060intersectingKatexRoots\u0060 swallows every exception into \u0060return false\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":"web/lib/selection-text.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b2534a2481e318d03ad16b5e318dc84886b51e0629234c87ac07207ed8f88e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchSessionAskHint\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":"web/lib/session-api.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bea31d834d00cfc68dc77d1be81715aa3ea4e138391dfaa99335117f05fd07"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listRaw\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":"web/shared/storage/store.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7891bb7ff0f90105f06f1e4224110a8167727359886b60ddc431369ca1543061"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060clearNamespace\u0060 swallows every exception into \u0060return 0\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":"web/shared/storage/store.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e301c545831b6ef042abdec28e09dd6319a07f17562e025a2b32961d731a9f"}}],"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-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-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.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"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"}]}],"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":168,"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."]}]}