{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D25","name":"ADR Conformance","shortDescription":{"text":"ADR Conformance"},"helpUri":"https://codehealth.canine.dev/dimensions/D25"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"C3","name":"Audit Trail","shortDescription":{"text":"Audit Trail"},"helpUri":"https://codehealth.canine.dev/dimensions/C3"},{"id":"C4","name":"Data Retention","shortDescription":{"text":"Data Retention"},"helpUri":"https://codehealth.canine.dev/dimensions/C4"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"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":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"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":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"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":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"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":"runtime.UserConsole (cyclomatic 333): runtime.UserConsole has cyclomatic complexity 333 (threshold 15). Of this number, 87 points are the body\u0027s own statements and 246 belong to 72 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/src/user-console/runtime.tsx"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e53c359681e35104045892dade4f9f7111d929eddebc3c5ab60a48e9caf381"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminDashboardRuntime.AdminDashboard (cyclomatic 329): AdminDashboardRuntime.AdminDashboard has cyclomatic complexity 329 (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: 4 other methods here (AdminDashboardRuntime.AdminDashboard::handleManualRefresh, AdminDashboardRuntime.AdminDashboard::handleImportValidatedKeys, AdminDashboardRuntime.AdminDashboard::saveUserTagCatalog, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cc447958a8e088c2a81a5a1a1ab0fa6411dce5ce19a93f6ebeb2604aafe1db"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::proxy::proxy_handlers_and_views::proxy_handler (cyclomatic 201): tavily_hikari::server::proxy::proxy_handlers_and_views::proxy_handler has cyclomatic complexity 201 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"503a0ff1c9387dd7b845e9634c85e2bf417be0aef4483347328eaa035f8dbc20"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::run_upstream_reconciliation_once_inner (cyclomatic 181): TavilyProxy::run_upstream_reconciliation_once_inner 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":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e5e7d60c424e322af0d44479a7d0d862dbe0b3eb4a61b774de7aaca34c4001"}},{"ruleId":"D1","level":"warning","message":{"text":"UpstreamPrivacyStatusModule.UpstreamPrivacyStatusModule (cyclomatic 139): UpstreamPrivacyStatusModule.UpstreamPrivacyStatusModule has cyclomatic complexity 139 (threshold 15). Of this number, 97 points are the body\u0027s own statements and 42 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/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee67fe560b822cc19931994399ab6492117eab47a72ed521957f75c5b98b9da"}},{"ruleId":"D1","level":"warning","message":{"text":"ForwardProxySettingsModule.ForwardProxySettingsModule (cyclomatic 132): ForwardProxySettingsModule.ForwardProxySettingsModule has cyclomatic complexity 132 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 83 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63e78e93486e21b722836bfffba8ed734fab1ffca355c052f812fe47408c2c9"}},{"ruleId":"D1","level":"warning","message":{"text":"AlertsCenter.AlertsCenter (cyclomatic 107): AlertsCenter.AlertsCenter has cyclomatic complexity 107 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 78 belong to 28 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/src/admin/AlertsCenter.tsx"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"40991909202293d469cdaaeecce1e584c02b1310b52e173d9ca625c9a4cac650"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminSecuritySettingsModule.AdminSecuritySettingsModule (cyclomatic 104): AdminSecuritySettingsModule.AdminSecuritySettingsModule has cyclomatic complexity 104 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 53 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/src/admin/AdminSecuritySettingsModule.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b26c17db84a48393da08b8bb6461b2638b9a5ddf56aebaa7f05b5eea1333f1d"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.handleDemoRoute (cyclomatic 101): demo.handleDemoRoute has cyclomatic complexity 101 (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/src/api/demo.ts"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"2622a0850035d9ab3ec8bcccc8c62e81806c717c7d634a1137663b07724b9817"}},{"ruleId":"D1","level":"warning","message":{"text":"PublicHome.PublicHome (cyclomatic 101): PublicHome.PublicHome has cyclomatic complexity 101 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 66 belong to 35 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/src/PublicHome.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"189022a169843140472b8a7e1316a53e1a90ca1adef17b3041b775df0bd736f6"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenDetail.TokenDetail (cyclomatic 100): TokenDetail.TokenDetail has cyclomatic complexity 100 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 68 belong to 35 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/src/pages/TokenDetail.tsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dd2307d69f2db04c09f5adc42a02d4f650ff9695092626b974421cbb3dab3c"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemSettingsModule.SystemSettingsModule (cyclomatic 97): SystemSettingsModule.SystemSettingsModule has cyclomatic complexity 97 (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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"780f7ea34d6d9d83798a8a1e556e88452a00b7ebfcbdb874c6117849c46c3a4b"}},{"ruleId":"D1","level":"warning","message":{"text":"BillingPage.BillingPage (cyclomatic 94): BillingPage.BillingPage has cyclomatic complexity 94 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 32 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/src/user-console/BillingPage.tsx"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc81910491f7e1a98d4a7c50512f8322f6a7ddde39f609a74a4be5ee94985ad4"}},{"ruleId":"D1","level":"warning","message":{"text":"UserDetailSharedUsagePanel.UserDetailSharedUsagePanel (cyclomatic 92): UserDetailSharedUsagePanel.UserDetailSharedUsagePanel has cyclomatic complexity 92 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 57 belong to 21 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/src/admin/UserDetailSharedUsagePanel.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"b619f425ad096eb852f7d3022288e090c10ef3fc51e1d2e6af22ad14df332e93"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminDashboardRuntime.KeyDetails (cyclomatic 90): AdminDashboardRuntime.KeyDetails has cyclomatic complexity 90 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 58 belong to 21 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12901}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a171b517549d4089643538347a0b99682e25c976e09af34f3a4763e442354c"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminRecentRequestsPanel.AdminRecentRequestsPanel (cyclomatic 74): AdminRecentRequestsPanel.AdminRecentRequestsPanel has cyclomatic complexity 74 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 58 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6cc6024ed1df2b95b0a483a5d55a26fc16de6727eafc9913f4f366e0262530"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::initialize_schema (cyclomatic 68): KeyStore::initialize_schema has cyclomatic complexity 68 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_bootstrap.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef57fa8e42333471156745ac0af61fb69e51d1a9df9b78a1ff281c61c5d17c17"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::handlers::tavily::proxy_tavily_http_endpoint (cyclomatic 66): tavily_hikari::server::handlers::tavily::proxy_tavily_http_endpoint has cyclomatic complexity 66 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e42b4f04e965715dae837e0f29c2119d9fad0f05c2f2291e927d7dd453dd32"}},{"ruleId":"D1","level":"warning","message":{"text":"ApiKeysValidationDialog.ApiKeysValidationDialog (cyclomatic 61): ApiKeysValidationDialog.ApiKeysValidationDialog has cyclomatic complexity 61 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 31 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/src/components/ApiKeysValidationDialog.tsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"28678585768a02b416f3ede14c543474efc4ff992c970e2f40fd7e7649b74a16"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminLogin.AdminLogin (cyclomatic 60): AdminLogin.AdminLogin has cyclomatic complexity 60 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 28 belong to 13 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/src/pages/AdminLogin.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"336b924b01134d55cae7efedffdd4bbe19fba2daa56daf0aa853949b92deeda0"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestKindBadge.resolveRequestKindBadgeTone (cyclomatic 59): RequestKindBadge.resolveRequestKindBadgeTone has cyclomatic complexity 59 (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/src/components/RequestKindBadge.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"155bea415d16b44a61cb41b708a53d4e2b2a067a8d88e45d3c5deb4a35050a80"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::validate_applied_migration_objects (cyclomatic 55): KeyStore::validate_applied_migration_objects has cyclomatic complexity 55 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_schema_migrations.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e981c18f370028fdf4e673da9314b3a1e77f321ba9cfd3feb2257682525c33"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.createDemoLog (cyclomatic 54): demo.createDemoLog has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/api/demo.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f2c10b253b9b5676dbea9a18c7da032af017edf25c370bd78a3b138d4b0803"}},{"ruleId":"D1","level":"warning","message":{"text":"HaStatusBanner.HaStatusBanner (cyclomatic 51): HaStatusBanner.HaStatusBanner has cyclomatic complexity 51 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 19 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/src/components/HaStatusBanner.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"438561c1eb0bef1a56fde4bb33d5677386f2cc807486286aab3b9381b887030e"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::gc_ha_outbox_online_with_options (cyclomatic 49): KeyStore::gc_ha_outbox_online_with_options has cyclomatic complexity 49 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha_gc_online.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"37614ed88b075592dfecb98512aed5cb69e12c762377423c177bebf4bec0de6e"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::validate_convergence_schema_migration_objects (cyclomatic 49): KeyStore::validate_convergence_schema_migration_objects has cyclomatic complexity 49 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_schema_migrations_convergence.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79099c450f332f271d449941c3bf6959303a877db29a8ce5b5155d3b7a26fc0"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::run_request_statistics_recovery_once_with_time (cyclomatic 49): tavily_hikari::run_request_statistics_recovery_once_with_time has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6aacb12f602bfa3b96df7cbea632024fca5a39f950b4c42d886cff87f961f0"}},{"ruleId":"D1","level":"warning","message":{"text":"HaNodeDetailPanel.HaNodeDetailPanel (cyclomatic 48): HaNodeDetailPanel.HaNodeDetailPanel has cyclomatic complexity 48 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 27 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/src/admin/HaNodeDetailPanel.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3006cc96c93989eda32b6b7af9accf5b950029fd44810a50295cb05fa682a5"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::process_dashboard_rollup_integrity_work_item_inner (cyclomatic 46): KeyStore::process_dashboard_rollup_integrity_work_item_inner 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":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5eaacf863e5044f55fce2365148ba094ef0fa77216128878cc1b3207edbffc7"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.schemaExampleValue (cyclomatic 45): runtime.schemaExampleValue has cyclomatic complexity 45 (threshold 15). Of this number, 44 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/src/user-console/runtime.tsx"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d4a91a75959a07d9512520b63710b9920613aeb40ffe9046840328c86f01cc"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::run_research_terminal_sweep (cyclomatic 44): TavilyProxy::run_research_terminal_sweep has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"73497fcd4dbc7b3ee19b44f7b66c65e97467f89832f007a421092994c879b9d7"}},{"ruleId":"D1","level":"warning","message":{"text":"routes.parseAdminPath (cyclomatic 42): routes.parseAdminPath has cyclomatic complexity 42 (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/src/admin/routes.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"582fbdadb580d2512683dcdc8cc8ad3da3907156914dd8c665d2fb9c893a43db"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardTrendPanel.DashboardTrendPanel (cyclomatic 42): DashboardTrendPanel.DashboardTrendPanel has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 15 of the 42 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 382, 368, 510, \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/src/admin/DashboardTrendPanel.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a233b3e431bfa36e70b7f4e401dc295a3b171d5b32dc70c8f6ebcb176235a706"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnouncementsModule.AnnouncementsModule (cyclomatic 41): AnnouncementsModule.AnnouncementsModule has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 15 of the 41 points are its own statements and the rest belongs to 6 function items inside it that branch (submit, a function literal at line 862, a function literal at line 835, \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/src/admin/AnnouncementsModule.tsx"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e41f09b26bf316a0f970d1bf78fdc0f9e4d77774bbb66f1c71c8599d1ae9ac6"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::schedulers::run_manual_claimed_job (cyclomatic 40): tavily_hikari::server::schedulers::run_manual_claimed_job has cyclomatic complexity 40 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"774093540193f825cb2ba83cc8a870f3fd4fa4615c477c6c8414374196035412"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::prepare_versioned_schema (cyclomatic 39): KeyStore::prepare_versioned_schema has cyclomatic complexity 39 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_schema_migrations.rs"},"region":{"startLine":2730}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97c9162d1fcffc6117bbd991c25476ddddf075d117a34cec33916b9d6349c48"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::state::prewarm_admin_alerts (cyclomatic 39): tavily_hikari::server::state::prewarm_admin_alerts has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"72deddb663734f387751d5fa6635c061bc752a15aff63420af6de131b3977341"}},{"ruleId":"D1","level":"warning","message":{"text":"routes.isSameAdminRoute (cyclomatic 39): routes.isSameAdminRoute 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":"web/src/admin/routes.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"170be8ae0b877a0dc7638950b95269746cb6746350aded5a6dfd879405519b60"}},{"ruleId":"D1","level":"warning","message":{"text":"ForwardProxySettingsModule.ForwardProxyCandidateDialog (cyclomatic 37): ForwardProxySettingsModule.ForwardProxyCandidateDialog 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8d317387111de2668c0163994cf56fb335a572887b8603fe5c4cbb2918c360"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminPagesStoryRuntime.KeysPageCanvas (cyclomatic 37): AdminPagesStoryRuntime.KeysPageCanvas has cyclomatic complexity 37 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 17 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3836}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cc4561c1b02da951fed5b45d4461650c7156f92cd55aaf67ae2bff1beb4912"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminRechargeRecordsModule.AdminRechargeRecordsModule (cyclomatic 36): AdminRechargeRecordsModule.AdminRechargeRecordsModule has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 15 of the 36 points are its own statements and the rest belongs to 13 function items inside it that branch (executeRefund, a function literal at line 105, openUser, \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/src/admin/AdminRechargeRecordsModule.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4684551874df0d8dc60761348ebdee61014e347083fefe789dd68dd98bd63a7e"}},{"ruleId":"D1","level":"warning","message":{"text":"HaSourceSettingsDialog.HaSourceSettingsDialog (cyclomatic 35): HaSourceSettingsDialog.HaSourceSettingsDialog has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (HaSourceSettingsDialog.HaSourceSettingsDialog::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/src/admin/HaSourceSettingsDialog.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"145914f2dd42f238c7add07a7e564703d5e26320260f701ab28d79480b51d13a"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminUserRankingsPage.RankingsBarChart (cyclomatic 35): AdminUserRankingsPage.RankingsBarChart has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 14 of the 35 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 292, 281). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffef2337b3e6519fe8ab8b2c9250d169c0e6106875850689c756fd26ec8b704e"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminPagesStoryRuntime.UsersPageCanvas (cyclomatic 35): AdminPagesStoryRuntime.UsersPageCanvas has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 11 of the 35 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 4973, toggleSort, a function literal at line 5075, \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":4827}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfcf7a157413f71ee13cb18d2bcf8a611cd37711b38cca85b0b32af7af62b5e"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminPagesStoryRuntime.UnboundTokenUsagePageCanvas (cyclomatic 35): AdminPagesStoryRuntime.UnboundTokenUsagePageCanvas has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 10 of the 35 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 5472, a function literal at line 5582, toggleSort, \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5280}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a850307debe985780620456ac378fb7a91ee79e25730755e5811d2ad0dc137"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::ensure_user_token_binding_with_preferred (cyclomatic 34): KeyStore::ensure_user_token_binding_with_preferred 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":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"5422c201c0909c4104da65ea99983cf7f61e4b821a547f8bcd72329c4f9493d3"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::post_api_key_bulk_actions (cyclomatic 34): tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::post_api_key_bulk_actions has cyclomatic complexity 34 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"467ee964350bc6137a6c2089543add9061d0e262129f5dc026c78320922b1bce"}},{"ruleId":"D1","level":"warning","message":{"text":"Announcements.UserConsoleAnnouncements (cyclomatic 34): Announcements.UserConsoleAnnouncements has cyclomatic complexity 34 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 16 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/src/user-console/Announcements.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67f002ad52d454f811648fa78a73bfd3e5479c4adc623d3c9ba8da710ade19a"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::read_admin_alert_canonical_group_payload_chunks (cyclomatic 33): KeyStore::read_admin_alert_canonical_group_payload_chunks has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cec3ab118179e5fc02bfaff3ae0e96a104a5e27c7f1f3778f25071b0dd6737"}},{"ruleId":"D1","level":"warning","message":{"text":"ForwardProxyEgressControl.ForwardProxyEgressControl (cyclomatic 33): ForwardProxyEgressControl.ForwardProxyEgressControl has cyclomatic complexity 33 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 15 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/src/admin/ForwardProxyEgressControl.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7196b6d032a89e1205bcf469aeef8e8725abb8dc265ea5b18fab333dff8b64b2"}},{"ruleId":"D1","level":"warning","message":{"text":"api-key-extract.isPublicIpv4 (cyclomatic 32): api-key-extract.isPublicIpv4 has cyclomatic complexity 32 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api-key-extract.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5991541a97d0d4473a77311c48beda0ef41c7b91ff7cb48a3d144014ae8535"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminDashboardRuntime.AdminDashboard::handleManualRefresh (cyclomatic 32): AdminDashboardRuntime.AdminDashboard::handleManualRefresh has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 4 other methods here (AdminDashboardRuntime.AdminDashboard, AdminDashboardRuntime.AdminDashboard::handleImportValidatedKeys, AdminDashboardRuntime.AdminDashboard::saveUserTagCatalog, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":5167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5479d55d23037cf090dc2fe7d7def1311d1daef1a94973280a5c69095079e565"}},{"ruleId":"D1","level":"warning","message":{"text":"useOAuthCallbackFlow.useOAuthCallbackFlow (cyclomatic 32): useOAuthCallbackFlow.useOAuthCallbackFlow has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 3 of the 32 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 45, 136, 92, \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/src/user-console/useOAuthCallbackFlow.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30e2b84a10578a9533b83ea35daf4240bc516387be80e436488e1608cb2ddfe"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::user_tag_and_token_handlers::list_users (cyclomatic 30): tavily_hikari::server::handlers::admin_resources::user_tag_and_token_handlers::list_users has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8836e0561ae2252570429a039a7e803c33d65d9114eda99da2aea774902f5b5"}},{"ruleId":"D1","level":"warning","message":{"text":"ReconciliationProjectionController::advance_slice_inner (cyclomatic 29): ReconciliationProjectionController::advance_slice_inner has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_projection_controller.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"139d13bcb5c2365b0e09f50bbc287c22aef0666a3f34813e02e6f8bf72a57923"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::analysis::classify_failure_kind (cyclomatic 29): tavily_hikari::analysis::classify_failure_kind has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2e91c8a3e68871dbf032d784d441c95a988cfb6158479d4c74f7d3f13a6c6c"}},{"ruleId":"D1","level":"warning","message":{"text":"HaStatusBanner.buildNodeRows (cyclomatic 29): HaStatusBanner.buildNodeRows 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":"web/src/components/HaStatusBanner.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a163a5e6e929ed5085060544c70bc6e2c255a604d20c56436a994f505bbd6c7"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::stream_admin_alert_canonical_semantic_output (cyclomatic 28): KeyStore::stream_admin_alert_canonical_semantic_output has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_semantic_reduction.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2255d1c5e887d1decdab2c29219c37bc59f37cc91322517518a50c51ddba49b"}},{"ruleId":"D1","level":"warning","message":{"text":"check_quality_gates.audit_github_state (cyclomatic 28): check_quality_gates.audit_github_state 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":".github/scripts/check_quality_gates.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7bee76fb7c2799e094e313af004526e15ef00ff42f45fdfeae7921eb678ac9"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminUserDetailQuotaWorkspace.AdminUserDetailQuotaWorkspace (cyclomatic 28): AdminUserDetailQuotaWorkspace.AdminUserDetailQuotaWorkspace has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 5 function items inside it that branch (submitEntitlement, applyEntitlementFilters, a function literal at line 241, \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/src/admin/AdminUserDetailQuotaWorkspace.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7492a84f8ff6d2988cf5714f03bde400784d56a31a4ccdfdfca298a0c8537c38"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminPagesStoryRuntime.UserDetailPageCanvas (cyclomatic 28): AdminPagesStoryRuntime.UserDetailPageCanvas has cyclomatic complexity 28 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 13 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5844}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d568bb6c7b9807db469c34fbd96ebdc9586e5876c19b963ced9e8ab3bab7229"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::dashboard_rollup_integrity_request_log_gc_decision_for_day_inner (cyclomatic 27): KeyStore::dashboard_rollup_integrity_request_log_gc_decision_for_day_inner 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":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":3158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b57a4052f2381e590637f1fa838230821e8facc209b5a389b9a9d5f2b1c351d"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::delete_old_request_logs_bounded_with_deadline_scoped (cyclomatic 27): KeyStore::delete_old_request_logs_bounded_with_deadline_scoped has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_gc.rs"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdc1d5eb3dd570badf7779c59eed320860f03343adbe7328fec590416c58882"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::ha::post_admin_ha_planned_cutover (cyclomatic 27): tavily_hikari::server::handlers::admin_resources::ha::post_admin_ha_planned_cutover has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce5220ec92926857078f090e763d3dc079b142a8f8b4467025a9dad27252f16"}},{"ruleId":"D1","level":"warning","message":{"text":"SegmentedTabs.SegmentedTabs (cyclomatic 27): SegmentedTabs.SegmentedTabs has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 113, findNextEnabledIndex, 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/src/components/ui/SegmentedTabs.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04a06bb23f04b0540a1263a8e06e9e5dcc5d009cc889710451235e357575cf7"}},{"ruleId":"D1","level":"warning","message":{"text":"anchored-info-disclosure.AnchoredInfoDisclosure (cyclomatic 27): anchored-info-disclosure.AnchoredInfoDisclosure has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 6 of the 27 points are its own statements and the rest belongs to 8 function items inside it that branch (handleBlur, a function literal at line 55, handleClick, \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/src/components/ui/anchored-info-disclosure.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa6da2b05ec72a9c49cd257f3b62e4ac646c0b4eef5a883672131c4a82d6256"}},{"ruleId":"D1","level":"warning","message":{"text":"logOperationalClass.failureKindGuidance (cyclomatic 27): logOperationalClass.failureKindGuidance 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":"web/src/lib/logOperationalClass.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f5597e831dc03ae9b28ac6b7207efffc30d2c7c6dc8e65dc161f53bd584e11"}},{"ruleId":"D1","level":"warning","message":{"text":"RechargePanel.RechargePanel (cyclomatic 27): RechargePanel.RechargePanel has cyclomatic complexity 27 (threshold 15). Of this number, 23 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/src/user-console/RechargePanel.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6905eef892f040a7f4aa2d795a7797a84ccdf142a7835d36c1dfc731995e0571"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.buildApiProbeStepDefinitions (cyclomatic 27): runtime.buildApiProbeStepDefinitions has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 1 of the 27 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 1113, 1095, 1037, \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/src/user-console/runtime.tsx"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed276ce8863b1391884a3a74eaa819f848f68eecb4ad2a59572ec1280aa379a"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::create_next_dashboard_rollup_integrity_work_item (cyclomatic 26): KeyStore::create_next_dashboard_rollup_integrity_work_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":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"0617adbb6b98b76e882d1b3a73eb10c6021b3b27299322d187e2b8e844b83429"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::start_server_pressure_buckets_rebuild_once (cyclomatic 26): TavilyProxy::start_server_pressure_buckets_rebuild_once has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_core.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc585b2937529c2255f20b3679f78b266f82de44fb2f71f4adc1295c810eedbd"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::run_upstream_reconciliation_research_drain_claimed_with_turn (cyclomatic 26): TavilyProxy::run_upstream_reconciliation_research_drain_claimed_with_turn has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/reconciliation_research_drain.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40e9ed5c60d1e892f235239e19bcb816404d036dc8886ed4e5befb1056ddf06"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::schedulers_reconciliation_research_drain::select_next_scheduled_candidate (cyclomatic 26): tavily_hikari::server::schedulers_reconciliation_research_drain::select_next_scheduled_candidate has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers_reconciliation_research_drain.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e06ec4ab9a5534f8c5fa285b31c4b447e064654d23a101aee81eadb94f5353"}},{"ruleId":"D1","level":"warning","message":{"text":"McpSessionBindingsModule.McpSessionBindingsModule (cyclomatic 26): McpSessionBindingsModule.McpSessionBindingsModule has cyclomatic complexity 26 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 11 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/src/admin/McpSessionBindingsModule.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7db54e151a6a7c3bcaf23df663b9aabcb229b683373ecb34a19050c18b4e8b9"}},{"ruleId":"D1","level":"warning","message":{"text":"PublicHomeHeroCard.PublicHomeHeroCard (cyclomatic 26): PublicHomeHeroCard.PublicHomeHeroCard 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":"web/src/components/PublicHomeHeroCard.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88c03bd96f54a2630d3b082b0d78771cdf582c878d94c9fe73b5525ec17d50f"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::proxy_http_json_endpoint (cyclomatic 25): TavilyProxy::proxy_http_json_endpoint has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7223f5259e9f3db4dfa3bf843cd62d62a787e0e1bd5de84788975f5e4fef6b"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardOverview.DashboardOverview (cyclomatic 25): DashboardOverview.DashboardOverview has cyclomatic complexity 25 (threshold 15). Of this number, 17 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/src/admin/DashboardOverview.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"af96d120871bf5ca1aede6b41e1baa03fe64d8a2abff8748822855a9a79a3cc2"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminRechargeRecordsModule.AdminRechargeRefundDialogBody (cyclomatic 25): AdminRechargeRecordsModule.AdminRechargeRefundDialogBody 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":"web/src/admin/AdminRechargeRecordsModule.tsx"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a3dcf2ff38a63ea9520fc34c7b07b5e536064ecda6f5734dd0c7b5b880ae5e"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectivityChecksPanel.ConnectivityChecksPanel (cyclomatic 25): ConnectivityChecksPanel.ConnectivityChecksPanel has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 125, a function literal at line 149, renderProbeBubble). 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/src/components/ConnectivityChecksPanel.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbe36f50ac1792583f9d5d270e421bb0691692e65b897079d6c06eff587246b"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::handlers::tavily::tavily_http_research_result (cyclomatic 24): tavily_hikari::server::handlers::tavily::tavily_http_research_result has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7306fccc0c3697b349411afd429f339801dbf9e7982bb6bc4e1f3542492c10f"}},{"ruleId":"D1","level":"warning","message":{"text":"design_system.format_ascii_box (cyclomatic 24): design_system.format_ascii_box has cyclomatic complexity 24 (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":".codex/skills/ui-ux-pro-max/scripts/design_system.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"713b780cb090695f017deb122d0693c0ef51b219c6a57f29bc71fb933f371599"}},{"ruleId":"D1","level":"warning","message":{"text":"release_failure_notifier.main (cyclomatic 24): release_failure_notifier.main 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":".github/scripts/release_failure_notifier.py"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"8522fe0f395f61a95bb35dfbcafca8da64115c554f1e0f3391489ca3e80c7eb9"}},{"ruleId":"D1","level":"warning","message":{"text":"ForwardProxySettingsModule.formatValidationMessage (cyclomatic 24): ForwardProxySettingsModule.formatValidationMessage 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ef647071bbc32c3fffb1d2a67173a4c13c33569e71c4f6dea33887d4fa3a65"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminDashboardRuntime.AdminDashboard::handleImportValidatedKeys (cyclomatic 24): AdminDashboardRuntime.AdminDashboard::handleImportValidatedKeys has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 4 other methods here (AdminDashboardRuntime.AdminDashboard, AdminDashboardRuntime.AdminDashboard::handleManualRefresh, AdminDashboardRuntime.AdminDashboard::saveUserTagCatalog, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":6373}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5dee447b6efb2dabb92055e12052d379fd38226fb498d528485ef92b239edf"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminDashboardRuntime.AdminDashboard::renderUserTagCatalogCard (cyclomatic 24): AdminDashboardRuntime.AdminDashboard::renderUserTagCatalogCard has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 4 other methods here (AdminDashboardRuntime.AdminDashboard, AdminDashboardRuntime.AdminDashboard::handleManualRefresh, AdminDashboardRuntime.AdminDashboard::handleImportValidatedKeys, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8072}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b43e917877c844305f6c2815b9da23da6b6f36a610da5d6b64b77572d457cd3"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminPagesStoryRuntime.UsersUsagePageCanvas (cyclomatic 24): AdminPagesStoryRuntime.UsersUsagePageCanvas 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 7 function items inside it that branch (a function literal at line 5127, toggleSort, a function literal at line 5143, \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. This is NOT this file\u0027s highest cyclomatic complexity: AdminPagesStoryRuntime.AdminPageFrame (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5102}}}],"partialFingerprints":{"codehealthFindingId/v1":"668f3891ea2d23984b5552768724176a9f643fefc0a4a08dc3a289a7114edf95"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::ha_peer_channel_health (cyclomatic 23): KeyStore::ha_peer_channel_health has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fe5f647dc22ec9728c40e3686b6aa8561634321db533bedcc40ad29449d1df"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::validate_forward_proxy_subscription_with_progress (cyclomatic 23): TavilyProxy::validate_forward_proxy_subscription_with_progress has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_core.rs"},"region":{"startLine":2497}}}],"partialFingerprints":{"codehealthFindingId/v1":"2878a772127cbdad8e045d13192eb6c094285905940d9e7cb19981bb5bd58cc5"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::proxy_http_research (cyclomatic 23): TavilyProxy::proxy_http_research has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"347914bb940982f25d4462131c25b30517b4c9e6cfcb80d8e7881774543bbe48"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::proxy_http_get_endpoint (cyclomatic 23): TavilyProxy::proxy_http_get_endpoint has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa1983836f39aa9b4bc0177c9d2ce35b932f1b822f237b633433a3010698ab1"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::models::audit_business_quota_ledger_with_pool (cyclomatic 23): tavily_hikari::models::audit_business_quota_ledger_with_pool 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":"src/models.rs"},"region":{"startLine":2669}}}],"partialFingerprints":{"codehealthFindingId/v1":"626b304066d17190958b9657c10771c6105a2c25c14cc53e877ef23fc89cd70d"}},{"ruleId":"D1","level":"warning","message":{"text":"check_quality_gates.parse_workflow (cyclomatic 23): check_quality_gates.parse_workflow 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":".github/scripts/check_quality_gates.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b360f8c83fcd70f33d3dc7aca9ca46f8e59ae6d5c7dff29527ae69600c16aa9"}},{"ruleId":"D1","level":"warning","message":{"text":"verify_relay_mesh_lockup_geometry.validate_structure (cyclomatic 23): verify_relay_mesh_lockup_geometry.validate_structure 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":"web/scripts/verify_relay_mesh_lockup_geometry.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cd7b301734ea390c4f8c8205eb70e0bf669a47b6f15915d8f422c52dcebd54"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.requestForwardProxyProgress (cyclomatic 23): runtime.requestForwardProxyProgress 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/src/api/runtime.ts"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c907e5c79ab7083a94e76c3323d630b49fbf1ee4ca5450a70ce23b4bf5a9d5"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.syncApiKeyBulkUsageWithProgress (cyclomatic 23): runtime.syncApiKeyBulkUsageWithProgress 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/src/api/runtime.ts"},"region":{"startLine":1825}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2180e48022a668e2e0b3015a808a7e724f1d9f1abcbcfd913648c7a948dbbbd"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminRecentRequestsPanel.RecentRequestDetails (cyclomatic 23): AdminRecentRequestsPanel.RecentRequestDetails 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"4038cb55884af0d5eb39b81c0e0a1f8d464fc194540ebcb0efd27884e15dc56f"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminShell.AdminShell (cyclomatic 23): AdminShell.AdminShell has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 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/src/admin/AdminShell.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6ad73eeb70a9e274848e585b8b5e4175b2d95dd1bb6d835036e257195786d3"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::advance_admitted_alert_projection_slice (cyclomatic 22): KeyStore::advance_admitted_alert_projection_slice 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":"src/store/key_store_alert_projection.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8e609003788ca7139fabd0faa441d6087a0b165e54f05296bd129b4003328b"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::fetch_dashboard_quota_recovery_round (cyclomatic 22): KeyStore::fetch_dashboard_quota_recovery_round has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4ea3ff8a067c87463c9957599e1ca9428353e302c35a8897879cf896afae3d"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::run_observability_sidecar_migrate (cyclomatic 22): KeyStore::run_observability_sidecar_migrate has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_observability_sidecar.rs"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"56edc249a3cd88303e094e9705c563df361b9c9fef7055ea7279ae1699eb1f3e"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::add_or_undelete_key_with_status_in_group_once (cyclomatic 22): KeyStore::add_or_undelete_key_with_status_in_group_once has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"d033bb447d386b92def2c6847a23166df5e800a8640ccddf39f86a3c181bbfab"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::forward_proxy::responses_and_validation::build_stream_settings_from_url (cyclomatic 22): tavily_hikari::forward_proxy::responses_and_validation::build_stream_settings_from_url has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"88681e1d178d5009515ea0820886399259cdad3c27c2d05a0e9170fb90869558"}},{"ruleId":"D1","level":"warning","message":{"text":"UsersUsageScreen.UsersUsageScreen (cyclomatic 22): UsersUsageScreen.UsersUsageScreen has cyclomatic complexity 22 (threshold 15). 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 194, 313, 381). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/src/admin/screens/UsersUsageScreen.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e2ff022a52fda39c54d586aa16c223b4d2b291ed5ca735fc25ec8b1cec53d6"}},{"ruleId":"D1","level":"warning","message":{"text":"ForwardProxySettingsModule.ForwardProxyValidationNodeTable (cyclomatic 22): ForwardProxySettingsModule.ForwardProxyValidationNodeTable has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 1452, a function literal at line 1406, clearCloseTimer, \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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccee12a017c30e76e7203b168f55ba818ffeac7d733bebbf75f0b031e14f27f"}},{"ruleId":"D1","level":"warning","message":{"text":"PublicHome.buildGuideContent (cyclomatic 22): PublicHome.buildGuideContent 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":"web/src/PublicHome.tsx"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a3b477d55257ba7a3399a04defd58ee51908426cb4833d17bfc5f927d2ca72"}},{"ruleId":"D1","level":"warning","message":{"text":"guide.buildGuideContent (cyclomatic 22): guide.buildGuideContent 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":"web/src/user-console/guide.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d4d223198d6a44ea5a45509b29a2d48030122a3c14fd1e1aa55a1e5814cf02"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::upstream_privacy_status_from_snapshot (cyclomatic 21): KeyStore::upstream_privacy_status_from_snapshot has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"231bac652bfe769e992c2c6f7812a79f4f43a281b18351f9d76dc56fcaf590b8"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::reconcile_proxy_affinity_record_with_state (cyclomatic 21): TavilyProxy::reconcile_proxy_affinity_record_with_state has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_forward_proxy_maintenance.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a37933f9d7de276c8558fe524afc90a78f12ea3cb39c5b1c25fba063f16525"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::ha::refresh_admin_ha_status_live (cyclomatic 21): tavily_hikari::server::handlers::admin_resources::ha::refresh_admin_ha_status_live has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ad742c3e02a6327992699bf1e2c84dc5363389994003c6fb9a92024f63855a"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::store::key_store_alert_event_projection::bound_alert_event_record_for_projection (cyclomatic 21): tavily_hikari::store::key_store_alert_event_projection::bound_alert_event_record_for_projection has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d131997b24598bc0eab25894f9b470c58b1cd852990f06cea279bc4c739c837"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminUserRankingsPage.AdminUserRankingsPage (cyclomatic 21): AdminUserRankingsPage.AdminUserRankingsPage 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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"c881b9e6165a1abb1b5f1092fa085ff2915917ebe096050ffbb2a88fdc968dc7"}},{"ruleId":"D1","level":"warning","message":{"text":"ForwardProxyManager::apply_incremental_settings (cyclomatic 20): ForwardProxyManager::apply_incremental_settings has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/manager.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcd3425506d670531854feeb0095fa2047f371c88da87af00cac55b1b7003d5"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::clear_request_log_body_batch (cyclomatic 20): KeyStore::clear_request_log_body_batch has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_gc.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb3f5c1a9726fcd44fc7c75a35c54f4e9f599d852f9bcaee448b0d6187254ad"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::schedulers::run_linuxdo_user_status_sync_claimed_job (cyclomatic 20): tavily_hikari::server::schedulers::run_linuxdo_user_status_sync_claimed_job has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"931f27a200dcd1cf635563df2518fe7646dfb7b616dd236a1c61ff909e9af048"}},{"ruleId":"D1","level":"warning","message":{"text":"haCopy.formatHaStatusMessage (cyclomatic 20): haCopy.formatHaStatusMessage 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/src/lib/haCopy.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a049bc106d300277ba4d64126011e7e584caca55036899a6277f62a766af76"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::scheduled_job_enqueue_at_with_operation (cyclomatic 19): KeyStore::scheduled_job_enqueue_at_with_operation has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_jobs.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"6368d6ce50d9208460878ac809ec0a2ff4a99420bd1a53b0f3a30de7e2023b68"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteReadSnapshot::complete_cooperative_query_inner (cyclomatic 19): SqliteReadSnapshot::complete_cooperative_query_inner has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b780ea47a7fb93902efbfee7b5058d11c58eba60c7327633d2ed7e47e1a6e38a"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::resolve_forward_proxy_geo_candidates_with_remote_attempt_admission (cyclomatic 19): TavilyProxy::resolve_forward_proxy_geo_candidates_with_remote_attempt_admission has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_forward_proxy_maintenance.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b50ab2bebd207035b0c3b7247cfce81c460192c76fb76500b4b45a713ed239b"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::main (cyclomatic 19): tavily_hikari::main has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d49f31a9d8d7154909bf2fe36fccb1c2c2745912de87e26789c7f2eaef91b01"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::proxy::rebalance_handlers::handle_rebalance_mcp_single_message (cyclomatic 19): tavily_hikari::server::proxy::rebalance_handlers::handle_rebalance_mcp_single_message has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/rebalance_handlers.rs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2a3eb781bad90354fc34d280ac26f3bca5794adf323e5fa0422d5441c8ce07"}},{"ruleId":"D1","level":"warning","message":{"text":"demoHa.handleDemoHaRoute (cyclomatic 19): demoHa.handleDemoHaRoute 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/src/api/demoHa.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"543a8da9814baf281971be5663608be8a48a91020d8aa685c6c059fad23fdcbf"}},{"ruleId":"D1","level":"warning","message":{"text":"ApiKeyBulkSyncProgressBubble.ApiKeyBulkSyncProgressBubble (cyclomatic 19): ApiKeyBulkSyncProgressBubble.ApiKeyBulkSyncProgressBubble has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 89). 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/src/admin/ApiKeyBulkSyncProgressBubble.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c712a65576698910b35823fd78ece0e920843f196d40cc0357d1609705bf23"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminDashboardRuntime.statusTone (cyclomatic 19): AdminDashboardRuntime.statusTone 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f353d36d6e3aa6c59e3b1dc8009b16802275615aae249cc58d054dc839b6bf"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::fetch_dashboard_quota_recovery_baseline_step (cyclomatic 18): KeyStore::fetch_dashboard_quota_recovery_baseline_step has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56ffee7530cda00d482a42e99afc1107e8d5902719fa5ed900eafe58a1713b8"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::rebuild_dashboard_request_rollup_buckets_window (cyclomatic 18): KeyStore::rebuild_dashboard_request_rollup_buckets_window has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_migrations_a.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ea117d2af80da8d216c719dc03e2523e5c867e1dc75193656d095fbbe053bd"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::next_upstream_reconciliation_research_candidates (cyclomatic 18): KeyStore::next_upstream_reconciliation_research_candidates has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation_research.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e81d15ccd055c448edde84f178a891e1474f090d5013e2804a28fdd69a4f2eb"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::apply_pending_billing_log_once (cyclomatic 18): KeyStore::apply_pending_billing_log_once has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9771cd1cd2a242cca2a114bdf283e5d28579c8011169669a5b470b89aafa94"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::rank_registration_aware_candidates (cyclomatic 18): TavilyProxy::rank_registration_aware_candidates has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_forward_proxy_maintenance.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f52df2b61d210a9dbcdc68afe839f9d3ca3d9ac712b91be5718d26b6240ea93"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::resolve_registration_regions_with_remote_attempt_admission (cyclomatic 18): tavily_hikari::resolve_registration_regions_with_remote_attempt_admission has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2800}}}],"partialFingerprints":{"codehealthFindingId/v1":"d453c6c4da01ccd86f6bff99cf7f35c68ef57ec4628ab993b3d37ddb498b9d5c"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::post_validate_api_keys (cyclomatic 18): tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::post_validate_api_keys has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2b65e66fc11c8a55e5e0c94cc15dfc8cc81578577e7047f4f7d5bec8cffb78"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::handlers::public::load_dashboard_overview_snapshot (cyclomatic 18): tavily_hikari::server::handlers::public::load_dashboard_overview_snapshot has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"20861099749d44df0ba181ef58f604450441f76b74697ae9a0d2e88ef296686f"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::handlers::public::refresh_dashboard_overview_snapshot_with_reason (cyclomatic 18): tavily_hikari::server::handlers::public::refresh_dashboard_overview_snapshot_with_reason has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6273174c67b7a208971562498a908b7432f2eeb6652b2f5cb56492f2a674525e"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminRecentRequestsPanel.formatKeyEffectSummary (cyclomatic 18): AdminRecentRequestsPanel.formatKeyEffectSummary 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"162639d7ae125d0ae94bbf470b7495b45743c6b9bfc434be979da13d1a3b4da2"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.handleUserTags (cyclomatic 18): demo.handleUserTags has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: demo.demoDashboardOverview (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/api/demo.ts"},"region":{"startLine":2251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed8c4bd3581cd9f42c36de4280fbaee363faa4c9ce911ed00f28e473d0a42b3"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.handleTokenRoute (cyclomatic 18): demo.handleTokenRoute 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between 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 is NOT this file\u0027s highest cyclomatic complexity: demo.demoDashboardOverview (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/api/demo.ts"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9606e97a564f0aa207ddaafce6c02b71c312acda8a50f57bb55f25cf43e0865"}},{"ruleId":"D1","level":"warning","message":{"text":"api-key-extract.parseIpv6 (cyclomatic 18): api-key-extract.parseIpv6 has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/src/lib/api-key-extract.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9479fd885e0cbb08741224bd3fd02d68cb53edcb9b2a02ce0ada89b3f090750e"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminDashboardRuntime.AdminDashboard::saveUserTagCatalog (cyclomatic 18): AdminDashboardRuntime.AdminDashboard::saveUserTagCatalog has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 4 other methods here (AdminDashboardRuntime.AdminDashboard, AdminDashboardRuntime.AdminDashboard::handleManualRefresh, AdminDashboardRuntime.AdminDashboard::handleImportValidatedKeys, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":7022}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e19e6f6b8bebaf25726315426d5b1f7098f8ade0d7bdf37e08a8a902bdb48ce"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenSecretField.TokenSecretField (cyclomatic 18): TokenSecretField.TokenSecretField has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/src/components/TokenSecretField.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8a971d1cc2db735edb9f27155fcfc59f4f4d41e555d276b831bba342e13ac4"}},{"ruleId":"D1","level":"warning","message":{"text":"UserConsoleHeader.UserConsoleAccountMenu (cyclomatic 18): UserConsoleHeader.UserConsoleAccountMenu has cyclomatic complexity 18 (threshold 15). Of this number, 16 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/src/components/UserConsoleHeader.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc768a6aa139bee47a76bfb5a64560889c6751a5441579792bdec26244a59a65"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminPagesStoryRuntime.StoryUserTagCatalogCard (cyclomatic 18): AdminPagesStoryRuntime.StoryUserTagCatalogCard 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. This is NOT this file\u0027s highest cyclomatic complexity: AdminPagesStoryRuntime.AdminPageFrame (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":2722}}}],"partialFingerprints":{"codehealthFindingId/v1":"709468135ecf69a05a3000154d44e1123cab148b328ab0df626aeadb70e349c6"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::alert_projection_source_keys (cyclomatic 17): KeyStore::alert_projection_source_keys has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_projection.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f48612bfc179e9da00b11eb891f5c943366efbc231bafad260275c412297f8e"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::backfill_api_key_usage_bucket_request_value_counts_v2 (cyclomatic 17): KeyStore::backfill_api_key_usage_bucket_request_value_counts_v2 has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (KeyStore::rebuild_api_key_usage_buckets) 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":"src/store/key_store_migrations_a.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4c78cdd155f89ee102d4c5313b47b7901335ac685f26aed109c9ad113ebc57"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::rebuild_api_key_usage_buckets (cyclomatic 17): KeyStore::rebuild_api_key_usage_buckets has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (KeyStore::backfill_api_key_usage_bucket_request_value_counts_v2) 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":"src/store/key_store_migrations_a.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad2113d19c72f613f453425ca761f3fd49a1f183b55313a2983a4ab923ca3f6"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::ensure_observability_sidecar_derived_schema_in_pool (cyclomatic 17): KeyStore::ensure_observability_sidecar_derived_schema_in_pool has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_observability_sidecar.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d221085f1d25738fae7b06222aa486c448282f0522224986f8e84bb049ef83"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::push_request_logs_filters (cyclomatic 17): KeyStore::push_request_logs_filters has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc92d2b84d1e017ac18623b6b499d89d476a426dea6bdc240baba0ecc1243fa7"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::apply_pending_convergence_schema_migrations (cyclomatic 17): KeyStore::apply_pending_convergence_schema_migrations has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_schema_migrations_convergence.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"236f296fb30067787ad4f5cf72174dccd581522ba029c766bb6c99e087f0a3cc"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::fetch_token_logs_page (cyclomatic 17): KeyStore::fetch_token_logs_page has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f13b9e83a5bce6dbec0746d46f366a70de3081c1afc5b1c5c3261762237f679"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::acquire_key_for_api_route (cyclomatic 17): TavilyProxy::acquire_key_for_api_route has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_affinity.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a933cd80637a7ef0d6333cd392ecd0ceb644bd3e6761efd7c6ff2c91b60892c"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::acquire_key_for (cyclomatic 17): TavilyProxy::acquire_key_for has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_affinity.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22e674962c07599c033da824f8f4808f11022c5db2e6c44719b22400a78e4b9"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::serve::serve_with_shutdown (cyclomatic 17): tavily_hikari::server::serve::serve_with_shutdown has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs 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":"src/server/serve.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0449b842a7f3986bd9c65089f8bcabf469baec3f2aca98e0a261ffa41b88c8a6"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::store::backfill_request_log_request_kinds_with_pool (cyclomatic 17): tavily_hikari::store::backfill_request_log_request_kinds_with_pool has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (tavily_hikari::store::backfill_auth_token_log_request_kinds_with_pool) 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":"src/store/mod.rs"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1706f7dc9ada8d2c596a6112ba7e5bc4a82c50e73532c474ee2e2d759e22bc"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::store::backfill_auth_token_log_request_kinds_with_pool (cyclomatic 17): tavily_hikari::store::backfill_auth_token_log_request_kinds_with_pool has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (tavily_hikari::store::backfill_request_log_request_kinds_with_pool) 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":"src/store/mod.rs"},"region":{"startLine":2224}}}],"partialFingerprints":{"codehealthFindingId/v1":"5695bb606bda4167928fe4e38c8c9008e2d39190af79cf1f2b17e36bddaaff96"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.appendRequestLogsPageFilters (cyclomatic 17): runtime.appendRequestLogsPageFilters 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":"web/src/api/runtime.ts"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d027f13b50d5fb7663f4e4cb7ab361b4b2baa7708094012030c4a18f207d261"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminRecentRequestsPanel.formatSelectionEffectSummary (cyclomatic 17): AdminRecentRequestsPanel.formatSelectionEffectSummary 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"762982b9cda4a1f0b1d09bda759b29e0e3379cb3b6ab985e8dafc0f95e1cfea0"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.handleKeyRoute (cyclomatic 17): demo.handleKeyRoute has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between 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 is NOT this file\u0027s highest cyclomatic complexity: demo.demoDashboardOverview (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/api/demo.ts"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"690c53ceec50b90212ee676dba2ed43e63b29500d5c90fef52f5a679f8f74750"}},{"ruleId":"D1","level":"warning","message":{"text":"HaSourceSettingsDialog.HaSourceSettingsDialog::handleSubmit (cyclomatic 17): HaSourceSettingsDialog.HaSourceSettingsDialog::handleSubmit 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. This shape REPEATS in the file: one other method here (HaSourceSettingsDialog.HaSourceSettingsDialog) 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/src/admin/HaSourceSettingsDialog.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df7b52d05e5ab9627598cb050f9edadf2e0ca591e46b3fb4d8942d63da0073b"}},{"ruleId":"D1","level":"warning","message":{"text":"RollingNumber.buildRollingCells (cyclomatic 17): RollingNumber.buildRollingCells 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/src/components/RollingNumber.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1ab6ab5fdcda4a4ddf5265069d5a37ad144fa5dc10ace1ee164beaa21f8b5d"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnouncementsModule.AnnouncementsListPanel (cyclomatic 17): AnnouncementsModule.AnnouncementsListPanel 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 2 function literals inside it that branch (lines 689, 638). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/src/admin/AnnouncementsModule.tsx"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d399961ef20d9741a8a3ccc6d230e266e238c8e635210adf358e3e7cf8d577"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::advance_admin_alert_canonical_catalog_snapshot (cyclomatic 16): KeyStore::advance_admin_alert_canonical_catalog_snapshot has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_catalog.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"491b043241cce69052d7fab99f7a1f4b6dffddf02a268c0da046267ecaec88ce"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::upgrade_request_logs_schema (cyclomatic 16): KeyStore::upgrade_request_logs_schema has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_migrations_b.rs"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8720c02f70a59a70c337f79cb657f4a1c917b2030e3344e70c3179c8d7b0f0"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStore::rebuild_account_quota_limits_with_semantic_columns (cyclomatic 16): KeyStore::rebuild_account_quota_limits_with_semantic_columns has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_quota_schema_semantic_migration.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f583965b4d331c4747a0baaf86fc9cc2e3536b11832431f730ecd7a246495f7"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::send_with_forward_proxy_plan (cyclomatic 16): TavilyProxy::send_with_forward_proxy_plan has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_forward_proxy_maintenance.rs"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9897884b7bc61e1ce00b8e0e0bca9f8e2181b27067320c63272285537dc4de4"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::spawn_request_stats_coalescer (cyclomatic 16): TavilyProxy::spawn_request_stats_coalescer has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_ha.rs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4463351c1b5b537b8e41a8ad9c6ec94cd623d2f79385de9712cb8cc7f43c5e0"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::spawn_ha_state_coalescer (cyclomatic 16): TavilyProxy::spawn_ha_state_coalescer has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_ha.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9655fc539a4a6469a7b26185780e88bf28f2c3529bc202b114ab053c16dcbed"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::proxy_request (cyclomatic 16): TavilyProxy::proxy_request has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7a0ae91d4f2cddd81a28ab35bd80587faae19d096f37b5d4a7855d393e4fdb"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyProxy::proxy_rebalance_mcp_http_research (cyclomatic 16): TavilyProxy::proxy_rebalance_mcp_http_research has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9ba1c69d535eac44fd08c8b6ff850926005b0ffdc5fd1b58d8a202f3f3c358"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::bin::mcp_request_log_retry_repair::build_candidates (cyclomatic 16): tavily_hikari::bin::mcp_request_log_retry_repair::build_candidates has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_request_log_retry_repair.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0a365798d1c355eaf5436e6e720317be57639f463b832fbcc4ba14f4ebec2c"}},{"ruleId":"D1","level":"warning","message":{"text":"tavily_hikari::server::serve::run_ha_sync_once_for_peer (cyclomatic 16): tavily_hikari::server::serve::run_ha_sync_once_for_peer has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"252d4f9dfc536e40a496ef9d628cb7a591b634261afd0cb4375365418eab3cda"}},{"ruleId":"D1","level":"warning","message":{"text":"useUpdateAvailable.useUpdateAvailable (cyclomatic 16): useUpdateAvailable.useUpdateAvailable 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 5 function literals inside it that branch (lines 81, 136, 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/src/hooks/useUpdateAvailable.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e249e358aac51a44aef3e6549d69d712ab321ee9086c76a1e051ee2448395f8"}},{"ruleId":"D1","level":"warning","message":{"text":"ForwardProxyProgressBubble.ForwardProxyProgressBubble (cyclomatic 16): ForwardProxyProgressBubble.ForwardProxyProgressBubble has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 42). 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/src/admin/ForwardProxyProgressBubble.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb4596d0aafd5642e3869ed2e3fcc50f1d827ce95acf5578cfd8eec720ffbed"}},{"ruleId":"D1","level":"warning","message":{"text":"ForwardProxySettingsModule.buildVisibleBarHeights (cyclomatic 16): ForwardProxySettingsModule.buildVisibleBarHeights has cyclomatic complexity 16 (threshold 15). Of this number, 14 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"4734cf12384af9cb0935d7fe3528762d3ac855237fe12841f413d84d8678a7d4"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenDetail.computeStartDate (cyclomatic 16): TokenDetail.computeStartDate 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/src/pages/TokenDetail.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"394d2e5af9616b68ac62123e2ed53a839af9d333ecbf7b96165b6a837e15310f"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyStickyPanels.buildVisibleBarHeights (cyclomatic 16): KeyStickyPanels.buildVisibleBarHeights has cyclomatic complexity 16 (threshold 15). Of this number, 14 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/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"813677b8b688e48f8b441522684cc6807994acc309597d46a8007916e4606b5b"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminDashboardRuntime.formatKeyEffectSummary (cyclomatic 16): AdminDashboardRuntime.formatKeyEffectSummary 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"318fb6f3496985c9fe0f06b1c34abb1c4fd619cac2b0625ae1f95a5222d06695"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminPagesStoryRuntime.filterStoryRequestLogs (cyclomatic 16): AdminPagesStoryRuntime.filterStoryRequestLogs 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 one function literal inside it that branches (line 828). 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. This is NOT this file\u0027s highest cyclomatic complexity: AdminPagesStoryRuntime.AdminPageFrame (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f490d65b24f969391dc157dc4a8d72f7a07bedb5249ddb14c8a38fff166af7"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::proxy::proxy_handlers_and_views::proxy_handler (cognitive 573): tavily_hikari::server::proxy::proxy_handlers_and_views::proxy_handler has cognitive complexity 573 (threshold 15). Drivers by points: if/else 171 (466 pts), match/switch 18 (56 pts), boolean chains 41, loops 2 (10 pts) (nesting depth added 341). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68088705642bcb824db396689ab8f11cc04a2cd9c1e6a072669c3fb93f7924f8"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.UserConsole (cognitive 373): runtime.UserConsole has cognitive complexity 373 (threshold 15). Drivers by points: if/else 130 (175 pts), boolean chains 86, ternaries 59 (80 pts), error handling 15 (23 pts), loops 9 (nesting depth added 74). Of this number, 74 points are the body\u0027s own statements and 299 belong to 72 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/src/user-console/runtime.tsx"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6e8b31e17239aab7e1560e6d99605dd1a841b038ff4d0fffa19b7eba311f26"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::run_upstream_reconciliation_once_inner (cognitive 290): TavilyProxy::run_upstream_reconciliation_once_inner has cognitive complexity 290 (threshold 15). Drivers by points: if/else 101 (193 pts), match/switch 21 (49 pts), boolean chains 43, loops 3 (5 pts) (nesting depth added 122). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa25ba4384daffb28f4e2aebdc6e48c3e19eae537114b693023bc4f35b89647"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminDashboardRuntime.AdminDashboard (cognitive 286): AdminDashboardRuntime.AdminDashboard has cognitive complexity 286 (threshold 15). Drivers by points: if/else 407 (498 pts), ternaries 301 (492 pts), boolean chains 319, error handling 60 (67 pts), loops 19 (22 pts), match/switch 3 (4 pts) (nesting depth added 293). To reduce it, split the body into named stages: move each independent 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: 5 other methods here (AdminDashboardRuntime.AdminDashboard::handleManualRefresh, AdminDashboardRuntime.AdminDashboard::handleImportValidatedKeys, AdminDashboardRuntime.AdminDashboard::saveUserTagCatalog, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"57eae0a6e489e7a19dbfeb48fa2ed6bdfa3dccb7f6e2149a107c9a75974f8a3e"}},{"ruleId":"D2","level":"warning","message":{"text":"UpstreamPrivacyStatusModule.UpstreamPrivacyStatusModule (cognitive 259): UpstreamPrivacyStatusModule.UpstreamPrivacyStatusModule has cognitive complexity 259 (threshold 15). Drivers by points: ternaries 117 (241 pts), boolean chains 9, if/else 9 (nesting depth added 124). Of this number, 187 points are the body\u0027s own statements and 72 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/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e702fccf5490aa97959b2e405acf284ec1a4919b43405f2c7a22ea8e57451e"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertsCenter.AlertsCenter (cognitive 213): AlertsCenter.AlertsCenter has cognitive complexity 213 (threshold 15). Drivers by points: ternaries 65 (157 pts), if/else 29 (43 pts), boolean chains 12, loops 1 (nesting depth added 106). Of this number, 50 points are the body\u0027s own statements and 163 belong to 28 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/src/admin/AlertsCenter.tsx"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"673e5c8565dd5e69d69adae42a7af877799859008e7bfdc62137d444752c6d21"}},{"ruleId":"D2","level":"warning","message":{"text":"UserDetailSharedUsagePanel.UserDetailSharedUsagePanel (cognitive 166): UserDetailSharedUsagePanel.UserDetailSharedUsagePanel has cognitive complexity 166 (threshold 15). Drivers by points: ternaries 47 (124 pts), if/else 26, boolean chains 16 (nesting depth added 77). Of this number, 105 points are the body\u0027s own statements and 61 belong to 21 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/src/admin/UserDetailSharedUsagePanel.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca24a49185f09bd2eb67e5d9346719f4df5e82bc519b3ab6f9b89cd91135889"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::tavily::proxy_tavily_http_endpoint (cognitive 148): tavily_hikari::server::handlers::tavily::proxy_tavily_http_endpoint has cognitive complexity 148 (threshold 15). Drivers by points: if/else 52 (104 pts), match/switch 13 (36 pts), boolean chains 8 (nesting depth added 75). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77a11b2a421ce1fda803f202f7a737a7c8153d743af6516a91b78c0e28504c6"}},{"ruleId":"D2","level":"warning","message":{"text":"ForwardProxySettingsModule.ForwardProxySettingsModule (cognitive 141): ForwardProxySettingsModule.ForwardProxySettingsModule has cognitive complexity 141 (threshold 15). Drivers by points: ternaries 32 (55 pts), boolean chains 37, if/else 34 (37 pts), error handling 10, loops 2 (nesting depth added 26). Of this number, 39 points are the body\u0027s own statements and 102 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ec6641aaacd303b203aaffa1b8b39c39956f09509ab7c014d42973acd95448"}},{"ruleId":"D2","level":"warning","message":{"text":"BillingPage.BillingPage (cognitive 138): BillingPage.BillingPage has cognitive complexity 138 (threshold 15). Drivers by points: ternaries 64 (111 pts), boolean chains 15, if/else 12 (nesting depth added 47). Of this number, 98 points are the body\u0027s own statements and 40 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/src/user-console/BillingPage.tsx"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1985a60b97309e446f5efc1dcc731dda04342b2456ae4724d546f019ddfb0c"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminSecuritySettingsModule.AdminSecuritySettingsModule (cognitive 117): AdminSecuritySettingsModule.AdminSecuritySettingsModule has cognitive complexity 117 (threshold 15). Drivers by points: ternaries 38 (57 pts), boolean chains 26, if/else 21 (23 pts), error handling 11 (nesting depth added 21). Of this number, 48 points are the body\u0027s own statements and 69 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/src/admin/AdminSecuritySettingsModule.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0845332e0e5118bba68095655ae58ecebf78031b489fa987997b586cd3256c49"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.handleDemoRoute (cognitive 110): demo.handleDemoRoute has cognitive complexity 110 (threshold 15). Drivers by points: if/else 79 (83 pts), boolean chains 14, ternaries 7 (13 pts) (nesting depth added 10). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/api/demo.ts"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ae551f4ced73c373f25e973ac685885d240fff802eddcbbc07732582152739"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenDetail.TokenDetail (cognitive 109): TokenDetail.TokenDetail has cognitive complexity 109 (threshold 15). Drivers by points: ternaries 38 (45 pts), if/else 32 (36 pts), boolean chains 18, error handling 10 (nesting depth added 11). Of this number, 36 points are the body\u0027s own statements and 73 belong to 35 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/src/pages/TokenDetail.tsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"2694086aa38f06c8fd1420b055e0ad4c64d4a71e7982cf3e92848222ff7cf3dc"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemSettingsModule.SystemSettingsModule (cognitive 107): SystemSettingsModule.SystemSettingsModule has cognitive complexity 107 (threshold 15). Drivers by points: ternaries 48 (52 pts), boolean chains 34, if/else 20, error handling 1 (nesting depth added 4). Of this number, 65 points are the body\u0027s own statements and 42 belong to 25 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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"4080a2a0ddebd5266d9fa6910f2347ed51cb22b3670a815e13bb36ec06e4ac7a"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminRecentRequestsPanel.AdminRecentRequestsPanel (cognitive 106): AdminRecentRequestsPanel.AdminRecentRequestsPanel has cognitive complexity 106 (threshold 15). Drivers by points: ternaries 43 (79 pts), boolean chains 16, if/else 10, loops 1 (nesting depth added 36). Most of this is not in the body itself: 15 of the 106 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 1261, a function literal at line 1102, renderFilters, \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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a219394a007d173afa3e938041be54b4612d1f0e15a955b6a5d150559f40db"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminDashboardRuntime.KeyDetails (cognitive 104): AdminDashboardRuntime.KeyDetails has cognitive complexity 104 (threshold 15). Drivers by points: ternaries 44 (62 pts), if/else 24 (27 pts), boolean chains 10, error handling 5 (nesting depth added 21). Of this number, 30 points are the body\u0027s own statements and 74 belong to 21 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12901}}}],"partialFingerprints":{"codehealthFindingId/v1":"711475818fd87979e759234403b5030ed7196f48d16a4987e6f03bfa9ecb830c"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::run_request_statistics_recovery_once_with_time (cognitive 88): tavily_hikari::run_request_statistics_recovery_once_with_time has cognitive complexity 88 (threshold 15). Drivers by points: if/else 22 (52 pts), match/switch 12 (26 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"0862d91012f09ced1d623b0a4619a4f2dc035f54077089824fbad97d8046ce61"}},{"ruleId":"D2","level":"warning","message":{"text":"PublicHome.PublicHome (cognitive 84): PublicHome.PublicHome has cognitive complexity 84 (threshold 15). Drivers by points: if/else 33 (35 pts), boolean chains 24, ternaries 18 (21 pts), error handling 4 (nesting depth added 5). Of this number, 23 points are the body\u0027s own statements and 61 belong to 35 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/src/PublicHome.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece79aa499b537f6ba2e611c421830d31e47dd22896fd7a0bca902a8423a832c"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::ensure_user_token_binding_with_preferred (cognitive 82): KeyStore::ensure_user_token_binding_with_preferred has cognitive complexity 82 (threshold 15). Drivers by points: if/else 15 (55 pts), match/switch 7 (21 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 56). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb62ef3571838bdac42499c275efba235cc083b75372ca98937a064dca80cc1"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiKeysValidationDialog.ApiKeysValidationDialog (cognitive 82): ApiKeysValidationDialog.ApiKeysValidationDialog has cognitive complexity 82 (threshold 15). Drivers by points: ternaries 27 (54 pts), boolean chains 19, if/else 7 (9 pts) (nesting depth added 29). Of this number, 32 points are the body\u0027s own statements and 50 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/src/components/ApiKeysValidationDialog.tsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"472dc9a8df20be5cad01411f25e1174b61b74066d4349e8f885741c366f15b25"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::initialize_schema (cognitive 79): KeyStore::initialize_schema has cognitive complexity 79 (threshold 15). Drivers by points: if/else 52 (64 pts), boolean chains 10, loops 3, match/switch 1 (2 pts) (nesting depth added 13). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_bootstrap.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"83af034a1b604946332bc2c3086d86f3317a4e38ebe8769a84c36891474d06cb"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.createDemoLog (cognitive 77): demo.createDemoLog has cognitive complexity 77 (threshold 15). Drivers by points: ternaries 50 (74 pts), boolean chains 3 (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":"web/src/api/demo.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"925917fe216fad016eba694c2b26f616b8e65adc0b889ce2c74da67784c409ad"}},{"ruleId":"D2","level":"warning","message":{"text":"HaNodeDetailPanel.HaNodeDetailPanel (cognitive 76): HaNodeDetailPanel.HaNodeDetailPanel has cognitive complexity 76 (threshold 15). Drivers by points: ternaries 41 (73 pts), boolean chains 3 (nesting depth added 32). Of this number, 21 points are the body\u0027s own statements and 55 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/src/admin/HaNodeDetailPanel.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"406ff8b11ea9a1ad605a12eb52570d63b95ce6eeba0c2e7651b96d7d54e8b0f3"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::run_research_terminal_sweep (cognitive 74): TavilyProxy::run_research_terminal_sweep has cognitive complexity 74 (threshold 15). Drivers by points: if/else 23 (56 pts), match/switch 8 (14 pts), boolean chains 3, loops 1 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf8f2bd29afa39066cf32b094a7d6a42258070f8e4a7b91e487026661adf4cb"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::gc_ha_outbox_online_with_options (cognitive 70): KeyStore::gc_ha_outbox_online_with_options has cognitive complexity 70 (threshold 15). Drivers by points: if/else 40 (50 pts), boolean chains 10, match/switch 5 (9 pts), loops 1 (nesting depth added 14). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha_gc_online.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7f8563ecc4ecd0ec2d498f79b453e4d8bd5e3197a0324c84efe43e199be646"}},{"ruleId":"D2","level":"warning","message":{"text":"HaStatusBanner.HaStatusBanner (cognitive 69): HaStatusBanner.HaStatusBanner has cognitive complexity 69 (threshold 15). Drivers by points: ternaries 22 (50 pts), boolean chains 14, if/else 4 (5 pts) (nesting depth added 29). Of this number, 42 points are the body\u0027s own statements and 27 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/src/components/HaStatusBanner.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e527ac7c7442d7056aece7ea96d568163d7f4285f5838d7b019b5f59404aceb"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::read_admin_alert_canonical_group_payload_chunks (cognitive 65): KeyStore::read_admin_alert_canonical_group_payload_chunks has cognitive complexity 65 (threshold 15). Drivers by points: if/else 26 (50 pts), boolean chains 10, loops 2 (5 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6ad8bb405c2491f93ba5c12a02720f8ff83d93b86ee5d52de219570ca36f7e"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::start_server_pressure_buckets_rebuild_once (cognitive 64): TavilyProxy::start_server_pressure_buckets_rebuild_once has cognitive complexity 64 (threshold 15). Drivers by points: if/else 21 (56 pts), loops 2 (4 pts), match/switch 2 (4 pts) (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_core.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3873e32abe2891bb7e7a8a7ebf913896c2ce70a0705d29b3e78cab49808a42"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::state::prewarm_admin_alerts (cognitive 62): tavily_hikari::server::state::prewarm_admin_alerts has cognitive complexity 62 (threshold 15). Drivers by points: if/else 23 (50 pts), boolean chains 7, match/switch 2 (4 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":"src/server/state.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f6386913dce7eb9214643fa374d3a8a3896e87a8d0e479627d136e16825628"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::post_api_key_bulk_actions (cognitive 59): tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::post_api_key_bulk_actions has cognitive complexity 59 (threshold 15). Drivers by points: if/else 14 (27 pts), match/switch 12 (27 pts), loops 3 (4 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":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcae713662f0fb4f45e44b85406c902e58277eec10c65989744007ea66601cf"}},{"ruleId":"D2","level":"warning","message":{"text":"HaStatusBanner.buildNodeRows (cognitive 59): HaStatusBanner.buildNodeRows has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 23 (55 pts), boolean chains 3, loops 1 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/HaStatusBanner.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb477e475d3bd9a2ec6745586e96786993f923fc083acd28a4502a3edc18b19"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminLogin.AdminLogin (cognitive 59): AdminLogin.AdminLogin has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 21 (27 pts), boolean chains 16, if/else 14 (15 pts), error handling 1 (nesting depth added 7). Of this number, 31 points are the body\u0027s own statements and 28 belong to 13 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/src/pages/AdminLogin.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"259f178066d2bfb36ff07d9ab63a5a3fa9dba9b67e0c352a5593213aaa8f1469"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::stream_admin_alert_canonical_semantic_output (cognitive 58): KeyStore::stream_admin_alert_canonical_semantic_output has cognitive complexity 58 (threshold 15). Drivers by points: if/else 26 (55 pts), loops 1 (2 pts), match/switch 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":"src/store/key_store_alert_canonical_semantic_reduction.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e03ba13fc4062afde1765738dfd01c00f0590fd036f8c23d582c4036505c14"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::validate_forward_proxy_subscription_with_progress (cognitive 58): TavilyProxy::validate_forward_proxy_subscription_with_progress has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (47 pts), loops 4 (5 pts), boolean chains 3, match/switch 1 (3 pts) (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":"src/tavily_proxy/proxy_core.rs"},"region":{"startLine":2497}}}],"partialFingerprints":{"codehealthFindingId/v1":"debf022e2a81469e47dd64819416dd2174bdd4121ba791001d57f04a186b3f1a"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardOverview.DashboardOverview (cognitive 58): DashboardOverview.DashboardOverview has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 19 (54 pts), boolean chains 3, if/else 1 (nesting depth added 35). Of this number, 40 points are the body\u0027s own statements and 18 belong to 3 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/src/admin/DashboardOverview.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b402749046ab931f2e8907c1ddb1a19242a430fc71bd2be4a726073d90ae55a"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.schemaExampleValue (cognitive 57): runtime.schemaExampleValue has cognitive complexity 57 (threshold 15). Drivers by points: if/else 14 (29 pts), ternaries 8 (15 pts), loops 5 (7 pts), boolean chains 5, match/switch 1 (nesting depth added 24). Of this number, 56 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/src/user-console/runtime.tsx"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d9a3e42da407a8422b592f22f2e47b130858b17fc71f2fc59fa8b08e8c691d"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::process_dashboard_rollup_integrity_work_item_inner (cognitive 56): KeyStore::process_dashboard_rollup_integrity_work_item_inner has cognitive complexity 56 (threshold 15). Drivers by points: if/else 32 (39 pts), match/switch 8 (10 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"7def703f1a0e866504a9eb1f35b6f8fd6a98c92ce41b6d0dcf413c4d11bf757f"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::validate_applied_migration_objects (cognitive 54): KeyStore::validate_applied_migration_objects has cognitive complexity 54 (threshold 15). Drivers by points: boolean chains 33, if/else 21. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_schema_migrations.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f3b1f1895777405c9292be8f0264a484ed2884ee441ae2b69179bf56c5b369"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::validate_convergence_schema_migration_objects (cognitive 54): KeyStore::validate_convergence_schema_migration_objects has cognitive complexity 54 (threshold 15). Drivers by points: boolean chains 27, if/else 19 (23 pts), loops 2 (4 pts) (nesting depth added 6). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_schema_migrations_convergence.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba74c7fd274cb8fb1bb57db2192e783e26a3c781080c1b46b0b9db6cf1c302b"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnouncementsModule.AnnouncementsModule (cognitive 54): AnnouncementsModule.AnnouncementsModule has cognitive complexity 54 (threshold 15). Drivers by points: if/else 22 (25 pts), ternaries 15 (22 pts), boolean chains 4, error handling 3 (nesting depth added 10). Of this number, 18 points are the body\u0027s own statements and 36 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, 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/src/admin/AnnouncementsModule.tsx"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"11577c128f6f29172c977b6bc2d56e49bdcc6030df0b669720a58fd55f38a3f3"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::user_tag_and_token_handlers::list_users (cognitive 53): tavily_hikari::server::handlers::admin_resources::user_tag_and_token_handlers::list_users has cognitive complexity 53 (threshold 15). Drivers by points: if/else 30 (40 pts), boolean chains 12, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a3a0cfaef642d84380730c6c99751e62906636d5b09208560dc8e5b86e1e09"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::public::refresh_dashboard_overview_snapshot_with_reason (cognitive 53): tavily_hikari::server::handlers::public::refresh_dashboard_overview_snapshot_with_reason has cognitive complexity 53 (threshold 15). Drivers by points: if/else 15 (45 pts), match/switch 2 (6 pts), boolean chains 2 (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":"src/server/handlers/public.rs"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c079b16193cbf18e3296ecadab3055be6f718b0486528312fa0e20cc93ecc18a"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::store::backfill_request_log_request_kinds_with_pool (cognitive 53): tavily_hikari::store::backfill_request_log_request_kinds_with_pool has cognitive complexity 53 (threshold 15). Drivers by points: if/else 11 (31 pts), match/switch 3 (13 pts), loops 3 (8 pts), boolean chains 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. This shape REPEATS in the file: one other method here (tavily_hikari::store::backfill_auth_token_log_request_kinds_with_pool) 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":"src/store/mod.rs"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"432ea6ca9d6973bfdf4cd61343f83f6221f3b574843e251a92bc2b4b1d67e975"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::store::backfill_auth_token_log_request_kinds_with_pool (cognitive 53): tavily_hikari::store::backfill_auth_token_log_request_kinds_with_pool has cognitive complexity 53 (threshold 15). Drivers by points: if/else 11 (31 pts), match/switch 3 (13 pts), loops 3 (8 pts), boolean chains 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. This shape REPEATS in the file: one other method here (tavily_hikari::store::backfill_request_log_request_kinds_with_pool) 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":"src/store/mod.rs"},"region":{"startLine":2224}}}],"partialFingerprints":{"codehealthFindingId/v1":"8432786c6ce772f9be6d2ec9ba9c0edaaf92693fa5ce088af4ee21d45a49c438"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestKindBadge.resolveRequestKindBadgeTone (cognitive 49): RequestKindBadge.resolveRequestKindBadgeTone has cognitive complexity 49 (threshold 15). Drivers by points: if/else 25, boolean chains 24. 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/src/components/RequestKindBadge.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f92c452174d5202b4b7094ce160941206357f62c6da2e6382927f68fd923a0"}},{"ruleId":"D2","level":"warning","message":{"text":"routes.parseAdminPath (cognitive 47): routes.parseAdminPath has cognitive complexity 47 (threshold 15). Drivers by points: if/else 37 (43 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/routes.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f173a13427361aff44113a2b34e9c3fc6ee35a1ef2c27389c0d0b532d12d3a6f"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardTrendPanel.DashboardTrendPanel (cognitive 46): DashboardTrendPanel.DashboardTrendPanel has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 20 (30 pts), if/else 9, boolean chains 6, match/switch 1 (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 27 belong to 14 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/src/admin/DashboardTrendPanel.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9273b03188e43dac9348e304c1f8716cd921c3bb12646b56587fb40dab1ea52"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminPagesStoryRuntime.UsersPageCanvas (cognitive 46): AdminPagesStoryRuntime.UsersPageCanvas has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 18 (32 pts), boolean chains 11, if/else 3 (nesting depth added 14). Most of this is not in the body itself: 13 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 4973, a function literal at line 5075, toggleSort, \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":4827}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ad9cfc69489cfbb07838981376d4af88c5bf1abc11a2b9a7c12ff22fd79255"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminPagesStoryRuntime.UnboundTokenUsagePageCanvas (cognitive 46): AdminPagesStoryRuntime.UnboundTokenUsagePageCanvas has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 17 (30 pts), boolean chains 10, if/else 6 (nesting depth added 13). Most of this is not in the body itself: 9 of the 46 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 5472, a function literal at line 5582, toggleSort, \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5280}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe192901fa945be34d927e54dafd87a1913de199ee631ebf1be1589ce60ba65"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::ha::refresh_admin_ha_status_live (cognitive 45): tavily_hikari::server::handlers::admin_resources::ha::refresh_admin_ha_status_live has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (29 pts), match/switch 4 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"6828cb5ea01b46f937c0af3802bd85a563f674428c7ac1ccdf8468c8aa22ec90"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::delete_old_request_logs_bounded_with_deadline_scoped (cognitive 44): KeyStore::delete_old_request_logs_bounded_with_deadline_scoped has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (26 pts), match/switch 5 (13 pts), boolean chains 4, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_gc.rs"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"912ea10af0573dc1be09452defe9faa0a654f26f0dcee0c9cd11f40f56ba1a6f"}},{"ruleId":"D2","level":"warning","message":{"text":"routes.isSameAdminRoute (cognitive 44): routes.isSameAdminRoute has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 20 (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/src/admin/routes.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdf86497d580d90f81506f07adf156a398403788a935da47187e0bd3ae360e8"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::rebuild_dashboard_request_rollup_buckets_window (cognitive 43): KeyStore::rebuild_dashboard_request_rollup_buckets_window has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (36 pts), loops 3 (6 pts), match/switch 1 (nesting depth added 27). 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":"src/store/key_store_migrations_a.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6b5a69f2e8a4c15df7da706213d234a8a26ca431ba18e1e63c951161c18612"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::ha::post_admin_ha_planned_cutover (cognitive 43): tavily_hikari::server::handlers::admin_resources::ha::post_admin_ha_planned_cutover has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (27 pts), match/switch 5 (11 pts), boolean chains 3, loops 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"271c40bbee907e88a561d9844f003f574eba152aaebde39ec956161ad4ede31b"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminRechargeRecordsModule.AdminRechargeRecordsModule (cognitive 43): AdminRechargeRecordsModule.AdminRechargeRecordsModule has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 15 (23 pts), if/else 12, boolean chains 7, error handling 1 (nesting depth added 8). 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, 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/src/admin/AdminRechargeRecordsModule.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"08efff4fa5bf884a4d32e7af4271c4da03277fcdc1a89b7028a1f9aaca30f8ea"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::clear_request_log_body_batch (cognitive 42): KeyStore::clear_request_log_body_batch has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 3 (6 pts), boolean chains 5, match/switch 1 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_gc.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d05c4c22f8fdd4b0a2a05d8180bf3a6bb1d295e4de89da722785e55fb07ca18"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::tavily::tavily_http_research_result (cognitive 42): tavily_hikari::server::handlers::tavily::tavily_http_research_result has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (33 pts), match/switch 4 (7 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaaa11147b528fb2739f88d3b221e40c6c5b404e2d4297df144e1b1a4a5aab7"}},{"ruleId":"D2","level":"warning","message":{"text":"Announcements.UserConsoleAnnouncements (cognitive 42): Announcements.UserConsoleAnnouncements has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 19 (29 pts), boolean chains 11, if/else 2 (nesting depth added 10). Of this number, 20 points are the body\u0027s own statements and 22 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/src/user-console/Announcements.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2794359ffa5a9bb1c588ede04892f356909abcc6400b5d89a969e8caa005565"}},{"ruleId":"D2","level":"warning","message":{"text":"check_quality_gates.audit_github_state (cognitive 41): check_quality_gates.audit_github_state has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 8, ternaries 2 (6 pts), loops 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":".github/scripts/check_quality_gates.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1098e2fbf9e2198490c374fddd390f0194e168c588fb3ac4a50dab8729811607"}},{"ruleId":"D2","level":"warning","message":{"text":"HaSourceSettingsDialog.HaSourceSettingsDialog (cognitive 41): HaSourceSettingsDialog.HaSourceSettingsDialog has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 31 (41 pts), boolean chains 18, if/else 12 (13 pts), error handling 1 (nesting depth added 11). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (HaSourceSettingsDialog.HaSourceSettingsDialog::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/src/admin/HaSourceSettingsDialog.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acbcb861bf8d97713990c3d19fdedcd12ce92c6763db9219a7713700460eb94"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::prepare_versioned_schema (cognitive 40): KeyStore::prepare_versioned_schema has cognitive complexity 40 (threshold 15). Drivers by points: if/else 38 (39 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_schema_migrations.rs"},"region":{"startLine":2730}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7a1ac166fd7d9bb0e74523c7cdb36a40ed617fc86889e1b76b9a5644afecdd"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::schedulers::run_manual_claimed_job (cognitive 39): tavily_hikari::server::schedulers::run_manual_claimed_job has cognitive complexity 39 (threshold 15). Drivers by points: match/switch 11 (23 pts), if/else 10 (13 pts), boolean chains 3 (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. 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":"src/server/schedulers.rs"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"0504634c3156cff85764d5beda90bc31d6fc3a7509841e5d6e898b5d2c745429"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::schedulers_reconciliation_research_drain::select_next_scheduled_candidate (cognitive 39): tavily_hikari::server::schedulers_reconciliation_research_drain::select_next_scheduled_candidate has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (21 pts), match/switch 4 (12 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers_reconciliation_research_drain.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e36b290cbc7ebb27d42b5df2e71ef6a3466cb3c12a55fa013cd96c07933907b"}},{"ruleId":"D2","level":"warning","message":{"text":"RechargePanel.RechargePanel (cognitive 39): RechargePanel.RechargePanel has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 18 (32 pts), boolean chains 6, if/else 1 (nesting depth added 14). Of this number, 31 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/user-console/RechargePanel.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ba6f3bda3215de7c123e22288d9403944c7ada3e51561a6e55104f08e2a081"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::acquire_key_for_api_route (cognitive 38): TavilyProxy::acquire_key_for_api_route has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (27 pts), match/switch 3 (7 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_affinity.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf3c7adbb4930bb5b5941d5276d835d701a3b2c20ca15b53a1ffd2546517c1e"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::proxy_http_json_endpoint (cognitive 38): TavilyProxy::proxy_http_json_endpoint has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 7, loops 2 (3 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2de4968980fd4c9a1cb3aeee767f7a7483e3e0c75185646639d2ae887f4c1dd"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.requestForwardProxyProgress (cognitive 37): runtime.requestForwardProxyProgress has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (30 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":"web/src/api/runtime.ts"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21c72bf9e91b825dced8797779284157064bc64fac7364bdc7a42cb2b784e19"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.syncApiKeyBulkUsageWithProgress (cognitive 37): runtime.syncApiKeyBulkUsageWithProgress has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (29 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/api/runtime.ts"},"region":{"startLine":1825}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee601b22b1d6571663a6b3ed4e7642049cf3d8933e97c478862701a6beef120"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminPagesStoryRuntime.KeysPageCanvas (cognitive 37): AdminPagesStoryRuntime.KeysPageCanvas has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 24 (27 pts), boolean chains 8, if/else 2 (nesting depth added 3). Of this number, 21 points are the body\u0027s own statements and 16 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3836}}}],"partialFingerprints":{"codehealthFindingId/v1":"392281d8fef6c08ebb3e03fd04d1302f19cafce218765581af448aad63c69b27"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::proxy_http_research (cognitive 36): TavilyProxy::proxy_http_research has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 6, loops 2 (3 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f649c26d569a881f122161e5b2782338f4ba69e1c7f299dadf6a01afbb02ca"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::resolve_registration_regions_with_remote_attempt_admission (cognitive 36): tavily_hikari::resolve_registration_regions_with_remote_attempt_admission has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 5 (13 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2800}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2940d7881275c06e15634c676ba3742b1f6ab21f9d1712725e40ee3f2c9f03"}},{"ruleId":"D2","level":"warning","message":{"text":"ReconciliationProjectionController::advance_slice_inner (cognitive 35): ReconciliationProjectionController::advance_slice_inner has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (24 pts), loops 3 (5 pts), match/switch 3 (4 pts), boolean chains 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":"src/store/reconciliation_projection_controller.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cf73025f9312e2d80f4cf0d17631ad82ce4bf61faca80c06f045bcb5b17e69"}},{"ruleId":"D2","level":"warning","message":{"text":"check_quality_gates.parse_workflow (cognitive 35): check_quality_gates.parse_workflow has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 8, 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":".github/scripts/check_quality_gates.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd56fec44879f31726c006c8221354656249be36d8d8c6a0a866c90084211826"}},{"ruleId":"D2","level":"warning","message":{"text":"release_failure_notifier.main (cognitive 35): release_failure_notifier.main has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 10, error handling 3 (7 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":".github/scripts/release_failure_notifier.py"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd133ea24f78b92217ea8526812f1e890d634770b10e4b7fb5242163a713dc9"}},{"ruleId":"D2","level":"warning","message":{"text":"McpSessionBindingsModule.McpSessionBindingsModule (cognitive 35): McpSessionBindingsModule.McpSessionBindingsModule has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 10 (16 pts), boolean chains 11, if/else 6 (8 pts) (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 19 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/src/admin/McpSessionBindingsModule.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f2e1e9e7c6cd401a63f305513958d4a68a8db7a99fd369a66a183494117fe2"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminRechargeRecordsModule.AdminRechargeRefundDialogBody (cognitive 35): AdminRechargeRecordsModule.AdminRechargeRefundDialogBody has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 17 (31 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":"web/src/admin/AdminRechargeRecordsModule.tsx"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"6969d93b176b7db239459f8d279e71829bfdeb32b3a22b3357d38033887aa930"}},{"ruleId":"D2","level":"warning","message":{"text":"ForwardProxyManager::apply_incremental_settings (cognitive 34): ForwardProxyManager::apply_incremental_settings has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 5 (6 pts), boolean chains 2, match/switch 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":"src/forward_proxy/manager.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc6cca85112cd2af1482171f4f5b7566bea35fa8df189427118ba3ce958aaeb"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminUserRankingsPage.RankingsBarChart (cognitive 34): AdminUserRankingsPage.RankingsBarChart has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 30 (31 pts), if/else 2, boolean chains 1 (nesting depth added 1). Most of this is not in the body itself: 13 of the 34 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 292, 281). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b46c159828a0ab4e228c973fbe58a4b3808ae78dba2b400d052552f2120fbe"}},{"ruleId":"D2","level":"warning","message":{"text":"ForwardProxyEgressControl.ForwardProxyEgressControl (cognitive 33): ForwardProxyEgressControl.ForwardProxyEgressControl has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 12 (15 pts), boolean chains 9, if/else 9 (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 14 belong to 7 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/src/admin/ForwardProxyEgressControl.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9edfcb8b90b541076fbf7b8a2112d440d8ca8ce36a0055d1895402abc7789f3"}},{"ruleId":"D2","level":"warning","message":{"text":"useOAuthCallbackFlow.useOAuthCallbackFlow (cognitive 33): useOAuthCallbackFlow.useOAuthCallbackFlow has cognitive complexity 33 (threshold 15). Drivers by points: if/else 21 (23 pts), boolean chains 7, ternaries 3 (nesting depth added 2). Most of this is not in the body itself: 2 of the 33 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 45, 136, 92, \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/src/user-console/useOAuthCallbackFlow.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f72a8dbffaaff671229ec8f3306fb2984ec9dbf474fb5d32568c164f2294b5"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::create_next_dashboard_rollup_integrity_work_item (cognitive 32): KeyStore::create_next_dashboard_rollup_integrity_work_item has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 9, match/switch 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f11469924d89b3ddf1fd377149f83956942ba1f25d8f9709fe0d8f681da0c86"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::run_observability_sidecar_migrate (cognitive 32): KeyStore::run_observability_sidecar_migrate has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 11 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_observability_sidecar.rs"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9a02fec149f598bed7b41591df6179c61269e8a9b33859062e5d2a7abf7109"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::push_request_logs_filters (cognitive 32): KeyStore::push_request_logs_filters has cognitive complexity 32 (threshold 15). Drivers by points: if/else 24 (32 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d77e17ccf6d0d96e71446c365a93bd67b727ca2b38f982c69a816a7a542405c"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::serve::run_ha_sync_once_for_peer (cognitive 32): tavily_hikari::server::serve::run_ha_sync_once_for_peer has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"165314caec7145b125e72ca110be59ddf2ca7aaf8bd8b08cbf38f9af315f7eb4"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminUserRankingsPage.AdminUserRankingsPage (cognitive 32): AdminUserRankingsPage.AdminUserRankingsPage has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 15 (27 pts), boolean chains 5 (nesting depth added 12). Of this number, 29 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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa38576c26ed6015599c1803474821b77347296fe0ce3d0b45a46453989808e"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnouncementsModule.AnnouncementsListPanel (cognitive 32): AnnouncementsModule.AnnouncementsListPanel has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 15 (31 pts), boolean chains 1 (nesting depth added 16). Most of this is not in the body itself: 7 of the 32 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 689, 638). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/src/admin/AnnouncementsModule.tsx"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f589549a767eb5fdcfa4e3434643298e62ed39d3ff36b122e93b871d16140d6"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminDashboardRuntime.AdminDashboard::handleManualRefresh (cognitive 32): AdminDashboardRuntime.AdminDashboard::handleManualRefresh has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 13, 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. This shape REPEATS in the file: 5 other methods here (AdminDashboardRuntime.AdminDashboard, AdminDashboardRuntime.AdminDashboard::handleImportValidatedKeys, AdminDashboardRuntime.AdminDashboard::saveUserTagCatalog, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":5167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7634725a08f5702c84e030a0aaec990c3bcec9a093cd7ba10e6afb7932c25168"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminDashboardRuntime.AdminDashboard::handleImportValidatedKeys (cognitive 32): AdminDashboardRuntime.AdminDashboard::handleImportValidatedKeys has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 5 (6 pts), boolean chains 5, ternaries 2 (3 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: 5 other methods here (AdminDashboardRuntime.AdminDashboard, AdminDashboardRuntime.AdminDashboard::handleManualRefresh, AdminDashboardRuntime.AdminDashboard::saveUserTagCatalog, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":6373}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fd3fe93650fa4cccdef5de5e31891da48fdf2727cd0f8bc1d32417d7d78d74"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::proxy_http_get_endpoint (cognitive 31): TavilyProxy::proxy_http_get_endpoint has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 7, loops 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60715d01f6860bd5e155015a4f3b094a6ab38f92ac271061817e8f111a6a09d"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::schedulers::run_linuxdo_user_status_sync_claimed_job (cognitive 31): tavily_hikari::server::schedulers::run_linuxdo_user_status_sync_claimed_job has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 4 (8 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d672f7a6c5d8a5a0b779030650ce31164066009d71dbf666ac6a619557ed3c6"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::store::key_store_alert_event_projection::redact_sensitive_labeled_values (cognitive 31): tavily_hikari::store::key_store_alert_event_projection::redact_sensitive_labeled_values has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"06338c69c314f30f900176730af2bc07a94689f1340a801bfe1fffd560dd8471"}},{"ruleId":"D2","level":"warning","message":{"text":"UsersUsageScreen.UsersUsageScreen (cognitive 31): UsersUsageScreen.UsersUsageScreen has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 17 (29 pts), boolean chains 2 (nesting depth added 12). Most of this is not in the body itself: 9 of the 31 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 194, 313, 381). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/src/admin/screens/UsersUsageScreen.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca3a9c79e4c8aa553c9cb769c173616e4baf5c73524695276558e62136fa2dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ForwardProxySettingsModule.buildVisibleBarHeights (cognitive 31): ForwardProxySettingsModule.buildVisibleBarHeights has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 8 (20 pts), if/else 5 (7 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 15). Of this number, 29 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a70988eda003b43bba4946b5d72f2bce1599d96515285c1d2ac232c0f2137da"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStickyPanels.buildVisibleBarHeights (cognitive 31): KeyStickyPanels.buildVisibleBarHeights has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 8 (20 pts), if/else 5 (7 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 15). Of this number, 29 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/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0279f124b22529e9536611a06a56c0b2465b3e68801d42159edfc503e1a1e45e"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::ha_peer_channel_health (cognitive 30): KeyStore::ha_peer_channel_health has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 10 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f27130a9cd0f4c480602444288ad2f25c874f9bbad3b99c4c045cb1e915afb7"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::gc_ha_outbox_with_options (cognitive 30): KeyStore::gc_ha_outbox_with_options has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 3, loops 2 (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":"src/store/key_store_ha.rs"},"region":{"startLine":3043}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a496f74f6ebe6ac84ee0b8a81134a00cb7da622dc6b4d9ce435d163a6c15e30"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteReadSnapshot::complete_cooperative_query_inner (cognitive 30): SqliteReadSnapshot::complete_cooperative_query_inner has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (28 pts), boolean chains 1, match/switch 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4732a856d0a0ea4e128e17151ada45726b7a083cb9dc471b8db50e9497eacb"}},{"ruleId":"D2","level":"warning","message":{"text":"MaintenanceRuntime::run (cognitive 30): MaintenanceRuntime::run has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (22 pts), match/switch 2 (5 pts), boolean chains 2, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/maintenance_runtime.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"21534b62e2f3bac3c2fd019d9a4fb88185e907876e27a662181281298b956a93"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::models::audit_business_quota_ledger_with_pool (cognitive 30): tavily_hikari::models::audit_business_quota_ledger_with_pool has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 12, match/switch 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":"src/models.rs"},"region":{"startLine":2669}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3979b8ccbfd3df198fa3d18495b30132577c528759fe8c80c1f4817140a3fc"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::store::key_store_alert_event_projection::bound_alert_event_record_for_projection (cognitive 30): tavily_hikari::store::key_store_alert_event_projection::bound_alert_event_record_for_projection has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (25 pts), loops 4 (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":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"3870771c58d9bde407dfbc81b828cd522dcb3482c058355988f4fc24ad9e4e23"}},{"ruleId":"D2","level":"warning","message":{"text":"design_system.format_ascii_box (cognitive 30): design_system.format_ascii_box has cognitive complexity 30 (threshold 15). Drivers by points: loops 9 (16 pts), if/else 13, boolean chains 1 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".codex/skills/ui-ux-pro-max/scripts/design_system.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e06289965d028a33283f44fccc37d0a0c3b8770c41ed5ff2ceb8af9e2421dd9"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::dashboard_rollup_integrity_request_log_gc_decision_for_day_inner (cognitive 29): KeyStore::dashboard_rollup_integrity_request_log_gc_decision_for_day_inner has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (20 pts), match/switch 5 (6 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":3158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6da5adcb87f1b361ee83765ae5b97f1b67d8fa95e341f08ee4f872b8cd74f9"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::spawn_ha_state_coalescer (cognitive 29): TavilyProxy::spawn_ha_state_coalescer has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 2 (6 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_ha.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ccc4ee7f50a8f8d4733aeca5875e03fcbe2a5155911f2a92381f5e82c6e9a7"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminUserDetailQuotaWorkspace.AdminUserDetailQuotaWorkspace (cognitive 29): AdminUserDetailQuotaWorkspace.AdminUserDetailQuotaWorkspace has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 9, if/else 5, error handling 2 (nesting depth added 3). Most of this is not in the body itself: 9 of the 29 points are its own statements and the rest belongs to 5 function items inside it that branch (submitEntitlement, applyEntitlementFilters, a function literal at line 262, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminUserDetailQuotaWorkspace.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84aa04cc7f3681212eedf4dc9b41c51e95739961b5c3aff469ee285b6cd93f0"}},{"ruleId":"D2","level":"warning","message":{"text":"XraySupervisor::sync_endpoints (cognitive 28): XraySupervisor::sync_endpoints has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 3, match/switch 1 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/relay_and_xray.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f941bec6138c2e00214fa177f08b4c99e2c72a885501a4bef8301b6e6f08d1"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::send_with_forward_proxy_plan (cognitive 28): TavilyProxy::send_with_forward_proxy_plan has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 4 (8 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":"src/tavily_proxy/proxy_forward_proxy_maintenance.rs"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe4109ebc1b8cd123d970ffa732200239c1b8ae6bcf325fb5b887587a53b465"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::analysis::classify_failure_kind (cognitive 28): tavily_hikari::analysis::classify_failure_kind has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15, boolean chains 13. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"685a00ff6e7d743dbfe02ddae37065f6ee3348fbbe687cc233558a7352f859af"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::forward_proxy::responses_and_validation::build_stream_settings_from_url (cognitive 28): tavily_hikari::forward_proxy::responses_and_validation::build_stream_settings_from_url has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81918d07b606a32eae78f60c96f885982b89b8d80240be8a37a53fb824a7acc"}},{"ruleId":"D2","level":"warning","message":{"text":"anchored-info-disclosure.AnchoredInfoDisclosure (cognitive 28): anchored-info-disclosure.AnchoredInfoDisclosure has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19, ternaries 4 (6 pts), boolean chains 3 (nesting depth added 2). Most of this is not in the body itself: 7 of the 28 points are its own statements and the rest belongs to 8 function items inside it that branch (handleBlur, a function literal at line 55, handleClick, \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/src/components/ui/anchored-info-disclosure.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef017b8e685be2ee9c27f4df91be202ace77b6a20bdc30281e834efc5ddbe142"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::fetch_dashboard_quota_recovery_round (cognitive 27): KeyStore::fetch_dashboard_quota_recovery_round has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 4 (10 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d3b1103c3c00cae7a04c54c53190038e2d8cc3fdbc8f6cc9c871997fa5913e"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::add_or_undelete_key_with_status_in_group_once (cognitive 27): KeyStore::add_or_undelete_key_with_status_in_group_once has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 6, match/switch 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":"src/store/key_store_token_logs.rs"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd8c79ec17ef128e76a841281d65c876d019ef4b0e2367a88ed746db5f2eec7"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::upsert_oauth_account_with_options (cognitive 27): KeyStore::upsert_oauth_account_with_options has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 2 (7 pts), loops 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":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0a4f167e3c55c9225fc87193e07b2bf1e32796fcf7215796b53de8540eb76d"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::acquire_key_for (cognitive 27): TavilyProxy::acquire_key_for has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_affinity.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe7c87526117f90d01871f4d34d724cc4f7abf79e49f685f09aceaa49f65c2b"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::public::load_dashboard_overview_snapshot (cognitive 27): tavily_hikari::server::handlers::public::load_dashboard_overview_snapshot has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 5, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81421e9baafce5bf483c95f3ee428520a4dff2d9de667e2dbeda61c40318ba9"}},{"ruleId":"D2","level":"warning","message":{"text":"design_system.format_page_override_md (cognitive 27): design_system.format_page_override_md has cognitive complexity 27 (threshold 15). Drivers by points: loops 7 (14 pts), if/else 13 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".codex/skills/ui-ux-pro-max/scripts/design_system.py"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"727fe7a23d82e9fda8b14906e0dd9e8de6c3fa902a1a708159da959776f46924"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminRecentRequestsPanel.RecentRequestDetails (cognitive 27): AdminRecentRequestsPanel.RecentRequestDetails has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 18 (25 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"4669dd983215f2d807c5c39a473075a2d14a4aecea033149d99891f7a11a4adc"}},{"ruleId":"D2","level":"warning","message":{"text":"ForwardProxySettingsModule.ForwardProxyCandidateDialog (cognitive 27): ForwardProxySettingsModule.ForwardProxyCandidateDialog has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 13 (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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"99726eac0c46521fa44a5a48b9569d746854bb7b33be709ed085c787dd8e9143"}},{"ruleId":"D2","level":"warning","message":{"text":"logOperationalClass.failureKindGuidance (cognitive 27): logOperationalClass.failureKindGuidance has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 13 (26 pts), match/switch 1 (nesting depth added 13). 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/src/lib/logOperationalClass.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82f0596a2cb7d32ff004f01afe367e709eb850237f0ce7a67e6c437b834fad4"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::rebuild_server_pressure_buckets_with_cancel (cognitive 26): KeyStore::rebuild_server_pressure_buckets_with_cancel has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 3 (5 pts), match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_analysis_pressure.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c560687914cd47f9b4f00e70d66c658a5c6c6e2c81b51431ff2132357ee7ea"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::fetch_dashboard_quota_charge_read_model_internal (cognitive 26): KeyStore::fetch_dashboard_quota_charge_read_model_internal has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34579ce2b33fe42c728312d1f6268deb3f2a6422ab125881e733d1376f8d5d7"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::request_logs_exist_for_filters (cognitive 26): KeyStore::request_logs_exist_for_filters has cognitive complexity 26 (threshold 15). Drivers by points: if/else 20 (26 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":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b5f2f09d878cba26eb430bc5ce1bbbda6666a8b5577654b246cff15db9711c"}},{"ruleId":"D2","level":"warning","message":{"text":"SegmentedTabs.SegmentedTabs (cognitive 26): SegmentedTabs.SegmentedTabs has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 10, ternaries 3 (4 pts), loops 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 26 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 113, findNextEnabledIndex, 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/src/components/ui/SegmentedTabs.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c0b2d92f0806e8bb916ea402b3a3dc68ae49a1f4bb7fdc7068c5c25c38c516"}},{"ruleId":"D2","level":"warning","message":{"text":"RollingNumber.buildRollingCells (cognitive 26): RollingNumber.buildRollingCells has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 4 (7 pts), loops 3 (6 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":"web/src/components/RollingNumber.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e0354c4d7053e7ddeb6579f2f140eb2e0758bacad4341649be8b1ad77d1376"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiKeyBulkSyncProgressBubble.ApiKeyBulkSyncProgressBubble (cognitive 26): ApiKeyBulkSyncProgressBubble.ApiKeyBulkSyncProgressBubble has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 15 (26 pts) (nesting depth added 11). Most of this is not in the body itself: 4 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 89). 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/src/admin/ApiKeyBulkSyncProgressBubble.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a99de4b925dc44c661669e12c894c6bde4af70e836813d32ce3047ddd63e75e"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::upstream_privacy_status_from_snapshot (cognitive 25): KeyStore::upstream_privacy_status_from_snapshot has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, loops 6, match/switch 1 (2 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":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55800d4594c8b6c8b5839b7dc1baf7da975a51d6aec7e1e140a2aa7c4736d65"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::advance_admitted_alert_projection_slice (cognitive 25): KeyStore::advance_admitted_alert_projection_slice has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 6, match/switch 4 (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":"src/store/key_store_alert_projection.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cd814fe92c73af93f9fbbb6c42bd180a4e015d569dad261b01ce26b4d46457"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::create_access_token (cognitive 25): KeyStore::create_access_token has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (14 pts), match/switch 4 (10 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca6e83563611933ae6b9536919c2c8eeb1a4bd29a32fee68a0d595cb2ae78a5"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::resolve_forward_proxy_geo_candidates_with_remote_attempt_admission (cognitive 25): TavilyProxy::resolve_forward_proxy_geo_candidates_with_remote_attempt_admission has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 4 (6 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_forward_proxy_maintenance.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a3c28cfda0efb8677b49f14849ca58306816db2aa4c147791c3ca88fc08ae9"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::proxy_request (cognitive 25): TavilyProxy::proxy_request has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2543c5e559f168e8739b7ffca06523830248aef89e962dc83593df90e85df2c1"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::models::resolve_client_ip_info (cognitive 25): tavily_hikari::models::resolve_client_ip_info has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 4 (9 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb7b795cff051919ab2e23e780225cd53cffd7697fc2aa5e09e778c432c1094"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::post_validate_api_keys (cognitive 25): tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::post_validate_api_keys has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 4, match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"020b0509e7e2bd39d7003b0d8798bab755e0dc0005d80862469ba478c0657f72"}},{"ruleId":"D2","level":"warning","message":{"text":"api-key-extract.isPublicIpv4 (cognitive 25): api-key-extract.isPublicIpv4 has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, if/else 12. To reduce it, name the conditions: bind each compound test to a well-named local or 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/src/lib/api-key-extract.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f3aaf6de949047eaf52b9a2d77ea8be1e7539561073ce80068b8873335943d"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::alert_projection_status (cognitive 24): KeyStore::alert_projection_status has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, loops 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":"src/store/key_store_alert_projection.rs"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"262bbb384b3f5daa13607eab25e92232a41ddc8b5b082a38656b6b9251e7446a"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::scheduled_job_enqueue_at_with_operation (cognitive 24): KeyStore::scheduled_job_enqueue_at_with_operation has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 4 (5 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_jobs.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"d156c8c9895a74ed40418215741d00646e72feba8fca4ea3086cac9f38b6230d"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::flush_request_stats_writes_with_wait_policy (cognitive 24): KeyStore::flush_request_stats_writes_with_wait_policy has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (22 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":"src/store/key_store_request_stats_flush_and_public_metrics.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"49643383540942c30923be51c631d1a3ef371721917531578a69bbc30782cc32"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::next_upstream_reconciliation_research_candidates (cognitive 24): KeyStore::next_upstream_reconciliation_research_candidates has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 4 (6 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation_research.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c82d23b0bc3bc64ef2574b34f44be588d4da6795556d6a9fe08225418c488c"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::apply_pending_billing_log_once (cognitive 24): KeyStore::apply_pending_billing_log_once has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (21 pts), match/switch 1 (2 pts), boolean chains 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cb89d1a9d961059484be550cfa17b40ed34df18d693f28243746985b6b59e1"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::rank_registration_aware_candidates (cognitive 24): TavilyProxy::rank_registration_aware_candidates has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 5, 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":"src/tavily_proxy/proxy_forward_proxy_maintenance.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b68a15f07cccbe415c763a8c9369f32699da61991fc1243bb230ee04691b19"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::reconcile_proxy_affinity_record_with_state (cognitive 24): TavilyProxy::reconcile_proxy_affinity_record_with_state has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_forward_proxy_maintenance.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"3058f76cba5a0512ee0494467e97e07f23aad57d2db1b0f8b4c88c22372d50cd"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::spawn_request_stats_coalescer (cognitive 24): TavilyProxy::spawn_request_stats_coalescer has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 5, match/switch 2 (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":"src/tavily_proxy/proxy_ha.rs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8ad0a048e7e026f04c4713cbb4200a08c8c4a7700dca80f54b7abf69c00270"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::run_upstream_reconciliation_research_drain_claimed_with_turn (cognitive 24): TavilyProxy::run_upstream_reconciliation_research_drain_claimed_with_turn has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 4 (5 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/reconciliation_research_drain.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"034447ceb75d924e5f8f32b3c21ef0fcedccdd1352b11877c300207bb9d9e7b1"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::store::run_request_user_id_backfill_with_pool (cognitive 24): tavily_hikari::store::run_request_user_id_backfill_with_pool has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 3 (7 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9d8efda571a53b8d555019a9e6aa059171b2ef7b6d6b5630982305f3fcb4e7"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::store::key_store_admin_privacy_read::admin_privacy_alert_projection_status (cognitive 24): tavily_hikari::store::key_store_admin_privacy_read::admin_privacy_alert_projection_status has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, loops 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":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c968a17d4f8d68b10c3b06a888822b0d66d4b2fe313132a00a2dd5d3ff555f2f"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::store::key_store_alert_event_projection::redact_sensitive_json (cognitive 24): tavily_hikari::store::key_store_alert_event_projection::redact_sensitive_json has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (8 pts), match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e7f57a631b882ae0c76d7171f2db1b40cdd4690b6290ddbe360a7c57d5931e"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_relay_mesh_brand_assets.write_vector_svg (cognitive 24): generate_relay_mesh_brand_assets.write_vector_svg has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 1 (5 pts), boolean chains 4, 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":"web/scripts/generate_relay_mesh_brand_assets.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1eb6dfc17aaf77572c6ef707d1b2227d2fb1fd1edd3b3560fed3b552d27b18"}},{"ruleId":"D2","level":"warning","message":{"text":"demoHa.handleDemoHaRoute (cognitive 24): demoHa.handleDemoHaRoute has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 3 (8 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/src/api/demoHa.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc778a072e646a142ca911352f81ca662d2567ded3477b270ef5f0eb4df47ad"}},{"ruleId":"D2","level":"warning","message":{"text":"api-key-extract.parseIpv6 (cognitive 24): api-key-extract.parseIpv6 has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 3 (4 pts), boolean chains 2, loops 1 (nesting depth added 7). Of this number, 14 points are the body\u0027s own statements and 10 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/src/lib/api-key-extract.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"87847f1273a4e4d6deab61b4986896e9990934bedbbd027b2e2624e54dc4c6aa"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::advance_admin_alert_canonical_catalog_snapshot (cognitive 23): KeyStore::advance_admin_alert_canonical_catalog_snapshot has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 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":"src/store/key_store_alert_canonical_catalog.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e6e66b814e06faf1875e8b72591be7b2f59825b7827b4ab7bef7619e1fa540"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::fetch_dashboard_quota_recovery_baseline_step (cognitive 23): KeyStore::fetch_dashboard_quota_recovery_baseline_step has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 6 (11 pts) (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fc3a64b4989ec29c59d2c0705381c5f364a109ef2d2f0ab0edc3aefd1cfc61"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::proxy_rebalance_mcp_http_research (cognitive 23): TavilyProxy::proxy_rebalance_mcp_http_research has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, loops 2 (3 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"905154f94ea25c0357181eed9899f5e1ecf34ad99c848a1dbd980cb9d3399e4f"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::dashboard_quota_charge_snapshot_for_token (cognitive 23): TavilyProxy::dashboard_quota_charge_snapshot_for_token has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), match/switch 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_request_limits.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3e70b3350572a9336e74bbabf1270784cb824dccf202c3bb55d88bdd400e32"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::create_api_keys_batch (cognitive 23): tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::create_api_keys_batch has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 3 (9 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":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f729894ba9b20b33bdc17ae321cc464ee538572287b8297442d109b0c9f609"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::state::spawn_admin_alerts_canonical_groups_reclaimer (cognitive 23): tavily_hikari::server::state::spawn_admin_alerts_canonical_groups_reclaimer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa5b2183cd48e10480ac3f70bae90f1881038a1d44f8cc8a7947ca7de3042b4"}},{"ruleId":"D2","level":"warning","message":{"text":"UnboundTokenUsageScreen.UnboundTokenUsageScreen (cognitive 23): UnboundTokenUsageScreen.UnboundTokenUsageScreen has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 12 (21 pts), boolean chains 2 (nesting depth added 9). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 266, 172). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/src/admin/screens/UnboundTokenUsageScreen.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aeae95dc90c7a32e89722bf1e1e8605762c4a0d65229e93c6e18dbdd81ee014"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminDashboardRuntime.AdminDashboard::renderUserTagCatalogCard (cognitive 23): AdminDashboardRuntime.AdminDashboard::renderUserTagCatalogCard has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 13 (16 pts), boolean chains 7 (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. This shape REPEATS in the file: 5 other methods here (AdminDashboardRuntime.AdminDashboard, AdminDashboardRuntime.AdminDashboard::handleManualRefresh, AdminDashboardRuntime.AdminDashboard::handleImportValidatedKeys, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8072}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44e5069516e6cb9394a37ab78433dacdc7bf659f35a46e27f08e08ef5bc62f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectivityChecksPanel.ConnectivityChecksPanel (cognitive 23): ConnectivityChecksPanel.ConnectivityChecksPanel has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 13 (15 pts), boolean chains 5, if/else 3 (nesting depth added 2). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 125, a function literal at line 149, renderProbeBubble). 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/src/components/ConnectivityChecksPanel.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54edd989a0548ca3a9576d76eb5b1427798e551963dbfa9aaa3adfec52c128a"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::acquire_key_for_http_project (cognitive 22): TavilyProxy::acquire_key_for_http_project has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 1 (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":"src/tavily_proxy/proxy_affinity.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b419afb9db0a65dd06136eb96dd8c7e21a41b07786cdce20e0e836c2c7954b9"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::bin::mcp_request_log_retry_repair::build_candidates (cognitive 22): tavily_hikari::bin::mcp_request_log_retry_repair::build_candidates has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 3, boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_request_log_retry_repair.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf9273f959088967ce8808d9eea13b61de083f4269274469c4b351945952c87"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::forward_proxy_and_key_validation::post_forward_proxy_candidate_validation (cognitive 22): tavily_hikari::server::handlers::admin_resources::forward_proxy_and_key_validation::post_forward_proxy_candidate_validation has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 4 (8 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":"src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e1e7852f35a3b6c4f022c798d53517399199fa4ee2168f24b2fac8a28debab"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::ha::post_admin_ha_promote (cognitive 22): tavily_hikari::server::handlers::admin_resources::ha::post_admin_ha_promote has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (6 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6224235dd3056b7de30c36e28ac389296aee3989b5903090507ce74a3010a66"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::schedulers::run_ha_outbox_gc_claimed_job (cognitive 22): tavily_hikari::server::schedulers::run_ha_outbox_gc_claimed_job has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 3 (6 pts), loops 1 (2 pts) (nesting depth added 12). 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":"src/server/schedulers.rs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02b15dc84381fd1ad999f108fd799b7bc27c94f546ecc9060ecd401448cf931"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::schedulers::run_linuxdo_credit_recharge_lifecycle_claimed_job (cognitive 22): tavily_hikari::server::schedulers::run_linuxdo_credit_recharge_lifecycle_claimed_job has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 7 (14 pts), if/else 5 (7 pts), loops 1 (nesting depth added 9). 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":"src/server/schedulers.rs"},"region":{"startLine":2149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4405291c7800dcd74b37131fb6824497c979b6bd0ff3acec69939b98e083c84"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::serve::spawn_ha_edgeone_authority_task (cognitive 22): tavily_hikari::server::serve::spawn_ha_edgeone_authority_task has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), match/switch 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":"src/server/serve.rs"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"703e96faac8ff99a0138ae4464e1921b99bc62f9d416e39a8309e67c344b5365"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::store::key_store_alert_event_projection::decode_alert_unicode_escapes_once (cognitive 22): tavily_hikari::store::key_store_alert_event_projection::decode_alert_unicode_escapes_once has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (8 pts), match/switch 1 (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":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7451c89e2b84064b87ffafa656cf31168ca3a54c0d562c02e6cb9093064854f"}},{"ruleId":"D2","level":"warning","message":{"text":"verify_relay_mesh_lockup_geometry.validate_structure (cognitive 22): verify_relay_mesh_lockup_geometry.validate_structure has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12, boolean chains 9, 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/scripts/verify_relay_mesh_lockup_geometry.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab2f76eeea96a1c295f283713c5dda9c4dcf819b8f9bf08f3708d1a4f1592e8"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateAvailableBanner.UpdateAvailableBanner (cognitive 22): UpdateAvailableBanner.UpdateAvailableBanner has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (20 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":"web/src/components/UpdateAvailableBanner.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fa2e6e582267e131d6626e1424619da176f8b428ff6d06a8b8f695315141b3"}},{"ruleId":"D2","level":"warning","message":{"text":"ForwardProxyProgressBubble.ForwardProxyProgressBubble (cognitive 22): ForwardProxyProgressBubble.ForwardProxyProgressBubble has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (22 pts) (nesting depth added 10). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 42). 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/src/admin/ForwardProxyProgressBubble.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae47c7c9052a800bfc3b97d231c28ce9072754f42936dcf4aa97924ffa47949"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenSecretField.TokenSecretField (cognitive 22): TokenSecretField.TokenSecretField has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 13 (18 pts), boolean chains 3, if/else 1 (nesting depth added 5). Of this number, 21 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/src/components/TokenSecretField.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"512dc535d1f31707b775c711c7a96aad4be87879655fd49a32709337b9652dfa"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminPagesStoryRuntime.filterStoryRequestLogs (cognitive 22): AdminPagesStoryRuntime.filterStoryRequestLogs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 7, ternaries 1 (nesting depth added 7). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to one function literal inside it that branches (line 828). 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd5fd04c164023903abffdec8674e9f93eee30018389687ebdbcb1b49672815"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::rebuild_account_quota_limits_with_semantic_columns (cognitive 21): KeyStore::rebuild_account_quota_limits_with_semantic_columns has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, 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":"src/store/key_store_quota_schema_semantic_migration.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab181cf1af5c123458981cd2623a3a01eb35629bdefc622644bd0d337127a00"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::main (cognitive 21): tavily_hikari::main has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, boolean chains 5, match/switch 2 (3 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c890d2fd0d30e425efb4e88081b1c8c5911321bc59a059f874c2ad008ce1ff"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::versions_and_proxy_helpers::resolve_registration_regions (cognitive 21): tavily_hikari::server::handlers::admin_resources::versions_and_proxy_helpers::resolve_registration_regions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 3 (6 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/versions_and_proxy_helpers.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"20af6d915ab06b907eed726bc3f414bbc39965c34533a3d993c7330cfd2f75b8"}},{"ruleId":"D2","level":"warning","message":{"text":"design_system._generate_intelligent_overrides (cognitive 21): design_system._generate_intelligent_overrides has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 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":".codex/skills/ui-ux-pro-max/scripts/design_system.py"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"834026279cddbb32c2cdb58d3a8e90ad55f88c898e3bf8ea447160cc4aae5159"}},{"ruleId":"D2","level":"warning","message":{"text":"release_failure_notifier.inspect_jobs (cognitive 21): release_failure_notifier.inspect_jobs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 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":".github/scripts/release_failure_notifier.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"67287b5d6ab7bb4f1994a8ce8dcf588aea9eee638bd32a6a6b870609fe9250e3"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_relay_mesh_brand_assets.remove_background (cognitive 21): generate_relay_mesh_brand_assets.remove_background has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (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/scripts/generate_relay_mesh_brand_assets.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"51591b4b3f6848c4ae9cc178ad2e09f81f76b6ac0e94c81598f01a31594c7be7"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenDetail.computeStartDate (cognitive 21): TokenDetail.computeStartDate has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 6 (8 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":"web/src/pages/TokenDetail.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"285fb05fc10172507ba5838a91ec7e3a4c8f2a4a22a77f4d254ed544a5d85069"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStickyPanels.KeyStickyPanels (cognitive 21): KeyStickyPanels.KeyStickyPanels has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 14 (21 pts) (nesting depth added 7). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 388, 557, 600, \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/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea1320286183a05d9b107443491c35f932a38fe29f892f7ba57407273203fac"}},{"ruleId":"D2","level":"warning","message":{"text":"PublicHome.buildGuideContent (cognitive 21): PublicHome.buildGuideContent has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 21. 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/src/PublicHome.tsx"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37e99de63dd282271b08afd4f5b47f8586dac33b286306c20d0db00095e4c2d"}},{"ruleId":"D2","level":"warning","message":{"text":"guide.buildGuideContent (cognitive 21): guide.buildGuideContent has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 21. 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/src/user-console/guide.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cc57cfd27e98d8304816c1df2a0cadda17eeddf350ed638971993b0817e7d5"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminPagesStoryRuntime.StoryUserTagCatalogCard (cognitive 21): AdminPagesStoryRuntime.StoryUserTagCatalogCard has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 13 (18 pts), boolean chains 3 (nesting depth added 5). Of this number, 19 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":2722}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd71543e63b544e1a4b38dd3744aee0846e150c967cdbbb2acc8dda14ec99d3c"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminPagesStoryRuntime.UsersUsagePageCanvas (cognitive 21): AdminPagesStoryRuntime.UsersUsagePageCanvas has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 6, ternaries 4 (5 pts) (nesting depth added 1). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 7 function items inside it that branch (toggleSort, a function literal at line 5127, a function literal at line 5143, \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d8642b44dee7a259c170452f512cbb05e8d50df4b5fa6d5e4dc2ca9078e55a"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::flush_request_stats_writes_once_within_deadline (cognitive 20): KeyStore::flush_request_stats_writes_once_within_deadline has cognitive complexity 20 (threshold 15). Drivers by points: loops 8 (14 pts), if/else 3 (6 pts) (nesting depth added 9). 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":"src/store/key_store_request_stats_flush_and_public_metrics.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"680cc7515db411903662ce37f9b49414acd4646a65ddd40310de6b867b667030"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::populate_token_quota (cognitive 20): TavilyProxy::populate_token_quota has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_auth_and_oauth.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a31b4c1f2d089f539ebd2a85c0cd1e3953f9361684436a3053479a927c8f5fe"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::proxy_rebalance_mcp_http_json_endpoint (cognitive 20): TavilyProxy::proxy_rebalance_mcp_http_json_endpoint has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bba43996828661bf5f5c682b0797f49ce17da48a36cf406c7316282990bf69"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyProxy::fetch_upstream_research_poll (cognitive 20): TavilyProxy::fetch_upstream_research_poll has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 4 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/reconciliation_engine.rs"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56973abc21fed9389e3b5bf9da5dce8277a84205219099e3ecb243e8ced7a90"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::schedulers::run_request_logs_gc_catchup_claimed_job (cognitive 20): tavily_hikari::server::schedulers::run_request_logs_gc_catchup_claimed_job has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 3 (5 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":"src/server/schedulers.rs"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ce44c8b34774a30a4ac910570a39e138d75b6ead9b605e1c718b6992ddf97b"}},{"ruleId":"D2","level":"warning","message":{"text":"mcpProbe.getMcpProbeResultError (cognitive 20): mcpProbe.getMcpProbeResultError has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/mcpProbe.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"de491d9e9fd67d21e132cd44560fe2220939a96f58ff67584b67bee12231f445"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.handleUserTags (cognitive 20): demo.handleUserTags has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (10 pts), if/else 5 (6 pts), boolean chains 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, 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/src/api/demo.ts"},"region":{"startLine":2251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a553a69aad31bab8a02803665637d46601f46ea6b725480cd6db473be44e9923"}},{"ruleId":"D2","level":"warning","message":{"text":"PublicHomeHeroCard.PublicHomeHeroCard (cognitive 20): PublicHomeHeroCard.PublicHomeHeroCard has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, ternaries 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":"web/src/components/PublicHomeHeroCard.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"581cab1128682f7732b860542b1007597f5f593875cd521417038c4cd9f4e008"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.buildApiProbeStepDefinitions (cognitive 20): runtime.buildApiProbeStepDefinitions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 4 (nesting depth added 3). None of this is in the body itself: all 20 points belong to 7 function literals inside it that branch (lines 1113, 1095, 1037, \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/src/user-console/runtime.tsx"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"936241138c1c5e7cc824d88773cdc46a3e37d9941dfecc0d6086f262bc4c0f1b"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::reclaim_admin_alert_canonical_groups_generations (cognitive 19): KeyStore::reclaim_admin_alert_canonical_groups_generations has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ea08cfb15bed56e66481e0a97d4a515d1313f08bf4dc01bdc46cf428679212"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::apply_linuxdo_credit_recharge_payment (cognitive 19): KeyStore::apply_linuxdo_credit_recharge_payment has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"729c5fe1513010441c2d0d229f62be714b8c633b06340182bf3e94fcb7c15cfb"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::analysis::failure_kind_solution_guidance (cognitive 19): tavily_hikari::analysis::failure_kind_solution_guidance has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 1 (nesting depth added 6). 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":"src/analysis.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"64781137c62d8217d380cb79606be600c315fc811de79d38eab93c566c5a01ab"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::forward_proxy::responses_and_validation::build_vmess_stream_settings (cognitive 19): tavily_hikari::forward_proxy::responses_and_validation::build_vmess_stream_settings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"930d9892faff93c70ea5dc76c12032be8462bbe7bc9499a863fc5504f5aa69bc"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::schedulers::spawn_maintenance_worker (cognitive 19): tavily_hikari::server::schedulers::spawn_maintenance_worker has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 4 (8 pts), boolean chains 1, loops 1 (nesting depth added 10). 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":"src/server/schedulers.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"5849f6955331d955337a4272105164b03fadfc4e5192ee3466cb16ae4e82a73f"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminRecentRequestsRequestKindFilter.AdminRecentRequestsRequestKindFilter (cognitive 19): AdminRecentRequestsRequestKindFilter.AdminRecentRequestsRequestKindFilter has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 4 (6 pts), boolean chains 1, loops 1 (nesting depth added 6). 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 218, 167, 271, \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/src/components/AdminRecentRequestsRequestKindFilter.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7348b63715180378b54c96c14832713353d14c81dac57068cb6422cc3a58d9"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.handleTokenRoute (cognitive 19): demo.handleTokenRoute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: 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/src/api/demo.ts"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c833a533360327e93b1cf40a1abe79d251b782ae698dc6aedf8a4e786f5915ec"}},{"ruleId":"D2","level":"warning","message":{"text":"userUsageComparison.buildShadowDailyUsageStack (cognitive 19): userUsageComparison.buildShadowDailyUsageStack has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (11 pts), boolean chains 4, if/else 3 (4 pts) (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/src/admin/userUsageComparison.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ddbeba9fd1f204cf3733bfa90ab3e8664ad0ea4175363e43d6d5300fcaa1fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ForwardProxySettingsModule.formatValidationMessage (cognitive 19): ForwardProxySettingsModule.formatValidationMessage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 6 (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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db2fa817f85fd630fae926baff1d778cbc1927bd9ca9912caf8be9c41538c5a"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminDashboardRuntime.AdminDashboard::saveUserTagCatalog (cognitive 19): AdminDashboardRuntime.AdminDashboard::saveUserTagCatalog has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 10 (11 pts), if/else 4, boolean chains 3, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 5 other methods here (AdminDashboardRuntime.AdminDashboard, AdminDashboardRuntime.AdminDashboard::handleManualRefresh, AdminDashboardRuntime.AdminDashboard::handleImportValidatedKeys, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":7022}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b47b488411ee3854714f1f476bb169dc34595f2582ae9b408b0c2397794e333"}},{"ruleId":"D2","level":"warning","message":{"text":"XraySupervisor::create_relay_handle (cognitive 18): XraySupervisor::create_relay_handle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/relay_and_xray.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c9b840148246327978d91449a779c63466e28d047103e4d4f3186b0aace4e5"}},{"ruleId":"D2","level":"warning","message":{"text":"Metrics::apply_event (cognitive 18): Metrics::apply_event has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 9). 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":"src/observability.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2370e8315ae60a89f2c3269f260ba0d6a5a1cafac1dd55aaa2b18fd2302da66"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::alert_projection_source_keys (cognitive 18): KeyStore::alert_projection_source_keys has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (10 pts), loops 3 (6 pts), if/else 2 (nesting depth added 9). 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":"src/store/key_store_alert_projection.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fd89a7eaca5f94ed06545b28590c1ea1b651b635179885a250a7cb5760cfae"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::flush_request_stats_writes_drained_batch (cognitive 18): KeyStore::flush_request_stats_writes_drained_batch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_stats_flush_and_public_metrics.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d9029bb0ef9905d019375d54b83f21db39ca4ae96db51356dfe33cf1d2794b"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::finalize_deferred_upstream_reconciliation_claim_with_progress (cognitive 18): KeyStore::finalize_deferred_upstream_reconciliation_claim_with_progress has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_observation_store.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3f5a26dcbae920beaa4be4c40a4694183eecf6424a4b22803d38c27d883946"}},{"ruleId":"D2","level":"warning","message":{"text":"ReconciliationEngine::finalize_observed_candidates (cognitive 18): ReconciliationEngine::finalize_observed_candidates has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/reconciliation_engine.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b278d04165c1af56c80f433f4972579c8f53af0becb2eb7be623d9dad07c857"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::analysis::extract_mcp_usage_credits_by_id_from_bytes (cognitive 18): tavily_hikari::analysis::extract_mcp_usage_credits_by_id_from_bytes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 3 (5 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). Of this number, 11 points are the body\u0027s own statements and 7 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":"src/analysis.rs"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a07cb931f01fd21d9f5d7617ee2459a5f54ff2846c6a7005a4fac2aae7b4cc"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::schedulers::enqueue_scheduled_job_logged (cognitive 18): tavily_hikari::server::schedulers::enqueue_scheduled_job_logged has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 8). 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":"src/server/schedulers.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0e8135b6aca850c2acfcf024b98d8bd7114a31c66f9996bfa5179a174c2ce7"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::serve::serve_with_shutdown (cognitive 18): tavily_hikari::server::serve::serve_with_shutdown has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, match/switch 4 (5 pts) (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"62663ef2ede12bf37f71a22d266ba41cc8fff2fbe74be2df438d2b3b8065541f"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::serve::run_ha_standby_sync_once (cognitive 18): tavily_hikari::server::serve::run_ha_standby_sync_once has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 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":"src/server/serve.rs"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd3c8868e7786c8f065daf46e3633b14c7e85a7639c94ce5889ddc2f1ddaafe"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::store::key_store_alert_event_projection::quoted_alert_suffix_is_structural (cognitive 18): tavily_hikari::store::key_store_alert_event_projection::quoted_alert_suffix_is_structural has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fb518c6325c4fc53fc17e76ae7674da8fc6ae89f18ba30e4d1f5c2ecc423fb"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminRecentRequestsPanel.formatKeyEffectSummary (cognitive 18): AdminRecentRequestsPanel.formatKeyEffectSummary has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 8). 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"16faed8d0ea16b4fa7c54d40990ae946afac41206973405dcfd3eb4dd9bfa14d"}},{"ruleId":"D2","level":"warning","message":{"text":"HaSourceSettingsDialog.HaSourceSettingsDialog::handleSubmit (cognitive 18): HaSourceSettingsDialog.HaSourceSettingsDialog::handleSubmit has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (8 pts), if/else 5 (6 pts), boolean chains 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. This shape REPEATS in the file: one other method here (HaSourceSettingsDialog.HaSourceSettingsDialog) 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/src/admin/HaSourceSettingsDialog.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"93561ad4740158342bea5bb4e775db3875e9ee5c5192508f6cb58a0b0b33166b"}},{"ruleId":"D2","level":"warning","message":{"text":"dashboardHourlyCharts.buildAggregatedHourlySlots (cognitive 18): dashboardHourlyCharts.buildAggregatedHourlySlots has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 3 (6 pts), if/else 3 (5 pts), boolean chains 4, loops 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/dashboardHourlyCharts.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f96d4aa3be388ba99cea6cc923d21bf5a108459e92d3d24b83d162cbdb71b66"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminDashboardRuntime.AdminDashboard::renderAdminGlobalOverlayHost (cognitive 18): AdminDashboardRuntime.AdminDashboard::renderAdminGlobalOverlayHost has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 11 (16 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 5 other methods here (AdminDashboardRuntime.AdminDashboard, AdminDashboardRuntime.AdminDashboard::handleManualRefresh, AdminDashboardRuntime.AdminDashboard::handleImportValidatedKeys, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8457}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb26e737ec322561a85c2b5b26f84a776a07fb846b8d35c3671f797482944a11"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::rebuild_account_usage_rollup_buckets_v1 (cognitive 17): KeyStore::rebuild_account_usage_rollup_buckets_v1 has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_account_usage_rollups.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba50ef96bce6995262d40a6f9305aee3e5bcf048ffdc95bcdfd3b44d35ea041"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::analysis::analyze_attempt (cognitive 17): tavily_hikari::analysis::analyze_attempt has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a0f0fae25b95411db4b4ae95ef2616b872b54b7f8979d0b082ec56de4924e6"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::analysis::finalize_token_request_kind (cognitive 17): tavily_hikari::analysis::finalize_token_request_kind has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a805ad29518081dc13dca15665ed530ddfe7a325790436a501f3709f28c23b9"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::analysis::extract_mcp_has_error_by_id_from_bytes (cognitive 17): tavily_hikari::analysis::extract_mcp_has_error_by_id_from_bytes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), match/switch 3 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 5). Of this number, 11 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":2213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c1e1dd31a021d9b356940af0bbb31cc023619f232fd423e97fee972c5e19bf"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::analysis::extract_sse_json_messages (cognitive 17): tavily_hikari::analysis::extract_sse_json_messages has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":2456}}}],"partialFingerprints":{"codehealthFindingId/v1":"b143f0e3f4676cea66cb9e439e0dc8a7103685cb9b1bb734920fed0a1a6735c3"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_auth::encoded_ipv4_host (cognitive 17): tavily_hikari::server::handlers::admin_auth::encoded_ipv4_host has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 3 (8 pts) (nesting depth added 9). 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":"src/server/handlers/admin_auth.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7a003072d796976a7e5414a963428fe1c24d388c84001708f7120a7cd69f5d"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::public::redact_sensitive (cognitive 17): tavily_hikari::server::handlers::public::redact_sensitive has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 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":"src/server/handlers/public.rs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba288f53c26518bbbcd3bb0549cbb4266fb3f9a3adf5dfe78c24ef8a0638255b"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::public::sse_dashboard (cognitive 17): tavily_hikari::server::handlers::public::sse_dashboard has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa39560d51325b649b794329a65d119f1e2d9b98e5312da077259388e25922d9"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::public::sse_public (cognitive 17): tavily_hikari::server::handlers::public::sse_public has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 1 (nesting depth added 6). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to one function item inside it that branches (compute). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"439b7d2392bedaa00b91b765b7393ad8d7c4779b8bbcb3058bbd92a43d6ae8b7"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::schedulers_dashboard_alert_projection::spawn_dashboard_alert_projection_scheduler (cognitive 17): tavily_hikari::server::schedulers_dashboard_alert_projection::spawn_dashboard_alert_projection_scheduler has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 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":"src/server/schedulers_dashboard_alert_projection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"555bff81ebd8d282384de3b7ba10ca4cbc174be9db777e651d4efda61e6cb58c"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::store::key_store_account_usage_rollups::fold_request_rollup_rows (cognitive 17): tavily_hikari::store::key_store_account_usage_rollups::fold_request_rollup_rows has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_account_usage_rollups.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00492e2dc04e293fbb1b133c74458c275b61198666db24c9ac7869af507ab24"}},{"ruleId":"D2","level":"warning","message":{"text":"DesignSystemGenerator._select_best_match (cognitive 17): DesignSystemGenerator._select_best_match has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4 (6 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":".codex/skills/ui-ux-pro-max/scripts/design_system.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcf00e34d7be71cb6fc354560e6feb03334c981ae6e8b3d0010ed9a77405172"}},{"ruleId":"D2","level":"warning","message":{"text":"mcpProbe.extractProbeErrorText (cognitive 17): mcpProbe.extractProbeErrorText has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, ternaries 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":"web/src/lib/mcpProbe.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8314b11f9461ec39b45979a2bbb9854657b2c38adef2521a5d0e910af0f6cc"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.appendRequestLogsPageFilters (cognitive 17): runtime.appendRequestLogsPageFilters has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (14 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":"web/src/api/runtime.ts"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"14948cf21befd38e88fdb70925ebef77cc51cec9e00a964b2f562fcffae08531"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminRecentRequestsPanel.formatSelectionEffectSummary (cognitive 17): AdminRecentRequestsPanel.formatSelectionEffectSummary has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 1, if/else 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"f632ed22a0df24218630d183e5e01d3cfb43587be87f2c789dc6efc64a79e223"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.handleKeyRoute (cognitive 17): demo.handleKeyRoute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, ternaries 2 (4 pts), boolean chains 2 (nesting depth added 2). 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, 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/src/api/demo.ts"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"253a6ab5912d01c6e9acf175e3fce6fc1b3923fa447217c2a549fd998ccf9a18"}},{"ruleId":"D2","level":"warning","message":{"text":"forwardProxyDialogProgress.buildProgressSteps (cognitive 17): forwardProxyDialogProgress.buildProgressSteps has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (17 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":"web/src/admin/forwardProxyDialogProgress.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5817e263b882748fb810f43e62f322b15ca24018fed4f14611b7fb3b1b041a5"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminDashboardRuntime.formatErrorMessage (cognitive 17): AdminDashboardRuntime.formatErrorMessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67c911e3f164153b9adaff8825d8858a9c048184947e0d9ffa0a8298d40c109"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenLogsPanel.TokenLogsPanel (cognitive 17): TokenLogsPanel.TokenLogsPanel has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 11 (17 pts) (nesting depth added 6). 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 into named stages: move each independent step or branch into 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/src/user-console/TokenLogsPanel.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"de329957bee313380a1eae95f99cf57dc52c96a5daa3f67abbb088f9f86e38bd"}},{"ruleId":"D2","level":"warning","message":{"text":"quotaSlider.buildQuotaSliderStages (cognitive 17): quotaSlider.buildQuotaSliderStages has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (5 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/src/admin/quotaSlider.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"509b73380eb235c03a65b7c598662a8b7d9d4217394cd6948af4ac555ba35227"}},{"ruleId":"D2","level":"warning","message":{"text":"Metrics::record_sqlite (cognitive 16): Metrics::record_sqlite has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/observability.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b785531a24d8c56f6ecbd382abc16b290f74525517ab350a6066ceb6056bff"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::classify_admin_alert_canonical_semantic_fragment (cognitive 16): KeyStore::classify_admin_alert_canonical_semantic_fragment 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":"src/store/key_store_alert_canonical_semantic_reduction.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"2268f57d169c5edad4b39b20e13681928a793adb9c4eee1adb76814642481e7d"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::rebuild_announcements_as_content_only (cognitive 16): KeyStore::rebuild_announcements_as_content_only has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_announcements.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe771e9c01e3900e98873f99a983aa12dc90b25bb1f58b0ff0052f581b330750"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::upgrade_request_logs_schema (cognitive 16): KeyStore::upgrade_request_logs_schema has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_migrations_b.rs"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7d548b2c11f6d0ceacbe6db495655af1a0f5e43dffb4920c3ad48f4cd2a90b"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::ensure_observability_sidecar_derived_schema_in_pool (cognitive 16): KeyStore::ensure_observability_sidecar_derived_schema_in_pool has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, loops 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_observability_sidecar.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"401e3e92664c9033343e1aa03b0580d128447df3c4071698cda7cf00dbf030d7"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::apply_pending_convergence_schema_migrations (cognitive 16): KeyStore::apply_pending_convergence_schema_migrations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_schema_migrations_convergence.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"887c59bc759a91c7c8192e3abd591f9a7ce50365593cfaaa9c8fb72fa874a12e"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyStore::fetch_token_logs_page (cognitive 16): KeyStore::fetch_token_logs_page has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc702ca1f3540df2bd778985719ebecc8255436c25275adc87bd661b317f1b28"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteRuntime::prewarm_maintenance_bulk_capacity (cognitive 16): SqliteRuntime::prewarm_maintenance_bulk_capacity has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 3, loops 3, match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8600a605d638ce32e28bf94680e3c7cf341cddf2bf975345427a970d14017f1"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteRuntime::record_error (cognitive 16): SqliteRuntime::record_error has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), 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":"src/store/sqlite_runtime.rs"},"region":{"startLine":2768}}}],"partialFingerprints":{"codehealthFindingId/v1":"346bc56422538bca333540f4c52b9265cc4e75961f01785f702a1533b7ccca95"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::bin::mcp_search_billing_repair::build_candidates (cognitive 16): tavily_hikari::bin::mcp_search_billing_repair::build_candidates has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_search_billing_repair.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3232423ececdf375768b28452bdc607be1cd7ff508d814c518d580b5320fdd2"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::linuxdo_credit_recharge::linuxdo_credit_recharge_quote_inner (cognitive 16): tavily_hikari::linuxdo_credit_recharge::linuxdo_credit_recharge_quote_inner 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":"src/linuxdo_credit_recharge.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4e495d9622c5640520bd9e88163d72ad661e4e3ad99aead14352fdf653b7fb"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::forward_proxy_and_key_validation::put_forward_proxy_settings (cognitive 16): tavily_hikari::server::handlers::admin_resources::forward_proxy_and_key_validation::put_forward_proxy_settings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 2 (5 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (tavily_hikari::server::handlers::admin_resources::forward_proxy_and_key_validation::post_forward_proxy_revalidate) 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":"src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b28120e621e91e1bd757cb057d40e29705230ce43e701b6d319733f60e88a2"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::forward_proxy_and_key_validation::post_forward_proxy_revalidate (cognitive 16): tavily_hikari::server::handlers::admin_resources::forward_proxy_and_key_validation::post_forward_proxy_revalidate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 2 (5 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (tavily_hikari::server::handlers::admin_resources::forward_proxy_and_key_validation::put_forward_proxy_settings) 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":"src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b2b103cc27457c462c8603c7cfd0b83a5c292b027c39a24364d9b413b1f237"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::admin_resources::ha::build_ha_events_reader (cognitive 16): tavily_hikari::server::handlers::admin_resources::ha::build_ha_events_reader has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 3 (7 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fff8effae4ad6c4fe7c7ace15f1021fcf10d18aa8d627346d6988852a03d80"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::handlers::user::finalize_linuxdo_login (cognitive 16): tavily_hikari::server::handlers::user::finalize_linuxdo_login has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 6 (7 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe99dc12521f14b92b30db086e06c8b41716b190bc8e82d059dd6c3c8965ab35"}},{"ruleId":"D2","level":"warning","message":{"text":"tavily_hikari::server::schedulers::spawn_quota_sync_scheduler (cognitive 16): tavily_hikari::server::schedulers::spawn_quota_sync_scheduler has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (6 pts), loops 4 (6 pts), match/switch 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":"src/server/schedulers.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"237ff0ede3d870b7235d8c605139ddd06ac164b78f05ee15e36982aa7ff4d8f0"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminDashboardRuntime.formatKeyEffectSummary (cognitive 16): AdminDashboardRuntime.formatKeyEffectSummary has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 7). 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb2e1a0f3c3e410b0ab47e76020a5b1b56ebf3ce2ccfc7d4175cb305870699a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminDashboardRuntime.AdminDashboard: FunctionTooLong \u2014 AdminDashboard runs 9161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9061 over it, 91.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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"193066e8d7a22c1e60d36f286b15b0078262b06c407e601ea346d1c02b0bb032"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KeyStore: TooManyMethods \u2014 1188 methods, declared across 62 files: store/key_store_keys.rs (86), store/key_store_sessions.rs (71), store/key_store_token_logs.rs (61), store/key_store_upstream_reconciliation.rs (61), \u002B58 more file(s). The bar is 30 methods; this is 1158 over it, 39.60\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":2731}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d547ec5af2595615473a58f9461dc6bde65d0c2989cdf4381789812f2bdbad5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TavilyProxy: TooManyMethods \u2014 705 methods, declared across 18 files: tavily_proxy/proxy_auth_and_oauth.rs (134), tavily_proxy/proxy_core.rs (93), tavily_proxy/proxy_request_limits.rs (87), tavily_proxy/proxy_quota_sync_and_jobs.rs (78), \u002B14 more file(s). The bar is 30 methods; this is 675 over it, 23.50\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/mod.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"34efbc12596099e3283bf80b255490223b7e3ef229459998130388e8bf95b527"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/AdminDashboardRuntime.tsx: FileTooLong \u2014 11553 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: AdminDashboard (1757-12677). The bar is 500 significant lines; this is 11053 over it, 23.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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee5e5986dbc9ba6e3225285ba3d76566efa4a39db053edbbc14e5522b989966"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime.UserConsole: FunctionTooLong \u2014 UserConsole runs 1785 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1685 over it, 17.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/src/user-console/runtime.tsx"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3623cd0686558d37caadadef8321ffee5b4a5aac0972aceba791836ce9717d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::proxy::proxy_handlers_and_views::proxy_handler: FunctionTooLong \u2014 tavily_hikari::server::proxy::proxy_handlers_and_views::proxy_handler runs 1487 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1387 over it, 14.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":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f944a77db0dd3a9d8e7c08158f7332f0596299627bb0ae9b8a50011862ee85d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.run_upstream_reconciliation_once_inner: MethodTooLong \u2014 run_upstream_reconciliation_once_inner runs 1339 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1239 over it, 13.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":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55038ec0851d5be125653d919dc682d5c66a2d52c863d2d80ea2e32967bcd67"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: storySupport/AdminPagesStoryRuntime.tsx: FileTooLong \u2014 6618 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6118 over it, 13.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23e3e1e2be234a4805864c3e14ca056801560930481b9ad11c6856df589ed10"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SystemSettingsModule.SystemSettingsModule: FunctionTooLong \u2014 SystemSettingsModule runs 1127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1027 over it, 11.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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cd5cf872e22c8b3be424f59bfd554488d16978c887a6107c703ac7aaf4a646"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ForwardProxySettingsModule.ForwardProxySettingsModule: FunctionTooLong \u2014 ForwardProxySettingsModule runs 1042 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 942 over it, 10.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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"503dd9aa3a9677d41c44a24a378066a8d2df716add4b6b5142f55ff54c64326f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TokenDetail.TokenDetail: FunctionTooLong \u2014 TokenDetail runs 964 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 864 over it, 9.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/src/pages/TokenDetail.tsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"4143a6614a707e40e2103f6a437ce4ccb47150c2e15ddc287db3e421422386de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AlertsCenter.AlertsCenter: FunctionTooLong \u2014 AlertsCenter runs 937 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 837 over it, 9.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/src/admin/AlertsCenter.tsx"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"a881c4b8210fb549f20164c9d054c0c91c3b2c74fbf7cb8eb00efc877bb03757"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminDashboardRuntime.KeyDetails: FunctionTooLong \u2014 KeyDetails runs 770 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 670 over it, 7.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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12901}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3b87b379f92ee2dab37d97c503ca8e1e5c6bd8c96955d6c5fde4d428e5d54d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UpstreamPrivacyStatusModule.UpstreamPrivacyStatusModule: FunctionTooLong \u2014 UpstreamPrivacyStatusModule runs 758 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 658 over it, 7.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f076fb70c45e0094569feaa5b24a949196d0c81e5fe03fba0515b940e4e6ae48"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PublicHome.PublicHome: FunctionTooLong \u2014 PublicHome runs 749 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 649 over it, 7.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/src/PublicHome.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60a93953cdb12099988003d383650517734ce62673e4e0883d7704a966a3f6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::tavily::proxy_tavily_http_endpoint: FunctionTooLong \u2014 tavily_hikari::server::handlers::tavily::proxy_tavily_http_endpoint runs 734 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 634 over it, 7.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":"src/server/handlers/tavily.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afb7cd673b50503bd01355dd0a6d924ab7a2fa20f6623580b8a7572cfabd7f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/sqlite_runtime.rs: FileTooLong \u2014 3187 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2687 over it, 6.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"252575f514397b1eeab9543c51ec2a892c27704b5548301df98e38a484c0e846"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminRecentRequestsPanel.AdminRecentRequestsPanel: FunctionTooLong \u2014 AdminRecentRequestsPanel runs 622 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 522 over it, 6.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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b0a2d9d9505d1750435ba1a2afb74f2788210e9f94cf816a19f57308862aad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/runtime.ts: FileTooLong \u2014 3104 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2604 over it, 6.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":"web/src/api/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1492d25255430844bc09f288ef3ae84ce3855e098edfea13fe86b5aba06e0e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.upstream_privacy_status_from_snapshot: MethodTooLong \u2014 upstream_privacy_status_from_snapshot runs 598 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 498 over it, 5.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":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a41aceeb84c1c7653261c0003a059b8adb6054f99d1deb9d9b4c29b32b2d13a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UserDetailSharedUsagePanel.UserDetailSharedUsagePanel: FunctionTooLong \u2014 UserDetailSharedUsagePanel runs 589 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 489 over it, 5.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/src/admin/UserDetailSharedUsagePanel.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6a0290cc3a359e3f13c8e5b6ec382e838c42745123afe3ebc1526ec659c57a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminSecuritySettingsModule.AdminSecuritySettingsModule: FunctionTooLong \u2014 AdminSecuritySettingsModule 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/src/admin/AdminSecuritySettingsModule.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"be99c004ba002d00e56a5c81fdef32ff6363841c35e9f43b08daaf293970c3bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DashboardOverview.DashboardOverview: FunctionTooLong \u2014 DashboardOverview runs 565 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 465 over it, 5.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/src/admin/DashboardOverview.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03f51c50752835891082d25abefe2cd7ec7d1c878fc50db22c901b13f024a8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_dashboard_rollup_integrity.rs: FileTooLong \u2014 2814 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 96% of them inside a single declaration: KeyStore (143-3460). The bar is 500 significant lines; this is 2314 over it, 5.63\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":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a495d7c3e00f56ddc92ead57bceb0374bbe96d30019e2f247f1e0d5c8cd032"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::serve::serve: FunctionTooLong \u2014 tavily_hikari::server::serve::serve runs 560 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 460 over it, 5.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":"src/server/serve.rs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a8dbffffcd46efa55e3ccfd662fda126fd5d6c3b35c520cbedcc54ecfa341f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminPagesStoryRuntime.KeysPageCanvas: FunctionTooLong \u2014 KeysPageCanvas runs 547 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 447 over it, 5.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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3836}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa1243c71d0a70ac2199e307561e8f6742bda8719c83179241523fb97b55966"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user-console/runtime.tsx: FileTooLong \u2014 2727 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: UserConsole (1222-3358). The bar is 500 significant lines; this is 2227 over it, 5.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/src/user-console/runtime.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a975045b26c0bbd03da7f7adccb5521e66acb9cea3afa622436842bb84fa881f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_ha.rs: FileTooLong \u2014 2709 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 31 free functions. The bar is 500 significant lines; this is 2209 over it, 5.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":"src/store/key_store_ha.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd691ccd5cf0e3df7e85e6d9717b41edd295f8853958cc7645add4c7d9ecc1be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.gc_ha_outbox_online_with_options: MethodTooLong \u2014 gc_ha_outbox_online_with_options runs 512 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 412 over it, 5.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":"src/store/key_store_ha_gc_online.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa00a138963fc69bf4f335d4ebc20eeac67ea9dfadbb515a5f7713d4cad3a122"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tavily_proxy/proxy_quota_sync_and_jobs.rs: FileTooLong \u2014 2538 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: TavilyProxy (10-3239). The bar is 500 significant lines; this is 2038 over it, 5.08\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":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c365e346b64e582b573efa887bba2df2f7bcc6ed6e1814d0e6aa1cb7c1139599"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_sessions.rs: FileTooLong \u2014 2517 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: KeyStore (1-3085). The bar is 500 significant lines; this is 2017 over it, 5.03\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":"src/store/key_store_sessions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab08c3d0cb275006f2f3f3dd15ac6f5258496556777218a5950cee350e9ee00"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_bootstrap.rs: FileTooLong \u2014 2512 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2012 over it, 5.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":"src/store/key_store_bootstrap.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a714840cd1b210b330c440db30954bee4d89ccf53fd2eaeee73d72a2849d9071"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ApiKeysValidationDialog.ApiKeysValidationDialog: FunctionTooLong \u2014 ApiKeysValidationDialog runs 501 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 401 over it, 5.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/src/components/ApiKeysValidationDialog.tsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b410f701df9e4d363a613d59d57f53985aeec7d3879c30145a29f60b403719"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BillingPage.BillingPage: FunctionTooLong \u2014 BillingPage runs 494 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 394 over it, 4.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/src/user-console/BillingPage.tsx"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"c897c2ed47c89348f751155e88cc5e07f88877b1b799a3e6ac0457ae3ae6b693"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_upstream_reconciliation.rs: FileTooLong \u2014 2466 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 96% of them inside a single declaration: KeyStore (147-3039). The bar is 500 significant lines; this is 1966 over it, 4.93\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":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"738ec8a779fbaede6a4529293868d71e4fa51652cfca944242043c004e285805"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/ForwardProxySettingsModule.tsx: FileTooLong \u2014 2462 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1962 over it, 4.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee62f724e783975b3213cf78289489facdc79e6f6d91f52b6e75ccec9a9b00e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_alerts.rs: FileTooLong \u2014 2443 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 77% of them inside a single declaration: KeyStore (760-2944). The bar is 500 significant lines; this is 1943 over it, 4.89\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":"src/store/key_store_alerts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9cc769a0eb507ac3b9a88ae1405de7f58afacc007d9b1ffd61fc88f3484b62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_keys.rs: FileTooLong \u2014 2367 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: KeyStore (7-2944). The bar is 500 significant lines; this is 1867 over it, 4.73\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":"src/store/key_store_keys.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7672c6ea5da04569a1e21d03c5ca759e402b9e67026316831b86a53266af68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_schema_migrations.rs: FileTooLong \u2014 2359 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 95% of them inside a single declaration: KeyStore (132-3046). The bar is 500 significant lines; this is 1859 over it, 4.72\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":"src/store/key_store_schema_migrations.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4289c9a33501b1d2bc254029277dbee66d356ef20ca9a4cd4aab3d356bd89149"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_token_logs.rs: FileTooLong \u2014 2325 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 99% of them inside a single declaration: KeyStore (45-2810). The bar is 500 significant lines; this is 1825 over it, 4.65\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":"src/store/key_store_token_logs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e4e290eb3f772e749aef6686837fd7363bab7ece585c0a08152b81e7aec281"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 2314 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 88 free functions. The bar is 500 significant lines; this is 1814 over it, 4.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a1dad5908b747bfb241f824bad89a171d16266749f9b9389507378dc4db8a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::admin_resources::ha::post_admin_ha_planned_cutover: FunctionTooLong \u2014 tavily_hikari::server::handlers::admin_resources::ha::post_admin_ha_planned_cutover runs 456 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 356 over it, 4.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":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6d592df5625021ade68aa7a06ebcefb8a6d01f35b5669a91b7da60e89787f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handlers/user.rs: FileTooLong \u2014 2262 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 62 free functions. The bar is 500 significant lines; this is 1762 over it, 4.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ca8bc3319880789df87a1771d3ce5912610f473a5539998c4a92fb80bcb773"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_alert_canonical_groups.rs: FileTooLong \u2014 2249 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 95% of them inside a single declaration: KeyStore (158-2671). The bar is 500 significant lines; this is 1749 over it, 4.50\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":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4754f9bec1060cc09d100835da98700a5fc84a774201543b2b638d51f6a373d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_migrations_a.rs: FileTooLong \u2014 2224 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: KeyStore (2-2782). The bar is 500 significant lines; this is 1724 over it, 4.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":"src/store/key_store_migrations_a.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f399333c0c193e80958880d75d6d375721c1f742179bad8fdff7b0e2c2abcc9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_request_logs_and_dashboard.rs: FileTooLong \u2014 2195 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 99% of them inside a single declaration: KeyStore (37-2782). The bar is 500 significant lines; this is 1695 over it, 4.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":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"737be7bc1115ef2debd7eb7f0e5b3ed661b7aba65b873ce0c24b3be24160fca2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/schedulers.rs: FileTooLong \u2014 2178 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 56 free functions. The bar is 500 significant lines; this is 1678 over it, 4.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef00f61580452becc7718830a86dab7ac3361ea14f609a783ac989219e7ed1e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/mod.rs: FileTooLong \u2014 2163 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 82 free functions. The bar is 500 significant lines; this is 1663 over it, 4.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":"src/store/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74e8f62b691e35deef41024f1cc9bc1c861ffc3471010eee4f5a03ae9a2684c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/demo.ts: FileTooLong \u2014 2143 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1643 over it, 4.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":"web/src/api/demo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cf0f7fd3e2f636088118672530453edf36ec2d4c9d4e300d1f905648cc1b6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/dto.rs: FileTooLong \u2014 2086 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 31 free functions. The bar is 500 significant lines; this is 1586 over it, 4.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2507757f1e75ec10bdf123c50bd9b31b51f8b8617ce172dc93e277f4e9b5609"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.push_alert_grouping_cte_tail: MethodTooLong \u2014 push_alert_grouping_cte_tail runs 414 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 314 over it, 4.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cc74a3b90774e3d23ca700ea8a3f175d9478b15d4385c8c9f2bd9333f3b5bf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.rebuild_account_usage_rollup_buckets_v1: MethodTooLong \u2014 rebuild_account_usage_rollup_buckets_v1 runs 408 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 308 over it, 4.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":"src/store/key_store_account_usage_rollups.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0393dd56cf7414ff3cb6b4cd45a3f45ebbb4552731e0f45c823463399ddfe3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_users_and_oauth.rs: FileTooLong \u2014 1985 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 99% of them inside a single declaration: KeyStore (10-2607). The bar is 500 significant lines; this is 1485 over it, 3.97\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":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"549024664e64916ab58e407eb4907248492fe24b29f1888add493b151fa04f7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tavily_proxy/mod.rs: FileTooLong \u2014 1980 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1480 over it, 3.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0bb17da4552bb4ec208694a5310d8343697f50a0b50d48ffdbf1205e452e6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::admin_resources::user_tag_and_token_handlers::list_users: FunctionTooLong \u2014 tavily_hikari::server::handlers::admin_resources::user_tag_and_token_handlers::list_users runs 396 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 296 over it, 3.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"269038ad1c0b87267423ee38490efa27a7ad2d8e8dc8d9503eb6b57453534e1f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.reclaim_admin_alert_canonical_groups_generations: MethodTooLong \u2014 reclaim_admin_alert_canonical_groups_generations runs 392 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 292 over it, 3.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":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bcf50ab4574ce5cd6d7f446a5ac23e976d1fee37b42a231431cd91e02ebb4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tavily_proxy/proxy_http_and_logs.rs: FileTooLong \u2014 1942 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 98% of them inside a single declaration: TavilyProxy (58-2352). The bar is 500 significant lines; this is 1442 over it, 3.88\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":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e216d7e02e282b5ff56418990c97fd0fad819f275f314f0cf012827e81d259"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tavily_proxy/proxy_core.rs: FileTooLong \u2014 1941 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: TavilyProxy (1-2808). The bar is 500 significant lines; this is 1441 over it, 3.88\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":"src/tavily_proxy/proxy_core.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"223ebaddcc1dab29dfe975ddfe1adf293ccd4848996cf16a02101646d3956305"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.process_dashboard_rollup_integrity_work_item_inner: MethodTooLong \u2014 process_dashboard_rollup_integrity_work_item_inner runs 388 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 288 over it, 3.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":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69057334b6c89c487f8a0234181908a92a83312aa2b438c28004b758d39d243"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handlers/public.rs: FileTooLong \u2014 1901 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 43 free functions. The bar is 500 significant lines; this is 1401 over it, 3.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf8acda0f7e4261dd4d59d9cbaa0c500b4e3f3ce60038d17ec98943fbc66a0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin_resources/ha.rs: FileTooLong \u2014 1899 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 53 free functions. The bar is 500 significant lines; this is 1399 over it, 3.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"addd0ca82b98b6cb4f18a43a9acc0fe478630f08e8398552537f12d1f386f16a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminPagesStoryRuntime.UnboundTokenUsagePageCanvas: FunctionTooLong \u2014 UnboundTokenUsagePageCanvas 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b186cc4113322359512205457f3896e770ea0be7cf50f03f02d810e38614e6ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DashboardTrendPanel.DashboardTrendPanel: FunctionTooLong \u2014 DashboardTrendPanel runs 364 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 264 over it, 3.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/src/admin/DashboardTrendPanel.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0691c74367694ba6e096f96741a433daeb63310747dab0bd21b96f57a96f91f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::proxy::rebalance_handlers::handle_rebalance_mcp_single_message: FunctionTooLong \u2014 tavily_hikari::server::proxy::rebalance_handlers::handle_rebalance_mcp_single_message runs 358 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/proxy/rebalance_handlers.rs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"935e097c1d5af4dd130be1fb16ae4ddd703a1aea7a9b66f23d12ac76e9e624b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/state.rs: FileTooLong \u2014 1781 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 64 free functions. The bar is 500 significant lines; this is 1281 over it, 3.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de49872edab78c7b537e52c49ebf9404b4b30f65c1d9b1fa518b15871fe99d93"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_observability_sidecar.rs: FileTooLong \u2014 1778 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1278 over it, 3.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_observability_sidecar.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"127005a97ec936adaae19ac2f9cd1e3c4124746838ac7d48e4c05e614a44d709"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: proxy/proxy_handlers_and_views.rs: FileTooLong \u2014 1776 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1276 over it, 3.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":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9f7748a9a9017f899b4c7efed66d32235a99be4993236bc8b07e2755bb4370"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/analysis.rs: FileTooLong \u2014 1774 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 111 free functions. The bar is 500 significant lines; this is 1274 over it, 3.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":"src/analysis.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f549fe3e82c7aa24eaa4d6a8e391727bc4814a41ba5c1fc33078af3a3d2c2b17"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: demo.demoRecentAlerts: FunctionTooLong \u2014 demoRecentAlerts 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/src/api/demo.ts"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abfe7d06afb13ccb941de914df63c063185f8994ee4c33efbd56c1e41203eaf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: McpSessionBindingsModule.McpSessionBindingsModule: FunctionTooLong \u2014 McpSessionBindingsModule runs 349 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 249 over it, 3.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/McpSessionBindingsModule.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c016c98518cac680eb1eacea66965cd610b9e30d556f0225e0309f83a12d387"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HaSourceSettingsDialog.HaSourceSettingsDialog: FunctionTooLong \u2014 HaSourceSettingsDialog runs 341 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 241 over it, 3.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/src/admin/HaSourceSettingsDialog.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c942ae480b685c458deb651f0fca31766a7ae19e98d72291c8465d4eef57c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UsersUsageScreen.UsersUsageScreen: FunctionTooLong \u2014 UsersUsageScreen runs 337 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 237 over it, 3.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/src/admin/screens/UsersUsageScreen.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91f1939daa1079190e1e1abfe7633cf8000025b1ea4891a724b6d13061e0117"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.apply_pending_billing_log_once: MethodTooLong \u2014 apply_pending_billing_log_once runs 335 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"f415cd4c586dcb8eff9567a6282af1c04ffc451b8920b5518ed39547360fd71c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReconciliationProjectionController.advance_slice_inner: MethodTooLong \u2014 advance_slice_inner runs 333 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 233 over it, 3.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_projection_controller.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b743440a0b81e8a87102ea27f2a77c4f7d7e321b5cea03a7272d34ee8858dded"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/serve.rs: FileTooLong \u2014 1663 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1163 over it, 3.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":"src/server/serve.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efefd93663e2e4588f3e2a09b3d495044aff251aa486b38589b195518856b85f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_linuxdo_credit_recharge.rs: FileTooLong \u2014 1626 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 97% of them inside a single declaration: KeyStore (38-1847). The bar is 500 significant lines; this is 1126 over it, 3.25\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":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1eb223bcbdc0c1231c020f63adc1a7dae44f1bc2629671365ff67f658df7d2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tavily_proxy/proxy_forward_proxy_maintenance.rs: FileTooLong \u2014 1597 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: TavilyProxy (1-2133). The bar is 500 significant lines; this is 1097 over it, 3.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":"src/tavily_proxy/proxy_forward_proxy_maintenance.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62be7f29e3f60fd94bcbc75cd261660acac2c10cf7e7c33bf0bf2665aa7d743d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tavily_proxy/proxy_request_limits.rs: FileTooLong \u2014 1594 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: TavilyProxy (36-1901). The bar is 500 significant lines; this is 1094 over it, 3.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":"src/tavily_proxy/proxy_request_limits.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8c716806ea174f7cf11947b0b7a2730529ba6e22c2a5360e7ed7b9137b86c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.rebuild_request_logs_table_with_foreign_keys_disabled: MethodTooLong \u2014 rebuild_request_logs_table_with_foreign_keys_disabled runs 317 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 217 over it, 3.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":"src/store/key_store_migrations_b.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe540e957f397abc5c0599f68c61820b995df3892e685f128cefef27f831fde3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminPagesStoryRuntime.UserDetailPageCanvas: FunctionTooLong \u2014 UserDetailPageCanvas runs 317 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 217 over it, 3.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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5844}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ec27efe648f5e354868955da25a8732eac94435fd15b4328c917cfcbdc4a59"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.validate_convergence_schema_migration_objects: MethodTooLong \u2014 validate_convergence_schema_migration_objects runs 313 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 213 over it, 3.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":"src/store/key_store_schema_migrations_convergence.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"06dccb7dd0b1cb639b8143924c1c2e7084ee10e58e70a482190bd0caa839311f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.validate_applied_migration_objects: MethodTooLong \u2014 validate_applied_migration_objects runs 312 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 212 over it, 3.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":"src/store/key_store_schema_migrations.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"2967f5cc2bc039330261830fd61695560a51c09f5a4a92f21d60db89d69110d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handlers/admin_auth.rs: FileTooLong \u2014 1557 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 75 free functions. The bar is 500 significant lines; this is 1057 over it, 3.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_auth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ea5eb6b6bc1ecf18e0613fe1e645b92db534e200277c8f7e795f9b8e17c959"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KeyStickyPanels.KeyStickyPanels: FunctionTooLong \u2014 KeyStickyPanels runs 311 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 211 over it, 3.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/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b03ee27a9ded513d75879de8f3b713353b4b06c17f42766f46f5828c060790"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ha.rs: FileTooLong \u2014 1537 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1037 over it, 3.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ha.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5058117ff5a86fa177aeac91e365a942ac41ccb07ef05577ada42e5946812c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.run_research_terminal_sweep: MethodTooLong \u2014 run_research_terminal_sweep runs 300 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 200 over it, 3.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":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac800be1169c2742620e8beec640bcb6d1209eb0f48705dac83d1e68a4e8b8c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HaStatusBanner.HaStatusBanner: FunctionTooLong \u2014 HaStatusBanner runs 299 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 199 over it, 2.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/src/components/HaStatusBanner.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a16cc5ba35757599162b8440b8e172976f957e69297b08deb2100d3ac40c65d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::run_request_statistics_recovery_once_with_time: FunctionTooLong \u2014 tavily_hikari::run_request_statistics_recovery_once_with_time runs 297 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/lib.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"e362478a5171e0468d798451ca97372452e6ff8f4504cbd29c2151601738de37"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin_resources/user_tag_and_token_handlers.rs: FileTooLong \u2014 1465 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 34 free functions. The bar is 500 significant lines; this is 965 over it, 2.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6db4d160ec030391c57eafe445041d52d38a7ed3ae296659cabfe6fd652817f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/observability.rs: FileTooLong \u2014 1439 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 44 free functions. The bar is 500 significant lines; this is 939 over it, 2.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/observability.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73acdea807c7eac74a5974637227b794ef5dbc502a4204ed8e471e4a3a46224a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SystemSettingsModule: ClassTooLong \u2014 1127 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 727 over it, 2.82\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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed758b16a16da8a6f9a5c1051907f7c04c8c4f0d2e8871b750b28f6110fd4ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tavily_proxy/proxy_auth_and_oauth.rs: FileTooLong \u2014 1402 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: TavilyProxy (1-1832). The bar is 500 significant lines; this is 902 over it, 2.80\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":"src/tavily_proxy/proxy_auth_and_oauth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9dbc0fd77322f54eec292c5b92cf1aa8ef4b042a2265f14cc6055e6b2b484c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminRechargeRecordsModule.AdminRechargeRecordsModule: FunctionTooLong \u2014 AdminRechargeRecordsModule runs 280 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 180 over it, 2.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/src/admin/AdminRechargeRecordsModule.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28c8b11981606918457d6b9ca464e6f9ec4ad3c85bacad8e640c53f00f60eba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UnboundTokenUsageScreen.UnboundTokenUsageScreen: FunctionTooLong \u2014 UnboundTokenUsageScreen 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/src/admin/screens/UnboundTokenUsageScreen.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8653970ce820f82a2aeb0795aa7bfe58d236f2997035a62f8d56516b1454fab0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forward_proxy/responses_and_validation.rs: FileTooLong \u2014 1373 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 69 free functions. The bar is 500 significant lines; this is 873 over it, 2.75\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab50d429ecb33e885ceef70ff86bdb8ae12e9232aa7c1177a34f349e3108463"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_jobs.rs: FileTooLong \u2014 1371 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: KeyStore (1-1658). The bar is 500 significant lines; this is 871 over it, 2.74\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":"src/store/key_store_jobs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eba1c2b3a0ffe3036a6f25f3eebb66d34df21a935186d1c707905bdb42c3fe1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_request_logs_page: MethodTooLong \u2014 fetch_request_logs_page runs 274 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 174 over it, 2.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":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aded435a622cc0b20b3be619914ddd36ef58c1659d4f22dd3df5782ac38007c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PublicHomeHeroCard.PublicHomeHeroCard: FunctionTooLong \u2014 PublicHomeHeroCard runs 274 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 174 over it, 2.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/src/components/PublicHomeHeroCard.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bcfe864ee5bdc8c0ef5ad7a4296ac73ecbf9fbac76980e4a4c8f49f19c9a33"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqliteRuntime: TooManyMethods \u2014 82 methods, declared across 2 files: store/sqlite_runtime.rs (81), store/sqlite_runtime_cooperative.rs (1). The bar is 30 methods; this is 52 over it, 2.73\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b07114e444f797afad719e4a25e8d7c6b6dd027b9daeadad27f98d695eec83c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.alert_projection_source_keys: MethodTooLong \u2014 alert_projection_source_keys runs 271 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_alert_projection.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"826f7d59700e8d13a100aafaa14a2cc33ad044c6ef34116c81f50304712c848e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/SystemSettingsModule.tsx: FileTooLong \u2014 1354 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: SystemSettingsModule (282-1551). The bar is 500 significant lines; this is 854 over it, 2.71\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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f3c4931f2bd41611b94d275f745488a7b02ce0f499e43c1ace51e718e5d477"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/TokenDetail.tsx: FileTooLong \u2014 1343 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: TokenDetail (405-1528). The bar is 500 significant lines; this is 843 over it, 2.69\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/src/pages/TokenDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed715b621918dcc3f5f36960c4cb5b9f4580a92601a981c470d5663fb917c6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::tavily::tavily_http_research_result: FunctionTooLong \u2014 tavily_hikari::server::handlers::tavily::tavily_http_research_result runs 268 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dc0ce3240a466c6fc10c2a15e5980a882bba54491af0f8441fa2487080ef4e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.push_alert_events_cte_for_selected_source: MethodTooLong \u2014 push_alert_events_cte_for_selected_source runs 268 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_events_cte.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a1a540ba3c3996e813a2b029d3cc95f0aef1e72d2171af21754b43b1153f40"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.validate_schema_baseline: MethodTooLong \u2014 validate_schema_baseline runs 267 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 167 over it, 2.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":"src/store/key_store_schema_migrations.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"1caafe87c4cdede783e93716a07b91be7e4c96264bfb1281f1a30bb64f32d7b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/AlertsCenter.tsx: FileTooLong \u2014 1328 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: AlertsCenter (460-1500). The bar is 500 significant lines; this is 828 over it, 2.66\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/src/admin/AlertsCenter.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"051ddd0f5c1d567f65ebbf91105b32260ea14047f3790a8ae039775b412ca3c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_schema_migrations_convergence.rs: FileTooLong \u2014 1326 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: KeyStore (163-1696). The bar is 500 significant lines; this is 826 over it, 2.65\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":"src/store/key_store_schema_migrations_convergence.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8607b9c6758b1f86f110a965dbfbf952a7ef8c6b9022b116d96735edbe6f8d39"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::state::prewarm_admin_alerts: FunctionTooLong \u2014 tavily_hikari::server::state::prewarm_admin_alerts runs 264 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 164 over it, 2.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":"src/server/state.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9941e486ef73941725e1928c78e0eab1df8689da7e425bcae30d4c13450aa8b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.next_upstream_reconciliation_research_candidates: MethodTooLong \u2014 next_upstream_reconciliation_research_candidates runs 264 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 164 over it, 2.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":"src/store/key_store_upstream_reconciliation_research.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60ae90464b16a52696f11c00dd0047800664b041cf3e4e79ff7f7ff99a0cbee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ForwardProxySettingsModule: ClassTooLong \u2014 1042 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 642 over it, 2.61\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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60afe6201a583aa15f975648daa4945a5bd38e26d2a49cf748daa38dd9df4ce0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/AdminRecentRequestsPanel.tsx: FileTooLong \u2014 1296 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 796 over it, 2.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":"web/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85617efa990e5a6437cc2e98e91988605933a78687cfd0b588fcd8e2775ea617"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.proxy_http_json_endpoint: MethodTooLong \u2014 proxy_http_json_endpoint runs 259 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adaeccf7bef26bb33d53810d0d168c94baefb69c2ae7945a009263216073807"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.rebuild_dashboard_request_rollup_buckets_window: MethodTooLong \u2014 rebuild_dashboard_request_rollup_buckets_window runs 257 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_migrations_a.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bc85bc54ef6742d3e88bc511448056b87048e1274f49c7cd0239d49e58d00d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminLogin.AdminLogin: FunctionTooLong \u2014 AdminLogin 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/src/pages/AdminLogin.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"477884c0d1d2e54bae7f3e8f2a64aacfb60c7ac9afa1ef250b5fbf0113f09331"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RechargePanel.RechargePanel: FunctionTooLong \u2014 RechargePanel 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/src/user-console/RechargePanel.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f83716608934c3e3fb037682c0b48eebaa165b36eed2380d8b04c55f09837d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.proxy_http_research: MethodTooLong \u2014 proxy_http_research runs 254 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4b2c2c8c567b45e756eaf1d5de24b5f98fc6fbffb4ff4bcf752319cbd1a6f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handlers/tavily.rs: FileTooLong \u2014 1267 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 767 over it, 2.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5c8305e7dfefd7dcee0bf79ecac67e72d62be8a248d551b25f52a08e569b07"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.run_upstream_reconciliation_research_drain_claimed_with_turn: MethodTooLong \u2014 run_upstream_reconciliation_research_drain_claimed_with_turn runs 253 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/reconciliation_research_drain.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caa45864559e11b0562d5980b6be8aa80ed7065dfb58f707100f1865703ee8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminPagesStoryRuntime.UsersPageCanvas: FunctionTooLong \u2014 UsersPageCanvas 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":4827}}}],"partialFingerprints":{"codehealthFindingId/v1":"355ae165cfae0f7acccc24df100079e6cf429840288580f7d48589721e4211c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.list_admin_users_sorted_paged: MethodTooLong \u2014 list_admin_users_sorted_paged runs 251 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_admin_user_listing.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bca044c0eae0f414b1a6cd45daa14d3f91717abbb6bfe2401e10c175f809a57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_migrations_b.rs: FileTooLong \u2014 1252 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: KeyStore (1-1624). The bar is 500 significant lines; this is 752 over it, 2.50\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":"src/store/key_store_migrations_b.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2041917dfee646e925b576cde3238d55751991ea4d45975d44550abf24ebed7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::main: FunctionTooLong \u2014 tavily_hikari::main runs 250 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/main.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"1241a195bc8fe0f258131cb1db10bdd4b09c70dd7aaeaa77242ec23dc0c24dbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminRecentRequestsRequestKindFilter.AdminRecentRequestsRequestKindFilter: FunctionTooLong \u2014 AdminRecentRequestsRequestKindFilter runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AdminRecentRequestsRequestKindFilter.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"34696b2e4524da343fcafa8cb63c875fbebc766bd53cc1b21687f96f1c31c11b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.validate_forward_proxy_subscription_with_progress: MethodTooLong \u2014 validate_forward_proxy_subscription_with_progress runs 247 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 147 over it, 2.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":"src/tavily_proxy/proxy_core.rs"},"region":{"startLine":2497}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c60ac79c83c9501661b2cc06a154747c936a2dea2f2485daf2000cc1c29937"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_request_logs_cursor_page: MethodTooLong \u2014 fetch_request_logs_cursor_page runs 246 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"170732fcd0c1328cfcc016ccafe59335dfc37ef3d0c819009bcf4812e5453de0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.ensure_user_token_binding_with_preferred: MethodTooLong \u2014 ensure_user_token_binding_with_preferred runs 246 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d6d1451e60e05653828730b8dff7a7d71c0fb245d6aece1b92f431a2b32356"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminUserDetailQuotaWorkspace.AdminUserDetailQuotaWorkspace: FunctionTooLong \u2014 AdminUserDetailQuotaWorkspace runs 245 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 145 over it, 2.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/src/admin/AdminUserDetailQuotaWorkspace.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc663478a67511c8d1ee2fb7b8ef9cc8252d0371cdc8ae9fd3c1f0ce35ac50c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tavily_proxy/proxy_affinity.rs: FileTooLong \u2014 1206 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: TavilyProxy (1-1537). The bar is 500 significant lines; this is 706 over it, 2.41\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_affinity.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17974d45a36165b5e136741e1b233a27c23b59343f795f602ca630e7354e5c56"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TokenDetail: ClassTooLong \u2014 964 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 564 over it, 2.41\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/src/pages/TokenDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d85e440d3368454a689e105c50d873644e6663330e8cedb8d3bdd50e1a92807"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/PublicHome.tsx: FileTooLong \u2014 1201 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: PublicHome (110-983). The bar is 500 significant lines; this is 701 over it, 2.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/src/PublicHome.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a246313100953a1315b173f41dcf6b689ae89bdbfa388404b0096be9f4d7eac3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tavily_proxy/proxy_usage_and_metrics.rs: FileTooLong \u2014 1200 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 98% of them inside a single declaration: TavilyProxy (30-1400). The bar is 500 significant lines; this is 700 over it, 2.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":"src/tavily_proxy/proxy_usage_and_metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37a8a46077bae65b1fe1038b6b770d0c5d3f052b1c8d8b4a4a29d19de392ad6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Announcements.UserConsoleAnnouncements: FunctionTooLong \u2014 UserConsoleAnnouncements 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/src/user-console/Announcements.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46f3c512e9689bebbc26c09441c9050e09525447bb09e068260f4901bdaf56d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_alert_projection.rs: FileTooLong \u2014 1188 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 96% of them inside a single declaration: KeyStore (70-1484). The bar is 500 significant lines; this is 688 over it, 2.38\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":"src/store/key_store_alert_projection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4056d76b0f7432fa49b968e2adeb91f6d05bac19555afc57dcf70062cedb8876"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AlertsCenter: ClassTooLong \u2014 937 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 537 over it, 2.34\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/src/admin/AlertsCenter.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff490dbc826ef37285ebf89a13130c13a72a30b1dcfc1873aafca8770ec354a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::schedulers::run_manual_claimed_job: FunctionTooLong \u2014 tavily_hikari::server::schedulers::run_manual_claimed_job runs 233 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/schedulers.rs"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"1130e9c531f80e130c9b28bda4734c259195f8724a6f6865105f2968a0b47d83"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.proxy_rebalance_mcp_http_research: MethodTooLong \u2014 proxy_rebalance_mcp_http_research runs 233 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e85141b38dd3af385c53c2f3cf7e754f095568a632f57d5c8e6d37d2896f72"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.proxy_rebalance_mcp_http_json_endpoint: MethodTooLong \u2014 proxy_rebalance_mcp_http_json_endpoint runs 231 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"59223247ab7ecf9cd4edf778b450e075965fa4bdbd588e747ff857e72793fc74"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_request_logs_gc.rs: FileTooLong \u2014 1154 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 93% of them inside a single declaration: KeyStore (112-1438). The bar is 500 significant lines; this is 654 over it, 2.31\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":"src/store/key_store_request_logs_gc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fcce5731a0a3a2ef709548f856eda7b55b82405f7a215233e7b4d324ae2ac9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.dashboard_rollup_integrity_request_log_gc_decision_for_day_inner: MethodTooLong \u2014 dashboard_rollup_integrity_request_log_gc_decision_for_day_inner runs 230 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":3158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba40a44f8813a9e73b38ddcdd0fc4dab1da153f2d5e4c6ad9991e1b25aa7d6c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::admin_resources::user_tag_and_token_handlers::get_user_detail: FunctionTooLong \u2014 tavily_hikari::server::handlers::admin_resources::user_tag_and_token_handlers::get_user_detail runs 229 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e917dba66a5cc306607379875f490abff0b4271a150ebaaa104408930ab754f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Cli: TooManyFields \u2014 68 stored fields. The bar is 30 stored fields; this is 38 over it, 2.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f98631cadc30119cb481e6b6c8675af5394e65e5dac46725693362f75ccd858"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::public::refresh_dashboard_overview_snapshot_with_reason: FunctionTooLong \u2014 tavily_hikari::server::handlers::public::refresh_dashboard_overview_snapshot_with_reason runs 223 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 123 over it, 2.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":"src/server/handlers/public.rs"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f56b375eee5bd320c696d761ac9b21afc369f88f42fd2351cf30657f0179d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forward_proxy/storage.rs: FileTooLong \u2014 1114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 33 free functions. The bar is 500 significant lines; this is 614 over it, 2.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/storage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82df1509b0cd545e4b70521e7186c637897d1a165ae86d1f353614458f9ec48"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.log_attempt: MethodTooLong \u2014 log_attempt runs 222 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_request_log_body_retention.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cda59bc63aebacf13ed7bfedfba725659499c3dd8ed3af295ea67e1e0014702"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.delete_old_request_logs_bounded_with_deadline_scoped: MethodTooLong \u2014 delete_old_request_logs_bounded_with_deadline_scoped runs 222 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_request_logs_gc.rs"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"890cfb0d01f866070e782e59c90853d59fdc30aef09a13245f5323dd6758d5c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.create_next_dashboard_rollup_integrity_work_item: MethodTooLong \u2014 create_next_dashboard_rollup_integrity_work_item runs 221 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 121 over it, 2.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":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f517b8f20297a78aea697105d5a926614dd114690069626e8423e817ca9ace7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_token_logs_page: MethodTooLong \u2014 fetch_token_logs_page runs 221 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 121 over it, 2.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":"src/store/key_store_token_logs.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a471b7aaa39da4e4e764b01059dcd78b77a2fe0f50fff99465eace1f00e278"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.settle_upstream_reconciliation: MethodTooLong \u2014 settle_upstream_reconciliation runs 221 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 121 over it, 2.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":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e59401ed432caaafca9af295918914edec28bf37ad58a9a5e88816fedf9aa4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.proxy_http_get_endpoint: MethodTooLong \u2014 proxy_http_get_endpoint runs 221 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 121 over it, 2.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":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1645aa3d3c8241cdb68403737967dcf3c73c70ef7a40ce3d2506eedea9ca04"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminUserRankingsPage.RankingsBarChart: FunctionTooLong \u2014 RankingsBarChart runs 220 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 120 over it, 2.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5441b8ffa81998fb942c3ead7590b22fe5e787b22dff6596548de74e55ef72d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminPagesStoryRuntime.DashboardPageCanvas: FunctionTooLong \u2014 DashboardPageCanvas 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3354}}}],"partialFingerprints":{"codehealthFindingId/v1":"82521a9a7559b5de9db8d420422b6648cadafc1bbd925c5caed6e6256e81692a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::serve::run_ha_standby_sync_once: FunctionTooLong \u2014 tavily_hikari::server::serve::run_ha_standby_sync_once runs 212 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/serve.rs"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f61df48ef6ead8b2035ca1af8c364d7cea3b5a051ed5bec07cff8d932476246"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminPagesStoryRuntime.JobsPageCanvas: FunctionTooLong \u2014 JobsPageCanvas 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":4595}}}],"partialFingerprints":{"codehealthFindingId/v1":"d801d8ed8fe204b60be1981705d1872fe4fdc605074e0f34f85345d7fa8c1435"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::schedulers::run_linuxdo_user_status_sync_claimed_job: FunctionTooLong \u2014 tavily_hikari::server::schedulers::run_linuxdo_user_status_sync_claimed_job runs 210 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/schedulers.rs"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b979d899fc06e554340d3730c1560f71d1b84bcb9bbe24da6e701656179ca3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_dashboard_hourly_request_window_tx: MethodTooLong \u2014 fetch_dashboard_hourly_request_window_tx runs 210 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_request_logs_summary_windows.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13d170b5d1dd908f0b8a5a340c2ba0320c1903c9956d9c73e3d0e7c899b6798"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.set_system_settings: MethodTooLong \u2014 set_system_settings runs 210 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_system_settings.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dca1878399497334b77f845739000dee966cd258873db163294cb355bef1d7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_alert_canonical_semantic_reduction.rs: FileTooLong \u2014 1042 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: KeyStore (116-1232). The bar is 500 significant lines; this is 542 over it, 2.08\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":"src/store/key_store_alert_canonical_semantic_reduction.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45755a391c9eaeec753c54aa70a5358584848eaeb58447cab8efbe0e74d812dc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.upsert_oauth_account_with_options: MethodTooLong \u2014 upsert_oauth_account_with_options runs 208 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa3e5a8b25075abe3c442119e7f407b00fa5eee647474baf36d0ba7eacbdee4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.start_server_pressure_buckets_rebuild_once: MethodTooLong \u2014 start_server_pressure_buckets_rebuild_once runs 206 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_core.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bb6de61422cb05963bc767622485bb8f449628bbad7ac21a3928c42eada60b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.proxy_request: MethodTooLong \u2014 proxy_request runs 206 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"458e5def2801e009ffbd76a9da5622796ea0425ff4121f318155284df9f10473"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/DashboardOverview.tsx: FileTooLong \u2014 1026 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 526 over it, 2.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/DashboardOverview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e4bfe6cf7d7ebb12504b654ecf1ecfc4b42efdebed42ad120ce5fd0b224598"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: demoHa.handleDemoHaRoute: FunctionTooLong \u2014 handleDemoHaRoute 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/src/api/demoHa.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c304f0803f3a43380daa47dad0a2108af945db69c33a777dd36fffc67807ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.apply_linuxdo_credit_recharge_payment: MethodTooLong \u2014 apply_linuxdo_credit_recharge_payment runs 203 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e470da288bde2ed2b9fc3f2309f7c489738d56c829ee195bedfd7a8bf49e2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ForwardProxySettingsModule.ForwardProxyCandidateDialog: FunctionTooLong \u2014 ForwardProxyCandidateDialog 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ebe4503309b78f8f91225af8f99d0ccdc9391b277da5f93911da1975cc2c14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: proxy/mcp_helpers.rs: FileTooLong \u2014 1012 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 52 free functions. The bar is 500 significant lines; this is 512 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":"src/server/proxy/mcp_helpers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3806cf8615a16f5f2d628bc93a1e4bc9125b683b12141e8e72a3b8acd5e06c90"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AnnouncementsModule.AnnouncementsModule: FunctionTooLong \u2014 AnnouncementsModule 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":"web/src/admin/AnnouncementsModule.tsx"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cca1afacfccb952b53703c68188c29b87b233dcece304904400d8956a2c7d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/UpstreamPrivacyStatusModule.tsx: FileTooLong \u2014 1006 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: UpstreamPrivacyStatusModule (189-1018). The bar is 500 significant lines; this is 506 over it, 2.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/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ff61ed8ffc6192be075fc8bea94cfc00624bee84ebc4941e678c6d6dbcc686"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PressureAnalysisScreen.PressureAnalysisScreen: FunctionTooLong \u2014 PressureAnalysisScreen 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/src/admin/PressureAnalysisScreen.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"570cdda6c2c3d330118cdc6dee9ee021963058c83b6133ea03d6c5bd99506dba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.read_admin_alert_canonical_group_payload_chunks: MethodTooLong \u2014 read_admin_alert_canonical_group_payload_chunks runs 199 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1439953dd4902493547af832bff887d11f2739accbfa2552282be9a8b5ca8dfb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::serve::run_ha_sync_once_for_peer: FunctionTooLong \u2014 tavily_hikari::server::serve::run_ha_sync_once_for_peer runs 198 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/serve.rs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6cfe5ed3ea6d839f0bb3097d43f3e01b6674db5e06e16adc409dadbf8ca3a4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.rebuild_server_pressure_buckets_with_cancel: MethodTooLong \u2014 rebuild_server_pressure_buckets_with_cancel runs 197 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_analysis_pressure.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3573a14caef7ac987417e8c5ba2885525fea7213860a20cddd5c1d1e6fb9e314"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.delete_old_request_logs_batch_fenced: MethodTooLong \u2014 delete_old_request_logs_batch_fenced runs 197 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_request_logs_gc.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"903dcd6d239573b26e7dcfa9071a52bef16ff142bde46dd43a31ebeaaef63434"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.settle_upstream_reconciliation_shadow: MethodTooLong \u2014 settle_upstream_reconciliation_shadow runs 195 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2457}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8645bd7b2414042ee460e8bf9c8d4d670405e7d915f24f5bec540b42adde7e4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.rollup_token_usage_stats: MethodTooLong \u2014 rollup_token_usage_stats runs 194 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_migrations_a.rs"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dd473a4579f3d20a18a7d87e16113bedddc59add1aa8a780d321d6a84228dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AnnouncementsModule.AnnouncementsListPanel: FunctionTooLong \u2014 AnnouncementsListPanel 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/src/admin/AnnouncementsModule.tsx"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f7908f09bfcc65902c17d6e8c8985acc2f3fd88102f985f1fa96dc97274e9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::post_api_key_bulk_actions: FunctionTooLong \u2014 tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::post_api_key_bulk_actions runs 190 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"e189b3c74baddd8c59fbc632b19e7a4fa9623196e6b9a29a0ef5b376f381050d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UpstreamPrivacyStatusModule: ClassTooLong \u2014 758 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 358 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e5c6a61b7b341beed08bee196045ae1ab4761f4a3ce24f1a9606e09da48de4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PublicHome: ClassTooLong \u2014 749 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 349 over it, 1.87\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/src/PublicHome.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dc7d5f852d98d3931a64fe82d3e614d0093d0d4bbc434e0952255d6dbe5f53"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HaNodeDetailPanel.HaNodeDetailPanel: FunctionTooLong \u2014 HaNodeDetailPanel runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.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/src/admin/HaNodeDetailPanel.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb32ffd8f349a146cfb83215c98d97fddc573b00f8d58f9745107929908e6bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin_resources/admin_user_views_and_sort.rs: FileTooLong \u2014 934 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). 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":"src/server/handlers/admin_resources/admin_user_views_and_sort.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8eba58795b421ef161c959726890ad95b19cfecf2206912c8a3be604675e739"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AlertsCenter.defaultCopy: FunctionTooLong \u2014 defaultCopy 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/src/admin/AlertsCenter.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"256486f9501133a8b1253a5e36e540bb3bcb653fc8005f07e06c241ba6e0f4c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UserDetailTokenTable.UserDetailTokenTable: FunctionTooLong \u2014 UserDetailTokenTable 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/src/admin/UserDetailTokenTable.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b653d8b76e521c6ba3a83afd5ee6ca91cfd10c06566a23ea54e7b524446310"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forward_proxy/relay_and_xray.rs: FileTooLong \u2014 917 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 417 over it, 1.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/relay_and_xray.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15913e80780ee12336a8970512439a66d9705ea6d1468e024520df0d7eec1395"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.clear_request_log_body_batch: MethodTooLong \u2014 clear_request_log_body_batch runs 183 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_request_logs_gc.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"7131b99f76fbbcbf80cfdbf3b675195c0b6f8b1791145bc30b1ba1f1024d0a45"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::public::build_dashboard_overview_payload: FunctionTooLong \u2014 tavily_hikari::server::handlers::public::build_dashboard_overview_payload runs 182 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 82 over it, 1.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":"src/server/handlers/public.rs"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae99fcb34a0ee8862ba2eb4e82960194fc1f279b3794bd9ee7d0f7910374846b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.ensure_linuxdo_credit_recharge_schema: MethodTooLong \u2014 ensure_linuxdo_credit_recharge_schema runs 181 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0af4e1f769ccf33b11087b3849e0b42831c84143f84e2a7c2bbd3d7259f43dc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_token_logs_cursor_page: MethodTooLong \u2014 fetch_token_logs_cursor_page runs 180 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_token_logs.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"72972ffda743d179329446e9816f415dbe92fb7ef64190087ed09072f9e1887d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminRecentRequestsPanel.RecentRequestDetails: FunctionTooLong \u2014 RecentRequestDetails 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83576480e684b9cd58d69d366f2f6e6c7e44a8e1f8b105898dc66325d3a46f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CherryStudioMock.CherryStudioMock: FunctionTooLong \u2014 CherryStudioMock 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/src/components/CherryStudioMock.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa1cd0b4377fb0512327ae7ef5f77157e2ba94368cc3e5c40c519c0e347c3e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/AnnouncementsModule.tsx: FileTooLong \u2014 898 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 398 over it, 1.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AnnouncementsModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09b770a1bd7433e767c65c2960f477f7f52b27e29046f9b2e3969f7647b36ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::user::get_user_billing_summary: FunctionTooLong \u2014 tavily_hikari::server::handlers::user::get_user_billing_summary runs 179 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/user.rs"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eca268f41097a3064fd813e3bbdc0cadcd9fbcc58a99124c4574de8559ab587"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PublicHome.buildGuideContent: FunctionTooLong \u2014 buildGuideContent 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/src/PublicHome.tsx"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0565adfc1220de5061a96ae2a5c671ae85f471f6969a14863938c5445495b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: guide.buildGuideContent: FunctionTooLong \u2014 buildGuideContent 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/src/user-console/guide.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48af59864bfe7855fca48df4a9cc01d59ac750c3d48cf4c291ae368b8a235ff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.stream_admin_alert_canonical_semantic_output: MethodTooLong \u2014 stream_admin_alert_canonical_semantic_output runs 178 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 78 over it, 1.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":"src/store/key_store_alert_canonical_semantic_reduction.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"f981fd2127db1ca91250559349fab1d7f58344ffdaab359a02edae56c6417ca5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.resolve_forward_proxy_geo_candidates_with_remote_attempt_admission: MethodTooLong \u2014 resolve_forward_proxy_geo_candidates_with_remote_attempt_admission runs 177 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_forward_proxy_maintenance.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e7bf9c360248168bbd2dd264a2ddfeddb545742c36624c662ae87b94d7d7bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::user::post_user_recharge_order: FunctionTooLong \u2014 tavily_hikari::server::handlers::user::post_user_recharge_order runs 176 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/user.rs"},"region":{"startLine":2182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55d90d40bff985ab76ef1fef082278592df3f778c086f4ef156ab9a0aff7194"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.seal_dashboard_rollup_day: MethodTooLong \u2014 seal_dashboard_rollup_day runs 176 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":2741}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6ccf2179fe9d902ff41de19377a75e4a0154b097d4d88e474673f4184bde3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tavily_proxy/reconciliation_engine.rs: FileTooLong \u2014 878 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 378 over it, 1.76\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/reconciliation_engine.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f330307e31087565076285578c6f125bd1a99c8f3c9a14c2efc0fb518e516b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.prepare_versioned_schema: MethodTooLong \u2014 prepare_versioned_schema runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_schema_migrations.rs"},"region":{"startLine":2730}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15a242492df92c396e7b3aa3d89db6cef8b090014a999722a8f43ababe02900"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.validate_forward_proxy_candidates_with_progress: MethodTooLong \u2014 validate_forward_proxy_candidates_with_progress runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_core.rs"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f40d08bb7ebaeccdde209c1dea025f600f15a920f63fa22b77d5618908e551"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.send_with_forward_proxy_plan: MethodTooLong \u2014 send_with_forward_proxy_plan runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_forward_proxy_maintenance.rs"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe1eb52ead3661b82d21553664ce679e83f921269f3fb338e707f04b88534f9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: UpstreamPrivacyStatus: TooManyFields \u2014 51 stored fields. The bar is 30 stored fields; this is 21 over it, 1.70\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f32b70ded3317279c61c1b82e5a0a306351cb798cb847d4cc65b19a0397530"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user-console/BillingPage.tsx: FileTooLong \u2014 845 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 345 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file 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/src/user-console/BillingPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e521fe3154bfce7002953d825072d50938dd1450145ab34a53759d3517733e4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.commit_upstream_reconciliation_research_drain: MethodTooLong \u2014 commit_upstream_reconciliation_research_drain runs 169 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_upstream_reconciliation_research.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b571634f7da966eea93418c82ec2d5a61cf04f93f2cff22e6ef122b2ccafe1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.finalize_deferred_upstream_reconciliation_claim_with_progress: MethodTooLong \u2014 finalize_deferred_upstream_reconciliation_claim_with_progress runs 169 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/reconciliation_observation_store.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af9d24ce7d34d16ccf371eda2b40fcb053f49ae474eb140d1002367c4f879eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: demo.handleDemoRoute: FunctionTooLong \u2014 handleDemoRoute 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/src/api/demo.ts"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74fb200b2ff86a5131a252d38ffe822e0edfd645d3be7f29c56c11a6b1b2144"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bin/mcp_session_delete_neutral_repair.rs: FileTooLong \u2014 836 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 336 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_session_delete_neutral_repair.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c1ff8a3bb16597cd5c5029a1f745fe2f74851198a95001ce5f7b106a1841d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.analysis_pressure_snapshot_uncached: MethodTooLong \u2014 analysis_pressure_snapshot_uncached runs 167 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_request_limits.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd716bcbcbb52ba61458e581f29831c69940767654b91f44a8fa34006e688fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::blog_runtime::public_blog_runtime_body: FunctionTooLong \u2014 tavily_hikari::server::handlers::blog_runtime::public_blog_runtime_body runs 166 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/blog_runtime.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b5d174777490086288ac565818281ba80e1708d6ac759317b8b7b472267f74"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.copy_admin_alert_canonical_groups_snapshot_slice: MethodTooLong \u2014 copy_admin_alert_canonical_groups_snapshot_slice runs 166 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"9855ee551f67bfe877079917417014204712e9dc4c15c284e2762f4ef2bfc4c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::schedulers::run_ha_outbox_gc_claimed_job: FunctionTooLong \u2014 tavily_hikari::server::schedulers::run_ha_outbox_gc_claimed_job runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/schedulers.rs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"4127a05ff433402cc98805065225ae8ec723ffa4df74bd84196352cef1f5280f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.advance_admin_alert_canonical_catalog_snapshot: MethodTooLong \u2014 advance_admin_alert_canonical_catalog_snapshot runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_alert_canonical_catalog.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e48518c97614dc72268a2fa3b290f6614d5a5fc303362d519dc2fc5666c80b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/UserDetailSharedUsagePanel.tsx: FileTooLong \u2014 819 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: UserDetailSharedUsagePanel (296-1002). The bar is 500 significant lines; this is 319 over it, 1.64\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/src/admin/UserDetailSharedUsagePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e253f7dafe21e458f6215084c464e67058f54e7d0d90352372085656196821"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin_resources/api_keys_and_logs.rs: FileTooLong \u2014 816 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 316 over it, 1.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9812181bbf0ebdaa1382702ecd2b33f4517874e2b5a40e9f73cb26596d6b100"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.commit_admin_alert_canonical_semantic_output: MethodTooLong \u2014 commit_admin_alert_canonical_semantic_output runs 162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_alert_canonical_semantic_reduction.rs"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db69fc8332c791a758c87acf80c94265df499a7a967e794b2185f3cc53ea06b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/design_system.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":".codex/skills/ui-ux-pro-max/scripts/design_system.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6361ca880dca4deab949232c8aeae7d45a4964460402057c74924f71c569e8ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::dto::get_token_leaderboard: FunctionTooLong \u2014 tavily_hikari::server::dto::get_token_leaderboard runs 161 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/dto.rs"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48182eaf352e4f8a8c5ff43b5a5d393c2dd0ee4c9967076e26f5688fba6c718"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::admin_resources::ha::refresh_admin_ha_status_live: FunctionTooLong \u2014 tavily_hikari::server::handlers::admin_resources::ha::refresh_admin_ha_status_live runs 161 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e957a5113a593b1f8b1516e3eed32a3b1e6ddd77f073ac87c871a85e0e160db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.flush_request_stats_writes_once_within_deadline: MethodTooLong \u2014 flush_request_stats_writes_once_within_deadline runs 161 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_request_stats_flush_and_public_metrics.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fabed0d19281ebff04c918d0c9af5eddf20d7b88fe06d0fc0cf0d7ef6cf71b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/AdminUserRankingsPage.tsx: FileTooLong \u2014 801 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 301 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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"812512d210fb5fa19abbc4e94b6845e77de46171fb037648d07591355aade587"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.advance_admin_alert_canonical_catalog_payload: MethodTooLong \u2014 advance_admin_alert_canonical_catalog_payload runs 160 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_alert_canonical_catalog.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d55170dfb1392971f9aae9aeebaaf29b98917b32444926eaa774453456bec2e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_public_blog_runtime_data: MethodTooLong \u2014 fetch_public_blog_runtime_data runs 160 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_blog_runtime.rs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dd323800cb066ffdb6e808e7f1f7c95bfe541e6a2d816999ea955046390026"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.get_system_settings: MethodTooLong \u2014 get_system_settings runs 160 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_system_settings.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef521db3fc58610a7c81f6598dedcbc689ac14892f1bd835f058693c63f5526a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminPagesStoryRuntime.UsersUsagePageCanvas: FunctionTooLong \u2014 UsersUsagePageCanvas 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22141a767581f49e037a5bbc7aeacef55a47884385baccf8b3ca142732a1162"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: demoAdminRecharge.createDemoRechargeOrders: FunctionTooLong \u2014 createDemoRechargeOrders 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/src/api/demoAdminRecharge.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a473d1bec562bed3963f59b049d0736f31ee296511acc80611e7738a0cecfbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin_resources/recharges_and_totp.rs: FileTooLong \u2014 792 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 292 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/recharges_and_totp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"747d8b3eda74aa4170c80ec91979190a5bfb0ebe2aa172c57395d88e8f219a93"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ObservabilitySidecarMigrationReport: TooManyFields \u2014 47 stored fields. The bar is 30 stored fields; this is 17 over it, 1.57\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d8b6290b7346e9fc8dad8e619a5623a0c8cfe7bebc42bfc6a7872482276f8b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.insert_token_log_pending_billing: MethodTooLong \u2014 insert_token_log_pending_billing runs 156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99525cd45f42785719657222d61567e3ad61bc2eb371a35e9990c78416f621a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminPagesStoryRuntime.AdminPageFrame: FunctionTooLong \u2014 AdminPageFrame 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c6f434ec6911ad4a53b9efe2d3a88c4aebfc1e8fcc27557b7365d065e72671"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AdminRecentRequestsPanel: ClassTooLong \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 222 over it, 1.56\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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fc61f594220a969c7446429676dcf9e1afec5588a4922dbc709cad515c83b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.shadow_daily_projection_for_accounts: MethodTooLong \u2014 shadow_daily_projection_for_accounts runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2842}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5f9cc10f3afb761fa41780448c7475863fe673fe3c798e123477b82bdc2f2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConnectivityChecksPanel.ConnectivityChecksPanel: FunctionTooLong \u2014 ConnectivityChecksPanel 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/src/components/ConnectivityChecksPanel.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b210b96c7379a0cb4128491c62ef1d0e602ba999ed46663ac2be13b10ae638fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TokenLogsPanel.TokenLogsPanel: FunctionTooLong \u2014 TokenLogsPanel 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/src/user-console/TokenLogsPanel.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f238f8b3bd79012346d11cf5f8a5952e161c9339d00ea2d61469ec1a945626e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_request_log_body_retention.rs: FileTooLong \u2014 771 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: KeyStore (1-930). The bar is 500 significant lines; this is 271 over it, 1.54\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":"src/store/key_store_request_log_body_retention.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcc70abbd8e472a6d1c8f86f06a858ba25901fe901b775841c185a4ab493a2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bin/mock_tavily.rs: FileTooLong \u2014 768 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 33 free functions. The bar is 500 significant lines; this is 268 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mock_tavily.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f44520aa7df0af69cd904f7e602b846968953d4a51a81f4845e88d88ed7c54"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ApiKeysValidationDialog.tsx: FileTooLong \u2014 767 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: ApiKeysValidationDialog (310-872). The bar is 500 significant lines; this is 267 over it, 1.53\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/src/components/ApiKeysValidationDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7530d239e2d60346459f3a5e9c565d7d44c0c2f3835544e53430934735dd896"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RequestLogView: TooManyFields \u2014 46 stored fields beside 3 methods. The bar is 30 stored fields; this is 16 over it, 1.53\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b961ba5d792f88d5986cee47db74cef986b80298197f68c9c53b7ce521430d6d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Metrics: ClassTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 20 methods, 2 blocks, lines 465-1239. The bar is 400 significant lines; this is 213 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/observability.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"d918158caccc6b8aaa1d01cef75b07637b342fb67c1070c57ada65993300423e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_key_sticky_users_page: MethodTooLong \u2014 fetch_key_sticky_users_page runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_sessions.rs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9df21542ec9cb041e2c8367c6e50e6cfa74a0853a20c00d9501fb5041921b6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.insert_token_log_pending_billing_once: MethodTooLong \u2014 insert_token_log_pending_billing_once runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"6310997e35459f8085434d3ddb1bc5d81811e9dd191de412f7c793dbabbd34d8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.backfill_api_key_usage_bucket_request_value_counts_v2: MethodTooLong \u2014 backfill_api_key_usage_bucket_request_value_counts_v2 runs 152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_migrations_a.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1658c3eef364980ecff7672661c3472dd5bddfa108cc5ff37f6bbbfc208b79d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminPagesStoryRuntime.RequestsPageCanvas: FunctionTooLong \u2014 RequestsPageCanvas runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":4414}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc85244e8f7c0ead97c631d93fa4b885c9725a9dda49c8dbd424ce578e658ca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.ha_peer_channel_health: MethodTooLong \u2014 ha_peer_channel_health runs 151 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_ha.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e201e2e7df160c91cf3a3c8930f323b3e4001158564f928a03d9810dc11df0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HaRuntime: ClassTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 37 methods, 2 blocks, lines 714-1495. The bar is 400 significant lines; this is 203 over it, 1.51\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ha.rs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"84451850fce6af89fb2b8fb5e16bba04c4abff5392229b5d1c76ae28aa8d0b41"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_admin_passkeys.rs: FileTooLong \u2014 751 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 99% of them inside a single declaration: KeyStore (8-938). The bar is 500 significant lines; this is 251 over it, 1.50\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":"src/store/key_store_admin_passkeys.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ae93e512c7a3595793554d40af95830f55ee888bfa4a75b3b86ab27e69655c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_alert_catalog_from_source: MethodTooLong \u2014 fetch_alert_catalog_from_source runs 150 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_alerts.rs"},"region":{"startLine":2690}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e594abc39fd77a00de99811db2e2b056fa0a45e0d5070fdc3d40a157d60c47"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useOAuthCallbackFlow.useOAuthCallbackFlow: FunctionTooLong \u2014 useOAuthCallbackFlow 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/src/user-console/useOAuthCallbackFlow.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b832dad40b8f2276a182d50cc0abbdb39243a47f87554434a302ec5ac2b88999"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_ha_gc_online.rs: FileTooLong \u2014 748 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: KeyStore (117-915). The bar is 500 significant lines; this is 248 over it, 1.50\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":"src/store/key_store_ha_gc_online.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee9f47518f13048815e1a462f4123ab61a49b75ccc77177906575fc677027d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::schedulers::run_linuxdo_credit_recharge_lifecycle_claimed_job: FunctionTooLong \u2014 tavily_hikari::server::schedulers::run_linuxdo_credit_recharge_lifecycle_claimed_job runs 149 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/schedulers.rs"},"region":{"startLine":2149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4f4b3e4aa1b78ea246e85797fb3cc1df510993f22e46d7cef2e5639db351f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UserDetailSharedUsagePanel: ClassTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 189 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":"web/src/admin/UserDetailSharedUsagePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d242fac9c7e534626b9d90bf36938d1c2fa95792fd43181c0b30e15d2c04302e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin_resources/forward_proxy_and_key_validation.rs: FileTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). 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":"src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82215870d1855d1a6fc5ecc2b532bca074d6766ccf465d4bd0009f954a87967b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.fetch_upstream_project_usage: MethodTooLong \u2014 fetch_upstream_project_usage runs 146 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/reconciliation_engine.rs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"761087c68896239089c3f835a7e59bb8e69dfab314511b25202e94e3d88f0160"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_admin_privacy_read.rs: FileTooLong \u2014 729 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: KeyStore (164-834). The bar is 500 significant lines; this is 229 over it, 1.46\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":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"803680f0444ce58e7c3403495dc5b1756fbe7d2e7604ab28641c324e9623192c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: XraySupervisor.create_relay_handle: MethodTooLong \u2014 create_relay_handle runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/forward_proxy/relay_and_xray.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd88364c5591627d3af4f855b3619fe5cfcfa8c20749b877e1ae829fe4eb2a2c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_dashboard_quota_recovery_round: MethodTooLong \u2014 fetch_dashboard_quota_recovery_round runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d8b376ca85f381af43aa14b0bfe3bed6c10f2199ad08252e609b740e80a9c5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.gc_ha_outbox_with_options: MethodTooLong \u2014 gc_ha_outbox_with_options runs 144 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_ha.rs"},"region":{"startLine":3043}}}],"partialFingerprints":{"codehealthFindingId/v1":"22831f069c51b8e132a3fc435b1fbf948eb5359fcf1378aa971634c5dc6098b6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: TavilyProxy: TooManyFields \u2014 43 stored fields beside 705 methods. The bar is 30 stored fields; this is 13 over it, 1.43\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/mod.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fbfc919cc9cd91e72b63965f0cbc01c6ee365ee50665342b4b745d749607c9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AdminSecuritySettingsModule: ClassTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), 4 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/src/admin/AdminSecuritySettingsModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18614d6f1ae47c0bff5d876dfc8e4aa3a5f54b31c0aab1e7a7341ad8c95e3a38"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminUserRankingsPage.AdminUserRankingsPage: FunctionTooLong \u2014 AdminUserRankingsPage 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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58593955ad6b03b64eb7c6ff0741e4acc909ce15f0198955d8ba1fa500b3b57"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminPagesStoryRuntime.TokensPageCanvas: FunctionTooLong \u2014 TokensPageCanvas 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3615}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a77d3a9d6bd37e131af56f92b6b61af7d1d41e5fb1aa5e870cf111daac753ea"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DashboardOverview: ClassTooLong \u2014 565 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 165 over it, 1.41\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/src/admin/DashboardOverview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d6be380c98f9eff8c65fb8b4b1afb660a39c71c80a63d97052cf8da3081760"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::forward_proxy::storage::ensure_forward_proxy_schema: FunctionTooLong \u2014 tavily_hikari::forward_proxy::storage::ensure_forward_proxy_schema runs 141 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/storage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"039fe0946e9ae1d53abf22ada529db806048c664df7821b233cd9be33901ee2b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.apply_user_ranking_partial_range: MethodTooLong \u2014 apply_user_ranking_partial_range runs 141 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_user_rankings.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe9877cf86108119523edf46b0289ab7449d3025a967b7a34f0530115ddde2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/AdminSecuritySettingsModule.tsx: FileTooLong \u2014 704 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: AdminSecuritySettingsModule (167-807). The bar is 500 significant lines; this is 204 over it, 1.41\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminSecuritySettingsModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72df4feddc6ca52196ac1d187cb93ebbbe0fbbf45dc59fc8e8a8225d115d9de0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Metrics.new_with_recording: MethodTooLong \u2014 new_with_recording runs 140 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/observability.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"794cf4a66b39565df686e8a1aac2ef13d86ed67071353b6520d308ca2feb2058"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_account_usage_rollups.rs: FileTooLong \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 75% of them inside a single declaration: KeyStore (229-851). The bar is 500 significant lines; this is 197 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":"src/store/key_store_account_usage_rollups.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff5b98947cc956f35b7bd68fe6eac6a0b65cf341a52add67eb31709f18238f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::post_validate_api_keys: FunctionTooLong \u2014 tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::post_validate_api_keys runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2c9fb7ffc47c4eff651b39ed39c17b3b55c71ba1a4453a45947d5fb12e32a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.log_rebalance_audit_entries: MethodTooLong \u2014 log_rebalance_audit_entries runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_request_log_body_retention.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e29586b8457e6e1fa88fd7004c28c74a4beac5286953d3fa6af9bd353077e00"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.apply_admin_alert_canonical_groups_snapshot_migration: MethodTooLong \u2014 apply_admin_alert_canonical_groups_snapshot_migration runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_schema_migrations_convergence.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb991dec26942bff5463d974966988b0b6a9206a1a9b455c3ed3ac2607ef84a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::bin::mcp_session_delete_neutral_repair::rebase_current_month_business_quota_with_connection: FunctionTooLong \u2014 tavily_hikari::bin::mcp_session_delete_neutral_repair::rebase_current_month_business_quota_with_connection runs 138 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/bin/mcp_session_delete_neutral_repair.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"3455ba0e52f5ba13dbfe8bfae05277fb2313c1d12b311ad264ee0c609585ec6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::store::backfill_auth_token_log_request_kinds_with_pool: FunctionTooLong \u2014 tavily_hikari::store::backfill_auth_token_log_request_kinds_with_pool runs 138 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/mod.rs"},"region":{"startLine":2224}}}],"partialFingerprints":{"codehealthFindingId/v1":"8119557ca30baa8707bbae5f0837d6f414439f8edab4b9168cdc95d5e2aa4ce1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::bin::mcp_session_delete_neutral_repair::rebase_historical_business_quota_month_with_connection: FunctionTooLong \u2014 tavily_hikari::bin::mcp_session_delete_neutral_repair::rebase_historical_business_quota_month_with_connection runs 137 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/bin/mcp_session_delete_neutral_repair.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d3d1d8f59398e69c49049c1fac5bfda8e53ad30f781fef3026b39b0141d3e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::proxy::mcp_helpers::rebalance_mcp_tool_input_schema: FunctionTooLong \u2014 tavily_hikari::server::proxy::mcp_helpers::rebalance_mcp_tool_input_schema runs 137 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/proxy/mcp_helpers.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94f9751078543e22f864fa4e64388c757a2963a7d6f5d4db1f8aa99fd91288c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::store::run_request_user_id_backfill_with_pool: FunctionTooLong \u2014 tavily_hikari::store::run_request_user_id_backfill_with_pool runs 137 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/mod.rs"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44cbd8ce759688e3be89bfbb16f776e9e108fd90369d912b6d5b2a30d26f7d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.admin_user_usage_series: MethodTooLong \u2014 admin_user_usage_series runs 137 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_admin_user_usage_series.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"512bdf3b194896ff79005ad1b43f59debdb38abec8f65f198393b4c716959be3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.fetch_upstream_research_poll: MethodTooLong \u2014 fetch_upstream_research_poll runs 137 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/reconciliation_engine.rs"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52aaef324a35c31df6eb1d7ed783c1bc4bb387c70c1a649eb7ce079b5a98c37"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::store::key_store_ha::merge_peer_runtime_counter_on_conn: FunctionTooLong \u2014 tavily_hikari::store::key_store_ha::merge_peer_runtime_counter_on_conn runs 136 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_ha.rs"},"region":{"startLine":2438}}}],"partialFingerprints":{"codehealthFindingId/v1":"883a2046d2275c3adf28e468aa0361dbec04f6dd75420803a496d83bf499894a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_token_log_request_kind_options: MethodTooLong \u2014 fetch_token_log_request_kind_options runs 136 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_token_logs.rs"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"9157bbd614c114fe048a393d4db88c11fb254278716bd5dc38c9005973486901"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::store::backfill_request_log_request_kinds_with_pool: FunctionTooLong \u2014 tavily_hikari::store::backfill_request_log_request_kinds_with_pool runs 136 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/mod.rs"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf08e22e3b2202283e2a6f56e85b5b9b2c520d50717ce8d43af8d5c267fc9476"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.daily_reconciliation_progress: MethodTooLong \u2014 daily_reconciliation_progress runs 135 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_reconciliation_progress.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc90427a0759a5a39cf620dd7e3a981ee7c18f79c71f324f53f336ad4b43fb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: demo.demoUserBillingSummary: FunctionTooLong \u2014 demoUserBillingSummary 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/src/api/demo.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"917afda7928c546945d0331f4673b27bfac05090d93a5393c86237fca0be9ca6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminPagesStoryRuntime.StoryMonthlyBrokenDrawer: FunctionTooLong \u2014 StoryMonthlyBrokenDrawer 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":2109}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c7996170f95106d9e2d50e4e136c3f3b94d577d3b0cc5a1ee25e116e5a66dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminPagesStoryRuntime.StoryUserTagCatalogCard: FunctionTooLong \u2014 StoryUserTagCatalogCard 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":2722}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27cc2c786972a5b49e694f89f5a4cf427b20ba7d1da3da3d17a71db05534558"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchored-info-disclosure.AnchoredInfoDisclosure: FunctionTooLong \u2014 AnchoredInfoDisclosure 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/src/components/ui/anchored-info-disclosure.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"54dbe4b9c7e54d6ab0c4179bc31a5054263910e5dea7a9a2e8b361024ad624ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: oauthCallback.resolveOAuthCallbackPanelModel: FunctionTooLong \u2014 resolveOAuthCallbackPanelModel 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/src/user-console/oauthCallback.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"554c0703cf74450a66ba658205eabd528d6daa8ba3b3abc17e7abc7b6d220682"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 165 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":"src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8051fac64e936f7c1865babf7d506a8673f918fe3a29b7d5daf1e9c85ef2e6ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::admin_resources::ha::post_admin_ha_promote: FunctionTooLong \u2014 tavily_hikari::server::handlers::admin_resources::ha::post_admin_ha_promote runs 133 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2b4e338399d87c0564ee0b0ca387581d93cbbebf32fe12d0866bac569b1ca1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::create_api_keys_batch: FunctionTooLong \u2014 tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::create_api_keys_batch runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bcb2d79fb7248535d0fe1429eb3c9b9d04512e3168aedbe6e0def3dc057f39"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.query_upstream_reconciliation_candidates: MethodTooLong \u2014 query_upstream_reconciliation_candidates runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0e3e7a9f23de5725d1a3e47049bc266a334f2962db87b3abf6a749d8d706cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.add_or_undelete_key_with_status_in_group_once: MethodTooLong \u2014 add_or_undelete_key_with_status_in_group_once runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f0a052df5dc50c6692cfc2835bacf9ecb8ee8129dc0c9973b122aaf87b9c24"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: XraySupervisor: ClassTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 23 methods, 2 blocks, lines 588-1286. The bar is 400 significant lines; this is 116 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":"src/forward_proxy/relay_and_xray.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f0c3f05d92f7d435383b2387cdb1dde8fdedfa341b0a7a9a4958c1e0515b0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_dashboard_quota_recovery.rs: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: KeyStore (158-900). The bar is 500 significant lines; this is 145 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":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8127939a70fa05c76546ace150c8186d999d582c36b4063a2d1f8467c99116"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::admin_resources::forward_proxy_and_key_validation::validate_single_key: FunctionTooLong \u2014 tavily_hikari::server::handlers::admin_resources::forward_proxy_and_key_validation::validate_single_key runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b293f054d2883f6b85ef2e7f836a1027894f49d698a8fd45bbd787ba63b407"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.commit_admin_alert_canonical_semantic_classification: MethodTooLong \u2014 commit_admin_alert_canonical_semantic_classification runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_alert_canonical_semantic_reduction.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"509f83cdfe5906e4a44360ccbf800893ae0c4d7d73d9745eafa41244a856b334"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ForwardProxySettingsModule.ForwardProxyValidationNodeTable: FunctionTooLong \u2014 ForwardProxyValidationNodeTable 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac2dc15df258bc51b2895d7bf0ca6a821d7a21e1125b43664ca32da197afb97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin_resources/versions_and_proxy_helpers.rs: FileTooLong \u2014 643 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 143 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/versions_and_proxy_helpers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8711bfa825d7baef5f9d718475a4f84a088b4f46c1c3d57d462503c5f3b9e766"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::public::compute_dashboard_overview_freshness: FunctionTooLong \u2014 tavily_hikari::server::handlers::public::compute_dashboard_overview_freshness runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/public.rs"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"febda208b293d56c5308be2d4a174a1ef317bfc9210975b4f26c80337ff40dee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.capture_admin_alert_canonical_groups_partition_slice: MethodTooLong \u2014 capture_admin_alert_canonical_groups_partition_slice runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb981be6db3c004448932f4df0b138de50d8863001c9d70d40e487bbd2f9317"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.rebuild_api_key_usage_buckets: MethodTooLong \u2014 rebuild_api_key_usage_buckets runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_migrations_a.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30acfa991602867e96427baea3836ea54f8c2d36e8abf69e47035ccc14a31c9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_token_logs_catalog: MethodTooLong \u2014 fetch_token_logs_catalog runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e3cbd1a6fe48fff8131e07ebca838505cb253e8883144a8aa257e65eea90f0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_recent_logs: MethodTooLong \u2014 fetch_recent_logs runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb26bc01c97d929afd68c7e5f064750c5c41b1b7b273dc870f1df88deeb08faf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ApiKeysValidationDialog: ClassTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 101 over it, 1.25\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/src/components/ApiKeysValidationDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db12cdbde5ecb1b114159dd3896f81cda18e9ccb8db7fbdbdc57e2bf2cdeebe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::public::load_dashboard_overview_snapshot: FunctionTooLong \u2014 tavily_hikari::server::handlers::public::load_dashboard_overview_snapshot runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/public.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac13cecc5e25a18a077b398985b6459bde0029c47f5106a2b506a4b37e7bbbcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AnnouncementsModule.copy: FunctionTooLong \u2014 copy 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/src/admin/AnnouncementsModule.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d865d9824792566341a7edc0975a65a839fd6ee75ac990574f312031017b267"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReconciliationProjectionController: ClassTooLong \u2014 495 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 9 methods, 2 blocks, lines 58-682. The bar is 400 significant lines; this is 95 over it, 1.24\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_projection_controller.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82604dc61ee6d97baf7aa396cea0153b33bcbd56ef7ac65f1de227b7eb6f9b0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BillingPage: ClassTooLong \u2014 494 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 94 over it, 1.24\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/src/user-console/BillingPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc591c51243f864503f024ed6afe387fc19c643d47ee2bd60914060a167c1c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_upstream_reconciliation_research.rs: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 92% of them inside a single declaration: KeyStore (72-773). The bar is 500 significant lines; this is 117 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":"src/store/key_store_upstream_reconciliation_research.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32316e040bde67d0c729f3df20c4111d3c09103de32376096b38ce28b4bbc4d5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HaRuntime: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ha.rs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5ab5f4e1dfe8fd33818856f288e797af41e3ea5bb2f773a3279990c7942079"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_request_logs_summary_windows.rs: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: KeyStore (1-761). The bar is 500 significant lines; this is 116 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":"src/store/key_store_request_logs_summary_windows.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdde816691a950fafd7e0ced119d3217d3a57776f7c19dfa3d7c3589cb62ad5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::build_account_quota_resolution_with_recharge: FunctionTooLong \u2014 tavily_hikari::build_account_quota_resolution_with_recharge runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/lib.rs"},"region":{"startLine":3058}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fdcf85b15aa0249cff3f319d3e1eaa90befea530f24dfeca86d73a78b91a4a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.upgrade_request_logs_schema: MethodTooLong \u2014 upgrade_request_logs_schema runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_migrations_b.rs"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b9a72a7f9332d82caec90c0d81d5b9c70626e9dbfebf6b95620d6a8045acbd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.scheduled_job_enqueue_at_with_operation: MethodTooLong \u2014 scheduled_job_enqueue_at_with_operation runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_jobs.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d1753c1f72b546ac475804a8deb76ee52ab0616206aec057173b2ec88995e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_request_stats_flush_and_public_metrics.rs: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 79% of them inside a single declaration: KeyStore (164-887). The bar is 500 significant lines; this is 108 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":"src/store/key_store_request_stats_flush_and_public_metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6839e149c51830736bdf5b15c5eabec9f7ba34a2390410bce0b6317d2c3e853a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::forward_proxy::responses_and_validation::build_forward_proxy_live_stats_response: FunctionTooLong \u2014 tavily_hikari::forward_proxy::responses_and_validation::build_forward_proxy_live_stats_response runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5dc78857cf9809f3f0762b5bb82e39d4294c93174268348f414ce9fd8cb04a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminShell.AdminShell: FunctionTooLong \u2014 AdminShell 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/src/admin/AdminShell.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"41333beac6e90824fc9f9a81649d1214ff468080716104883e356a9cf9e83d2a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: DashboardOverviewCacheState: TooManyFields \u2014 36 stored fields beside 15 methods. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd9552dd4fa76e7db82a1aa6a146b0fe660868cda64830ba7fda28c064f0dde"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.create_request_statistics_recovery_work_item: MethodTooLong \u2014 create_request_statistics_recovery_work_item runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8f654567e2e6f23614e4ff224956818647eab87ddde659ee477aceb8327826"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_monthly_broken_keys_page: MethodTooLong \u2014 fetch_monthly_broken_keys_page runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_sessions.rs"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"403bc45065e3c7675170ba05ba596c3f81197d5df2c4a478b8003744da42bfd2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.reconcile_key_health: MethodTooLong \u2014 reconcile_key_health runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_affinity.rs"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"857fb16459320c263c95d2fedc0c3c7f812e91eb2a7c5bd8bee241a729f2057a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.select_proxy_affinity_preview_for_registration_with_hint: MethodTooLong \u2014 select_proxy_affinity_preview_for_registration_with_hint runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_forward_proxy_maintenance.rs"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfaf5f71406f20a8bb1778ce2b74c55475f66c04df5f3644a0863b0ea415ed2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ForwardProxyEgressControl.ForwardProxyEgressControl: FunctionTooLong \u2014 ForwardProxyEgressControl 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/src/admin/ForwardProxyEgressControl.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d0070a562a47d113785b71bc9f8fc13da98aee9316af22960175526eb01296"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_alert_event_projection.rs: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 99 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":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"520ea75cdc1494dc71381e14f0b75a94ca2e4606e88a323aa2607d41297c8e8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_announcements.rs: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: KeyStore (166-774). The bar is 500 significant lines; this is 95 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":"src/store/key_store_announcements.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d506b5c773037c7ebe6a1d0c29ba099ce9b2da4ef7929cb8cde874ee1cc322"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/reconciliation_observation_store.rs: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: KeyStore (86-677). 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":"src/store/reconciliation_observation_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a29f94cbba170d52085e882105e1bf8123e4d4c015350fe9704d69b2d533a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_dashboard_quota_recovery_baseline_step: MethodTooLong \u2014 fetch_dashboard_quota_recovery_baseline_step runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfd43e2ce1a9b7c4390e9ee2487f5dc800000e7883cfde5638bba3729f65d8f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.acquire_key_for_api_route: MethodTooLong \u2014 acquire_key_for_api_route runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_affinity.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e80eba89341c4e994df28399801228add7c4b6bf7750139cf864617cc38fec2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.update_forward_proxy_settings_with_progress: MethodTooLong \u2014 update_forward_proxy_settings_with_progress runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_core.rs"},"region":{"startLine":2077}}}],"partialFingerprints":{"codehealthFindingId/v1":"702289fd3658bc4dbe3131d7d6134e98ae31ee09c801b4ed38cc9dc2fdf7e645"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchableFacetSelect.SearchableFacetSelect: FunctionTooLong \u2014 SearchableFacetSelect 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/src/components/SearchableFacetSelect.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8895f11254a79d432051de3e27e8e4479a6f2de96c4999def3895def4f1ed81f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/release_failure_notifier.py: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 89 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":".github/scripts/release_failure_notifier.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eae7faac07ec9b4f17ec4536c9d1fed5eda22beb399d476c8e895c860566215"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/remote_attempt_admission.rs: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: RemoteAttemptAdmissionController (3 blocks, 18-763). The bar is 500 significant lines; this is 89 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":"src/remote_attempt_admission.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f8ad054d7fa6ecc23b710e0a15c78503dd27814905aadeb902b08c5611ba1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::forward_proxy::responses_and_validation::build_stream_settings_from_url: FunctionTooLong \u2014 tavily_hikari::forward_proxy::responses_and_validation::build_stream_settings_from_url runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e25bee2e9e96b5c7c271b1c3fb40d25e10dafe0c83e54d1dea14319d07a2e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::dto::get_token_logs_page: FunctionTooLong \u2014 tavily_hikari::server::dto::get_token_logs_page runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/dto.rs"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4ca62cb40ae43f913b617a9e839b3d02a8b13e5c3705eed387465ed832a880"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.migrate_log_effect_buckets: MethodTooLong \u2014 migrate_log_effect_buckets runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"df10990fabfbd6f7fe38406c0b35359db43540a3dfbd91e01a33e6dd968bebd3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_system_settings.rs: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 92% of them inside a single declaration: KeyStore (43-689). The bar is 500 significant lines; this is 82 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_system_settings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc73f7fdca74a6368730dee29cb85beaea582bce930b99dd6292aaade3876b70"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.persist_alert_projection_slice: MethodTooLong \u2014 persist_alert_projection_slice runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_alert_projection.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa49557980c8558a677ebde06fb3938c6c62fe421d19c715b4d49ac2d3c8f59"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.build_alert_event_from_projection: MethodTooLong \u2014 build_alert_event_from_projection runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_alerts.rs"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a09067fcd978543a626852046448dcebdb41940620226fee43ad7ac2d30bde"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.update_announcement: MethodTooLong \u2014 update_announcement runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_announcements.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9e8a2c6cc7958aa2d86316a67632f6a306abf5de599a6e555accda019f9b37"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/routes.ts: FileTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 78 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/routes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01660149d081d947bf37aaf91ad5c9c804ed57a6f8fcfda4d2bdb170b9035c94"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::bin::mock_edgeone::handle_edgeone_action: FunctionTooLong \u2014 tavily_hikari::bin::mock_edgeone::handle_edgeone_action runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/bin/mock_edgeone.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e888d0d5a9887153ca391bbe29ad0e1b9b32f6d2c84404dd113770420a766a7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.advance_admitted_alert_projection_slice: MethodTooLong \u2014 advance_admitted_alert_projection_slice runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_alert_projection.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bbb436ac98b874462db8e0a42cee2489446479d7df94016c363aa1e6dfd819"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.rebuild_account_quota_limits_with_semantic_columns: MethodTooLong \u2014 rebuild_account_quota_limits_with_semantic_columns runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_quota_schema_semantic_migration.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6878135c0cf6f2fb1c88fbb70eb3b6829b76a8f1afa9b76b43afa321b60599df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/reconciliation_projection_controller.rs: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: ReconciliationProjectionController (2 blocks, 58-682). The bar is 500 significant lines; this is 70 over it, 1.14\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":"src/store/reconciliation_projection_controller.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c93ba70156f91f072b1a9c9a5d2d8ed12f15e5c5576bb0abbdb1fd144c18551"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Metrics.apply_event: MethodTooLong \u2014 apply_event runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/observability.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab70d438f9ec8ee91e081e79cf3f90a401e9870e3431fa93ea7c984354d96dbe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.dashboard_rollup_integrity_status: MethodTooLong \u2014 dashboard_rollup_integrity_status runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d057f1468803e7385d3a9b1c70da799f03f25980d64bd68eac36996b3a4b28d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tavily_proxy/proxy_ha.rs: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: TavilyProxy (1-797). The bar is 500 significant lines; this is 68 over it, 1.14\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":"src/tavily_proxy/proxy_ha.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2336ba3d207a4a6f6c22e695a3d5680d79306e1106a00a5bd7076c886881b130"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/McpSessionBindingsModule.tsx: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: McpSessionBindingsModule (230-622). The bar is 500 significant lines; this is 64 over it, 1.13\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/src/admin/McpSessionBindingsModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f985a67b007d969fa48b2c0836cb76cec45b6575c8be26412031a671225c221c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::forward_proxy::storage::query_forward_proxy_error_stats_bundle: FunctionTooLong \u2014 tavily_hikari::forward_proxy::storage::query_forward_proxy_error_stats_bundle runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/forward_proxy/storage.rs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"711a8118649ff1632f9e010d28eb9ec2882999daa47262b35967c08bfce0cccf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::proxy::rebalance_handlers::handle_rebalance_mcp_request_body: FunctionTooLong \u2014 tavily_hikari::server::proxy::rebalance_handlers::handle_rebalance_mcp_request_body runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/proxy/rebalance_handlers.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a6208f8ad61c84d9aa74b4970a09c4504d6f6c1c26fb644184822422237259"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.fetch_summary_windows_tx: MethodTooLong \u2014 fetch_summary_windows_tx runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_request_logs_summary_windows.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ee83bba25f5e884c859318b5e2b8bb35b9ea4a85ec261d85e1d51c54562450"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dashboardTodayMetrics.createDashboardTodayMetrics: FunctionTooLong \u2014 createDashboardTodayMetrics 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/src/admin/dashboardTodayMetrics.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7703de6023afc04cd6f5949cc650a1f33af2bb1d89e1ef47c2d661249e8ccbf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.clear_admin_alert_canonical_groups_build_slot: MethodTooLong \u2014 clear_admin_alert_canonical_groups_build_slot runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9eb7fd68a13917b9bacf9184c71cd38e21b86d8ca305ca400546d5759662d7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.ensure_api_key_membership_intervals_schema: MethodTooLong \u2014 ensure_api_key_membership_intervals_schema runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_migrations_b.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"d094dae81938427eb273502210e388582f6c6ffed840e1bd061278c6f38980c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user-console/RechargePanel.tsx: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 54 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/user-console/RechargePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc6a64219b8dfa3bca680c609abf43a47e28949631dcee7a6d3d94b90488580"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: tavily_hikari::server::spa: TooManyFunctions \u2014 33 free functions. The bar is 30 free functions; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/spa.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec7b0146d1f128b42012b65a9ada071db5e679e24b0b67f0e2c12750030eca3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.upstream_reconciliation_observation: MethodTooLong \u2014 upstream_reconciliation_observation runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"c140f03d296df43d563876cafed52c716cec5810269751116a21f758171ba387"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminDashboardRuntime.LogRow: FunctionTooLong \u2014 LogRow 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12689}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b5cfb78ae8cc29159e73d97351ce2c53beaa245af52bf5923d788bba8d8389"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AlertEventProjectionRow: TooManyFields \u2014 33 stored fields. The bar is 30 stored fields; this is 3 over it, 1.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_models.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b2d4d053e735804b13ec3de1c6bec55ddd050c2502ea0d6cfb95a880a00081"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/KeyStickyPanels.tsx: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 49 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":"web/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb3b152a21379f72e7a6688a0a19e25e8d04cd72b2537424f84efac3fdc0b3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/DashboardTrendPanel.tsx: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: DashboardTrendPanel (221-674). The bar is 500 significant lines; this is 48 over it, 1.10\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/src/admin/DashboardTrendPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c424083003a898c3c8106a8117f6f4cfe15c7aff6c6283c557a41ac605c89650"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: proxy/rebalance_handlers.rs: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 45 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/rebalance_handlers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d616401de31664a5cf8c1d1a63f6f8c95bedcae5b2d50f7151cd6ed1b757be74"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::admin_resources::user_tag_and_token_handlers::list_unbound_token_usage: FunctionTooLong \u2014 tavily_hikari::server::handlers::admin_resources::user_tag_and_token_handlers::list_unbound_token_usage runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"264995c0e910fdfdab2a106fedfa11e1fd3de5dee35287da70c1b7e517e01948"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.fetch_usage_quota_for_secret_with_plan: MethodTooLong \u2014 fetch_usage_quota_for_secret_with_plan runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e1798614cf3a90cf1454e556751774c60947454ba0de375bfd2166a80bccb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UserDetailQuotaBreakdown.UserDetailQuotaBreakdown: FunctionTooLong \u2014 UserDetailQuotaBreakdown 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/src/admin/UserDetailQuotaBreakdown.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9e385f8b0bcd319e978b81cf1057cacb13644fc6e1e2e443e71f6586169f66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/AdminUserDetailQuotaWorkspace.tsx: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 43 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminUserDetailQuotaWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e79c94e4a0416909d14257f09e4ebe2b375a5682f6817ec9a7344ac59103fbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::public::tavily_http_usage: FunctionTooLong \u2014 tavily_hikari::server::handlers::public::tavily_http_usage runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/public.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd09d97d84065f0962712f163027191a87611931115a27f23fe390b327adf4e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.prepare_request_statistics_recovery_target: MethodTooLong \u2014 prepare_request_statistics_recovery_target runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"24426e1ac4ed7261a78716ffad8a251431eb78f6b451e3e0e9f0afd337478e3c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.ensure_request_log_catalog_rollup_schema: MethodTooLong \u2014 ensure_request_log_catalog_rollup_schema runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"504208420352bd36cbfd2df158e05b16353d7abf1fd87d41d94fa5965a228e58"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ApiKeyBulkSyncProgressBubble.ApiKeyBulkSyncProgressBubble: FunctionTooLong \u2014 ApiKeyBulkSyncProgressBubble 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/src/admin/ApiKeyBulkSyncProgressBubble.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d16674b368634fa80305d72f13687583d7161e9be709bc0da7cc23da4f950f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: McpSessionBindingsModule.copyFor: FunctionTooLong \u2014 copyFor 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/src/admin/McpSessionBindingsModule.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"806c04c5d94d0fc86c6bd4f08c113be9705e4b708f40c0b35bc9556e2adfe7f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime.buildApiProbeStepDefinitions: FunctionTooLong \u2014 buildApiProbeStepDefinitions 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/src/user-console/runtime.tsx"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"24313b03bd48aebf71a56d89511887b035a970d1f8e01b3020eafd73d2a8342e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HaRuntime.status: MethodTooLong \u2014 status runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/ha.rs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec4015ae39026a101544fa7f258f04fdafe319db12fbec361457298ad33fa01"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TavilyProxy.user_dashboard_summaries_for_users: MethodTooLong \u2014 user_dashboard_summaries_for_users runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/tavily_proxy/proxy_auth_and_oauth.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78b42dd11cb1961e90bb31c18668448aee98f942d639f2aac3f486e0ffa2f6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MarkdownEditor.MarkdownEditor: FunctionTooLong \u2014 MarkdownEditor 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/src/components/MarkdownEditor.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d115063863eb7cef6b1b024e746ea66215b04667abe59bf7d48dc84138f7a665"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TokenSecretField.TokenSecretField: FunctionTooLong \u2014 TokenSecretField 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/src/components/TokenSecretField.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1571aa770ff5d6cd559425f8f3b8f5be2e6c88fe363155671fe85b86ab86928"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useUpdateAvailable.useUpdateAvailable: FunctionTooLong \u2014 useUpdateAvailable 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/src/hooks/useUpdateAvailable.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b817e2aecc9141564bfd01290e67658dea6c0bd514c45d2e1353835a509666ee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AdminUserDetailView: TooManyFields \u2014 32 stored fields. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/admin_user_views_and_sort.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29a1a7765b3384e3c440db53d273c7fdb7346bf3fb010c02cb377b3b9670f43"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::admin_auth::finish_admin_passkey_registration: FunctionTooLong \u2014 tavily_hikari::server::handlers::admin_auth::finish_admin_passkey_registration runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/admin_auth.rs"},"region":{"startLine":2056}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ec72de87aa0dbc5dcee5d6d7a1786fc7997d17917274d37ad612e6434e4c5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::schedulers::run_request_logs_gc_catchup_claimed_job: FunctionTooLong \u2014 tavily_hikari::server::schedulers::run_request_logs_gc_catchup_claimed_job runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/schedulers.rs"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f271f3ac3ba65226d65660318e1c79b5b803ca3d8c7dfe82106dd32e645b3a9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.ensure_admin_passkey_schema: MethodTooLong \u2014 ensure_admin_passkey_schema runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_admin_passkey_schema.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2a83851946f27179986cf6b107e5e109fbd766535f284e389dac0f605dc683"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HaEventsReadSession.write_ndjson: MethodTooLong \u2014 write_ndjson runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_ha.rs"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d514d1d7005ed507197a8246f0ec44528ddb61a20503fde60e00eeecfe017a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.verify_recorded_schema_migrations: MethodTooLong \u2014 verify_recorded_schema_migrations runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_schema_migrations.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48de942c181ebb99dafd3e76aced8bedfe8658e7ddc9ebf7a9c4a56bd61fd62"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AnnouncementsModule.AnnouncementEditorPanel: FunctionTooLong \u2014 AnnouncementEditorPanel 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/src/admin/AnnouncementsModule.tsx"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c24b28f6ec47c15ec3c371d67476c1f7379314e9e6c46f342094b046fd03c42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::forward_proxy::responses_and_validation::build_forward_proxy_error_stats_response: FunctionTooLong \u2014 tavily_hikari::forward_proxy::responses_and_validation::build_forward_proxy_error_stats_response runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"22431fa0c5c829da9ff924e82d3d35fcf621a1fd09352145a251bc85fcb61360"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::schedulers::persist_claimed_reconciliation_run: FunctionTooLong \u2014 tavily_hikari::server::schedulers::persist_claimed_reconciliation_run runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/schedulers.rs"},"region":{"startLine":2744}}}],"partialFingerprints":{"codehealthFindingId/v1":"04faf943f0c9d449f6ab3260db37ca9ddb17ba4cfa41bb4de9539404fb31e47c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::store::emit_perf_log: FunctionTooLong \u2014 tavily_hikari::store::emit_perf_log runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/mod.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"13eb4303e2419bfbefac2eddf7ba2bf1ea4e753cfae4e80b6c7a095080012306"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RemoteAttemptAdmissionController: ClassTooLong \u2014 419 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 29 methods, 3 blocks, lines 18-763. The bar is 400 significant lines; this is 19 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":"src/remote_attempt_admission.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e95da61af598b7b79234b54d5301d50c690138130780dcfd21c74a6ce9bf72f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::user::finalize_linuxdo_login: FunctionTooLong \u2014 tavily_hikari::server::handlers::user::finalize_linuxdo_login runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/user.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"124b4e6646c5f80442ea6f84e8aef95394301810a3bf780b88d348cff07657b1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.populate_selected_mother_groups_for_operation: MethodTooLong \u2014 populate_selected_mother_groups_for_operation runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_alerts.rs"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe61527268cecdad146ff0e4c6f4e5fad19d028c7b153642ac409afcfe54ddf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.apply_reconciliation_engine_state_migration: MethodTooLong \u2014 apply_reconciliation_engine_state_migration runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_schema_migrations.rs"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"406212b7cfddbe39bbe735be147dc5f6ec1f4028c24b052a44ff282ecd713a14"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.mark_reconciliation_retry: MethodTooLong \u2014 mark_reconciliation_retry runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37695e1824d7e0d296bc2cc8a35bac18ebf0fdb03786219cf99b919a4cae6f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UserDashboardOverview.UserDashboardOverview: FunctionTooLong \u2014 UserDashboardOverview 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/src/user-console/UserDashboardOverview.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1baa59674f11d83a04a330c7f1b576efe08ec1d5b9db2ef2ccc077c317dd7fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/key_store_dashboard_rollup_integrity_blocked.rs: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 100% of them inside a single declaration: KeyStore (1-660). The bar is 500 significant lines; this is 17 over it, 1.03\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":"src/store/key_store_dashboard_rollup_integrity_blocked.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89aab30bd0ffdceec0d9c9a22bfe5e7edb4b2fb2bf63df74a7d860d17afebb8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: HaStatusView: TooManyFields \u2014 31 stored fields. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ha.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"a492f325e8cb1f5ca0b9099d983a4297e55993b7f0e7275d2ba4c70cfed01a33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::list_logs: FunctionTooLong \u2014 tavily_hikari::server::handlers::admin_resources::api_keys_and_logs::list_logs runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"232fd93b75ec2c45135d05859db0a3af396f46ac77d19a692eb646c8cfbb9bcf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::handlers::user::render_linuxdo_callback_diagnostic: FunctionTooLong \u2014 tavily_hikari::server::handlers::user::render_linuxdo_callback_diagnostic runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/handlers/user.rs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"c955c85650d2d8cd8c7b256e619e421d6f4a9864478e56e9f9bd7681febf3522"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.rebuild_mcp_sessions_table: MethodTooLong \u2014 rebuild_mcp_sessions_table runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_migrations_a.rs"},"region":{"startLine":2620}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5fa59ee6b7ed5420616195544362ea500eda69d65e97963097d2d3dfb916e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handlers/blog_runtime.rs: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). 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":"src/server/handlers/blog_runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f20eb47e6d47cd4305737017477a3216758d19f10af592bdafaeed44859648"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::store::key_store_alert_event_projection::bound_alert_event_record_for_projection: FunctionTooLong \u2014 tavily_hikari::store::key_store_alert_event_projection::bound_alert_event_record_for_projection runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eaa39dcedfa7bdd8f8464c1ece7e8288067225f8f8a6164543ef86b15e9e8f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.request_logs_exist_for_filters: MethodTooLong \u2014 request_logs_exist_for_filters runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3d1a2a0888ea2961d625da5789f3cc033fc1f45e285942e1b7560f13312e32"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tavily_hikari::server::state::spawn_admin_alerts_canonical_groups_reclaimer: FunctionTooLong \u2014 tavily_hikari::server::state::spawn_admin_alerts_canonical_groups_reclaimer runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/server/state.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0f91509da401fa6c33fcd9185ee8a03c7ee8320faf84960dd1fdb56fc82f50"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyStore.persist_dashboard_rollup_integrity_blocked_range: MethodTooLong \u2014 persist_dashboard_rollup_integrity_blocked_range runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/store/key_store_dashboard_rollup_integrity_blocked.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b09063b7b76a36f1d783531e1959f08a0f95669e60c2d64c8e30362057ef2ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ManualCopyBubble.ManualCopyBubble: FunctionTooLong \u2014 ManualCopyBubble 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/src/components/ManualCopyBubble.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"687c4a1c2d2ce9bdac65157d711f9167233933c214bb558248e508203e74c3cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (153 shared lines): src/server/serve.rs:1096-1337 | src/server/serve.rs:1420-1647 \u2014 These two members are variants of one another: 153 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"296b37af11882ede48ec3531489e211c983e3aea03162a38c44b0ceaba4c315d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (121 shared lines): src/store/mod.rs:2056-2222 | src/store/mod.rs:2231-2399 \u2014 These two members are variants of one another: 121 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":2056}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55b5323001cb3b87ccf0de58bb250402f177dd90c5c419a6607012cf4271665"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (119 shared lines): src/tavily_proxy/reconciliation_engine.rs:997-1179 | src/tavily_proxy/reconciliation_engine.rs:1187-1359 \u2014 These two members are variants of one another: 119 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/reconciliation_engine.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"516a3f14d1e62dc0b53f21eb331d4e0ba952cb42c1c3817bb5c0276a91d06ba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (94 shared lines): src/bin/mcp_session_delete_neutral_repair.rs:495-654 | src/bin/mcp_session_delete_neutral_repair.rs:659-814 \u2014 These two members are variants of one another: 94 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_session_delete_neutral_repair.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"7300cd8fad3dd6bc5977b1c0b4b99594aeaa46cf878bc4d2d985eddf6cac4fba"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (82 shared lines): src/store/key_store_alerts.rs:2000-2118 | src/store/key_store_alerts.rs:2125-2230 \u2014 These two members are variants of one another: 82 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0df621ea127187dd81e0be2df33c9c8599493b91eb3aa5631c36494243329cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (81 shared lines): src/store/key_store_upstream_reconciliation.rs:2216-2455 | src/store/key_store_upstream_reconciliation.rs:2463-2670 \u2014 These two members are variants of one another: 81 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2216}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee521a22e1bf8126f05026ef21f1bf86348c651d331f6d4e90c9d2862adde7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (67 shared lines): src/store/sqlite_runtime.rs:1407-1497 | src/store/sqlite_runtime.rs:1588-1667 \u2014 These two members are variants of one another: 67 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e57664284c964705e49013ae4ea6db617b9d8c21061994c8ec7e1cad182167"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (57 shared lines): src/store/key_store_request_logs_and_dashboard.rs:1278-1545 | src/store/key_store_token_logs.rs:474-675 \u2014 These two members are variants of one another: 57 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a7c4819b8cf3739d2b88bfb487b225020bda21e5e2dc83fe4ad981de9d3668"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (56 shared lines): src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:336-441 | src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:576-670 \u2014 These two members are variants of one another: 56 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"daba2698be32bfd885587622ea2f13b59ff6aa38da8c44166e9258802827e88e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (37 shared lines): src/store/key_store_ha.rs:1562-1649 | src/store/key_store_ha.rs:1688-1796 \u2014 These two members are variants of one another: 37 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"460c8654ffcd061a680fb9bdb90fbf8a97c12befed7a5ef2bb4ed4f09b566008"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): src/server/handlers/user.rs:1536-1553 | src/server/handlers/user.rs:1559-1579 | src/server/handlers/user.rs:1585-1605 | src/server/handlers/user.rs:1841-1880 | src/server/handlers/user.rs:1885-2103 | src/server/handlers/user.rs:2109-2134 | src/server/handlers/user.rs:2139-2155 | src/server/handlers/user.rs:2161-2180 | src/server/handlers/user.rs:2186-2386 | src/server/handlers/user.rs:2575-2653 | src/server/handlers/user.rs:2660-2685 \u2014 These 11 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"1575cb6a6bafc9083583b3b1b230441a33d675f02de39cd5f56218a97dc6ff44"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): src/server/dto.rs:1543-1633 | src/server/dto.rs:1641-1690 | src/server/dto.rs:1698-1741 | src/server/dto.rs:1959-2080 | src/server/dto.rs:2088-2152 | src/server/dto.rs:2160-2218 | src/server/handlers/admin_resources/api_keys_and_logs.rs:967-1012 \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":"src/server/dto.rs"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"7728ade87cdfb6020145a253a0743ff382da159244ab3f360658db07c5d7f52b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/store/key_store_alert_canonical_groups.rs:1814-1870 | src/store/key_store_alert_canonical_groups.rs:1879-1974 | src/store/key_store_alert_canonical_groups.rs:1981-2050 | src/store/key_store_alert_canonical_groups.rs:2060-2149 | src/store/key_store_alert_canonical_groups.rs:2156-2260 | src/store/key_store_alert_canonical_groups.rs:2266-2329 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1814}}}],"partialFingerprints":{"codehealthFindingId/v1":"e325867e9b0af8cec0f946dba32952b1dde6194826a84ab851b124d903edfdf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/tavily_proxy/proxy_http_and_logs.rs:103-350 | src/tavily_proxy/proxy_http_and_logs.rs:370-670 | src/tavily_proxy/proxy_http_and_logs.rs:751-1004 | src/tavily_proxy/proxy_http_and_logs.rs:1021-1280 | src/tavily_proxy/proxy_http_and_logs.rs:1301-1588 | src/tavily_proxy/proxy_http_and_logs.rs:1604-1854 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c989c07e35ac47b5fc72691e7924d27b499ea15d313effa4776a680832ae6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/tavily_proxy/mod.rs:730-743 | src/tavily_proxy/mod.rs:762-775 | src/tavily_proxy/mod.rs:794-807 | src/tavily_proxy/mod.rs:826-839 | src/tavily_proxy/mod.rs:858-871 \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":"src/tavily_proxy/mod.rs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a51c93af5c3644e0319fc3559515b7b132530043a57e7e55f84cdf181e9730"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/models.rs:2310-2324 | src/models.rs:2326-2345 | src/models.rs:2909-2918 | src/models.rs:3058-3075 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eefca61d8b4e7b878cd0b9aa40182e193d4a24c3c2b7b76be4d53b62225d01c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/server/handlers/public.rs:1412-1524 | src/server/handlers/user.rs:2783-2819 | src/server/handlers/user.rs:2826-2874 | src/server/proxy/mcp_helpers.rs:48-80 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed63f8e4e772650c33dc647da4520b06f687160adf48ef72632749cb80a10c72"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/server/schedulers.rs:867-887 | src/server/schedulers.rs:889-909 | src/server/schedulers.rs:960-979 | src/server/schedulers.rs:981-1000 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a93c408f2e66ef8ad536e30959e7430f14e73b4a7a2ce13754b08337346f7be"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/store/key_store_request_logs_and_dashboard.rs:989-1019 | src/store/key_store_request_logs_and_dashboard.rs:1026-1048 | src/store/key_store_token_logs.rs:948-1014 | src/store/key_store_token_logs.rs:1022-1084 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"25774c71d4d358111dfe942d429f80c5a290ded425bff07a50b072a4add72f17"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/store/sqlite_runtime.rs:2142-2178 | src/store/sqlite_runtime.rs:2183-2308 | src/store/sqlite_runtime.rs:2339-2414 | src/store/sqlite_runtime_cooperative.rs:258-368 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":2142}}}],"partialFingerprints":{"codehealthFindingId/v1":"650cd3dd03588843cb4542704600916b74647c64189923f3d6b6ee5fa3a78d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/store/sqlite_runtime.rs:3356-3387 | src/store/sqlite_runtime.rs:3621-3671 | src/store/sqlite_runtime.rs:3676-3738 | src/store/sqlite_runtime_cooperative.rs:31-249 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3356}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe4f757f51ef7b46d030afae6f9e38fee1b21a6d72ab2ae199fededa2de8577"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (99 corresponding lines): src/server/handlers/admin_resources/alerts.rs:125-223 | src/server/handlers/admin_resources/alerts.rs:230-328 \u2014 These two members are one piece of code written twice and then edited apart: 99 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/alerts.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a3bc56823ff3660d0dced2e8ebfa30dae87e2f663414d5a851824087ab937a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): src/lib.rs:2806-2909 | src/server/handlers/admin_resources/versions_and_proxy_helpers.rs:507-584 \u2014 These two members are one piece of code written twice and then edited apart: 78 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee842c3c073a97454406b00aa8725fdb35e71f9c6d251a25b67bc96da1b5385f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): src/tavily_proxy/proxy_request_limits.rs:1269-1318 | src/tavily_proxy/proxy_request_limits.rs:1356-1449 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_request_limits.rs"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ab6de5bc39687a3fbaac1dc0a69312783841c012e2a165866b9048e1cf1495"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): src/store/key_store_alerts.rs:998-1079 | src/store/key_store_alerts.rs:2551-2639 \u2014 These two members are one piece of code written twice and then edited apart: 82 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4d40284ea6f51758422f6a8ec8f9bb3291ed6313c69f7044e62c4660aeb376"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): src/server/ha_peer_lookup.rs:14-74 | src/server/ha_peer_lookup.rs:79-164 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ha_peer_lookup.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1005bc281e4627595a539ac04cef73220955fe4b5e7871e6213c262d26383504"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): src/server/serve.rs:1797-1864 | src/server/serve.rs:1871-1925 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"885417f298f25a589ab324dcace1ff5793fb7c3e39fd8ba63781101da834399e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): src/store/key_store_alerts.rs:1304-1373 | src/store/key_store_alerts.rs:1830-1885 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12af7920490c899a4d1f77a2e320221e9f0e0fdb42a38defad46b61426dcad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): src/analysis.rs:2155-2207 | src/analysis.rs:2213-2267 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"277739d401485f01dc85d08cb67ecc4893b7740283edded2dc377bd830521483"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): src/store/key_store_admin_privacy_read.rs:81-162 | src/store/key_store_alert_projection.rs:1078-1171 \u2014 These two members are one piece of code written twice and then edited apart: 82 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4622049eb7794f10b83811502ab82b3ed53c92dbabeb66623e3e8da10e32803e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): src/store/key_store_alerts.rs:1158-1227 | src/store/key_store_alerts.rs:1908-1961 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e130c09755e5d9991fb370e5d4206579a66ebd7ed5f4e40e0ef4b0ec947cd1bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): src/store/key_store_linuxdo_credit_recharge.rs:617-655 | src/store/key_store_linuxdo_credit_recharge.rs:660-706 \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":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d8df2d8cbba5f3d751dea462001fe2503007601cb703d11150b3e42a61a789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): src/store/key_store_alert_canonical_semantic_reduction.rs:585-632 | src/store/key_store_alert_canonical_semantic_reduction.rs:639-682 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_semantic_reduction.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"569471f550ba33b5f50bd31bef9b36bcd4f8489fc45d89cc88cbe71e38849974"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): src/server/handlers/admin_resources/recharges_and_totp.rs:619-656 | src/server/schedulers.rs:2007-2052 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/recharges_and_totp.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"09332632a7a4d6faf4a3f8f195ddc3f54dcb1a5f1898a3a4796684f2423921cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): src/bin/mcp_request_log_retry_repair.rs:382-425 | src/bin/mcp_search_billing_repair.rs:479-527 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_request_log_retry_repair.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdd396fb160e4b5bef4fe0c76ade5d93e82c60425cfd21fd4d44dfb2bda650b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): src/store/key_store_alert_canonical_semantic_reduction.rs:703-743 | src/store/key_store_alert_canonical_semantic_reduction.rs:745-779 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_semantic_reduction.rs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f65b4b20718258e7743dd837e293151efaedeb892e69774cada4cd5ebe4abdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): src/tavily_proxy/proxy_request_limits.rs:468-511 | src/tavily_proxy/proxy_request_limits.rs:1153-1192 | src/tavily_proxy/proxy_request_limits.rs:1196-1242 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_request_limits.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"039fa9ad93b0086f1d38ecdd9b242411eb3cb04ea3fe09410717adf2b3ccffd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): src/server/handlers/admin_auth.rs:1792-1841 | src/server/handlers/admin_auth.rs:1980-2034 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_auth.rs"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cdc1e480ccd7fc41d4d1395ce5f4e31abe2d49c93fdf59d72442b5c5206f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): src/store/key_store_keys.rs:2577-2635 | src/store/key_store_keys.rs:2641-2700 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":2577}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dba38a391db02aa707df25bd93e77bcd8b1b8639d1d2bb1607f2f32dc7b3cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): src/store/sqlite_runtime.rs:4186-4244 | src/store/sqlite_runtime.rs:4251-4309 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":4186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8963573e9fce2978956e61df69f0196932eb9ec0f9ad50dc9be2a42cc316da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/server/handlers/admin_resources/ha.rs:950-976 | src/server/handlers/admin_resources/ha.rs:1201-1226 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"521f447ada8e521a4f31f72a34256efbd7e742420bc1290f2224fd2674899505"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): src/store/key_store_ha.rs:2699-2754 | src/store/key_store_ha.rs:2885-2916 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":2699}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ed5750ecf25d05dfd0a8ead55af7391d083d60081d017063121c69664091fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): src/bin/support/sqlite_sidecar.rs:191-222 | src/store/key_store_observability_sidecar.rs:6-37 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/support/sqlite_sidecar.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"085dd3c1512922439112f25e3a06cb51262c0bc482252c85683cb8147ef15e53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): src/tavily_proxy/proxy_user_dashboard_overview.rs:242-296 | src/tavily_proxy/proxy_user_dashboard_overview.rs:305-355 \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":"src/tavily_proxy/proxy_user_dashboard_overview.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e387b0a70e254351251cff95e8c83726d83fd294234cb7a2ac08c81494b54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): src/server/handlers/admin_resources/ha.rs:1494-1528 | src/server/handlers/admin_resources/ha.rs:1534-1568 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"279d67fd4b883b0d5edfba83d6890085353d894000378537c35c036f640971c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 50\u002B corresponding lines): src/forward_proxy/storage.rs:392-454 | src/forward_proxy/storage.rs:469-535 | src/forward_proxy/storage.rs:540-589 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 50 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/storage.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b4f8256bfd0ec42727f809bf5341d55de3579dd72758028b8850dea7b51de8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): src/store/key_store_upstream_reconciliation.rs:1762-1798 | src/store/key_store_upstream_reconciliation.rs:1803-1852 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7b49a0b75c320ef0d920e0811b85f434723b040c2382ca47b3c2c32cb45292"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/tavily_proxy/mod.rs:1798-1828 | src/tavily_proxy/mod.rs:1833-1865 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/mod.rs"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4febeec52ded494548fdf8d80798f404bcac39dfb6f9663bc370cce18f9598"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): src/bin/mcp_request_log_retry_repair.rs:125-175 | src/bin/mcp_request_log_retry_repair.rs:181-228 \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":"src/bin/mcp_request_log_retry_repair.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5389593d1ac8d8633720d56799d542761e2f05f3950a4f0a65f98179b02e91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/forward_proxy/responses_and_validation.rs:1367-1399 | src/forward_proxy/responses_and_validation.rs:1401-1428 \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":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb8fb0d6039a7d149f8b868a06279571fa87619d457079a1594203312bef762"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): src/store/key_store_admin_privacy_read.rs:26-76 | src/store/key_store_alert_projection.rs:207-259 \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":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cff19c1320e166aeea5d878ef95942efa4d5ec087305701ecd0be52461f93b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/server/handlers/admin_resources/recharges_and_totp.rs:843-868 | src/server/handlers/user.rs:450-482 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/recharges_and_totp.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6019ad76b8e4f3c735c1ec5bcf6e466a8e06a1c74d8656f2191748f571302a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 37\u002B corresponding lines): src/store/key_store_admin_passkeys.rs:264-306 | src/store/key_store_admin_passkeys.rs:665-711 | src/store/key_store_admin_passkeys.rs:786-828 | src/store/key_store_users_and_oauth.rs:1132-1168 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 37 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_passkeys.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"486605d9630221cc49b98b206cd1eaabe138afee4441f1c399bad364dd8554d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): src/server/serve.rs:874-911 | src/server/serve.rs:913-957 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf83cb869f29b0d7988ce34db6828d662f2ac6edd52588cf0da9640973dc426"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:23-50 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:57-88 \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":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e949daa313d4acdb2103f11db6a54f01ead6b1a3ec4162f9fc75c75b0d8a904d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/server/handlers/admin_resources/ha.rs:1749-1773 | src/server/handlers/admin_resources/ha.rs:1780-1808 \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":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8a3df0a434b041938794a817ec13f448f8772cea240f120c230537ec423cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/server/handlers/admin_resources/recharges_and_totp.rs:275-304 | src/server/handlers/admin_resources/recharges_and_totp.rs:310-328 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/recharges_and_totp.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2ee5e46ce316c04b9f31fb12b9ff5343bbaa23a9056f97cf46f072c12c14a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): src/server/schedulers.rs:1880-1924 | src/server/schedulers.rs:3011-3056 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fa05efcbbc305ce6c8d0caa14930d4962f45dc685d1acd7bc737e46d8617f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): src/store/key_store_upstream_reconciliation.rs:1338-1378 | src/store/key_store_upstream_reconciliation_research.rs:701-736 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccac9bf320775cbfbc2f7698f0090a2a15715810da2b1dd37924c41a5f66a2b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): src/remote_attempt_admission.rs:448-484 | src/remote_attempt_admission.rs:590-618 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote_attempt_admission.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"1649b0dfdbcc3a92e2235a91433d75787598032c9a8c44e5ab57fe77263f7d3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): src/server/handlers/admin_resources/recharges_and_totp.rs:568-606 | src/server/schedulers.rs:2058-2090 \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":"src/server/handlers/admin_resources/recharges_and_totp.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf576891aa0dc495d43e0cf5b447114a22447a5e150d8e8c1938f17f83ed1dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/server/handlers/admin_resources/admin_user_views_and_sort.rs:376-404 | src/server/handlers/user.rs:1316-1343 \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":"src/server/handlers/admin_resources/admin_user_views_and_sort.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c01537369b79f69d83c78be50ba707c7217701c7a5653196dff31d79dec62f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): src/store/key_store_linuxdo_credit_recharge.rs:712-752 | src/store/key_store_linuxdo_credit_recharge.rs:758-800 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5eabe38d64aea6b07d37f689fd4a8250610ec839ba67cc9b5752855216b0df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/store/mod.rs:1990-2016 | src/store/mod.rs:2020-2047 \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":"src/store/mod.rs"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"603b69f860799f86276b48f29fd8d60a750913501aceb22085514fbbb05db84e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): src/store/key_store_token_logs.rs:1932-1952 | src/store/key_store_token_logs.rs:1959-1985 | src/store/key_store_token_logs.rs:1992-2013 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"9492dbdb0bb28395c0b1311cedb18cbda784b9cea66e205d606bd0a86e20fe1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): src/store/key_store_account_limit_snapshots.rs:76-120 | src/store/key_store_account_limit_snapshots.rs:223-287 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_account_limit_snapshots.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6248270b661b3a48fa6d900a5a7f53c6570aa2972a878e71cf56639bfd491c96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): src/store/key_store_alert_canonical_groups.rs:399-451 | src/store/key_store_alert_canonical_groups.rs:1313-1372 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5ed2d79368104820696ad118d14cd45a5c7ae5c79060f8c09d64c66c1fa17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/tavily_proxy/proxy_request_limits.rs:1760-1788 | src/tavily_proxy/proxy_usage_and_metrics.rs:360-386 \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":"src/tavily_proxy/proxy_request_limits.rs"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4748cb7b7c6492187af147291b4bd26934a2894b39c948aa195f5e0734c703f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): src/store/key_store_upstream_reconciliation.rs:1966-2001 | src/store/key_store_upstream_reconciliation.rs:2010-2055 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":1966}}}],"partialFingerprints":{"codehealthFindingId/v1":"1283985d313d5c44696ba5dff169aed0b793b4871423ae6821d439b063c9fd29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): src/store/sqlite_contention_logging.rs:19-49 | src/store/sqlite_contention_logging.rs:56-84 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_contention_logging.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a9ffb34789afc2f8550389c7ea8b5349c5306edd80532071824c370ce9561a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/bin/mcp_request_log_retry_repair.rs:346-373 | src/bin/mcp_search_billing_repair.rs:444-470 \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":"src/bin/mcp_request_log_retry_repair.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf668648983fe3dece167dc0fc89ca527720f9ff2921af7b925b32736e036eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src/analysis.rs:364-394 | src/analysis.rs:397-426 \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":"src/analysis.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5a0660a2e50f7ab1c5e5f37ddccc6ddaac36277123afb9e0b1afad9d069f4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/analysis.rs:432-451 | src/analysis.rs:453-475 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a95602f39998bc72e852a5bc322dd356677ff482287df9b460140fa0d4c171"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/server/handlers/admin_resources/announcements.rs:104-126 | src/server/handlers/admin_resources/announcements.rs:131-153 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/announcements.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f42790739fceac85a063e1ba8febde233e3b2444b7cc937a26c482a0c72c5e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): src/tavily_proxy/proxy_usage_and_metrics.rs:666-708 | src/tavily_proxy/proxy_usage_and_metrics.rs:1250-1295 \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":"src/tavily_proxy/proxy_usage_and_metrics.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7f3c99780471d0188059ade61dd79868d98e4bd2f1506ae57e4b5116b5d3dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src/observability.rs:654-683 | src/observability.rs:693-728 \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":"src/observability.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"069c51196381447eb2af517fe7c270300cca92cb25949d750baf309c575e370d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): src/store/key_store_keys.rs:1506-1550 | src/store/key_store_keys.rs:1555-1597 | src/store/key_store_keys.rs:1704-1744 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c99e5caf9e952af1d50f5742c47f530ea04437e7f668ca8b81c331be2411f09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/store/key_store_request_logs_gc.rs:602-629 | src/store/key_store_request_logs_gc.rs:635-672 \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":"src/store/key_store_request_logs_gc.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffc36b0715c5b402a8a430249539da51df1c548491e2f2afc58408b47fa1474"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): web/scripts/verify_relay_mesh_lockup_geometry.py:126-140 | web/scripts/verify_relay_mesh_mark_geometry.py:97-109 \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":"web/scripts/verify_relay_mesh_lockup_geometry.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1984fbde66ed463b37162978b074817d10cf1dc6485f7c79f947a48080ef7d69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/server/dto.rs:1314-1332 | src/server/dto.rs:1350-1373 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcecb7e8c59f26fd3a9aefa8609f66580c08a1bfa14275030efd11c4702e0fed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): src/bin/observability_lock_holder.rs:19-33 | src/bin/support/sqlite_sidecar.rs:233-247 | src/store/mod.rs:1273-1287 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/observability_lock_holder.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e0eb321b93384ac76a6ab8a7e9e8da419b727066cb2a3152d5edd2527f8801"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): src/store/key_store_keys.rs:239-304 | src/store/key_store_token_logs.rs:2178-2306 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eac414ead7ba270eed40ae0790579178feb770b6dd362bceff160868b7ff645"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/tavily_proxy/proxy_quota_sync_and_jobs.rs:2712-2738 | src/tavily_proxy/proxy_quota_sync_and_jobs.rs:2743-2773 \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":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":2712}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8e696ca8fcfefcc811f0275842550ce564cb5c396ee75c52896597c97b73bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/lib.rs:2107-2124 | src/main.rs:1013-1024 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"19db629f38b10f7387776676f7ce97f8fbee3dade0df439fe559429872e358f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/server/handlers/admin_auth.rs:1718-1739 | src/server/handlers/admin_auth.rs:1745-1776 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_auth.rs"},"region":{"startLine":1718}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c6ba61776cafb84306934b4fea8089466b7b086735a4dd6a4041c1e7abdcc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:1601-1624 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:1630-1653 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:1747-1772 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"126db74290a9c5efa02cc7c19132ed8fafc581e9161487d2e501a02ddf1e7e4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/server/handlers/user.rs:1035-1054 | src/server/handlers/user.rs:2691-2710 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79a274c5c466d84b762900e7f17220e84cdbe78940473ab7ff68e8f89685c68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): src/store/key_store_admin_passkeys.rs:834-870 | src/store/key_store_alert_projection.rs:151-202 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_passkeys.rs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"441f04a9d645847056c5771214459823f2bace023741e3ecafabb28ae9d9d06d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/server/dto.rs:2557-2577 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:1287-1313 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":2557}}}],"partialFingerprints":{"codehealthFindingId/v1":"327460e5d46e5dd27272f59d70feea5a21a5bf61f5db057f2da1ff6c0f11790a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/server/handlers/admin_resources/ha.rs:334-357 | src/server/handlers/admin_resources/ha.rs:365-387 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb710673eeb6247c492b36dca5a445da077bf86b7f8fd6ed76c729a02d38b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:1206-1227 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:1233-1254 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba72826b6f3bc7d7bc91962b3befbeba7c943df36f429dc09f4d1342e60103d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): src/store/key_store_keys.rs:870-922 | src/store/key_store_keys.rs:927-979 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74846cf7c0a6f1e399adacc98d84a2abff354f9a721e1af21c316a74b6c4018"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/store/key_store_alerts.rs:822-836 | src/store/key_store_alerts.rs:842-856 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99e6fadb2d9e94874a5934e01624b1953c58488f2b6f3a9e91ab056738d977d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/server/state.rs:1802-1812 | src/server/state.rs:1814-1824 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03205d9078cd301ea96ded1c38d40424421d04fbc0fa487cca26985fd904312"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): src/store/key_store_keys.rs:2323-2370 | src/store/key_store_request_logs_and_dashboard.rs:2187-2221 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":2323}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4408b54378c96fda8f1c05a0a10a305d1d2cb57214d9a28e5760585861fbdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/store/key_store_linuxdo_credit_recharge.rs:890-918 | src/store/key_store_linuxdo_credit_recharge.rs:1222-1248 \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":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f93c2fc99fb7966a4ca445081c1a8064a1057371608f0b576660a7f44bf41b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): src/store/key_store_schema_migrations_convergence.rs:1249-1322 | src/store/key_store_schema_migrations_convergence.rs:1396-1500 \u2014 These two members are one piece of code written twice and then edited apart: 74 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_schema_migrations_convergence.rs"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b6290226356259a66d0d47a5b0f3e2647525a7ec988aea8ba311b64b59a01a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:265-289 | src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:295-312 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b1af925b175693eadb74b65b89056f2d49dcc3389737dd66253e8b1576bd96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/store/reconciliation_projection_controller.rs:634-654 | src/store/reconciliation_projection_controller.rs:659-681 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_projection_controller.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd59b370d3e634fe33ba9ec933be29b5359895f3ec987957276b7f7db313e02e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): .github/scripts/check_quality_gates.py:282-296 | .github/scripts/check_quality_gates.py:300-312 \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":".github/scripts/check_quality_gates.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc01716517444118fff164e08cf93a19d869be6bb9cbe2f6d51437a9799a9df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): src/store/key_store_admin_passkeys.rs:455-499 | src/store/key_store_upstream_reconciliation.rs:2695-2734 \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":"src/store/key_store_admin_passkeys.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"208c297f1d0945696fe0532868114a82ee39f9cec260664404ae36f5366c263a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/bin/mcp_search_billing_repair.rs:140-170 | src/bin/mcp_session_delete_neutral_repair.rs:192-234 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_search_billing_repair.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a1f7df6c61a42f0b5e0b0b53d4c83512069be30dc25020f27af0782f96c209"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/forward_proxy/responses_and_validation.rs:423-442 | src/forward_proxy/responses_and_validation.rs:447-467 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"217fcd4c7882d1e2de054538411ec8dae88c73b9dc052476436ee13fbdb81645"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/server/proxy/mcp_helpers.rs:992-1003 | src/server/proxy/mcp_helpers.rs:1009-1028 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/mcp_helpers.rs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"b257c5b6724dce7550731b169eb73fc70ac8264105df031060b6020f91e3d5f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): src/store/key_store_dashboard_rollup_integrity.rs:1002-1028 | src/store/key_store_dashboard_rollup_integrity.rs:2176-2202 | src/store/key_store_dashboard_rollup_integrity.rs:3134-3156 \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":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"0714f65801cce55e953de9886a2cf5c8540cddb44375930a4d318554ca22cfb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/server/handlers/admin_resources/ha.rs:1286-1302 | src/server/handlers/admin_resources/ha.rs:1308-1328 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdee2a7b533dbc736d7c4a51cfac2292904fc7d9166b8a58b2d884c40c47065"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/server/state.rs:568-581 | src/server/state.rs:586-596 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"e089b20454032fe206e61e8570fc014a16bb6b665c0a72c38ba5a464064b7bdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/server/handlers/admin_resources/recharges_and_totp.rs:535-561 | src/server/schedulers.rs:2123-2147 \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":"src/server/handlers/admin_resources/recharges_and_totp.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"98086793985cf7910cb49b59ed0b5b288ab5299f92c0a7304f20b76ac705cb59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src/linuxdo_credit_recharge.rs:534-546 | src/server/handlers/public.rs:1796-1808 | src/server/handlers/user.rs:1637-1649 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/linuxdo_credit_recharge.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5996d03dc50a1d1c573dfa1f48b1a8163eddb0433d98f1c7f6269c37f0d1bfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/server/handlers/public.rs:1813-1820 | src/server/handlers/user.rs:1654-1661 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5df2a5532057d9c4bf87a03b524b92689f0467f87fae35ec87c1a33eb69dc4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/store/reconciliation_projection_controller.rs:698-714 | src/store/sqlite_runtime_maintenance_metrics.rs:351-365 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_projection_controller.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddb0433b5d46e4ebd65cef360e8eed8c069e5d64471868dad83181dc07b691b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/server/handlers/public.rs:1141-1154 | src/server/handlers/public.rs:1156-1176 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"34043a3c9e80ef0805e017f8c9a2b3d9f32ef9478cf2d23e2a2ad06cc62b12b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src/forward_proxy/storage.rs:1232-1263 | src/forward_proxy/storage.rs:1269-1298 \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":"src/forward_proxy/storage.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfedc49985eb77aaee77637ad294a4b6f9101709386554dc3f869b898051a64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): src/lib.rs:699-716 | src/lib.rs:724-740 | src/store/key_store_request_logs_gc.rs:49-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 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":"src/lib.rs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"f997b2b63a93884d6606514c60bcb557f518cdda81035a7e90bf3c03c44ea1bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/forward_proxy/responses_and_validation.rs:547-560 | src/forward_proxy/responses_and_validation.rs:562-575 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"494040ba3dac55578b792b5d66170a067a03cc6a69256c6276a1085cc2c752f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/store/immediate_transaction.rs:44-53 | src/store/immediate_transaction.rs:153-161 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"477e0bbe104f2d381ca48bbf00ecf628eab57a095d3a8f449f84db883844327a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/store/sqlite_runtime.rs:1844-1861 | src/store/sqlite_runtime.rs:1863-1879 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":1844}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb41bdaf7ef4e096516547d92fe2f0e84f53766900760f55d69d03787ac208c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:1551-1567 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:1579-1595 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:1665-1681 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:1708-1728 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f404e2de02aeb7b3a79a6b3007b63852cc89d54e260a7bfb8060dc9c15fcfa1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src/store/key_store_upstream_reconciliation.rs:152-174 | src/store/key_store_upstream_reconciliation.rs:927-944 | src/tavily_proxy/proxy_quota_sync_and_jobs.rs:50-62 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a117a1083be7575cf598875653c77820efc64c64a2d45c4acb230f14b312267"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/linuxdo_credit_recharge.rs:328-339 | src/server/handlers/admin_resources/recharges_and_totp.rs:675-689 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/linuxdo_credit_recharge.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8816197db5d8ff485da99e1034781908abb6569494e504017e40372a58886044"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): src/server/handlers/admin_resources/announcements.rs:48-61 | src/server/handlers/admin_resources/announcements.rs:67-80 | src/server/handlers/admin_resources/announcements.rs:86-99 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/announcements.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bb52bce1400de91b2d810dfac20d507af5469b13a3e45e7e16b1fd64d315a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/analysis.rs:643-655 | src/analysis.rs:716-728 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f190ba3181d90989392637264c4394b0412895491cb6380f8390c6313106a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/bin/mcp_session_delete_neutral_repair.rs:317-341 | src/bin/mcp_session_delete_neutral_repair.rs:378-406 \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":"src/bin/mcp_session_delete_neutral_repair.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7cd5a50ba60e0ad8c5a39831a51719e376676e951accfec39410dea97c865f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/remote_attempt_admission.rs:179-196 | src/remote_attempt_admission.rs:212-228 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote_attempt_admission.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f8b5dcabd401165173b3a7fb0fcd66465638b453053cd6ebcf04c00e3de1e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/store/immediate_transaction.rs:17-36 | src/store/immediate_transaction.rs:133-145 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"762ee08a5dbe71625edaaf5bdc5ff1656776027fc2e14699e4e2de3e2cadd076"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): src/store/key_store_keys.rs:1163-1223 | src/store/key_store_keys.rs:1225-1265 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0794f14c824235ead07bbe419d8e3b812455328340b4ba4078a6c01085ab0409"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): web/scripts/generate_relay_mesh_brand_assets.py:147-157 | web/scripts/generate_relay_mesh_brand_assets.py:161-170 \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":"web/scripts/generate_relay_mesh_brand_assets.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd9127af339921d3c31f8c5e38764bfe9ad9a6c387f788807ea9c9b403ff87b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): src/store/key_store_account_limit_snapshots.rs:150-179 | src/store/key_store_account_limit_snapshots.rs:185-216 | src/store/key_store_analysis_pressure.rs:101-133 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_account_limit_snapshots.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f21e3fd0d3980a3438ed88c8e398a2ae7d197f68b59e06f099505e0ff4324b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/ha.rs:1972-1986 | src/ha.rs:1988-2006 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ha.rs"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"062fffb8e7c8c070b41479e3fc10f9cd542615215250534e93fcf169d8cd246d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/server/dto.rs:1302-1312 | src/server/dto.rs:1334-1348 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ef1d8ad94066a066f94e5adace1d5509adb2165a8201c41ce35c22fc757c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/models.rs:561-578 | src/models.rs:580-596 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ec4da902c9d6c8ae0cefc37e160160a7cde26e949e024cf156420427f6e0e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/store/key_store_admin_passkeys.rs:56-74 | src/store/key_store_keys.rs:2161-2202 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_passkeys.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9801f815a9e75c83b2660d72c8e9bb9c3bf01611c7549cad6086ad8616489563"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/store/sqlite_runtime_maintenance_metrics.rs:100-113 | src/store/sqlite_runtime_maintenance_metrics.rs:133-146 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_maintenance_metrics.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7672e7a09b4eb7f0ea43426d3efb2c2fa58c6b24e03a069f3be52adddf3df825"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/server/schedulers.rs:1002-1023 | src/server/schedulers.rs:1808-1827 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6bd8d22934478e72cecb8b6bbec38b2debfbef35eeb9deec82413c7fb5cbc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): src/store/key_store_keys.rs:1125-1161 | src/store/key_store_users_and_oauth.rs:2365-2403 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f2797154cdaf14839760c5097d8c56d02eaacd7979a6c3ee426a8984b1cbbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): src/store/key_store_keys.rs:1656-1667 | src/store/key_store_keys.rs:1796-1812 | src/store/key_store_users_and_oauth.rs:720-735 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11277ffb971eab393f1dc3d01358147f680ecc1571b2eb65221ad71ee1c49f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): src/lib.rs:2998-3011 | src/lib.rs:3030-3042 | src/server/handlers/admin_resources/admin_user_views_and_sort.rs:610-623 | src/server/handlers/admin_resources/admin_user_views_and_sort.rs:627-640 | src/server/handlers/admin_resources/admin_user_views_and_sort.rs:644-656 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2998}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b47fb1635a3c6eac2bca62bfc523f51e3844a730f9dc0fb96c954126139af5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): web/scripts/verify_relay_mesh_lockup_geometry.py:79-97 | web/scripts/verify_relay_mesh_mark_geometry.py:77-87 \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":"web/scripts/verify_relay_mesh_lockup_geometry.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"270bcea1663e7289e216a3638b34d2ecec083e7d6cdf835111c56712da7d606f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/models.rs:170-185 | src/models.rs:187-201 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e961f92c121fbf21b0e69368802efc48641336bdb6e2ff5bd158792a6770c74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/store/key_store_linuxdo_credit_recharge.rs:575-591 | src/store/key_store_linuxdo_credit_recharge.rs:596-612 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"152a08bf3a9ea0495c7253b15c4cd035ebd940a530fb73ae729a2fb64b08ef38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/store/key_store_request_stats_coalescer.rs:262-278 | src/store/key_store_request_stats_coalescer.rs:321-346 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_stats_coalescer.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed3b8c26889553b8b903393f467e435ea040d98e6c4fd065b1842af8b676704"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): src/store/mod.rs:77-90 | src/store/mod.rs:94-107 | src/store/mod.rs:109-122 | src/store/mod.rs:126-141 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1157894d6e68c5f479a8cc7cc35210879826a634d477460f9a871a25e281f342"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src/server/handlers/admin_resources/api_keys_and_logs.rs:698-710 | src/server/handlers/admin_resources/api_keys_and_logs.rs:751-764 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:1687-1701 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ad9de751e763fd399a4ddb32ca5684b5eb6cda52c7b3991d8c40b19a7ccd9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/forward_proxy/responses_and_validation.rs:751-757 | src/forward_proxy/responses_and_validation.rs:759-765 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"d439471b65e9b1716c136d348a0dfc16c8eebe4ff770c67c5e61c0b56cce4cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/store/key_store_linuxdo_credit_recharge.rs:1723-1744 | src/store/key_store_linuxdo_credit_recharge.rs:1826-1846 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c07a54b9791559c1233af375c3f149124ad854a8bcbc87ee5e9156b7a3f2640"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/bin/db_compaction_once.rs:66-76 | src/bin/ha_trigger_repair_once.rs:52-63 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/db_compaction_once.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6209c3383a4f0cc2cecdfe90329eb9104b6565ff58dc7626d79f4a02c9cb6596"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:317-330 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:4-17 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:94-107 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:137-153 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"812c0d043d2c00903bcb742de2d3cadb2b1b97908cd9362a508415e4bd43b015"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): src/tavily_proxy/proxy_http_and_logs.rs:2088-2110 | src/tavily_proxy/proxy_http_and_logs.rs:2199-2222 | src/tavily_proxy/proxy_http_and_logs.rs:2239-2261 | src/tavily_proxy/proxy_http_and_logs.rs:2275-2297 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":2088}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe393e4d3eef3dc240a9989f85388ae4bf007ff8795e98b6596e098bbf92cff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): src/store/key_store_dashboard_rollup_integrity.rs:2350-2372 | src/store/key_store_dashboard_rollup_integrity.rs:2374-2385 | src/store/key_store_dashboard_rollup_integrity.rs:2503-2517 | src/store/key_store_dashboard_rollup_integrity.rs:3064-3077 | src/store/key_store_dashboard_rollup_integrity.rs:3108-3128 \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":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":2350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0351935710c4f680f95a838d7a7b1510b6b1e92968a3d99f72b961947177a4eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/store/mod.rs:1903-1923 | src/store/mod.rs:1927-1947 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"89dd1ac08e8e726f92a8c5f0160ca81709ea887b99881675e85e447ad68dbf2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/models.rs:2961-2971 | src/server/handlers/public.rs:1773-1783 | src/tavily_proxy/proxy_request_limits.rs:1982-1993 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3726b285d53e7c429eae90dfbdb0b313ea7d97ac0e6baff9afe5b356b831964"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): src/server/dto.rs:1511-1524 | src/server/dto.rs:2224-2237 | src/server/dto.rs:2243-2256 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"f142c54b5fe70bf471200807054b86e222a1317c59fff06af9e93c5a98df0380"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): src/store/key_store_keys.rs:2280-2298 | src/store/key_store_keys.rs:2410-2429 | src/store/key_store_keys.rs:2467-2486 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac522add4adbed13d9d7965729ad47b52e1c0c87d1172466cb41ad9de7090e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/store/sqlite_runtime.rs:1797-1813 | src/store/sqlite_runtime.rs:1815-1827 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bae42a3794ee80a3e4586275146fe814fcddff996179f325585a950ee8b0472"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src/bin/monthly_quota_rebase.rs:21-30 | src/bin/request_kind_canonical_backfill.rs:27-35 | src/bin/request_user_id_backfill.rs:22-29 \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":"src/bin/monthly_quota_rebase.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb7dfd3ba4ea5acc0971b824701d420f43cab02f0fa560e812d3c135c13ddf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/server/handlers/public.rs:275-289 | src/server/handlers/public.rs:294-308 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9a7e13e36a9cf31d5875b3cdb7a50c2c8f72f9d7129304aada4e6130ccd340"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): src/server/state.rs:1988-2001 | src/server/state.rs:2053-2070 | src/server/state.rs:2118-2135 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efd888819f1f3afe08905688979f94728a76d02de2b0c3267368be470d0783e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/lib.rs:3233-3243 | src/models.rs:2424-2434 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":3233}}}],"partialFingerprints":{"codehealthFindingId/v1":"7328b949b6fb3c8512b8d8a3c8fa33b7ceaae238b4a89ae437ae97209101a648"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/server/handlers/admin_auth.rs:862-870 | src/server/handlers/admin_auth.rs:872-880 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_auth.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b4439eee0e7264eb73d5be86c8f74a50f9c882ea3aee348367fba4aa002ebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/store/sqlite_runtime.rs:717-739 | src/store/sqlite_runtime.rs:741-763 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"8764a16b34e97d96bbdbe28ef5586233b19f8c3bd6dadae5a114225a16c44a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/tavily_proxy/proxy_request_limits.rs:1620-1632 | src/tavily_proxy/proxy_request_limits.rs:1639-1652 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_request_limits.rs"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8e40a4f50267140300dc90f731043cb939a4099a1027449e1ce76a5d33e4ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): src/store/key_store_admin_passkeys.rs:535-550 | src/store/key_store_admin_passkeys.rs:557-571 | src/store/key_store_ha.rs:979-997 | src/store/key_store_token_logs.rs:1436-1454 | src/store/key_store_token_logs.rs:1456-1472 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_passkeys.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d7da2425c2bba8ea199a60b25f67f4e55ba37ee763fda4ec1231656e1e3657"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/forward_proxy/storage.rs:362-372 | src/forward_proxy/storage.rs:377-387 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/storage.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a604d4e09492d58b99bc602c02ea8cdb5cc9fc9494914852bccfb9e2dda1ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/forward_proxy/storage.rs:595-610 | src/forward_proxy/storage.rs:616-631 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/storage.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"2164187a7f07d12207ab995db209ecffcb60c14b571839d7a217751b1dff24a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/lib.rs:2768-2776 | src/server/handlers/admin_resources/versions_and_proxy_helpers.rs:462-470 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2768}}}],"partialFingerprints":{"codehealthFindingId/v1":"7500f2923e0cf7bffcf640a2274bcdde267369b99284265766c5367836a51888"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/server/handlers/tavily.rs:258-276 | src/server/proxy/mcp_helpers.rs:948-964 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc9f7ea1e803d7ecd3373ae7ac3eed9846d992eb2ef52ee0f08751f878b4e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/store/key_store_account_usage_rollups.rs:163-195 | src/store/key_store_request_logs_and_dashboard.rs:246-271 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_account_usage_rollups.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca24af7666d98e8165f427758f791203f32097266c69eccb70b0c76f6d11d809"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/bin/support/sqlite_sidecar.rs:224-231 | src/store/mod.rs:1222-1229 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/support/sqlite_sidecar.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"08210ddf02b87ef476046301a1cce036f4f5d768cec8ed166d87a065ab9b3703"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/server/handlers/tavily.rs:278-288 | src/server/proxy/mcp_helpers.rs:573-584 | src/server/proxy/proxy_handlers_and_views.rs:1934-1946 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"28952d83e77d529a997565adf2ae3debdf74960800caf04dcd836a09687eb1a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/server/proxy/proxy_handlers_and_views.rs:2055-2069 | src/server/dto.rs:896-908 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcdfd1f49c11cabd578148d897c32a4e944f7fe4cc74e61c010c180285127e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): src/server/handlers/admin_resources/announcements.rs:31-41 | src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:89-102 | src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:675-688 | src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:693-706 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:1188-1199 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/announcements.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8732f3bf1f806081915f120de3b9dbd4ec2a22718c7e9762cb6ff4fcfc184846"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): src/store/key_store_ha_watermarks.rs:85-98 | src/store/key_store_ha_watermarks.rs:105-132 | src/store/key_store_ha_watermarks.rs:137-150 | src/store/key_store_ha_watermarks.rs:157-184 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha_watermarks.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a58aa52fc0dc90ffcd156e07de75f640d437faf47c502d28860315a724d8b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/store/key_store_keys.rs:1818-1829 | src/store/key_store_keys.rs:2020-2030 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0c61ff31ce3d7b79f2883923b0a24bd6075c9582513ecf795cc9d7ee41493f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/store/key_store_request_logs_and_dashboard.rs:2572-2592 | src/store/key_store_request_logs_and_dashboard.rs:2655-2676 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e7280f909d02998e155736c2394ff0ec57570d8765c0016784f10de876d22e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/tavily_proxy/proxy_http_and_logs.rs:2046-2069 | src/tavily_proxy/proxy_http_and_logs.rs:2123-2145 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":2046}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea54be493dc7044cdf4ee4c74b8d6997f38bce5334b2123b43a11f9d10c5bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/lib.rs:663-681 | src/tavily_proxy/proxy_quota_sync_and_jobs.rs:2824-2839 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac31d5b1b63f09d9b2154fdc7850df73a1e66d229f7e9f885df3fe576e77008"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/store/key_store_ha.rs:152-176 | src/store/key_store_ha.rs:736-755 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0caa4bd08fd2a5517494f545a0cb1548ada23fa15a74f2c12bb1a82c0d1300c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/store/key_store_ha.rs:2929-2939 | src/store/key_store_ha.rs:2946-2967 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":2929}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be91b7465982d432caf170ceab481621b9cb5d40db0485b0ec052307bd0d87b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/tavily_proxy/mod.rs:2318-2334 | src/tavily_proxy/mod.rs:2357-2372 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/mod.rs"},"region":{"startLine":2318}}}],"partialFingerprints":{"codehealthFindingId/v1":"d126a97bed9e83d7da2333065ff69b47984bfac00a850a923d58e1f25c8d297f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): src/tavily_proxy/proxy_usage_and_metrics.rs:891-916 | src/tavily_proxy/proxy_usage_and_metrics.rs:1021-1047 | src/tavily_proxy/proxy_usage_and_metrics.rs:1152-1178 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_usage_and_metrics.rs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1b50e45e8d0bad2de8698b6625bb1624a0fd2d7cb4afbaba598d90f84b84ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): src/bin/mcp_session_delete_neutral_repair.rs:123-130 | src/models.rs:2442-2448 | src/store/key_store_observability_sidecar.rs:181-192 \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":"src/bin/mcp_session_delete_neutral_repair.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"053998479c3cb22f6d8360dc9f6f0d2e2928f2006df93419fddd66f9c140c7ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/store/key_store_upstream_reconciliation.rs:979-997 | src/store/reconciliation_projection_controller.rs:563-575 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"845b81e2f9cc34c768cf5558e9f64d08d3901dedbc23968e2764f4a91d17dac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src/bin/mock_edgeone_ingress.rs:59-66 | src/bin/mock_tavily.rs:217-224 | src/server/handlers/tavily.rs:104-111 \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":"src/server/handlers/tavily.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb63f11d68979359535f3c21653d8164de6a18fff2a8f41a75eb07fc3d36c368"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/bin/mock_tavily.rs:226-233 | src/server/handlers/tavily.rs:113-120 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d771847e2a384e7ce565521dcf2b1206ae733d684dff7ae1ef7eca02f5fc0b8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/store/key_store_keys.rs:1602-1615 | src/store/key_store_token_logs.rs:2055-2075 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"108a46e70a1d8410c19ef7d7f2e19016c4f9e6ba3e5e31827014ed9e20c814d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/store/mod.rs:222-235 | src/store/mod.rs:242-259 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2a3cd4d6e2cbc6f87a124c8eed35068b3bc4744cfdbc645d64afcf93f3ac68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/store/key_store_keys.rs:1750-1762 | src/store/key_store_users_and_oauth.rs:408-420 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5421bcbdcf687c251c2f29fefe685d600093faee2ff343b2dca7174a872adac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/server/handlers/admin_resources/alerts.rs:1-6 | src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:39-46 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/alerts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2543d88dffd2ac7fe9913d1997c8529b6eeb4b8194e9986c97a4ce05d796eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/server/proxy/mcp_helpers.rs:1245-1255 | src/bin/mock_tavily.rs:235-241 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/mcp_helpers.rs"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc56b56c5a1538b4cf967c50cb0b0a756429deb5eb98d0f11838682b00a32ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/store/key_store_users_and_oauth.rs:449-462 | src/store/key_store_keys.rs:1631-1638 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"853ab6f1958b14849fe4c5d34fc54c064e8d190bc1af8a08522cc08b44c071fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/store/key_store_observability_sidecar.rs:161-169 | src/store/mod.rs:1095-1103 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_observability_sidecar.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"88752f8c59eb4e6ae2697cf27b7863c95207721a2b75e467165f128f0327fca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src/forward_proxy/responses_and_validation.rs:1770-1777 | src/observability.rs:1528-1537 | src/server/serve.rs:1679-1689 \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":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b88a0c3fef82377a15492f80c538fd04493320bbcfaa7c0f6f4ce463a1e4345"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/bin/mcp_session_delete_neutral_repair.rs:136-150 | src/models.rs:2457-2470 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_session_delete_neutral_repair.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3852dbba3e06a794ad31f33b4b538961780d86a055e9733926de5e1323f4523"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/store/key_store_observability_sidecar.rs:171-179 | src/store/mod.rs:1212-1220 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_observability_sidecar.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"450f57d8e4945c24a6e5c722f1c947a448d50230f6377821fc5490b00a2e6259"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/server/handlers/public.rs:348-351 | src/server/handlers/user.rs:1512-1515 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d254e79981141d62e967df038640b01e36321e78d35c5cfdfcb97d3ed890301"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/store/key_store_reconciliation_key_observations.rs:315-325 | src/store/mod.rs:1719-1732 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_reconciliation_key_observations.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f2663680c45c71c720cf72c574298175aa089b053009b220555d3d4ef2429f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/server/handlers/public.rs:1767-1771 | src/server/handlers/user.rs:1631-1635 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd675f2e396e2613240e90a926f64bb3e32c4815425f836a205dd3ccae5f25e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/store/key_store_meta.rs:125-138 | src/store/key_store_token_logs.rs:1912-1925 | src/store/key_store_users_and_oauth.rs:1238-1248 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_meta.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efe50fa074f5daa5ec16d885dd587a4d1fe83246ac0ac2d4033432bb0781390"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/store/key_store_request_logs_and_dashboard.rs:2408-2422 | src/store/key_store_upstream_reconciliation.rs:391-406 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":2408}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f1ced8354d5098a5f3debe5784e23de01a50075bd2046c8bb5a7d345130cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/linuxdo_credit_recharge.rs:306-309 | src/server/handlers/admin_resources/recharges_and_totp.rs:610-613 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/linuxdo_credit_recharge.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5bbbb47e31c05612da085be5901d493a2e579a28097b1cc1f71765b79c59c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): src/store/key_store_account_limit_snapshots.rs:42-48 | src/store/key_store_keys.rs:2264-2275 | src/store/key_store_meta.rs:73-81 | src/store/key_store_request_logs_and_dashboard.rs:2058-2066 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_account_limit_snapshots.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b228cd69d8678004cce044068115bf5bc1f656905209bfb1700b454de746654"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/store/key_store_ha.rs:1474-1480 | src/store/key_store_ha_defs.rs:292-298 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8708d015fe61ba0f2ebdb897a97d53052a5d4a4697c7319af8aa1dc4fe67926"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/lib.rs:2691-2693 | src/server/handlers/admin_resources/versions_and_proxy_helpers.rs:388-390 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2691}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0231f1eef83ce7a518ba0aa3f53ad0aa68748ba70a36b199d77e0afd820e920"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/ha.rs:1312-1319 | src/server/handlers/user.rs:206-211 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ha.rs"},"region":{"startLine":1312}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f41008fbcfdd95183a7f93c102058cb75324fd02ec82d81372692f2cf780e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (153\u2013154 lines \u00D7 2): src/tavily_proxy/proxy_http_and_logs.rs:852-1004 | src/tavily_proxy/proxy_http_and_logs.rs:1127-1280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:852\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"53acd4598198f0cce54e32cc76bcac425fd39f303075a2bb07276e9d6343ddd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70 lines \u00D7 2): src/bin/mcp_session_delete_neutral_repair.rs:506-575 | src/bin/mcp_session_delete_neutral_repair.rs:662-731 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_session_delete_neutral_repair.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6532fa9b30a49917cd0e6db43d4374420180841ad1c6b4f751a2cf82e97ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 2): src/store/key_store_request_logs_and_dashboard.rs:1289-1348 | src/store/key_store_request_logs_and_dashboard.rs:1582-1641 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7f482b452bb946f68457ab7d2ce5ef75cf27d2331b1d6871fedf55f2e4639d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (90 lines \u00D7 2): src/server/handlers/tavily.rs:1183-1272 | src/server/handlers/tavily.rs:1466-1555 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:1183\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ce0b85dc42ef2a5305c3eda1c5ad1e9858fd1e75abe01b0035c997a1d8f6ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): src/tavily_proxy/proxy_http_and_logs.rs:504-560 | src/tavily_proxy/proxy_http_and_logs.rs:1421-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:504\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3aea91f54c2f30f2785caf52908ce5f00b5a244003ee7bab06067cd564da2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): src/store/mod.rs:2155-2210 | src/store/mod.rs:2332-2387 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/mod.rs:2155\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5902bb38066397e5a1851c77b8aa260b3b2daf10020ed9f065fdd3602455ce19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): src/tavily_proxy/reconciliation_engine.rs:1015-1069 | src/tavily_proxy/reconciliation_engine.rs:1208-1262 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/reconciliation_engine.rs:1015\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, \u0060src/tavily_proxy/reconciliation_engine.rs:1070\u0060 calls \u0060disarm\u0060 and \u0060src/tavily_proxy/reconciliation_engine.rs:1263\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/reconciliation_engine.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f11e18462d1e41bec4da9b87a6f9bca2a60ee99472d602c453caef825e1edc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): src/tavily_proxy/proxy_http_and_logs.rs:574-626 | src/tavily_proxy/proxy_http_and_logs.rs:1491-1543 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:574\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf43eff4ad7f8c819f81500295e7aaf64a798f8666d996566ab8ff16c480312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201351 lines \u00D7 2): src/store/key_store_request_logs_and_dashboard.rs:1074-1119 | src/store/key_store_request_logs_and_dashboard.rs:1785-1835 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_request_logs_and_dashboard.rs:1074\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c289675c026f12376f876fa5b261522baf755afd05a1b52dab862a431d8489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201349 lines \u00D7 2): src/store/key_store_users_and_oauth.rs:580-627 | src/store/key_store_users_and_oauth.rs:967-1015 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_users_and_oauth.rs:580\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"26733b2a8f5e054297a3ac11a4c1113bc0a42d95f2f66b5339ab93b78889ded0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201346 lines \u00D7 2): src/server/serve.rs:1258-1301 | src/server/serve.rs:1588-1633 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/serve.rs:1258\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9d86f57f251845a2f150d2975ad3b0e585a1640b06ae0054b9c742a24d1343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201343 lines \u00D7 2): src/store/key_store_token_logs.rs:379-415 | src/store/key_store_token_logs.rs:878-920 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_token_logs.rs:878\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb1e89299f7ad84ad0d4ded12a6b109434db5b00e0b92322352b4271857d895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): src/store/key_store_upstream_reconciliation.rs:2238-2280 | src/store/key_store_upstream_reconciliation.rs:2477-2519 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_upstream_reconciliation.rs:2238\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2238}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38390370d11ff176b290068b076e668a87ab671828d2496572e9d7d92ed2b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): src/store/sqlite_runtime.rs:1456-1497 | src/store/sqlite_runtime.rs:1626-1667 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/sqlite_runtime.rs:1456\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf2d9c24b93aee66250a5f55c2407650a3ee168d1e4e397f738c782db5c5d77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): src/store/sqlite_runtime.rs:4203-4244 | src/store/sqlite_runtime.rs:4268-4309 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/sqlite_runtime.rs:4203\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060crate) async fn finish( \u0026mut\u0060 in one and \u0060crate) async fn finish_in_place( \u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":4203}}}],"partialFingerprints":{"codehealthFindingId/v1":"943188c90c55c317f9d75212b61f5f7830d91a56537f1e57a26b902c107ac7d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201341 lines \u00D7 2): src/server/serve.rs:1209-1248 | src/server/serve.rs:1524-1564 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/serve.rs:1209\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b916e1912b1f2cd92f3c57032a7911274b02ed753050952ff79aa8d77391f297"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/tavily_proxy/proxy_http_and_logs.rs:809-849 | src/tavily_proxy/proxy_http_and_logs.rs:1077-1117 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:809\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bc79f406e48f350805d6449ede97769fdae8f4f76888de0f59dd9835eb296d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): src/tavily_proxy/proxy_usage_and_metrics.rs:670-708 | src/tavily_proxy/proxy_usage_and_metrics.rs:1257-1295 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_usage_and_metrics.rs:670\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_usage_and_metrics.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada5928d4f2c2bb478898a52d98bdaf9c426f3d2e6bcdfdeb56bb644ef8ab2f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): src/server/proxy/proxy_handlers_and_views.rs:1399-1436 | src/server/proxy/proxy_handlers_and_views.rs:1477-1514 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/proxy/proxy_handlers_and_views.rs:1399\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/server/proxy/proxy_handlers_and_views.rs:1398\u0060 calls \u0060Some\u0060 and \u0060src/server/proxy/proxy_handlers_and_views.rs:1476\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa911c80345315e4464f1d27ed04bff908517ff25bdf1adbe4662068395f146d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): src/store/sqlite_runtime_cooperative.rs:69-106 | src/store/sqlite_runtime_cooperative.rs:174-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/sqlite_runtime_cooperative.rs:69\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9603c647dfcaae135c247e2beb5ca42475a1b8612a8bd07a227517e34ac7822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): src/store/key_store_alert_canonical_groups.rs:1913-1949 | src/store/key_store_alert_canonical_groups.rs:2094-2130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_groups.rs:1913\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c11121a0d6702ecac74417a91e5070ac3e02215dda0c463833aa8e294413ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): src/store/key_store_request_logs_and_dashboard.rs:1404-1438 | src/store/key_store_request_logs_and_dashboard.rs:1720-1754 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70ee71687e833801a1a8b599b3238b5fd2ba9a562d4edd9484fb193926ec061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src/forward_proxy/manager.rs:159-192 | src/forward_proxy/manager.rs:281-314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/forward_proxy/manager.rs:159\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/manager.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded595a25377e72aed048a7c79acc836468158490c6c535a20d8504cc0b52214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src/store/key_store_alerts.rs:2085-2118 | src/store/key_store_alerts.rs:2197-2230 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:2085\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":2085}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa42e96c2d0232e7402e21519f294f5bd6f136d0d62ab329dde1bc57b555bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): src/server/handlers/tavily.rs:672-704 | src/server/handlers/tavily.rs:1576-1608 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:672\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"32675d7980ca9b77352a7ad6c71f0e05845656cdd47db6805d9605fd17e9f9b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): src/store/key_store_alert_canonical_groups.rs:2217-2248 | src/store/key_store_alert_canonical_groups.rs:2272-2304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae22bfa5944c1a9d08d8d1971e6b403fe81c99f0c3c72cf47e676863ed9ccb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): src/store/key_store_token_logs.rs:729-761 | src/store/key_store_token_logs.rs:810-842 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_token_logs.rs:729\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8af7986281e79338a3b988822a7724510c33480bae54d255b16dfb052790163"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): src/tavily_proxy/reconciliation_engine.rs:1116-1148 | src/tavily_proxy/reconciliation_engine.rs:1305-1337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/reconciliation_engine.rs:1116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/tavily_proxy/reconciliation_engine.rs:1115\u0060 calls \u0060header\u0060 and \u0060src/tavily_proxy/reconciliation_engine.rs:1304\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/reconciliation_engine.rs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c0442a646c18ea7e8d1d6fa3ffc814a6404be23abd26c28b1abb02b918b3c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): src/store/mod.rs:390-421 | src/store/mod.rs:424-455 | src/store/mod.rs:458-489 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/mod.rs:390\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa7f76ba3187ae511f0fd180eb31c7b5fb423deb526ff63d9d20304f5e939ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:189-219 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:322-351 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:189\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7721a34aee9d63987c88d26c8d6d2ce842a510b917716ae90958eb20d0f12ba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/server/serve.rs:1149-1179 | src/server/serve.rs:1486-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":"src/server/serve.rs"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"609fc8712bb5ead41356f5f3d850b4000f09da6df3baef67362eeda0fe205067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): src/store/key_store_admin_privacy_read.rs:132-162 | src/store/key_store_alert_projection.rs:1144-1171 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_admin_privacy_read.rs: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":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf487331a3c41c1a90d274623704526edd56c7ca4d523da409d07d39dc1d0baf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/store/key_store_token_logs.rs:503-533 | src/store/key_store_token_logs.rs:782-812 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_token_logs.rs:503\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"099d1f458947dd48d114a1741e05f0407bedbb3df6b10644a587d6e122783d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/tavily_proxy/reconciliation_engine.rs:1076-1106 | src/tavily_proxy/reconciliation_engine.rs:1267-1297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/reconciliation_engine.rs:1076\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/tavily_proxy/reconciliation_engine.rs:1075\u0060 calls \u0060header\u0060 and \u0060src/tavily_proxy/reconciliation_engine.rs:1266\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/reconciliation_engine.rs"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b091dc4a0304e573fd49b61301511ce8474e548e4cdad16152af6b35f31925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/bin/support/sqlite_sidecar.rs:20-49 | src/store/mod.rs:1241-1270 \u2014 before extracting anything, compare \u0060src/bin/support/sqlite_sidecar.rs\u0060 and \u0060src/store/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/bin/support/sqlite_sidecar.rs:20\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/support/sqlite_sidecar.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"daad052657ce75ac92e9b545e2c2ddce07d58e6cdbe683865efd85a2252b9137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/lib.rs:2696-2725 | src/server/handlers/admin_resources/versions_and_proxy_helpers.rs:410-439 \u2014 before extracting anything, compare \u0060src/lib.rs\u0060 and \u0060src/server/handlers/admin_resources/versions_and_proxy_helpers.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2696}}}],"partialFingerprints":{"codehealthFindingId/v1":"735c283d17766659b80cf45205b29be01d7a45233f7b1022ac8289ffd2c42749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): src/server/proxy/proxy_handlers_and_views.rs:1210-1238 | src/server/proxy/proxy_handlers_and_views.rs:1315-1344 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/proxy/proxy_handlers_and_views.rs:1210\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dd48cefc991988d17a043bcdb1ec624061c1034e96ed867fcc0ce0f60de59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201330 lines \u00D7 2): src/server/serve.rs:1808-1837 | src/server/serve.rs:1880-1905 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/serve.rs:1808\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"506b58e2d4094ba26baeb8f7ddf1ce6fda882752d8e89208b8a02c29a0a013f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/store/key_store_dashboard_quota_recovery.rs:552-581 | src/store/key_store_request_logs_and_dashboard.rs:2258-2287 \u2014 before extracting anything, compare \u0060src/store/key_store_dashboard_quota_recovery.rs\u0060 and \u0060src/store/key_store_request_logs_and_dashboard.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebb88decc3b287c8a624ba050dcb5130d5583e7f8a831795c8ccdcc102cea1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/store/key_store_token_logs.rs:316-345 | src/store/key_store_token_logs.rs:350-379 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"0200a2305078cc9d8802e2b877eea8f0616c4179fb10cb00e94eccbb9f23bbda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/server/proxy/proxy_handlers_and_views.rs:731-759 | src/server/proxy/proxy_handlers_and_views.rs:784-812 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/proxy/proxy_handlers_and_views.rs:784\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"d470dc474ae01387f687a643a69cacbb7ebde6b4a2e17203ab3267c238ef6274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/store/key_store_request_logs_and_dashboard.rs:504-532 | src/store/key_store_request_logs_and_dashboard.rs:853-881 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_request_logs_and_dashboard.rs:504\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d2a156664b33c5c9fc55b47e827c985bd0aaf91e210b5083b746e8f2ff92f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): src/store/mod.rs:2176-2203 | src/store/mod.rs:2353-2380 | src/store/mod.rs:2572-2599 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/mod.rs:2176\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fb4c0942cc6c9d405f5ed25a8e05663a8007f213a46fa7b3302dc784622f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/server/handlers/tavily.rs:495-521 | src/server/handlers/tavily.rs:549-575 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:495\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4d5b2bef024345a59e56bb119269064ebee230ff8de38f05a4f693103a0f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): src/store/key_store_request_logs_and_dashboard.rs:900-925 | src/store/key_store_request_logs_and_dashboard.rs:1423-1448 | src/store/key_store_request_logs_and_dashboard.rs:1739-1764 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_request_logs_and_dashboard.rs:900\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75a2277d419a26c3ddcb56b3672abe25c2a4fd6b3aa97d2cfebc6255456a97f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): src/store/key_store_token_logs.rs:553-578 | src/store/key_store_token_logs.rs:751-776 | src/store/key_store_token_logs.rs:832-857 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_token_logs.rs:553\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f07be99a8ac09115bcb761b9fea76778f1fc57f6ddf0cf22687e9e4bcac83df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): src/tavily_proxy/proxy_http_and_logs.rs:372-397 | src/tavily_proxy/proxy_http_and_logs.rs:1302-1326 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:372\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7405bb9b39fd7f062d91a305d1bda40c909732adae8ab6d83dcd4a01ad959ee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 4): src/store/key_store_token_logs.rs:479-503 | src/store/key_store_token_logs.rs:697-721 | src/store/key_store_token_logs.rs:956-978 | src/store/key_store_token_logs.rs:1023-1045 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_token_logs.rs:479\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6768e5c775d94d33a3c255e836dba55ddf7654492b8ff32810e5a1dee5341a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/server/proxy/proxy_handlers_and_views.rs:200-224 | src/server/proxy/proxy_handlers_and_views.rs:298-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/proxy/proxy_handlers_and_views.rs:298\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1809e0e9bba9f9ec3ba3761ff19892cf6c037542ce557847826bd0649cecd028"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): src/store/key_store_dashboard_rollup_integrity.rs:2690-2713 | src/store/key_store_dashboard_rollup_integrity.rs:2808-2831 | src/store/key_store_dashboard_rollup_integrity.rs:3243-3266 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_dashboard_rollup_integrity.rs:2690\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":2690}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a60684c8f5ed6d7aa1e8670bb8cb21820b4b0d296eeb1113cd756e547c739d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/lib.rs:2811-2834 | src/server/handlers/admin_resources/versions_and_proxy_helpers.rs:511-534 \u2014 before extracting anything, compare \u0060src/lib.rs\u0060 and \u0060src/server/handlers/admin_resources/versions_and_proxy_helpers.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/lib.rs:2811\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2811}}}],"partialFingerprints":{"codehealthFindingId/v1":"0511e3a9a0264ae18268669c385cc8381f77c5f47ffaf2ef6ad38a258b424308"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): src/server/handlers/tavily.rs:1102-1157 | src/server/handlers/tavily.rs:1391-1446 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:1102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8fc7dbcd66691fda16738497e3143335b458d5ce07c7d6cc4156f6a5d41cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/store/key_store_request_logs_and_dashboard.rs:536-559 | src/store/key_store_request_logs_and_dashboard.rs:876-899 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_request_logs_and_dashboard.rs:536\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"4078a46a90095f8cb907377343b619ea3efdd9b08f86a3241553b490928902bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/store/mod.rs:2112-2135 | src/store/mod.rs:2289-2312 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/mod.rs:2112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":2112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd046d51f24932857de440828ba21d4d7c5baa321e9e48cece992fd30c156fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): src/server/serve.rs:1224-1246 | src/server/serve.rs:1262-1284 | src/server/serve.rs:1540-1562 | src/server/serve.rs:1594-1616 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/serve.rs:1224\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a1de5ed216b8d1f59d39ce49e7f67f107571135e3318211d5d85756fcd7533"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 3): src/store/key_store_request_logs_and_dashboard.rs:826-848 | src/store/key_store_request_logs_and_dashboard.rs:1300-1321 | src/store/key_store_request_logs_and_dashboard.rs:1593-1614 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_request_logs_and_dashboard.rs:826\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/store/key_store_request_logs_and_dashboard.rs:1299\u0060 calls \u0060canonical_request_kind_label_sql\u0060 and \u0060src/store/key_store_request_logs_and_dashboard.rs:826\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6120f881e62778121ab9c47dedad7a951656c64dfc455025b39453329fba80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): src/tavily_proxy/proxy_http_and_logs.rs:473-495 | src/tavily_proxy/proxy_http_and_logs.rs:1391-1413 | src/tavily_proxy/proxy_http_and_logs.rs:1670-1692 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:473\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fff7ddce99c72732a7ab49d5de057a46192fb6ab4d0496e7149c4e615db73c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/server/handlers/admin_resources/ha.rs:1909-1931 | src/server/handlers/admin_resources/ha.rs:1977-1999 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/ha.rs:1909\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"6990eee2d71710fcd75460ac244d74edc5a8005c44b3566deeae6939d65f6135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): src/store/sqlite_runtime_cooperative.rs:58-79 | src/store/sqlite_runtime_cooperative.rs:108-129 | src/store/sqlite_runtime_cooperative.rs:163-184 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/sqlite_runtime_cooperative.rs:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5d1a7a298ed8a8b01579f5e92c406ba215ecedc6a77d904b5edd5557761ba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/analysis.rs:2156-2177 | src/analysis.rs:2214-2235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08e7d45a83e6cf5774746e84e82b943d59fd1fdf79c6cae73e4944ce7cb8eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/store/key_store_alert_canonical_groups.rs:1880-1901 | src/store/key_store_alert_canonical_groups.rs:2061-2082 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_groups.rs:1880\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b702512c24d0f64f375f27c9568daf7639112067354ae7d2f5a35db82ab521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/store/key_store_alert_canonical_groups.rs:1982-2003 | src/store/key_store_alert_canonical_groups.rs:2157-2178 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_groups.rs:1982\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d94637740895492b327f03c73f045c9e84009ac30689f7ac55300980572dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/store/key_store_keys.rs:1529-1550 | src/store/key_store_keys.rs:1576-1597 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_keys.rs:1529\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde4f789087f6a524e509f0fd39c9d6e731007a567195cf849998c11d684e1ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): src/store/key_store_alerts.rs:2755-2775 | src/store/key_store_alerts.rs:2785-2805 | src/store/key_store_alerts.rs:2815-2835 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:2755\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":2755}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b3013c6e10f4c11a0f75ffd87453d47d950dcf529265601cd2dfef2b0fe5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/bin/support/sqlite_sidecar.rs:202-222 | src/store/key_store_observability_sidecar.rs:17-37 \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 \u0060src/bin/support/sqlite_sidecar.rs:202\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/support/sqlite_sidecar.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac57be4bdb66a9fb23a76c11cb636adc861efeb832cc1295239efbf912349490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/lib.rs:3133-3153 | src/lib.rs:3162-3182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/lib.rs:3133\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":3133}}}],"partialFingerprints":{"codehealthFindingId/v1":"66271702593e12c5344094dc2d733b33a1c984ac3bcf7bdc2b8f1f871a1a3efc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/server/handlers/tavily.rs:448-468 | src/server/handlers/tavily.rs:885-905 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:448\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb672d9321536247e2fe6847606c2945ec2220023812574c9f22e4fdeb081ca7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): src/server/handlers/tavily.rs:467-487 | src/server/handlers/tavily.rs:527-546 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:467\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a25dd176476f3a9d895b75827a33afde6c2b01c655b57833ed4858f9e19b516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/server/proxy/proxy_handlers_and_views.rs:1145-1165 | src/server/proxy/proxy_handlers_and_views.rs:1177-1197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/proxy/proxy_handlers_and_views.rs:1145\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea87ab515532a6856205bb271dac570ea7440abc2bd603ad4c1c905bd7abf2a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/store/key_store_announcements.rs:502-522 | src/store/key_store_announcements.rs:658-678 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_announcements.rs:502\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_announcements.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"089e93900c4cf4a3d4fea46a39e86480eb7fd904b6439ff0cf76ca4fee753f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/store/key_store_dashboard_quota_recovery.rs:308-328 | src/store/key_store_dashboard_quota_recovery.rs:464-484 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e47c3a47ab5f0ba6c55181c85f0197f4f1155aca550ce066e9c9f4e3543b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): src/tavily_proxy/proxy_request_limits.rs:1276-1296 | src/tavily_proxy/proxy_request_limits.rs:1372-1391 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_request_limits.rs"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"0273608fa82146a5d7f60b4996d3d156f1b8edeb693d01ea1c5b51689abc6376"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 4): src/tavily_proxy/proxy_http_and_logs.rs:406-425 | src/tavily_proxy/proxy_http_and_logs.rs:771-788 | src/tavily_proxy/proxy_http_and_logs.rs:1041-1058 | src/tavily_proxy/proxy_http_and_logs.rs:1335-1353 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:406\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, \u0060src/tavily_proxy/proxy_http_and_logs.rs:789\u0060 calls \u0060insert\u0060, \u0060to_string\u0060, \u0060Bool\u0060 and \u0060src/tavily_proxy/proxy_http_and_logs.rs:426\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"675d0646c98dca3cc9691a425299d7349e5c53c54ba9a2a7fa0fdfc0d657404f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/lib.rs:2779-2798 | src/server/handlers/admin_resources/versions_and_proxy_helpers.rs:473-492 \u2014 before extracting anything, compare \u0060src/lib.rs\u0060 and \u0060src/server/handlers/admin_resources/versions_and_proxy_helpers.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2779}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5228ae8fed627a8d6ffcb798bed21fa3581f1f242b48d4c1ed1b7a2c1d6c02d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/server/handlers/admin_resources/ha.rs:1831-1850 | src/server/handlers/admin_resources/ha.rs:2055-2074 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb6b85cc087d2727e4441e604c5fe9757896a6dd29b51766ede35cce7a20668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/store/key_store_announcements.rs:461-480 | src/store/key_store_announcements.rs:599-618 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_announcements.rs:461\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_announcements.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"6492f94cdcbecf819f90803d36805cba0d0b6967f70b93ece3286363df54cc9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/store/mod.rs:1997-2016 | src/store/mod.rs:2028-2047 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/mod.rs:1997\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060row\u0060 to \u0060RequestKindBackfillRequestLogRow\u0060 in one and \u0060RequestKindBackfillTokenLogRow\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"994fc06fc9c614a6a631e67fabd1171464ad01c09248a638e93568dd93bb66ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/store/sqlite_runtime.rs:3625-3644 | src/store/sqlite_runtime.rs:3687-3706 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3625}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd681e4e8c0cbac92d705e5efeb54ad149fa7da1a6f5de1cc696be7c263b2240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/tavily_proxy/proxy_http_and_logs.rs:1486-1505 | src/tavily_proxy/proxy_http_and_logs.rs:1751-1770 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:1486\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdb2c1a2bd210150ce2a5823ed3486c91717429fddac5921c7f1ec263c44bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): src/store/key_store_token_logs.rs:525-543 | src/store/key_store_token_logs.rs:723-741 | src/store/key_store_token_logs.rs:804-822 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_token_logs.rs:525\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbcb9b8847938bcf402e9aa9afb22cb4bd081602200d4b74470ca7e466872fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:416-433 | src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:644-662 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:416\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33279ada88fee7ee5b29b9b3aa75c4a144e37eec23c47b50e91fc90a8ae7a10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/store/key_store_account_limit_snapshots.rs:161-179 | src/store/key_store_account_limit_snapshots.rs:198-216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_account_limit_snapshots.rs:161\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/store/key_store_account_limit_snapshots.rs:196\u0060 calls \u0060bind\u0060 and \u0060src/store/key_store_account_limit_snapshots.rs:159\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_account_limit_snapshots.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"237ab036cb141d78663cf29e80001713e22d0e1c1458a78661b4f876e296a90e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): src/store/key_store_admin_privacy_read.rs:104-118 | src/store/key_store_alert_projection.rs:1108-1126 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_admin_privacy_read.rs:104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7496abdf8c93a19819771f8516c6fd165d061470fe88cd9139102b5d8a53d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/store/key_store_request_logs_and_dashboard.rs:1432-1450 | src/store/key_store_token_logs.rs:562-580 \u2014 before extracting anything, compare \u0060src/store/key_store_request_logs_and_dashboard.rs\u0060 and \u0060src/store/key_store_token_logs.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 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 \u0060src/store/key_store_request_logs_and_dashboard.rs:1432\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8cfc3af24a965de92ecabe4302bb5070fc9bd6cdbe600506bd5293a9cb58f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/forward_proxy/storage.rs:1011-1028 | src/forward_proxy/storage.rs:1123-1140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/forward_proxy/storage.rs:1011\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/storage.rs"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4763409ac48431fe25fb951f7d5075a5923e6f8e0425cadf751665b65ca5d20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/server/handlers/blog_runtime.rs:220-237 | src/server/handlers/blog_runtime.rs:238-255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/blog_runtime.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6713046805784aa4404c8f6a3d38890117a5df36b17abade2d75a7313d3fb302"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/server/handlers/tavily.rs:1164-1181 | src/server/handlers/tavily.rs:1447-1464 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:1164\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9d04c7c0774463a1e54f6d782e74a5211e38856ebbb4104473f199a3243d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/server/proxy/proxy_handlers_and_views.rs:2105-2122 | src/server/proxy/proxy_handlers_and_views.rs:2177-2194 \u2014 both copies are in the same file, so extract the block 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 \u0060record\u0060 to \u0060RequestLogRecord\u0060 in one and \u0060TokenLogRecord\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"93862e07e6b098be478f0ebad00ba4a3e71ded8ea699dfd04f35a3492d96c370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): src/server/schedulers.rs:2164-2181 | src/server/schedulers.rs:2183-2200 | src/server/schedulers.rs:2201-2218 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/schedulers.rs:2164\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":2164}}}],"partialFingerprints":{"codehealthFindingId/v1":"10350b85f21a24efde79296aa75d8f6f08489a32c754fba4bdc17a2289c33727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/server/state.rs:846-863 | src/server/state.rs:878-895 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc37392e4d68f83f7134509e31c31f7b23568070cd76c5b07d5c8cb90b2a1a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/server/state.rs:1000-1017 | src/server/state.rs:1021-1038 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7e1799ba100f8a57a6fac1b071d44c24aba75881af77a5624ceb3aee4e0939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/store/key_store_alerts.rs:999-1016 | src/store/key_store_alerts.rs:2552-2569 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:999\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff7146e61045ed824cf926e6f8ce338b2625686e0d52a30a10b2bf91c2163b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): src/store/key_store_alerts.rs:2001-2018 | src/store/key_store_alerts.rs:2126-2141 \u2014 both copies are in the same file, so extract the block 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":"src/store/key_store_alerts.rs"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9592b1c1469d2c058d85cfaa353a5ffeb39c3b9aa3c5b151f88ca37ac35d92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/store/key_store_request_logs_gc.rs:178-195 | src/store/key_store_request_logs_gc.rs:417-434 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_request_logs_gc.rs:178\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_gc.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a832e11abdc38ece13ddfa7812c86bc9ba90b74a7d81319e085be0982bcfd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/tavily_proxy/proxy_http_and_logs.rs:394-411 | src/tavily_proxy/proxy_http_and_logs.rs:1624-1641 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:394\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2189dcf97ffad0c26583b62a2f3ec0b033b0531863c0bffab198a2aecd29cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/tavily_proxy/proxy_http_and_logs.rs:1571-1588 | src/tavily_proxy/proxy_http_and_logs.rs:1837-1854 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:1571\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed8bc717ec908edba791de3cadb60a20532b472a2039f751c583ef1c1390b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 5): src/tavily_proxy/proxy_http_and_logs.rs:466-479 | src/tavily_proxy/proxy_http_and_logs.rs:818-834 | src/tavily_proxy/proxy_http_and_logs.rs:1086-1102 | src/tavily_proxy/proxy_http_and_logs.rs:1384-1397 | src/tavily_proxy/proxy_http_and_logs.rs:1663-1676 \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 \u0060src/tavily_proxy/proxy_http_and_logs.rs:466\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/tavily_proxy/proxy_http_and_logs.rs:816\u0060 calls \u0060header\u0060, \u0060body\u0060, \u0060clone\u0060 and \u0060src/tavily_proxy/proxy_http_and_logs.rs:1662\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c15a93bb37eff8d4aac998604299caad4e090183f80e6abb083b0be132080b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/server/proxy/proxy_handlers_and_views.rs:1212-1228 | src/server/proxy/proxy_handlers_and_views.rs:1272-1288 | src/server/proxy/proxy_handlers_and_views.rs:1318-1334 \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":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"886e884f9733790a1e1a737de8a144628d0729f3ffa419e2578e134d3d6e57d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/store/key_store_linuxdo_credit_recharge.rs:927-943 | src/store/key_store_linuxdo_credit_recharge.rs:1154-1170 | src/store/key_store_linuxdo_credit_recharge.rs:1255-1271 \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":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa7c6bca3f7a169b42aa2406fbb49cd293c304a5fba8e0b8cfb1306158f24bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/store/key_store_request_logs_and_dashboard.rs:909-925 | src/store/key_store_request_logs_and_dashboard.rs:1748-1764 | src/store/key_store_token_logs.rs:841-857 \u2014 before extracting anything, compare \u0060src/store/key_store_request_logs_and_dashboard.rs\u0060 and \u0060src/store/key_store_token_logs.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 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 \u0060src/store/key_store_request_logs_and_dashboard.rs:909\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"121eeb396fd5692e5650b0223caca317ff6739721128d514dcfb9e7ab2f29eb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src/lib.rs:1086-1101 | src/lib.rs:1103-1119 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/lib.rs:1086\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ec484fcfb7eea66a2218b40a24209c479b1d0e4610872d8389845df3054552"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/lib.rs:2893-2909 | src/server/handlers/admin_resources/versions_and_proxy_helpers.rs:568-584 \u2014 before extracting anything, compare \u0060src/lib.rs\u0060 and \u0060src/server/handlers/admin_resources/versions_and_proxy_helpers.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/lib.rs:2893\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/lib.rs:2891\u0060 calls \u0060drop\u0060 and \u0060src/server/handlers/admin_resources/versions_and_proxy_helpers.rs:566\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2893}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4bfae4088e9b3cdf6f37beac476b913a4a1774a3b547b2db4b9d0db382c641"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/server/handlers/tavily.rs:1275-1291 | src/server/handlers/tavily.rs:1558-1574 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:1275\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dbbc06b8c15e0e65443d61755d767240411bc991e90a709870c9642025df66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/server/proxy/proxy_handlers_and_views.rs:147-163 | src/server/proxy/proxy_handlers_and_views.rs:174-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/proxy/proxy_handlers_and_views.rs:147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"901544c25a6261a3b1388373843d1c14577fb512e22f8a469cbd9d80fa7cd871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): src/store/key_store_alerts.rs:2037-2051 | src/store/key_store_alerts.rs:2151-2167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:2037\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58824457c3d0ebffc1a37a3bedd9c647aeb4501e536ae8c7984c4c5f23e45b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src/store/key_store_keys.rs:1367-1382 | src/store/key_store_keys.rs:1402-1418 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_keys.rs:1402\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d17206ae833aaa6c6076d5cca33269a4ed6a6165f440197d75489f26739c94f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): src/store/key_store_upstream_reconciliation_research.rs:446-460 | src/store/key_store_upstream_reconciliation_research.rs:528-544 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation_research.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"e044d3fe62f83dacbc7737e1714fb743e43e0826a4e9710a7fbcfeaceae2ecdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): src/store/sqlite_runtime.rs:2185-2199 | src/store/sqlite_runtime_cooperative.rs:272-288 \u2014 before extracting anything, compare \u0060src/store/sqlite_runtime.rs\u0060 and \u0060src/store/sqlite_runtime_cooperative.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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 \u0060src/store/sqlite_runtime.rs:2185\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":2185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da5283d12e8b65d74b00c0cef4d20be673a037c6636ccc94b28ffdf3c21f949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/tavily_proxy/proxy_http_and_logs.rs:752-768 | src/tavily_proxy/proxy_http_and_logs.rs:1022-1038 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0397e7351e1933d50c5af7b0bd953ae70daaec79719ec67663000e92d9e43d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/tavily_proxy/proxy_quota_sync_and_jobs.rs:378-394 | src/tavily_proxy/proxy_quota_sync_and_jobs.rs:420-436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_quota_sync_and_jobs.rs:378\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc15d4440182d3f33bfc4b72e6fa72dc2b65894ebdd96cd9dea905452859ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): src/tavily_proxy/proxy_http_and_logs.rs:574-589 | src/tavily_proxy/proxy_http_and_logs.rs:898-913 | src/tavily_proxy/proxy_http_and_logs.rs:1174-1189 | src/tavily_proxy/proxy_http_and_logs.rs:1491-1506 | src/tavily_proxy/proxy_http_and_logs.rs:1756-1771 \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 \u0060src/tavily_proxy/proxy_http_and_logs.rs:574\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e86d0690477be7eb8780090888df8ec42b29bda9968572260c7a9d4cf40d79d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/server/dto.rs:1616-1631 | src/server/dto.rs:2063-2078 | src/server/handlers/admin_resources/api_keys_and_logs.rs:871-886 \u2014 before extracting anything, compare \u0060src/server/dto.rs\u0060 and \u0060src/server/handlers/admin_resources/api_keys_and_logs.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/dto.rs:1616\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ace8391a23b121e1a77bde49022337515e81fd2455ab636eec3179280958559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/server/dto.rs:1651-1666 | src/server/dto.rs:1705-1720 | src/server/handlers/admin_resources/api_keys_and_logs.rs:974-989 \u2014 before extracting anything, compare \u0060src/server/dto.rs\u0060 and \u0060src/server/handlers/admin_resources/api_keys_and_logs.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/dto.rs:1651\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ae1835da8220c596702dd6efe6c394fc22ad8fb9ae656205c717e08e020550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/server/dto.rs:1982-1997 | src/server/dto.rs:2112-2127 | src/server/dto.rs:2181-2196 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/dto.rs:1982\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcfa134f77a9aa26ae8e327daf801ba568f114cf5fafab81d3f1067b137cfce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/store/mod.rs:2116-2131 | src/store/mod.rs:2293-2308 | src/store/mod.rs:2518-2533 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/mod.rs:2116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"99473def9fcc905b46d71f796ab0749ec855ea1d3125b96895c276684e04c2dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/server/schedulers.rs:1636-1651 | src/server/schedulers.rs:1662-1677 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/schedulers.rs:1662\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e96369a541731e60ded592edabc40f10969e73d136e1d1e5c7c6e48583ba657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/store/key_store_alerts.rs:1064-1079 | src/store/key_store_alerts.rs:1120-1135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:1064\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcd437eb362c64739781fe86a4becb93f1e57d7d639f65da2ad88486a112156"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/store/key_store_dashboard_quota_recovery.rs:629-644 | src/store/key_store_request_logs_and_dashboard.rs:2318-2333 \u2014 before extracting anything, compare \u0060src/store/key_store_dashboard_quota_recovery.rs\u0060 and \u0060src/store/key_store_request_logs_and_dashboard.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"a126443fa83cfd8a7d579971e68f884231654edb2113ceec15af8523ffd9f069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/store/key_store_upstream_reconciliation.rs:2293-2307 | src/store/key_store_upstream_reconciliation.rs:2555-2570 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_upstream_reconciliation.rs:2293\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2293}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6c278e133891b6fa191cc067b4a87f893c515b2283f5f3531e41dd71ad74dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/store/sqlite_runtime_cooperative.rs:214-229 | src/store/sqlite_runtime_cooperative.rs:232-247 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/sqlite_runtime_cooperative.rs:214\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5165262e53b11dfb3387766af70ea2cfeb73133edbd52562eb3cd9a5fa42050"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/tavily_proxy/mod.rs:1807-1821 | src/tavily_proxy/mod.rs:1842-1857 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/mod.rs:1807\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/mod.rs"},"region":{"startLine":1807}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf37616fad92ed9184556bd231fbaf6b956022d7f4ade1146e0fc28e472f768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): src/store/sqlite_runtime.rs:3628-3642 | src/store/sqlite_runtime.rs:3690-3704 | src/store/sqlite_runtime_cooperative.rs:61-75 | src/store/sqlite_runtime_cooperative.rs:111-125 | src/store/sqlite_runtime_cooperative.rs:166-180 \u2014 before extracting anything, compare \u0060src/store/sqlite_runtime.rs\u0060 and \u0060src/store/sqlite_runtime_cooperative.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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 \u0060src/store/sqlite_runtime.rs:3628\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3628}}}],"partialFingerprints":{"codehealthFindingId/v1":"f732a8810d2a7fc4d827ebc73716c12d9395c317a21162eacb620a47de6987c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/server/proxy/proxy_handlers_and_views.rs:1419-1433 | src/server/proxy/proxy_handlers_and_views.rs:1438-1452 | src/server/proxy/proxy_handlers_and_views.rs:1497-1511 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/proxy/proxy_handlers_and_views.rs:1419\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"8819bd4025b7fd2fa30268c9e9acc1a58dd409c20783ffd13d112fe78e445c84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/server/state.rs:983-997 | src/server/state.rs:1004-1018 | src/server/state.rs:1025-1039 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/state.rs:983\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bb11cf6caa0ec79d0a11240547708d737c6dabb26eae0c4308ab779c7b839d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/tavily_proxy/proxy_http_and_logs.rs:631-645 | src/tavily_proxy/proxy_http_and_logs.rs:1549-1563 | src/tavily_proxy/proxy_http_and_logs.rs:1815-1829 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:631\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce817cd3af32de4d8c0b77ab0fa61dca3d6ddb75b17c04e4a4275f0f005ae11a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/tavily_proxy/proxy_http_and_logs.rs:1570-1584 | src/tavily_proxy/proxy_http_and_logs.rs:1747-1761 | src/tavily_proxy/proxy_http_and_logs.rs:1836-1850 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:1570\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a37ae86ab5c0463250e4e62cf0b8d258e43a021b6fe048e665f4c2501ab69d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/lib.rs:702-716 | src/lib.rs:726-740 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/lib.rs:702\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"5631a33f41d4f3b16a9dbc1c8ea59d3d1d7dd65696b722cb5f803c8857847d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/server/handlers/admin_resources/admin_user_views_and_sort.rs:383-397 | src/server/handlers/user.rs:1323-1337 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/admin_user_views_and_sort.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"54162da2f42976a46e7dbfede56a1ac60ae83a8c36aaefdef7d7b8abffc816af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/server/handlers/tavily.rs:410-438 | src/server/handlers/tavily.rs:757-785 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:410\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b64735193f779b7b24af7e3ff38070d6ecc81641bef0bb47f55661206cf2d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/server/handlers/tavily.rs:905-919 | src/server/handlers/tavily.rs:1048-1062 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"1035b6b8cc013446c26e806716089081e01859fdd2fd36f4a8d5da26b09ba514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/server/proxy/proxy_handlers_and_views.rs:897-911 | src/server/proxy/proxy_handlers_and_views.rs:1026-1040 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ce1a377c59721f911ca5dc15519788532f54e16f48e7e2c0cfcfad4b953d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/store/key_store_alert_canonical_groups.rs:1023-1037 | src/store/key_store_alert_canonical_groups.rs:1179-1193 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_groups.rs:1023\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"94251069b9a532039a235b64581cae19adef5b39b170cf89cb336cdc8abd9f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/store/key_store_alert_canonical_semantic_reduction.rs:564-578 | src/store/key_store_alert_canonical_semantic_reduction.rs:1217-1231 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_semantic_reduction.rs:564\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_semantic_reduction.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8f775f91401852a4af9eff03f1b8ac940ca488186697688ac5e7e2ea11a9d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/store/key_store_alert_event_projection.rs:272-286 | src/store/key_store_alert_event_projection.rs:312-326 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_event_projection.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b53ec279c9c7983d2b28fc31506d775ec76ca7fd351fbdefcfbb1f5aacf1ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/store/key_store_token_logs.rs:148-162 | src/store/key_store_token_logs.rs:171-185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32239ea4880744cf42f353846948e6a3744751c770d14af7c0d59a7007efeab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/store/key_store_users_and_oauth.rs:809-824 | src/store/key_store_users_and_oauth.rs:870-884 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_users_and_oauth.rs:809\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7889c4e2fc4fe99fd7cf223cfa0c0d57aade5e487ed779d5174839dd376b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src/store/reconciliation_projection_controller.rs:302-315 | src/store/reconciliation_projection_controller.rs:543-557 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/reconciliation_projection_controller.rs:302\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_projection_controller.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fd4296070963eef4bfe4a2c739869795075f505d44a0af0f6ffc004f59414e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src/store/sqlite_runtime.rs:1435-1449 | src/store/sqlite_runtime.rs:1607-1620 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/sqlite_runtime.rs:1435\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3ad780dc6deaa9d27691750f9db3adc18e181b5ca052db0625feee9aa79884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 6): src/store/sqlite_runtime.rs:3366-3375 | src/store/sqlite_runtime.rs:3626-3639 | src/store/sqlite_runtime.rs:3688-3701 | src/store/sqlite_runtime_cooperative.rs:60-72 | src/store/sqlite_runtime_cooperative.rs:110-122 | src/store/sqlite_runtime_cooperative.rs:165-177 \u2014 before extracting anything, compare \u0060src/store/sqlite_runtime.rs\u0060 and \u0060src/store/sqlite_runtime_cooperative.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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 \u0060src/store/sqlite_runtime.rs:3366\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 \u0060self\u0060 to \u0060crate) async fn close(mut\u0060 in one and \u0060crate) async fn close_after_query( mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3366}}}],"partialFingerprints":{"codehealthFindingId/v1":"153dcad7375f1d3bdcf9d0a3cafec6e3e69e741250bd252699a1c01989e4aef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/lib.rs:1086-1099 | src/lib.rs:1103-1116 | src/lib.rs:1121-1134 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/lib.rs:1086\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"132af605ef2fff824b498eaf879fcb9e259c8e9494fe15eb01e0a272980760e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/server/dto.rs:1965-1978 | src/server/dto.rs:2093-2106 | src/server/dto.rs:2164-2177 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/server/dto.rs:1963\u0060 calls \u0060unwrap_or\u0060, \u0060max\u0060, \u0060clamp\u0060 and \u0060src/server/dto.rs:2163\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab25a56286c9524a6630c54ac08af2dd6fe1d8a85a77dd82c71572abc0534adb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/server/handlers/tavily.rs:687-700 | src/server/handlers/tavily.rs:1308-1321 | src/server/handlers/tavily.rs:1591-1604 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:687\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc47662e062ec313b694b9e7b5fc02f287d67b32592b7eda1442e1ae1cd5f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): src/store/key_store_announcements.rs:329-342 | src/store/key_store_observability_sidecar.rs:1159-1171 | src/store/key_store_observability_sidecar.rs:1259-1271 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_announcements.rs:329\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/store/key_store_observability_sidecar.rs:1257\u0060 calls \u0060bind\u0060 and \u0060src/store/key_store_observability_sidecar.rs:1157\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_announcements.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e067647b28b839cb8ba31c9fe0c915f53541aff2e506413c6e9e9e11ce651471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/tavily_proxy/proxy_request_limits.rs:481-494 | src/tavily_proxy/proxy_request_limits.rs:1163-1176 | src/tavily_proxy/proxy_request_limits.rs:1209-1222 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_request_limits.rs:481\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_request_limits.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05c6e623616135c19f600353563b1cca3c56158b9cb3ff345cb49db941aacc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/server/ha_peer_lookup.rs:19-33 | src/server/ha_peer_lookup.rs:92-106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ha_peer_lookup.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97381edc2734de75cbcbaff7ac51b8e14c342f3f4d94924704f767031bb529e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/server/handlers/admin_resources/alerts.rs:126-150 | src/server/handlers/admin_resources/alerts.rs:231-255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/alerts.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9fee97b782604c319b655c6388459985de6cd284029c460fe67e824ac0c9da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/server/proxy/proxy_handlers_and_views.rs:1243-1255 | src/server/proxy/proxy_handlers_and_views.rs:1345-1358 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/proxy/proxy_handlers_and_views.rs:1345\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdc1132ec25daac96e38a8731d7d8a77d96ba491c9abdf7112dabbea4aea195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/server/serve.rs:1106-1119 | src/server/serve.rs:1426-1439 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/serve.rs:1106\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, \u0060src/server/serve.rs:1120\u0060 calls \u0060now\u0060 and \u0060src/server/serve.rs:1440\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee90583b61cc44f68fc36d347e721838d7b1b956a9ed87d2111990a7f9934d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/store/key_store_alert_canonical_groups.rs:1820-1833 | src/store/key_store_alert_canonical_groups.rs:2204-2217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_groups.rs:1820\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d5ef06362df9687ae8abd48d1b2efd5e242288a8c4abd88a2742b6d04503ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/store/key_store_alert_projection.rs:376-389 | src/store/key_store_alert_projection.rs:567-580 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_projection.rs:376\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_projection.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"8988b40d1a36aa93ab2ba7342ae7ba8879accc417c472e0c62b6746e0764a76b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): src/store/key_store_alerts.rs:1047-1058 | src/store/key_store_alerts.rs:1185-1198 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:1185\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"38976334ea6e6b74bebf1c5b42f37ebcff6bd559f4b29d80ef585afc30d4b5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/store/key_store_alerts.rs:2874-2887 | src/store/key_store_alerts.rs:2895-2908 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":2874}}}],"partialFingerprints":{"codehealthFindingId/v1":"3034a4f72f82d4e8f2f89f13a3212af4d10ab58559dff59d7423fc5b4a71df7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/store/key_store_ha.rs:374-387 | src/store/key_store_ha.rs:1147-1160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f5bacf2bb9ab461c0a4da88a24d1cf1af833d7540ccc65a00378eb405bc1a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/store/key_store_keys.rs:1574-1587 | src/store/key_store_keys.rs:1722-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_keys.rs:1574\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28d5d3b0dceb8543e58954dc32c60f478bea63b35f1ac50ed6ab11538179b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/store/key_store_upstream_reconciliation.rs:2318-2331 | src/store/key_store_upstream_reconciliation.rs:2581-2594 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_upstream_reconciliation.rs:2318\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2318}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e7f1d331b91338f148299ddbee50122fe1dafe65b2f93977b474e1ab26618d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/store/key_store_upstream_reconciliation.rs:2938-2951 | src/store/key_store_upstream_reconciliation.rs:3008-3021 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2938}}}],"partialFingerprints":{"codehealthFindingId/v1":"2777243f538a693c7ea46fa58886df789f88c28b05465671d7d14431683ab1a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): src/tavily_proxy/mod.rs:731-743 | src/tavily_proxy/mod.rs:763-775 | src/tavily_proxy/mod.rs:795-807 | src/tavily_proxy/mod.rs:827-839 | src/tavily_proxy/mod.rs:859-871 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/mod.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"798fa32b075ff670f1ae81e961b6f041233b9bbff5de08a3ba5cfd56fac34235"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 5): src/tavily_proxy/proxy_http_and_logs.rs:388-400 | src/tavily_proxy/proxy_http_and_logs.rs:756-768 | src/tavily_proxy/proxy_http_and_logs.rs:1026-1038 | src/tavily_proxy/proxy_http_and_logs.rs:1318-1329 | src/tavily_proxy/proxy_http_and_logs.rs:1618-1630 \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 \u0060src/tavily_proxy/proxy_http_and_logs.rs:388\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f992b92ab3d786c9f2277dfda1c541de736f011c6c2960aa29b66800df3c4d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/store/key_store_request_logs_and_dashboard.rs:1007-1019 | src/store/key_store_request_logs_and_dashboard.rs:1036-1048 | src/store/key_store_token_logs.rs:1002-1014 | src/store/key_store_token_logs.rs:1072-1084 \u2014 before extracting anything, compare \u0060src/store/key_store_request_logs_and_dashboard.rs\u0060 and \u0060src/store/key_store_token_logs.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 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 \u0060src/store/key_store_request_logs_and_dashboard.rs:1007\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"e456b793576c1298b42f968ac3f88fdb30168587060f8361cf72dcf736dff068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/tavily_proxy/proxy_http_and_logs.rs:869-881 | src/tavily_proxy/proxy_http_and_logs.rs:948-960 | src/tavily_proxy/proxy_http_and_logs.rs:1145-1157 | src/tavily_proxy/proxy_http_and_logs.rs:1224-1236 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:869\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cacb8300c84b7227102ca3da78418529c698d10202dd0492a335a27fe61e65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): src/tavily_proxy/proxy_http_and_logs.rs:921-933 | src/tavily_proxy/proxy_http_and_logs.rs:983-994 | src/tavily_proxy/proxy_http_and_logs.rs:1197-1209 | src/tavily_proxy/proxy_http_and_logs.rs:1259-1270 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:921\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcaef8393e0ac0f4b55a454276fc00af105c8d0a871a34a303edd72128f7c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/store/key_store_alert_canonical_groups.rs:1899-1911 | src/store/key_store_alert_canonical_groups.rs:2080-2092 | src/store/key_store_alert_canonical_groups.rs:2176-2188 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_groups.rs:1899\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfcbf3b74d9c3736a982e6a66585770a11626844b3e3c0c265a16a203e6b63d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/store/key_store_dashboard_quota_recovery.rs:539-551 | src/store/key_store_dashboard_quota_recovery.rs:616-628 | src/store/key_store_dashboard_quota_recovery.rs:664-676 \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":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8f51765cfb1095466acd2d1c9051f8e5c89bbee345b450bcd54aa59dd3d1dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/store/key_store_token_logs.rs:1940-1952 | src/store/key_store_token_logs.rs:1973-1985 | src/store/key_store_token_logs.rs:2001-2013 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_token_logs.rs:1940\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f23692415e8d4c470dc2554fe65b5f6481a1badf1bf266832587184d0ae63a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/analysis.rs:368-380 | src/analysis.rs:401-413 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/analysis.rs:368\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f6424485e74f08cca101be2a75fe49f253db55a19dee42ec78590c9532e72e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/bin/mcp_session_delete_neutral_repair.rs:602-614 | src/bin/mcp_session_delete_neutral_repair.rs:764-776 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/bin/mcp_session_delete_neutral_repair.rs:602\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_session_delete_neutral_repair.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"847c04b5f984c9b0d7bfea94e2cb9bf1e33fabeaa63ce646922510151d3af998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/forward_proxy/responses_and_validation.rs:1377-1389 | src/forward_proxy/responses_and_validation.rs:1411-1423 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/forward_proxy/responses_and_validation.rs:1377\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"639f46b91cca500c446f7e45f7350f37c69d0939a00129b9ca6123cb80636b03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/ha.rs:743-755 | src/server/handlers/admin_resources/ha.rs:553-565 \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 \u0060src/ha.rs:743\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ha.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"343f76d3d11ec6242d1cb38b6d9371984ae79ab00064bd43566eaade606f9094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/lib.rs:2728-2740 | src/server/handlers/admin_resources/versions_and_proxy_helpers.rs:442-454 \u2014 before extracting anything, compare \u0060src/lib.rs\u0060 and \u0060src/server/handlers/admin_resources/versions_and_proxy_helpers.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2728}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9def00dd0ce8c598d05377ec7c33f645c73a349d0872c62914bf130d5f86b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/remote_attempt_admission.rs:464-476 | src/remote_attempt_admission.rs:598-610 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/remote_attempt_admission.rs:464\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote_attempt_admission.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a84a721d3c37fa6cfa42495c4b0229f7ce50364ce5231480656a011041a23a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/server/handlers/admin_resources/ha.rs:1496-1508 | src/server/handlers/admin_resources/ha.rs:1536-1548 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/ha.rs:1496\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, \u0060src/server/handlers/admin_resources/ha.rs:1509\u0060 calls \u0060clone\u0060 and \u0060src/server/handlers/admin_resources/ha.rs:1549\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8f5561fa4dab9800218bb39a606b5b5d70dc400e30f67650b9b0ce1e6d2d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:304-316 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:374-386 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:304\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be540c34f656209fc9d3d83909e12bedfc8d208764c6af029b041b2aa2da45d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/store/key_store_alert_canonical_groups.rs:1954-1966 | src/store/key_store_alert_canonical_groups.rs:2240-2252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_groups.rs:1954\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/store/key_store_alert_canonical_groups.rs:1953\u0060 calls \u0060bind\u0060 and \u0060src/store/key_store_alert_canonical_groups.rs:2239\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10d5808c6b05d7cd76aa5a3196282be750e4b795220a6f4e15633a6d55586fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/store/key_store_alert_canonical_groups.rs:2204-2216 | src/store/key_store_alert_canonical_groups.rs:2305-2317 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"254417307c624bbe8ae1542590c63500c2665051bd318711566f1bc56b9144df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/store/key_store_alert_canonical_semantic_reduction.rs:717-729 | src/store/key_store_alert_canonical_semantic_reduction.rs:755-767 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_semantic_reduction.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"273a8df50be0e9e4e3571b515b7df7f44439d8e8493198b34a141c9f07a4ac85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/store/key_store_alert_event_projection.rs:149-161 | src/store/key_store_alert_event_projection.rs:387-399 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_event_projection.rs:149\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b660d88536b898dc122799177fc68df13fc0fe80be846a7da002522940ed933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/store/key_store_dashboard_quota_recovery.rs:576-588 | src/store/key_store_dashboard_quota_recovery.rs:726-738 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_dashboard_quota_recovery.rs:576\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37e81f8494708ffede2759ac30536df295f037b58c290450cacce90692f1aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/store/key_store_dashboard_rollup_integrity.rs:443-454 | src/store/key_store_dashboard_rollup_integrity.rs:941-953 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_dashboard_rollup_integrity.rs:443\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e6556b7cd3b4bb4411b8d4a805a7649be4f7bc48fcaae665d2fb0ca20157fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/store/key_store_dashboard_rollup_integrity.rs:440-452 | src/store/key_store_dashboard_rollup_integrity.rs:2938-2949 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_dashboard_rollup_integrity.rs:440\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4543dd76fcc96ce7dfb7b095952007b486ac448f2f938e1bc4ce0f6322c8b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): src/store/key_store_dashboard_rollup_integrity.rs:1740-1761 | src/store/key_store_request_logs_gc.rs:254-276 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4883c87719f3214c153b659bee85a88de396dd915211cc694e2c863a5a169e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/store/key_store_request_logs_and_dashboard.rs:1465-1476 | src/store/key_store_token_logs.rs:595-607 \u2014 before extracting anything, compare \u0060src/store/key_store_request_logs_and_dashboard.rs\u0060 and \u0060src/store/key_store_token_logs.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 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":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cfb5d45709250ea29b4a4d1fccf77d235483744aebc4c0326270685b889886"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/store/key_store_upstream_reconciliation.rs:2897-2909 | src/store/key_store_upstream_reconciliation.rs:2967-2978 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_upstream_reconciliation.rs:2897\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2897}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa2ea9301a0017b835b9c74aa80bbab2c741a39a31753cbab7f0d2b87ea5155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): src/store/key_store_users_and_oauth.rs:1282-1294 | src/store/key_store_users_and_oauth.rs:1396-1406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_users_and_oauth.rs:1282\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac0a510539587cf2d3854b7d799939140c8e5e52e5046b4e73a54fdeaca18fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/store/key_store_users_and_oauth.rs:2043-2055 | src/store/key_store_users_and_oauth.rs:2326-2338 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_users_and_oauth.rs:2043\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bcb5a4ff64aa6ba939ef3936683fe9a819fdbf4957dcd0c905a7615e42a54b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/tavily_proxy/proxy_http_and_logs.rs:794-806 | src/tavily_proxy/proxy_http_and_logs.rs:1062-1074 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:794\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/tavily_proxy/proxy_http_and_logs.rs:793\u0060 calls \u0060insert\u0060, \u0060to_string\u0060, \u0060Bool\u0060 and \u0060src/tavily_proxy/proxy_http_and_logs.rs:1061\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca665a4e3eeace6f7078f29b7a281c07245002e7cf97a0a082ac45de486ac13f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201312 lines \u00D7 5): src/store/key_store_account_usage_rollups.rs:572-583 | src/store/key_store_account_usage_rollups.rs:586-597 | src/store/key_store_account_usage_rollups.rs:600-611 | src/store/key_store_account_usage_rollups.rs:614-625 | src/store/key_store_account_usage_rollups.rs:626-630 \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 \u0060src/store/key_store_account_usage_rollups.rs:572\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/store/key_store_account_usage_rollups.rs:571\u0060 calls \u0060then_with\u0060, \u0060cmp\u0060 and \u0060src/store/key_store_account_usage_rollups.rs:626\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_account_usage_rollups.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbd9790d6463b1b8500a0c22ef01b9a4f6f884d17337ae17a4b2ae7bb728670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/bin/observability_lock_holder.rs:22-33 | src/bin/support/sqlite_sidecar.rs:236-247 | src/store/mod.rs:1276-1287 \u2014 before extracting anything, compare \u0060src/bin/support/sqlite_sidecar.rs\u0060 and \u0060src/store/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/bin/observability_lock_holder.rs:22\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/observability_lock_holder.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f5f77e49f7e86fcf4e69b0410055e4d145feae143f4f20ed88579c9473f24d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/store/key_store_announcements.rs:508-519 | src/store/key_store_announcements.rs:548-559 | src/store/key_store_announcements.rs:664-675 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_announcements.rs:508\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/store/key_store_announcements.rs:506\u0060 calls \u0060bind\u0060 and \u0060src/store/key_store_announcements.rs:546\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_announcements.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab07dc6662e6a46d455de2b3b0a99dfb9c7cc01602bb8d898dd336e231bed24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/store/key_store_keys.rs:1528-1541 | src/store/key_store_keys.rs:1576-1588 | src/store/key_store_keys.rs:1724-1735 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_keys.rs:1528\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0dc9afabbb057c86339335037c6eb99a3124d06cdf17c97d1021dc24e2d236"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/store/key_store_token_logs.rs:326-337 | src/store/key_store_token_logs.rs:360-371 | src/store/key_store_token_logs.rs:439-450 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_token_logs.rs:326\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/store/key_store_token_logs.rs:324\u0060 calls \u0060Some\u0060 and \u0060src/store/key_store_token_logs.rs:437\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbfa2e1c278352f56d68eb01b5195ed4197b4d613e7a07b3cd1004fa3660edc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/store/sqlite_runtime_cooperative.rs:38-49 | src/store/sqlite_runtime_cooperative.rs:216-227 | src/store/sqlite_runtime_cooperative.rs:234-245 \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 before the matched lines, \u0060src/store/sqlite_runtime_cooperative.rs:215\u0060 calls \u0060Database\u0060 and \u0060src/store/sqlite_runtime_cooperative.rs:37\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b2b59f32a34dfc0dbed6b96c6f4a9c3af5e59717992128c83c2407be20a114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/tavily_proxy/proxy_http_and_logs.rs:497-508 | src/tavily_proxy/proxy_http_and_logs.rs:1119-1130 | src/tavily_proxy/proxy_http_and_logs.rs:1414-1425 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:497\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, \u0060src/tavily_proxy/proxy_http_and_logs.rs:1412\u0060 calls \u0060redact_api_key_bytes\u0060 and \u0060src/tavily_proxy/proxy_http_and_logs.rs:1117\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"141fcce993ccbef0c04b07f4683519d8f89b25d2787383c504de7816ab88eb5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/bin/mcp_request_log_retry_repair.rs:383-394 | src/bin/mcp_search_billing_repair.rs:480-491 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_request_log_retry_repair.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e1120d3af590ca25f25d1ce6d2b33a781760be8f8f27804f392debd998158b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/forward_proxy/relay_and_xray.rs:963-973 | src/forward_proxy/relay_and_xray.rs:994-1005 \u2014 both copies are in the same file, so extract the block 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/forward_proxy/relay_and_xray.rs:992\u0060 calls \u0060run_shared_api_command\u0060, \u0060from_ref\u0060 and \u0060src/forward_proxy/relay_and_xray.rs:962\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/relay_and_xray.rs"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"4893920cd4083792dcae4466012baf91b94e0a7d6eb6885052febdf2473e7537"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/forward_proxy/storage.rs:394-405 | src/forward_proxy/storage.rs:471-482 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/forward_proxy/storage.rs:394\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/storage.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a0df5e4f8d039d862e4dcc8e0fdee0f8d2247c92b5b2b681275a55d039e271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/lib.rs:3000-3011 | src/server/handlers/admin_resources/admin_user_views_and_sort.rs:612-623 \u2014 before extracting anything, compare \u0060src/lib.rs\u0060 and \u0060src/server/handlers/admin_resources/admin_user_views_and_sort.rs\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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/lib.rs:3000\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060tag\u0060 to \u0060\u0026UserTagRecord\u0060 in one and \u0060\u0026tavily_hikari::AdminUserTag\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":3000}}}],"partialFingerprints":{"codehealthFindingId/v1":"32abbd4f0fb0127de7acbd5bd8439e2dc7498fc6bc3891860fc895b58508916d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/server/handlers/admin_resources/api_keys_and_logs.rs:44-55 | src/server/handlers/admin_resources/api_keys_and_logs.rs:313-324 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/api_keys_and_logs.rs:44\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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 after the matched lines, \u0060src/server/handlers/admin_resources/api_keys_and_logs.rs:326\u0060 calls \u0060with_capacity\u0060 and \u0060src/server/handlers/admin_resources/api_keys_and_logs.rs:57\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c994afa012098cb2a3d846a42177607ddabcc586d61561452377a8bb97486b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:350-360 | src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:581-592 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:350\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a928315e318105102d602c99f09706194532762dd7e899b0aba18d3e5594c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:24-35 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:58-69 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:55\u0060 calls \u0060Path\u0060 and \u0060src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:21\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"773921a9d41f5022e8f3a9d84a9e9df89e899c71d4e48993cd07359134b314b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:1602-1613 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:1631-1642 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"009cef017854f228c495a7a17768c7e6953743d5dedfd7ec376dfaba021737d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/server/handlers/tavily.rs:1445-1456 | src/server/proxy/proxy_handlers_and_views.rs:1716-1727 \u2014 before extracting anything, compare \u0060src/server/handlers/tavily.rs\u0060 and \u0060src/server/proxy/proxy_handlers_and_views.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:1445\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3db061df0f1ef603830ea90dc8ca8ae72f1c6f43db67623c6dd613848e8daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/server/handlers/user.rs:2806-2817 | src/server/handlers/user.rs:2861-2872 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/user.rs:2806\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ddc02c8142f12a5d89825e233bc37336344b902ce5ee12edc410c7c74f2574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/server/serve.rs:1013-1024 | src/server/serve.rs:1046-1057 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"6945013d40ada20091049e4c806d302249962743285b1dbb25c344f591e626be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/server/serve.rs:1121-1132 | src/server/serve.rs:1440-1451 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/serve.rs:1121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd706f0e750ce4df35687bdcbc86d239179706382279af0ad57dc7564740fa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/server/serve.rs:1319-1330 | src/server/serve.rs:1634-1645 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/serve.rs:1319\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b25e5a95c4802a044f13c5cc973ab792569685eef84aee8a45801a8acccd897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/server/state.rs:2054-2065 | src/server/state.rs:2119-2130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"7971cf64fd61b52e00d23c885ddfcccb63d8d2629fe878455d3cbbff4b15bf8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/store/key_store_alert_canonical_groups.rs:437-448 | src/store/key_store_alert_canonical_groups.rs:1358-1369 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_groups.rs:437\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"467d5d8897eabda02c9a4b197a63ab3729e4278356e5eb496e0775d861aacc35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/store/key_store_alerts.rs:1333-1343 | src/store/key_store_alerts.rs:1850-1861 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:1850\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2e89f555ebd095aa14218d1be03119e67301bcc5df75cca5ac0241d40bb1a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/store/key_store_ha.rs:822-833 | src/store/key_store_ha.rs:948-959 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_ha.rs:822\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e0a1b34cafd69ffe660e4d803a9642906875b13d48e33863d652107e28be15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/store/key_store_ha.rs:1636-1647 | src/store/key_store_ha.rs:1778-1789 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1653139cdaa5d80ebac7a9f76158d58784937dd5e92775962ccb12aeff20c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/store/key_store_ha_gc_online.rs:406-417 | src/store/key_store_ha_gc_online.rs:444-455 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_ha_gc_online.rs:406\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha_gc_online.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b18009c3a1c1453973b1c1422a5bb78bff41ac5423194cf52126751c42a033"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/store/key_store_keys.rs:436-447 | src/store/key_store_keys.rs:470-481 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_keys.rs:436\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61fa217af8fa9aa19a75e2159136bd57885d3afc1743d38ae161801a625f0ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/store/key_store_keys.rs:2411-2422 | src/store/key_store_keys.rs:2468-2479 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_keys.rs:2411\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":2411}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f350457bd016c3849182ca6610591ed9e443c98792a25e81bf6de228be5b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/store/key_store_request_logs_and_dashboard.rs:1061-1071 | src/store/key_store_request_logs_and_dashboard.rs:1154-1165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_request_logs_and_dashboard.rs:1061\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"541e1d82859b25bf47d3b020bbad0f0c7e7c969b4cae69d0d3e8410fc2a0c122"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/store/key_store_request_logs_and_dashboard.rs:1173-1184 | src/store/key_store_request_logs_and_dashboard.rs:1241-1252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_request_logs_and_dashboard.rs:1173\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/store/key_store_request_logs_and_dashboard.rs:1171\u0060 calls \u0060Some\u0060 and \u0060src/store/key_store_request_logs_and_dashboard.rs:1239\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07ec4887c25829cb3bee310b9a1118bdb4a6c707e81262c213d941d0ab110c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/store/key_store_request_stats_coalescer.rs:185-196 | src/tavily_proxy/proxy_request_limits.rs:449-460 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_stats_coalescer.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"07218a906f6a297d635250ccb244b2af87ce269a6988852eaad2feb69c92388d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/store/key_store_upstream_reconciliation.rs:1990-2001 | src/store/key_store_upstream_reconciliation.rs:2045-2055 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_upstream_reconciliation.rs:1990\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"69763cb477c241d8816b9b147df76766b452f773bfeebeaf7bec6b8a0285901e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/store/key_store_upstream_reconciliation.rs:2286-2297 | src/store/key_store_upstream_reconciliation.rs:2435-2446 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_upstream_reconciliation.rs:2286\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/store/key_store_upstream_reconciliation.rs:2434\u0060 calls \u0060bind\u0060 and \u0060src/store/key_store_upstream_reconciliation.rs:2285\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce1381cfe4c0a9b9efc10da4e1074a41fd525b5d7888344876f4a0b01419e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/store/reconciliation_projection_controller.rs:269-279 | src/store/reconciliation_projection_controller.rs:514-525 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/reconciliation_projection_controller.rs:269\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_projection_controller.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b859aa2937c75d005f563abb900a29d6e8b747c492c970e23c2434353e5c5f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/store/sqlite_runtime.rs:4152-4163 | src/store/sqlite_runtime.rs:4197-4208 \u2014 both copies are in the same file, so extract the block 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 \u0060self\u0060 to \u0060crate) async fn rollback(mut\u0060 in one and \u0060crate) async fn finish( \u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":4152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2064fea6fd5976518e859d5d43f57707ee02a351350229f214c54122ae33376"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): src/server/dto.rs:1660-1671 | src/server/dto.rs:1714-1725 | src/server/dto.rs:1991-2001 | src/server/dto.rs:2121-2132 | src/server/dto.rs:2190-2201 | src/server/handlers/admin_resources/api_keys_and_logs.rs:983-994 \u2014 before extracting anything, compare \u0060src/server/dto.rs\u0060 and \u0060src/server/handlers/admin_resources/api_keys_and_logs.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de533dfff9bcf67208105ff00ec5f06782f60ef516d3cd046324a5bda8663aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): src/store/key_store_ha.rs:1572-1582 | src/store/key_store_ha.rs:1612-1622 | src/store/key_store_ha.rs:1633-1643 | src/store/key_store_ha.rs:1700-1710 | src/store/key_store_ha.rs:1754-1764 | src/store/key_store_ha.rs:1775-1785 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_ha.rs:1572\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f95aa563398bb8a8fcb2cdd5062c40efd192450c40de1871313a89e93f2c7e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/tavily_proxy/proxy_http_and_logs.rs:501-511 | src/tavily_proxy/proxy_http_and_logs.rs:1123-1133 | src/tavily_proxy/proxy_http_and_logs.rs:1418-1428 | src/tavily_proxy/proxy_http_and_logs.rs:1697-1707 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:501\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"7827574cfb9112401c5ccc3ecbb71f7c3e85462002e1034aa0b3b6ac6ffa924e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): src/analysis.rs:42-52 | src/analysis.rs:370-378 | src/analysis.rs:403-411 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ea5333c85b54fdb8b765e7200fdcec0c07aeebea8007a9c93c6d795b77dd31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:221-231 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:296-306 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:366-376 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:221\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcaa37bfd4475adfd435ac72cc24871d37becc2bd4cd52bbd872bf35427d0f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/store/key_store_alert_canonical_groups.rs:437-447 | src/store/key_store_alert_canonical_groups.rs:915-925 | src/store/key_store_alert_canonical_groups.rs:1358-1368 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_groups.rs:437\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbccfc3325ca4ff66562bf00092d6a4adcefdc1962384a1b5362ba02f0552cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): src/store/key_store_users_and_oauth.rs:798-807 | src/store/key_store_users_and_oauth.rs:858-868 | src/store/key_store_users_and_oauth.rs:1009-1019 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_users_and_oauth.rs:798\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/store/key_store_users_and_oauth.rs:1008\u0060 calls \u0060bind\u0060 and \u0060src/store/key_store_users_and_oauth.rs:797\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"c312d550cfa460e2bd5a20d96f336b309404438533211297606bfae981f062c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): src/tavily_proxy/proxy_http_and_logs.rs:455-464 | src/tavily_proxy/proxy_http_and_logs.rs:1373-1382 | src/tavily_proxy/proxy_http_and_logs.rs:1652-1662 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbf3aae241a356b1a2045a7eefcb429fc5efc409ad5c7356955083b124050d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/bin/mcp_request_log_retry_repair.rs:153-175 | src/bin/mcp_request_log_retry_repair.rs:206-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/bin/mcp_request_log_retry_repair.rs:153\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/bin/mcp_request_log_retry_repair.rs:205\u0060 calls \u0060bind\u0060, \u0060saturating_add\u0060 and \u0060src/bin/mcp_request_log_retry_repair.rs:152\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_request_log_retry_repair.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"041c27fb6e66c1b4c1d5ac439395d3fe69f288b02c5130b0eb632e39b140f136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/bin/mcp_session_delete_neutral_repair.rs:584-594 | src/bin/mcp_session_delete_neutral_repair.rs:740-750 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/bin/mcp_session_delete_neutral_repair.rs:584\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_session_delete_neutral_repair.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a6e727e883a241c07a1214c5bbd89006ff58edb7aeff9047679dcfc47601ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/lib.rs:3032-3042 | src/server/handlers/admin_resources/admin_user_views_and_sort.rs:646-656 \u2014 before extracting anything, compare \u0060src/lib.rs\u0060 and \u0060src/server/handlers/admin_resources/admin_user_views_and_sort.rs\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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/lib.rs:3032\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060entry\u0060 to \u0060\u0026AccountQuotaBreakdownRecord\u0060 in one and \u0060\u0026tavily_hikari::AdminUserQuotaBreakdownEntry\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":3032}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e5e10623bef0093691ce43710deb5d235586d9d246c89080df4b1fccba54e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/server/handlers/admin_resources/ha.rs:133-148 | src/server/serve.rs:1033-1048 \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 \u0060src/server/handlers/admin_resources/ha.rs:133\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060perf\u0060 to \u0060HaPerfEvent\u0060 in one and \u0060HaSyncPerfEvent\u003C\u0027_\u003E\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/server/serve.rs:1049\u0060 calls \u0060unwrap_or\u0060 and \u0060src/server/handlers/admin_resources/ha.rs:149\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0a3033d29509e7b5dc981b4e1639e47624eca039624dc607f6620f579c95bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:280-290 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:350-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 \u0060src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:280\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa8eb80c53372fbfea7fe15d019512f9bca758532a0fddad9b089f19a242d03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/server/handlers/public.rs:872-882 | src/server/handlers/user.rs:2539-2548 \u2014 before extracting anything, compare \u0060src/server/handlers/public.rs\u0060 and \u0060src/server/handlers/user.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 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 \u0060src/server/handlers/public.rs:872\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b841f1cc51af6561fab883de7c991a6f96c1326904699c2b1cdcdf986634a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/server/handlers/tavily.rs:397-407 | src/server/handlers/tavily.rs:736-746 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d13b16c3a34ac72b700fbfa356f4c1e2fe9a7eb7391852314abd3261f4adada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/store/key_store_alert_canonical_semantic_reduction.rs:596-606 | src/store/key_store_alert_canonical_semantic_reduction.rs:650-660 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_semantic_reduction.rs:596\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_semantic_reduction.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c06b8f1a495f393424781e3ef9ffdcafe50194f6c83b961cf614bd61e4eba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/store/key_store_alert_projection.rs:301-311 | src/store/key_store_alert_projection.rs:495-505 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_projection.rs:301\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_projection.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"369096e6ce1a8552a988b591e19de4c0541367ed1b14a864dac536c79291e07e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): src/store/key_store_alerts.rs:1919-1929 | src/store/key_store_alerts.rs:2602-2610 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:1919\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efe3321b431456e3d22af91c8cfab25d43e0b563dba5ebf6fbce8e817d26756"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/store/key_store_dashboard_quota_recovery.rs:801-811 | src/store/key_store_dashboard_quota_recovery.rs:861-871 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_dashboard_quota_recovery.rs:801\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef756542a8f10fb45ef3f65787b3ef525e42b13dbcc1dd9cb3447bfc91eaf3a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/store/key_store_dashboard_rollup_integrity.rs:687-697 | src/store/key_store_dashboard_rollup_integrity.rs:2782-2792 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7876f225632790d578be194dd474ce6cf80fe89ffaa58aafa5bc50f3f94ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/store/key_store_dashboard_rollup_integrity.rs:1162-1172 | src/store/key_store_dashboard_rollup_integrity.rs:1393-1403 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"101abf9f2acfe51933047aa90e398167ab05cc35f46f6a7dd3fbd8fb43ff416c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/store/key_store_ha.rs:85-95 | src/store/key_store_ha.rs:744-755 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_ha.rs:85\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53a15f480160c158801e6b33651123df95a5ada680ac2a5e4f1cb595dbc12f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/store/key_store_request_logs_and_dashboard.rs:1478-1488 | src/store/key_store_token_logs.rs:609-618 \u2014 before extracting anything, compare \u0060src/store/key_store_request_logs_and_dashboard.rs\u0060 and \u0060src/store/key_store_token_logs.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 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 \u0060src/store/key_store_request_logs_and_dashboard.rs:1478\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f720efb9468e628e40f5dc46d1e76c65636529619a808484d49de5fa3b4f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/store/mod.rs:2100-2110 | src/store/mod.rs:2277-2287 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/mod.rs:2100\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0d676376b4de0d95258da74a868b7f468002e9d71016299d97ccf52b95becc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/store/sqlite_runtime.rs:2143-2152 | src/store/sqlite_runtime.rs:2340-2350 \u2014 both copies are in the same file, so extract the block 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":"src/store/sqlite_runtime.rs"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8638a4de89669f6774d24c9daecb0d648e02304413cb7f08f3fb28be904184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/store/sqlite_runtime_cooperative.rs:301-311 | src/store/sqlite_runtime_cooperative.rs:347-356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/sqlite_runtime_cooperative.rs:301\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac361cf5deeb4eff67919ad5564438b5453d88fd8f6c89ab1e7a91e03ab3c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): src/tavily_proxy/proxy_request_limits.rs:1305-1312 | src/tavily_proxy/proxy_request_limits.rs:1424-1434 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_request_limits.rs"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f827e055b0c10919a22087b4e29e1a9658e89491a0e29e098e1604f6a7c60815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): src/server/dto.rs:1549-1559 | src/server/dto.rs:1648-1658 | src/server/dto.rs:1702-1712 | src/server/dto.rs:1979-1989 | src/server/dto.rs:2109-2119 | src/server/dto.rs:2178-2188 | src/server/handlers/admin_resources/api_keys_and_logs.rs:971-981 \u2014 before extracting anything, compare \u0060src/server/dto.rs\u0060 and \u0060src/server/handlers/admin_resources/api_keys_and_logs.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/server/dto.rs:1547\u0060 calls \u0060unwrap_or\u0060, \u0060max\u0060, \u0060clamp\u0060 and \u0060src/server/dto.rs:1701\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"983f603a46dc97f3de486d3f9e1d084e99c47eb7a10e765948590ce3bee77e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/server/handlers/admin_resources/ha.rs:739-748 | src/server/handlers/admin_resources/ha.rs:856-865 | src/server/handlers/admin_resources/ha.rs:895-904 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/ha.rs:739\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, \u0060src/server/handlers/admin_resources/ha.rs:866\u0060 calls \u0060iter\u0060, \u0060enumerate\u0060 and \u0060src/server/handlers/admin_resources/ha.rs:749\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbf6fd1564903e37262f015b8b1562f4f771b378134158575ec13a0136353d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/store/key_store_alerts.rs:1049-1058 | src/store/key_store_alerts.rs:1189-1198 | src/store/key_store_alerts.rs:1326-1335 \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":"src/store/key_store_alerts.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8a7a54407ca9837864880bde6e8f46a098d9276925fc48cc1200410a1478b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/store/sqlite_runtime.rs:4156-4165 | src/store/sqlite_runtime.rs:4201-4210 | src/store/sqlite_runtime.rs:4266-4275 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/sqlite_runtime.rs:4156\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060crate) async fn rollback(mut\u0060 in one and \u0060crate) async fn finish( \u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":4156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fb89ae56c9e899dfcdc04567dd0641a4ea54df3444131b9c37e681b7aaf875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/analysis.rs:2180-2189 | src/analysis.rs:2238-2247 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/analysis.rs:2180\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060out\u0060 to \u0060\u0026mut HashMap\u003CString, i64\u003E\u0060 in one and \u0060\u0026mut HashMap\u003CString, bool\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"148d026222573a6112245fd8ae03e5d523451ec87a1d843c2d7e23b767c70687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/bin/ha_outbox_cleanup_once.rs:283-292 | src/bin/ha_outbox_cleanup_once.rs:318-327 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/ha_outbox_cleanup_once.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"af053f17da5b219255f00e3aa42f7383cb4a7680dd00093bf236884b7766634c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/forward_proxy/responses_and_validation.rs:1680-1689 | src/forward_proxy/responses_and_validation.rs:1713-1722 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/forward_proxy/responses_and_validation.rs:1690\u0060 calls \u0060query_flag_true\u0060, \u0060insert\u0060, \u0060to_string\u0060 and \u0060src/forward_proxy/responses_and_validation.rs:1723\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d096d664887625422c781805d3d9ced1041f5166b77231549544b1445c2bff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/remote_attempt_admission.rs:180-193 | src/remote_attempt_admission.rs:213-222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote_attempt_admission.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"19261406bc53e667b7b4f32ec29a7d56cd4d2f441609a6c6a1ad52a6dd550154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/server/handlers/admin_auth.rs:1719-1728 | src/server/handlers/admin_auth.rs:1746-1755 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/server/handlers/admin_auth.rs:1717\u0060 calls \u0060Json\u0060 and \u0060src/server/handlers/admin_auth.rs:1744\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_auth.rs"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0924181e2c0f77a08564a72b269e611687ab2b80cf9e37fb67d6a09ebfb9ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/server/handlers/admin_resources/api_keys_and_logs.rs:521-530 | src/server/handlers/admin_resources/api_keys_and_logs.rs:666-675 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24fcb8923dee5154517b8564ccb5db216c93c0fe45a16a2fdbd11dd904ff2f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/server/handlers/public.rs:1797-1806 | src/server/handlers/user.rs:1638-1647 \u2014 before extracting anything, compare \u0060src/server/handlers/public.rs\u0060 and \u0060src/server/handlers/user.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 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":"src/server/handlers/public.rs"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cac9db13b5c15b8b31f8409c75751565c48152c7067da4e9e3f0d08cb6516b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/server/spa.rs:304-313 | src/server/spa.rs:318-327 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/spa.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"79579bb0ccdb78cf5ada48bd3ec0e65355ab0c5642352b686fd64a6d0f168520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/key_store_dashboard_quota_recovery.rs:773-782 | src/store/key_store_dashboard_quota_recovery.rs:833-842 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d00e6e2b9ec63da28404ea413bbefaef5a06a3628ce02fdb4f4b19b805eaaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/key_store_dashboard_rollup_integrity.rs:2193-2202 | src/store/key_store_dashboard_rollup_integrity.rs:2507-2517 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_dashboard_rollup_integrity.rs:2193\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"416a45fc7c0c76af3b568643a40dc6778f59065678d299844b7df05b892b29f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/key_store_keys.rs:1966-1975 | src/store/key_store_keys.rs:1994-2003 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_keys.rs:1966\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1966}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ab806a7da2810136a71e23664364048080dc077c64d19175788fdf07ded083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/key_store_request_logs_and_dashboard.rs:575-584 | src/store/key_store_token_logs.rs:116-125 \u2014 before extracting anything, compare \u0060src/store/key_store_request_logs_and_dashboard.rs\u0060 and \u0060src/store/key_store_token_logs.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 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":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c07a57ff86ef711fea071924e052a0072db0f248842c2436742a1f7f983da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/key_store_upstream_reconciliation.rs:2275-2284 | src/store/key_store_upstream_reconciliation.rs:2423-2432 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_upstream_reconciliation.rs:2275\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2275}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4987d3d4ba7f87905031243f0fa142061c413872d69f3b20d94a3b83738648"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/key_store_upstream_reconciliation.rs:2514-2523 | src/store/key_store_upstream_reconciliation.rs:2625-2634 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_upstream_reconciliation.rs:2514\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc20ee0002796897352b216bf369889578b35d00108a17079faafa21d6af536"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/store/key_store_users_and_oauth.rs:264-272 | src/store/key_store_users_and_oauth.rs:635-644 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_users_and_oauth.rs:264\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a072ab67670d77904fa4627db3e2a7fe1a6d297b5021dcb47fe0eeb1d71bbf00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/key_store_users_and_oauth.rs:629-638 | src/store/key_store_users_and_oauth.rs:1032-1041 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_users_and_oauth.rs:629\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f821937b0779f572def11014da0359c5a222afe2243d6c8a820c14f3bd42ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/key_store_users_and_oauth.rs:885-894 | src/store/key_store_users_and_oauth.rs:1038-1047 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_users_and_oauth.rs:885\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdd27e56e2e473e151e458ba91f4af7a3dbfa24dcffd625fcdba18ddf284244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/tavily_proxy/proxy_quota_sync_and_jobs.rs:1013-1022 | src/tavily_proxy/proxy_quota_sync_and_jobs.rs:1044-1053 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_quota_sync_and_jobs.rs:1013\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"579e98c1c591e28dc516447977a751a57f60c8a3a1f2da01581bf1684a0bd3d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/tavily_proxy/proxy_quota_sync_and_jobs.rs:2622-2631 | src/tavily_proxy/proxy_quota_sync_and_jobs.rs:2634-2643 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_quota_sync_and_jobs.rs:2622\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":2622}}}],"partialFingerprints":{"codehealthFindingId/v1":"402df37face9b97f71e336446ec314b6d865bc18cd16f254389bc27d29080839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/tavily_proxy/proxy_quota_sync_and_jobs.rs:2716-2725 | src/tavily_proxy/proxy_quota_sync_and_jobs.rs:2749-2760 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_quota_sync_and_jobs.rs:2716\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04bb0aaca914e5faa1223bcff93beadf3eb35b761388d8ca5e882c362e17c26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/server/handlers/tavily.rs:647-655 | src/server/handlers/tavily.rs:1241-1249 | src/server/handlers/tavily.rs:1523-1531 | src/server/proxy/proxy_handlers_and_views.rs:1796-1804 \u2014 before extracting anything, compare \u0060src/server/handlers/tavily.rs\u0060 and \u0060src/server/proxy/proxy_handlers_and_views.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:647\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d86ac0ceede72ac66d13ef1731a1ec54bf1af35b36e0cc0c7213b808b16542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): src/server/handlers/user.rs:1538-1545 | src/server/handlers/user.rs:1561-1568 | src/server/handlers/user.rs:2577-2585 | src/server/handlers/user.rs:2662-2669 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/user.rs:1538\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aaaf554f70ff974ce3c53ba78de6a6c2dc365b4fc462851f83b8fcaed1f2b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/store/key_store_alert_canonical_groups.rs:1898-1906 | src/store/key_store_alert_canonical_groups.rs:2000-2008 | src/store/key_store_alert_canonical_groups.rs:2079-2087 | src/store/key_store_alert_canonical_groups.rs:2175-2183 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_groups.rs:1898\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dcf716f1dad5afde1c09f79e2e2bb22f23fb9e6f38163111022e52198b735f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): src/store/sqlite_runtime.rs:2145-2152 | src/store/sqlite_runtime.rs:2186-2193 | src/store/sqlite_runtime.rs:2342-2350 | src/store/sqlite_runtime_cooperative.rs:275-282 \u2014 before extracting anything, compare \u0060src/store/sqlite_runtime.rs\u0060 and \u0060src/store/sqlite_runtime_cooperative.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4bf12cd2aa76516b4fb35e48b0ed80167d0a3f261f16af5272902d9044e742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/server/handlers/tavily.rs:1121-1129 | src/server/handlers/tavily.rs:1410-1418 | src/server/proxy/proxy_handlers_and_views.rs:1679-1687 \u2014 before extracting anything, compare \u0060src/server/handlers/tavily.rs\u0060 and \u0060src/server/proxy/proxy_handlers_and_views.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:1121\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b15d2ea2ef2250807c6a335165ba76d2f492338f73769710e9a3a688c764054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/store/key_store_alert_canonical_groups.rs:1948-1956 | src/store/key_store_alert_canonical_groups.rs:2030-2038 | src/store/key_store_alert_canonical_groups.rs:2129-2137 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_groups.rs:1948\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0dd6e489fc92f2f2e45ee34a1f075320a659fa265035aa04d836eb8091aaee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/store/key_store_request_logs_and_dashboard.rs:576-584 | src/store/key_store_token_logs.rs:117-125 | src/store/key_store_token_logs.rs:129-137 \u2014 before extracting anything, compare \u0060src/store/key_store_request_logs_and_dashboard.rs\u0060 and \u0060src/store/key_store_token_logs.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 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":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f505141df39468bc237d5b4b7f773040ff8d11b793475342dea869a8cdb5db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/store/key_store_upstream_reconciliation.rs:1340-1348 | src/store/key_store_upstream_reconciliation.rs:1425-1433 | src/store/key_store_upstream_reconciliation_research.rs:702-710 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b7e9686152703e63bccded7b4850878f1398a7bb14e86d5325a3cee12b70f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/tavily_proxy/proxy_http_and_logs.rs:851-859 | src/tavily_proxy/proxy_http_and_logs.rs:1126-1134 | src/tavily_proxy/proxy_http_and_logs.rs:1700-1708 \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":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfbbe485d71ea84c3e0da91ca686e54820724edeab3851a61d35843ced991cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/forward_proxy/responses_and_validation.rs:1693-1701 | src/forward_proxy/responses_and_validation.rs:1723-1731 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0319ccb369f41202ec40f4aa0a1c235c20147d64aa4d7954c1f01a783903791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/linuxdo_credit_recharge.rs:329-337 | src/server/handlers/admin_resources/recharges_and_totp.rs:676-684 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/linuxdo_credit_recharge.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd900d316592af5824bed678bc2f4dbc25634306ee23a4dc41d805a289e884f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/server/handlers/admin_resources/api_keys_and_logs.rs:503-511 | src/server/handlers/admin_resources/api_keys_and_logs.rs:555-563 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/api_keys_and_logs.rs:503\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cd91d8dce2ed3d0270a07f2fb42c6e99bb8faec7e4ba1a056b780b69825b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/server/handlers/admin_resources/ha.rs:1865-1873 | src/server/handlers/admin_resources/ha.rs:2085-2093 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/ha.rs:1865\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"f834528f61cfe85369b333c50a5c2668ace28703a51fdb191d0eb37613ed417a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/server/handlers/admin_resources/recharges_and_totp.rs:289-304 | src/server/handlers/admin_resources/recharges_and_totp.rs:313-328 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/recharges_and_totp.rs:289\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/recharges_and_totp.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc96f23e988f74c0dfd95af2fcc7a83ff457ec7e6d92e08fd0ad176198e2ca5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/server/handlers/public.rs:1238-1246 | src/server/handlers/public.rs:1671-1679 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/public.rs:1238\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad0d5170d3f815d94afa11f562b32c39c0484c4ab27dbd380bd7c308bca1e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/server/handlers/user.rs:2111-2119 | src/server/handlers/user.rs:2189-2197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/user.rs:2111\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/server/handlers/user.rs:2198\u0060 calls \u0060from_value\u0060, \u0060map_err\u0060, \u0060to_string\u0060 and \u0060src/server/handlers/user.rs:2120\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":2111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a987865b0f54ef70fc94cd869bc7de81425ca7cc135bca3e1befec2ad55a4b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/key_store_alert_event_projection.rs:634-643 | src/store/key_store_alert_event_projection.rs:758-767 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/store/key_store_alert_event_projection.rs:769\u0060 calls \u0060bounded_alert_event_identifier_value\u0060 and \u0060src/store/key_store_alert_event_projection.rs:645\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"048fb0cc24f765b4f39f40cb040ad78a74011c8222be19af456ffee32d7d8930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src/store/key_store_alerts.rs:1316-1324 | src/store/key_store_alerts.rs:1838-1845 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:1316\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"746f222a459d1e59ebc8155870ebd631d66abcc3b28d2b68ad26c5d13987b96b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/store/key_store_request_stats_coalescer.rs:634-642 | src/store/key_store_request_stats_coalescer.rs:659-667 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_request_stats_coalescer.rs:634\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060crate) async fn commit(mut\u0060 in one and \u0060\u0026mut\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/store/key_store_request_stats_coalescer.rs:643\u0060 calls \u0060drop\u0060 and \u0060src/store/key_store_request_stats_coalescer.rs:668\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_stats_coalescer.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"f088ba33e295e8529f1f6325a61d6db47332fbbe59e25e5ed91b1cd5d603e0e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/store/key_store_upstream_reconciliation.rs:357-365 | src/store/key_store_upstream_reconciliation_research.rs:559-567 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_upstream_reconciliation.rs:357\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6250d743d7fd1d2bc6e18dc912d72dd77b13f775f2819d4fc273271a2acffa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src/store/key_store_upstream_reconciliation.rs:896-904 | src/store/key_store_upstream_reconciliation.rs:962-969 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_upstream_reconciliation.rs:896\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c393a1bb6559b09b74f7d5efc017fb1e609bb6dacc1424f8e15910f39464ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/store/key_store_upstream_reconciliation.rs:1967-1975 | src/store/key_store_upstream_reconciliation.rs:2011-2019 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_upstream_reconciliation.rs:1967\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a89a95e73a2262278a0da458888bf19ea387a038e521f8511d0b699c5cce4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/tavily_proxy/mod.rs:1563-1571 | src/tavily_proxy/mod.rs:1623-1631 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/mod.rs:1563\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/mod.rs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"0271a40946424689c5ee8c537c038f0542f8b7bf784ac062b2267efda966637c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/tavily_proxy/proxy_http_and_logs.rs:268-276 | src/tavily_proxy/proxy_http_and_logs.rs:338-346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:268\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ec5149b23d6241d3981560c1bdc63afc461249d6cbfcdd5ff8fa57eaf7fc59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/tavily_proxy/proxy_http_and_logs.rs:443-451 | src/tavily_proxy/proxy_http_and_logs.rs:1361-1369 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:443\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e918348bb895e8418c5be19a518bdbf59e2b7a7a86c4fb244e8d512682a812"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 10): src/server/handlers/tavily.rs:647-653 | src/server/handlers/tavily.rs:1121-1128 | src/server/handlers/tavily.rs:1146-1153 | src/server/handlers/tavily.rs:1241-1247 | src/server/handlers/tavily.rs:1410-1417 | src/server/handlers/tavily.rs:1435-1442 | src/server/handlers/tavily.rs:1523-1529 | src/server/proxy/proxy_handlers_and_views.rs:1679-1686 | src/server/proxy/proxy_handlers_and_views.rs:1705-1712 | src/server/proxy/proxy_handlers_and_views.rs:1796-1802 \u2014 before extracting anything, compare \u0060src/server/handlers/tavily.rs\u0060 and \u0060src/server/proxy/proxy_handlers_and_views.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:647\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf9275e33cfea1569f1b88fee9ea05df20909611a561030deafdf4d8ea0c748"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): src/tavily_proxy/proxy_http_and_logs.rs:504-511 | src/tavily_proxy/proxy_http_and_logs.rs:851-858 | src/tavily_proxy/proxy_http_and_logs.rs:1126-1133 | src/tavily_proxy/proxy_http_and_logs.rs:1421-1428 | src/tavily_proxy/proxy_http_and_logs.rs:1700-1707 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50443f5b03fb6583ef085eedb2059bc994f1cb9d05136f39b5d76c932092007"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/store/key_store_upstream_reconciliation.rs:2274-2281 | src/store/key_store_upstream_reconciliation.rs:2422-2429 | src/store/key_store_upstream_reconciliation.rs:2513-2520 | src/store/key_store_upstream_reconciliation.rs:2624-2631 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_upstream_reconciliation.rs:2274\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2274}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b880dd5e88adb18e3627d10fecaf2acf121ea7b63d605057f93a8c3033292d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/bin/mcp_request_log_retry_repair.rs:389-396 | src/bin/mcp_search_billing_repair.rs:486-493 | src/bin/mcp_session_delete_neutral_repair.rs:1060-1067 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_request_log_retry_repair.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d781bd07c8c9fed41ae6e7e769b1261fb618a53fb80dbb09c347bb335a6637"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/lib.rs:3001-3008 | src/server/handlers/admin_resources/admin_user_views_and_sort.rs:613-620 | src/server/handlers/admin_resources/admin_user_views_and_sort.rs:630-637 \u2014 before extracting anything, compare \u0060src/lib.rs\u0060 and \u0060src/server/handlers/admin_resources/admin_user_views_and_sort.rs\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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060tag\u0060 to \u0060\u0026UserTagRecord\u0060 in one and \u0060\u0026tavily_hikari::AdminUserTag\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":3001}}}],"partialFingerprints":{"codehealthFindingId/v1":"0359ef44620af565994ddd4b73fa1db9125f1522b50bf9798d8ce3b27ecfc7bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/server/handlers/admin_resources/api_keys_and_logs.rs:482-489 | src/server/handlers/admin_resources/api_keys_and_logs.rs:504-511 | src/server/handlers/admin_resources/api_keys_and_logs.rs:579-586 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/api_keys_and_logs.rs:482\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43a87fb1d7fc8934749455bec84d978bcfef22110a3fd80b2693762a66e1031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:193-200 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:255-262 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:325-332 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:193\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"399891516ed26548f30a57776bef2ad1ce55d2ad58799e4cd10fb099af615f23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/server/handlers/public.rs:609-616 | src/server/handlers/tavily.rs:399-406 | src/server/handlers/tavily.rs:738-745 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/public.rs:609\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca20b5a84f919f1fea4deb478559574b170fb36baeb0614a3d56b5f42f35b868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/server/schedulers.rs:2548-2555 | src/server/schedulers.rs:2750-2757 | src/server/schedulers.rs:2909-2916 \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":"src/server/schedulers.rs"},"region":{"startLine":2548}}}],"partialFingerprints":{"codehealthFindingId/v1":"762acd615c7ff1e5ac952ab889cabcf17b3232b3f5611025937a83efd6159281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/forward_proxy/responses_and_validation.rs:424-431 | src/forward_proxy/responses_and_validation.rs:448-455 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/forward_proxy/responses_and_validation.rs:424\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf0d80b6b46fa1cd57c75e199b57ba5232eef6975b2371f9d47eb7668bed7ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/forward_proxy/responses_and_validation.rs:549-556 | src/forward_proxy/responses_and_validation.rs:564-571 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/forward_proxy/responses_and_validation.rs:549\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"e984ecf51cb9e6c75091c013200d6e327d557633decd6da2553db5b52d748c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/forward_proxy/responses_and_validation.rs:974-981 | src/forward_proxy/responses_and_validation.rs:998-1005 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b7b2da30ac94ee9eee71e2e6316d807e31ca21ea05412bc93e3290496cf4a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/lib.rs:2769-2776 | src/server/handlers/admin_resources/versions_and_proxy_helpers.rs:463-470 \u2014 before extracting anything, compare \u0060src/lib.rs\u0060 and \u0060src/server/handlers/admin_resources/versions_and_proxy_helpers.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2769}}}],"partialFingerprints":{"codehealthFindingId/v1":"81589ebb45307e3fa486c9fed11967cf4e2898ecec09660c3aa4f058babcfa25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/server/dto.rs:1811-1818 | src/server/dto.rs:2161-2168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/server/dto.rs:2158\u0060 calls \u0060RawQuery\u0060 and \u0060src/server/dto.rs:1808\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1231e6d23d0052f9f63b3db8b2d3c8ceba6574260b5d40b6200411539536008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/server/handlers/admin_resources/alerts.rs:153-160 | src/server/handlers/admin_resources/alerts.rs:258-265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/alerts.rs:153\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/alerts.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"94808ca3b2325ac8fed001e5e6402f328847900a22e0b0e7f0d177d18b5c4763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/server/handlers/admin_resources/ha.rs:780-787 | src/server/handlers/admin_resources/ha.rs:871-878 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/ha.rs:780\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"01eed1ab3d012fa62531a8372735430c3d5b66a2edaafc18766af92d66902c3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/server/handlers/admin_resources/ha.rs:2011-2018 | src/server/handlers/admin_resources/ha.rs:2360-2367 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/ha.rs:2011\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bb9dc2ed41be893fa6d10a32cfb5a7dcecada6b403a84e256336c837456d10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/server/handlers/tavily.rs:1092-1100 | src/server/handlers/tavily.rs:1368-1375 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:1092\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"490dbd97bfb6199c991d082b30c7e630dc4f0d1205c54a0232986ef0930d1651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/store/key_store_admin_privacy_read.rs:732-739 | src/store/key_store_admin_privacy_read.rs:740-748 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5f5acd4ce150aa9c4ca28006684ed007b863d23f84b41ee11f8a1a0dd1a60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/store/key_store_alerts.rs:2075-2082 | src/store/key_store_alerts.rs:2188-2195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:2075\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":2075}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb8d7d6db4c6af1632a269d68691b162bec539974f4756ce8a3e871b4020ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/store/key_store_keys.rs:2628-2635 | src/store/key_store_keys.rs:2693-2700 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_keys.rs:2628\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":2628}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa96ae23cef567122eff47e12d00770b199293a76bc449af08989ee15c0cb79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/store/key_store_linuxdo_credit_recharge.rs:728-735 | src/store/key_store_linuxdo_credit_recharge.rs:773-780 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_linuxdo_credit_recharge.rs:728\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c44ab10d48a88169f0c76359f413388224cfe093282e2b4b515020ceb749a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/store/key_store_request_logs_and_dashboard.rs:393-400 | src/store/key_store_request_logs_and_dashboard.rs:415-422 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_request_logs_and_dashboard.rs:393\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/store/key_store_request_logs_and_dashboard.rs:412\u0060 calls \u0060bind\u0060 and \u0060src/store/key_store_request_logs_and_dashboard.rs:392\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21d54a787a69b33754cd05c59e654138ecebeec388a244a471774695b56428e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/store/reconciliation_projection_controller.rs:702-709 | src/store/sqlite_runtime_maintenance_metrics.rs:353-360 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/reconciliation_projection_controller.rs:702\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_projection_controller.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1148d0e856d915f8ef48a9c41f51cd1d313cb90c2ad5e32d30e5d26502f7ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/store/sqlite_runtime.rs:3664-3671 | src/store/sqlite_runtime.rs:3731-3738 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/sqlite_runtime.rs:3664\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3664}}}],"partialFingerprints":{"codehealthFindingId/v1":"8544c6f379b155a20f26fce489b6a21b0ad4c6a85407c84df37cbae5b81d2c49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20138 lines \u00D7 3): src/tavily_proxy/proxy_http_and_logs.rs:426-430 | src/tavily_proxy/proxy_http_and_logs.rs:1060-1067 | src/tavily_proxy/proxy_http_and_logs.rs:1355-1362 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:426\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0169cfda11cb12be06091abf400b1baf4b4285ed19cb2a87e814965ce3e2086"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): src/tavily_proxy/proxy_http_and_logs.rs:174-180 | src/tavily_proxy/proxy_http_and_logs.rs:454-460 | src/tavily_proxy/proxy_http_and_logs.rs:808-814 | src/tavily_proxy/proxy_http_and_logs.rs:1076-1082 | src/tavily_proxy/proxy_http_and_logs.rs:1372-1378 | src/tavily_proxy/proxy_http_and_logs.rs:1651-1657 \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":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba561eb12c07c73279d6d3115d6c274f294f4b5431a474b6bb3a06d6fd0b1505"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/models.rs:2316-2324 | src/models.rs:2337-2345 | src/models.rs:2910-2918 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/models.rs:2316\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2316}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e6d90feea4b1805333a6ccebe64594a8659f5d7096d8655e59de1821aef05b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/server/handlers/user.rs:1588-1594 | src/server/handlers/user.rs:1843-1849 | src/server/handlers/user.rs:2141-2147 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/user.rs:1588\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"155b5fffab52df04ad40a3015bf1e8d869752f72c452c385d1aef053ffc2babb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/store/key_store_alerts.rs:1343-1349 | src/store/key_store_alerts.rs:2075-2082 | src/store/key_store_alerts.rs:2188-2195 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:2075\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"53542dbe6a7012972bb67cff7378fc5acec99ed16c2cb07e96a8f8c75004a701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): src/store/key_store_users_and_oauth.rs:824-848 | src/store/key_store_users_and_oauth.rs:889-913 | src/store/key_store_users_and_oauth.rs:1042-1066 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_users_and_oauth.rs:824\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"9258ba477e7158e1f7ee2c43944ce3bf7dce7769b4f9397f0df0fe94c3c2917e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/models.rs:2327-2333 | src/server/handlers/public.rs:1786-1792 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2327}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da22c4cdb37f6c2b21f9f0d148ad4803ef46d069ca1b73e23a6ba679339fb0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/server/dto.rs:947-953 | src/server/dto.rs:1025-1031 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060tavily_hikari::AlertEventRecord\u0060 in one and \u0060tavily_hikari::AlertGroupRecord\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5985c6bd9eeaac1b4141bc93e2ea615cc2f6a0e13fb2b5973a0b041cabfa73b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/server/handlers/admin_resources/announcements.rs:105-112 | src/server/handlers/admin_resources/announcements.rs:132-139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/announcements.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"286886d84bc9400b33839b08a666c259171bcaede4b8a8b70bf6083fd10c2cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/server/handlers/admin_resources/ha.rs:286-292 | src/server/handlers/admin_resources/ha.rs:479-485 \u2014 both copies are in the same file, so extract the block 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 \u0060status\u0060 to \u0060\u0026tavily_hikari::HaStatusView\u0060 in one and \u0060\u0026mut tavily_hikari::HaStatusView\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"5519ea33f5b368ae807af458da75b8636757ddd9c7ea97ba2bb21bcafa780c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/server/handlers/admin_resources/ha.rs:951-958 | src/server/handlers/admin_resources/ha.rs:1202-1209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/ha.rs:951\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22c9b918cde91eecfaed4f4648758f16b89ff80b63d3837cb03e242d897c47d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/server/handlers/blog_runtime.rs:197-203 | src/server/handlers/blog_runtime.rs:209-215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/blog_runtime.rs:197\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/blog_runtime.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb4b60a7549a018bc10ac2c851ebaae6dfad56b29559d1b298d10abbd90b309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/server/handlers/tavily.rs:1021-1027 | src/server/proxy/proxy_handlers_and_views.rs:1019-1025 \u2014 before extracting anything, compare \u0060src/server/handlers/tavily.rs\u0060 and \u0060src/server/proxy/proxy_handlers_and_views.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:1021\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a9404709fba4a2d7c54d92c33795261f88d44a93ce60ffebcd6d71814a19fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/store/key_store_alert_event_projection.rs:627-633 | src/store/key_store_alert_event_projection.rs:747-753 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a6f3da29baa635bbfbb5c9bd6a9630cebbcc3743f6cdda4b7a125b8b3f00ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/store/key_store_alerts.rs:2029-2035 | src/store/key_store_alerts.rs:2143-2149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:2029\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/store/key_store_alerts.rs:2142\u0060 calls \u0060iter\u0060, \u0060cloned\u0060, \u0060is_empty\u0060 and \u0060src/store/key_store_alerts.rs:2029\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8d625e21fff2ce58dd3cc6d911c557a03d74bcaefff95516140f68ab63a3ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): src/store/key_store_dashboard_quota_recovery.rs:740-745 | src/store/key_store_request_logs_and_dashboard.rs:2391-2397 \u2014 before extracting anything, compare \u0060src/store/key_store_dashboard_quota_recovery.rs\u0060 and \u0060src/store/key_store_request_logs_and_dashboard.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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 \u0060src/store/key_store_dashboard_quota_recovery.rs:740\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1d84fb2db5c5b6dc8ca6f19f98e761b4d093fb1a2b241422b2983413e848d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/store/key_store_ha.rs:2398-2404 | src/store/key_store_ha.rs:2414-2420 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_ha.rs:2398\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"339da8adccc38a4aa0ffb05024def70c81960912f8f99e574fd6b9a4a34ff37b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/store/key_store_ha.rs:2734-2740 | src/store/key_store_ha.rs:2903-2909 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":2734}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6955f4fc3494e5ddd1dfbfc6799828e726ed60c97d7e270104b55446e15f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/store/key_store_ha.rs:2974-2980 | src/store/key_store_ha.rs:3025-3031 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_ha.rs:2974\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":2974}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1be61d17778967af1fa91d3671e609a38c07da5f6e499bd3a9ff6cf0a9df3a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/store/sqlite_runtime.rs:3660-3666 | src/store/sqlite_runtime_cooperative.rs:228-234 \u2014 before extracting anything, compare \u0060src/store/sqlite_runtime.rs\u0060 and \u0060src/store/sqlite_runtime_cooperative.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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 \u0060src/store/sqlite_runtime.rs:3660\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3660}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cda36063905dd843eedcd7dedcab0766a2958cc17303757fac4d742fb2390a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/tavily_proxy/mod.rs:1450-1456 | src/tavily_proxy/mod.rs:1516-1522 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/mod.rs"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a50487eb38d9d721ebab537e95b5bc758e37fd94c4cd5d40c2b7e350b694ae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): src/tavily_proxy/proxy_http_and_logs.rs:447-452 | src/tavily_proxy/proxy_http_and_logs.rs:801-806 | src/tavily_proxy/proxy_http_and_logs.rs:1069-1074 | src/tavily_proxy/proxy_http_and_logs.rs:1365-1370 | src/tavily_proxy/proxy_http_and_logs.rs:1644-1649 \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 \u0060src/tavily_proxy/proxy_http_and_logs.rs:447\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"619be60f9855d9b0c1a46819409dbf35154234a7cfbd905caf03bca29f7159cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/server/handlers/public.rs:1516-1521 | src/server/handlers/user.rs:2812-2817 | src/server/handlers/user.rs:2867-2872 \u2014 before extracting anything, compare \u0060src/server/handlers/public.rs\u0060 and \u0060src/server/handlers/user.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 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 \u0060src/server/handlers/public.rs:1516\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"3372f8d15b97eeba6a8fa7fc5eb56125877c3225f1e6f3e338ff815f3ee07b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/store/key_store_upstream_reconciliation.rs:169-174 | src/store/key_store_upstream_reconciliation.rs:915-920 | src/store/key_store_upstream_reconciliation.rs:939-944 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_upstream_reconciliation.rs:169\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c929072dc2bc16a2763e51f6c0ce89a6009d1d33619654d077988a70ad41ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/store/key_store_upstream_reconciliation.rs:241-247 | src/store/key_store_upstream_reconciliation.rs:897-903 | src/store/key_store_upstream_reconciliation.rs:963-969 \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":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8d6888c429eaaa7bcbf23107d80a86a78f6da2ebf37f9a57d980938e22ada0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/store/sqlite_runtime.rs:3656-3661 | src/store/sqlite_runtime.rs:3664-3669 | src/store/sqlite_runtime.rs:3731-3736 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/sqlite_runtime.rs:3656\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3656}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf3c1d263e6e7ca50f161f82dd8995a0ae75855436aba2630aae5a0a484d5d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/server/handlers/admin_resources/api_keys_and_logs.rs:578-583 | src/server/handlers/admin_resources/api_keys_and_logs.rs:596-601 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/api_keys_and_logs.rs:578\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"44736329f60ebccbd032c8e690313bb03bb7977c4cad2fb3211fc1e7982acc0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/server/serve.rs:1798-1803 | src/server/serve.rs:1872-1877 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc118ac04be775cf948bf4b9cc6d47b8f480dcfa4be467e15b25aa686315460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 3): src/store/immediate_transaction.rs:156-161 | src/store/immediate_transaction.rs:172-174 | src/store/immediate_transaction.rs:178-183 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/immediate_transaction.rs:156\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060self\u0060 to \u0060crate) async fn commit_connection( mut\u0060 in one and \u0060crate) async fn rollback_connection( mut\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/store/immediate_transaction.rs:156\u0060 calls \u0060take\u0060, \u0060expect\u0060 and \u0060src/store/immediate_transaction.rs:172\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef79aacb0907dd04b21b1f3cf771e4f2c690d07f9791f8c36e27668298ad785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/store/key_store_alerts.rs:828-833 | src/store/key_store_alerts.rs:848-853 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:828\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"075b16c664065e78e0eec57b0b2a070948fd1ff827d644e12baa98906c6f7810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/store/key_store_alerts.rs:1056-1061 | src/store/key_store_alerts.rs:2607-2613 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:2607\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"325ebcd0bb945ad4c182fba177c79466438183d866e359e702ba732b3d7ca82c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/store/key_store_dashboard_quota_recovery.rs:592-597 | src/store/key_store_request_logs_and_dashboard.rs:2291-2297 \u2014 before extracting anything, compare \u0060src/store/key_store_dashboard_quota_recovery.rs\u0060 and \u0060src/store/key_store_request_logs_and_dashboard.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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 \u0060src/store/key_store_dashboard_quota_recovery.rs:592\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb80293d52574cd61e6b34074f199f6118ef45742be5164d0624a839bd7a0ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/store/key_store_ha.rs:550-555 | src/store/key_store_ha.rs:572-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2382b4b37782d427ccfa344c7b8211b8337a767447be47fdbacd1edd905d53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11): src/server/handlers/user.rs:1537-1542 | src/server/handlers/user.rs:1560-1565 | src/server/handlers/user.rs:1587-1592 | src/server/handlers/user.rs:1842-1847 | src/server/handlers/user.rs:1886-1891 | src/server/handlers/user.rs:2110-2115 | src/server/handlers/user.rs:2140-2145 | src/server/handlers/user.rs:2162-2167 | src/server/handlers/user.rs:2188-2193 | src/server/handlers/user.rs:2576-2581 | src/server/handlers/user.rs:2661-2666 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/server/handlers/user.rs:1543\u0060 calls \u0060parse_user_today_window_query\u0060 and \u0060src/server/handlers/user.rs:1593\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f5ac200f325b3cf517595b7747f9e988bf39ba30d1bf5922eac2cde4c7988b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): src/tavily_proxy/proxy_http_and_logs.rs:168-172 | src/tavily_proxy/proxy_http_and_logs.rs:448-452 | src/tavily_proxy/proxy_http_and_logs.rs:802-806 | src/tavily_proxy/proxy_http_and_logs.rs:1070-1074 | src/tavily_proxy/proxy_http_and_logs.rs:1366-1370 | src/tavily_proxy/proxy_http_and_logs.rs:1645-1649 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/tavily_proxy/proxy_http_and_logs.rs:168\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a58b9cfcdc34dbd93d156d8d1392dabc4e8dd40cc8ab1d8f85fb2d1320fc566"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/server/handlers/public.rs:1519-1524 | src/server/handlers/user.rs:2815-2819 | src/server/handlers/user.rs:2870-2874 | src/server/proxy/mcp_helpers.rs:76-80 \u2014 before extracting anything, compare \u0060src/server/handlers/public.rs\u0060 and \u0060src/server/handlers/user.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 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 \u0060src/server/handlers/public.rs:1519\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fffe54a02f33acbcb1512fa54acce62c3f759126a460be6ca2b4ecdbced31d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/forward_proxy/storage.rs:393-398 | src/forward_proxy/storage.rs:470-475 | src/forward_proxy/storage.rs:541-546 \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":"src/forward_proxy/storage.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4dcd5bb71efcae267b22b0d752084e16dbe3324783a9af4e72dc38571612cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:399-423 | src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:520-544 | src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:627-651 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:399\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, \u0060src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:545\u0060 calls \u0060cancel\u0060 and \u0060src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:424\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"7970a8e5d85023b7e96014fc0eac75d6ac67c4893b6c84ce18c21e98aaf66901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/analysis.rs:434-438 | src/analysis.rs:456-461 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/analysis.rs:434\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"5743e84f533ee56c3c8f85129102cdf7db471858e467e80f481b80ef5f364eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/backend_time.rs:193-198 | src/backend_time.rs:212-217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/backend_time.rs:193\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/backend_time.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa9bf6c0ecc17b50e1fe4a2d831644866a22c8cc3950ee49da7ca064c762592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/store/sqlite_runtime.rs:3654-3658 | src/store/sqlite_runtime_cooperative.rs:212-216 \u2014 before extracting anything, compare \u0060src/store/sqlite_runtime.rs\u0060 and \u0060src/store/sqlite_runtime_cooperative.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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 \u0060src/store/sqlite_runtime.rs:3654\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3654}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82e4115aedcbb252f0095a3c2fc71bb2c186ecf18e1031082cb77df8f99dd70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/analysis.rs:2033-2038 | src/store/mod.rs:1677-1682 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":2033}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45817c1f32a00cb77d3afdab2cb128576e4f3c067e1cc8ebe8e29157ea1ad4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/bin/ha_outbox_cleanup_once.rs:203-212 | src/bin/observability_sidecar_migrate.rs:31-40 | src/bin/request_logs_gc_once.rs:47-56 | src/bin/request_statistics_recovery_once.rs:47-56 \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 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/ha_outbox_cleanup_once.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dcb8254013d01e8dc51191d356080b53c069f051b38b7eac9e5684bfae5288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/bin/ha_outbox_cleanup_once.rs:214-223 | src/bin/request_logs_gc_once.rs:58-67 | src/bin/request_statistics_recovery_once.rs:58-67 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/ha_outbox_cleanup_once.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a041d998aef5c6d14f6b4a85c26d02bc64375a9daef8f838016eca0d18eab08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/bin/support/sqlite_sidecar.rs:178-185 | src/store/mod.rs:1200-1207 \u2014 before extracting anything, compare \u0060src/bin/support/sqlite_sidecar.rs\u0060 and \u0060src/store/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/bin/support/sqlite_sidecar.rs:178\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/support/sqlite_sidecar.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f54154fe26e610ea2ffe42c3e33b0f793a1ead8a61b863bf4ab80870ba279fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/lib.rs:2742-2748 | src/server/handlers/admin_resources/versions_and_proxy_helpers.rs:401-407 \u2014 before extracting anything, compare \u0060src/lib.rs\u0060 and \u0060src/server/handlers/admin_resources/versions_and_proxy_helpers.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 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":"src/lib.rs"},"region":{"startLine":2742}}}],"partialFingerprints":{"codehealthFindingId/v1":"16638e3b2100531e7cd58c7ed5340153ab3acb29aa357246dc17d7ff31ceca8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/lib.rs:2750-2760 | src/server/handlers/admin_resources/versions_and_proxy_helpers.rs:494-501 \u2014 before extracting anything, compare \u0060src/lib.rs\u0060 and \u0060src/server/handlers/admin_resources/versions_and_proxy_helpers.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 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":"src/lib.rs"},"region":{"startLine":2750}}}],"partialFingerprints":{"codehealthFindingId/v1":"9489bcacb6da902e4ae9dee8c7b2b58f0727f276d5b549106b26ab73de980783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/models.rs:2304-2308 | src/server/state.rs:2943-2947 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2304}}}],"partialFingerprints":{"codehealthFindingId/v1":"969c3a4dd75265ed5f8486e55d171ba0f69164f531287558f62a6933ea9c042b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/server/handlers/admin_auth.rs:2222-2229 | src/server/state.rs:2519-2526 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_auth.rs"},"region":{"startLine":2222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05b0564e46e58bad234359bf7762d275039a49ca29f1256d043ddb07876a07f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/store/key_store_request_stats_coalescer.rs:178-182 | src/tavily_proxy/mod.rs:621-625 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut RequestStatsCoalescerState\u0060 in one and \u0060\u0026mut HaStateCoalescerState\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_stats_coalescer.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2a31d33aaf45a5cdeb135df97815eaedd4cceb753a5cbfd01ada2cb74a2c32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/lib.rs:2593-2602 | src/server/handlers/admin_resources/admin_user_views_and_sort.rs:667-676 \u2014 before extracting anything, compare \u0060src/lib.rs\u0060 and \u0060src/server/handlers/admin_resources/admin_user_views_and_sort.rs\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. 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":"src/lib.rs"},"region":{"startLine":2593}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bab2cc05a9e312407a41c6093eb6481024f487a519492c12b51b83a3a9b4cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/models.rs:2932-2938 | src/server/handlers/public.rs:1759-1765 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2932}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bde1e77f96a435863e4c881f93ae9dce321003866b233d8559c928897225dfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3): src/forward_proxy/storage.rs:405-443 | src/forward_proxy/storage.rs:482-524 | src/forward_proxy/storage.rs:547-579 \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, \u0060src/forward_proxy/storage.rs:445\u0060 calls \u0060bind\u0060 and \u0060src/forward_proxy/storage.rs:581\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/storage.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d44c70c4ac8ef11cfaa39a17dd579810f9abbba37568833b32b3aa943fc0eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/store/key_store_dashboard_rollup_integrity.rs:2444-2463 | src/store/key_store_request_logs_and_dashboard.rs:191-231 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_dashboard_rollup_integrity.rs:2444\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5e88f020cfe1fc9e3c69cb57641662728292b7fbdb88c1f8cba3f1fdeefac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): src/store/key_store_keys.rs:448-479 | src/store/key_store_keys.rs:482-513 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_keys.rs:448\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b182b785b8dfd0e09f63235c808819e97043d9e5450dbe97a0275db273a53a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/store/mod.rs:2065-2094 | src/store/mod.rs:2240-2270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/mod.rs:2065\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdcfe0548ab4242ffb9b89119a10a5f2dde072a3dca0fbdb64c756398b29662"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/store/key_store_keys.rs:2335-2364 | src/store/key_store_request_logs_and_dashboard.rs:2201-2215 | src/store/key_store_upstream_reconciliation.rs:2170-2193 | src/store/key_store_users_and_oauth.rs:2186-2215 \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 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_keys.rs:2335\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":2335}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2fd67a957dcfdbba9ef28327c1e5354347cbf447bf1763c4f83cd29642cbb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/store/key_store_schema_migrations_convergence.rs:914-934 | src/store/key_store_schema_migrations_convergence.rs:1042-1070 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_schema_migrations_convergence.rs:914\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_schema_migrations_convergence.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"87100c3d60d0063b99dc0d007d664fe3d2d78f05d72947b4a46a64ed0081910e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/store/key_store_dashboard_rollup_integrity.rs:909-935 | src/store/key_store_dashboard_rollup_integrity.rs:1406-1431 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_dashboard_rollup_integrity.rs:909\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, \u0060src/store/key_store_dashboard_rollup_integrity.rs:1432\u0060 calls \u0060bind\u0060, \u0060priority\u0060 and \u0060src/store/key_store_dashboard_rollup_integrity.rs:936\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"968cc4a19775ce4e063b5ec404b7e9981657192a0e17a73b5b5b41c56222186e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/store/key_store_users_and_oauth.rs:2129-2154 | src/store/key_store_users_and_oauth.rs:2243-2268 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_users_and_oauth.rs:2129\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c849f6409219b652659ae6a1ae894b5cf3e675a1904edcd538bd82d7ba35f1e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): src/store/key_store_keys.rs:2378-2402 | src/store/key_store_keys.rs:2437-2460 | src/store/key_store_keys.rs:2902-2917 | src/store/key_store_keys.rs:2926-2941 | src/store/key_store_users_and_oauth.rs:429-442 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":2378}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f7d98e6eebcd3d6329cd43e19cfc9f5f0aac0aeeb18542a029024c99d8a704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/store/key_store_token_logs.rs:1047-1071 | src/store/key_store_token_logs.rs:1154-1178 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbce49d88a1ef0155af83256de7949afba0898cecda9c80775851b98fff177c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/store/key_store_token_logs.rs:979-995 | src/store/key_store_token_logs.rs:1047-1071 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8606f7ebd7a88f98a6b6a50f7d8bfa3ab163db2cacdfb53ba2c7d0a1f38ca6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/store/key_store_users_and_oauth.rs:2176-2192 | src/store/key_store_users_and_oauth.rs:2278-2301 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_users_and_oauth.rs:2176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8ad6b7624b61b522dbc1ff15c1314e0a78f572a35967fc4c67e0c0b2b99ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/store/key_store_keys.rs:1768-1779 | src/store/key_store_keys.rs:2208-2229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_keys.rs:2208\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec14c52178418c1ef2037d32cb1308361ee4f263a8264b1bef2bebbebc22db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/forward_proxy/storage.rs:1234-1255 | src/forward_proxy/storage.rs:1271-1287 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/forward_proxy/storage.rs:1234\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/storage.rs"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b897525d1bd8b94523801afc8a44b8dc66d18064869b540ad1e0e4cd11a9675b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): src/store/key_store_alert_canonical_groups.rs:1427-1446 | src/store/key_store_alert_canonical_groups.rs:1457-1476 | src/store/key_store_alert_canonical_groups.rs:1487-1506 | src/store/key_store_alert_canonical_groups.rs:1517-1536 | src/store/key_store_alert_canonical_groups.rs:1547-1567 \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 \u0060src/store/key_store_alert_canonical_groups.rs:1427\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2ac398da3a9ad1f918b7f43a78235d6e166fe509a8974140e0fc1bdfd68f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): src/store/key_store_alert_projection.rs:328-365 | src/store/key_store_alert_projection.rs:521-557 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_projection.rs:328\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_projection.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a1338724bf28dc00c6ab143333b8d6494b0c0e7e1e4d5b5cfe5035cdb60434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): src/store/key_store_alert_canonical_groups.rs:706-725 | src/store/key_store_alert_canonical_groups.rs:1881-1897 | src/store/key_store_alert_canonical_groups.rs:1983-1999 | src/store/key_store_alert_canonical_groups.rs:2062-2078 | src/store/key_store_alert_canonical_groups.rs:2158-2174 \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 \u0060src/store/key_store_alert_canonical_groups.rs:706\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"26820ea69f8a27536926c82004d31e89a3e1e2e04e1a036776934dd69eec0df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/store/key_store_alerts.rs:2707-2725 | src/store/key_store_alerts.rs:2836-2849 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":2707}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fcaaf7fe3b6c5873a3be6b2e397f75f9807ede37de0b2587ac62b5b84cd84b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/store/key_store_users_and_oauth.rs:307-325 | src/store/key_store_users_and_oauth.rs:334-344 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/store/key_store_users_and_oauth.rs:327\u0060 calls \u0060bind\u0060 and \u0060src/store/key_store_users_and_oauth.rs:346\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b871e9c99ebc74325123b740e189f2c8db829ab1a9ec9dcc24405ad119610b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/store/key_store_request_logs_gc.rs:577-595 | src/store/key_store_request_logs_gc.rs:1062-1079 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_request_logs_gc.rs:577\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_gc.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd68c92ec27d2c84c2430facb6332d402e008a0edc311e19d06cd069db79f0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/server/schedulers.rs:2808-2826 | src/server/schedulers.rs:2851-2869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/schedulers.rs:2808\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":2808}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84c18c6d3c42284506a9106c464123d0157e5fd13cd26d393fb91f3d3471e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/server/proxy/rebalance_handlers.rs:227-244 | src/server/proxy/rebalance_handlers.rs:250-268 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/proxy/rebalance_handlers.rs:250\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/rebalance_handlers.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b3e87a1d9a725f8bea938e07b4e1803e1435909d1b7eea5432abfabc429e34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/store/key_store_users_and_oauth.rs:757-774 | src/store/key_store_users_and_oauth.rs:929-946 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8935eae847c31bd73e282afdfc2fb0986e02585c1fdf1ad2105952f8710a712"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): src/server/proxy/proxy_handlers_and_views.rs:128-145 | src/server/proxy/proxy_handlers_and_views.rs:152-169 | src/server/proxy/proxy_handlers_and_views.rs:179-196 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/proxy/proxy_handlers_and_views.rs:128\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"136cad7836352476872483fd2fc9b083029eec5f172a71338640bf896dc8d047"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): src/store/key_store_alert_canonical_groups.rs:483-493 | src/store/key_store_alert_canonical_groups.rs:1881-1897 | src/store/key_store_alert_canonical_groups.rs:1983-1999 | src/store/key_store_alert_canonical_groups.rs:2062-2078 | src/store/key_store_alert_canonical_groups.rs:2158-2174 \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 \u0060src/store/key_store_alert_canonical_groups.rs:483\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb757b28d48adcc662e09aa5dad854021810de3e6589458922b64ff11fcdcdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/server/schedulers.rs:775-791 | src/server/schedulers.rs:826-842 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/schedulers.rs:775\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"458e00e4613c7107ae456c0c7e039f2fd7cd5d4313cb4a113c78670d17bf0e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/store/key_store_token_logs.rs:2394-2408 | src/store/key_store_token_logs.rs:2420-2435 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c0432024095b0d648aefd4946f799797738912b42b3450e3bbc512ec231101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/store/key_store_dashboard_rollup_integrity.rs:1860-1875 | src/store/key_store_dashboard_rollup_integrity.rs:2003-2017 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_dashboard_rollup_integrity.rs:1860\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"c257cab5d508f5f960e78d77c42e16499e00581651a4787ecf35a1b7683a373c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/store/key_store_ha.rs:889-903 | src/store/key_store_ha.rs:3260-3264 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_ha.rs:889\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daebfc3f15abf7efeb99df5727ddf14297a382516eba9145e93aee1aa5cff7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/store/key_store_request_logs_and_dashboard.rs:1509-1523 | src/store/key_store_token_logs.rs:639-653 \u2014 before extracting anything, compare \u0060src/store/key_store_request_logs_and_dashboard.rs\u0060 and \u0060src/store/key_store_token_logs.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 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 \u0060src/store/key_store_request_logs_and_dashboard.rs:1509\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd26dfdb950c75629230eea32f8d2a95bd24699f6a2c003897250d8b9010e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/store/key_store_linuxdo_credit_recharge.rs:577-591 | src/store/key_store_linuxdo_credit_recharge.rs:598-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_linuxdo_credit_recharge.rs:577\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04fcec2f095bb50c488de5cfc04840a8428570165813bd2839ece6d4b39610a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/server/schedulers.rs:873-887 | src/server/schedulers.rs:895-909 | src/server/schedulers.rs:966-979 | src/server/schedulers.rs:987-1000 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/schedulers.rs:873\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec38702e8da210724f19bf7a6192fac8a5e10ba18066031ed7b9b6d5fb0931bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/store/key_store_request_logs_gc.rs:616-629 | src/store/key_store_request_logs_gc.rs:659-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_request_logs_gc.rs:616\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_gc.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2dc18cba6aed4c05b84bf81f4a4a0bbe6164d1c73cc0eebce94d1af2702088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:203-216 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:265-278 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:335-348 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/user_tag_and_token_handlers.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab0624b5e0527b930505d31256e8ba743d2fce201b1716a69d589dfee07f786"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/store/key_store_admin_passkeys.rs:672-685 | src/store/key_store_admin_passkeys.rs:793-806 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_admin_passkeys.rs:672\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, \u0060src/store/key_store_admin_passkeys.rs:687\u0060 calls \u0060bind\u0060, \u0060as_str\u0060 and \u0060src/store/key_store_admin_passkeys.rs:808\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_passkeys.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"944654630f363dcbe07f6a5c4819316e8e3de74809435c0291c4c50dd2a9272f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/store/sqlite_runtime.rs:1415-1428 | src/store/sqlite_runtime.rs:1522-1532 | src/store/sqlite_runtime.rs:1591-1601 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/sqlite_runtime.rs:1415\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b360357549ea6721c48f580860cd05a97d9de5afc1f1bf734a72cc5b5c34b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/store/key_store_users_and_oauth.rs:1774-1786 | src/store/key_store_users_and_oauth.rs:1928-1939 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_users_and_oauth.rs:1774\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_users_and_oauth.rs"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a145075af0641da77a16c275a8c2fccdfcad5c896e0d6f2cc13663e2689e24c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/store/key_store_alert_canonical_groups.rs:1599-1611 | src/store/key_store_alert_canonical_groups.rs:1615-1627 | src/store/key_store_alert_canonical_groups.rs:1631-1643 | src/store/key_store_alert_canonical_groups.rs:1647-1659 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_groups.rs:1599\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"4094ae1edec4e34a9837bb9ae000e91d4f99b222525fbfeb9d25b284c1b57637"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/server/ha_peer_lookup.rs:43-54 | src/server/ha_peer_lookup.rs:117-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/ha_peer_lookup.rs:43\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ha_peer_lookup.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1cd0b45bd5a9ce25c889279c15f4224fad22a8476e5c08c308c466107433e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/store/reconciliation_observation_store.rs:504-515 | src/store/reconciliation_projection_controller.rs:151-162 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/reconciliation_observation_store.rs:504\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_observation_store.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22040667338b482fc95f3d9697ef377370d4e9e04b27664c3a0d304008ea0e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/store/key_store_admin_passkeys.rs:267-278 | src/store/key_store_admin_passkeys.rs:668-679 | src/store/key_store_admin_passkeys.rs:789-800 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_admin_passkeys.rs:267\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, \u0060src/store/key_store_admin_passkeys.rs:279\u0060 calls \u0060admin_passkey_reset_token_hash\u0060 and \u0060src/store/key_store_admin_passkeys.rs:680\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_passkeys.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fdeb85c1d4a0b48b3221a3b863d65075dbb78b8a4996add56d15a8d776291c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/server/handlers/admin_resources/ha.rs:1354-1363 | src/server/handlers/admin_resources/ha.rs:1851-1862 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2edb2a985bd72cfdebc3f281b0a68f86d4924742ea8eeabb6222d776f23fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/store/key_store_alert_canonical_groups.rs:1858-1869 | src/store/key_store_alert_canonical_groups.rs:2038-2049 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alert_canonical_groups.rs:1858\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_canonical_groups.rs"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fdb1495e4afd5a7932ca2cfc98f3babd1e0e1f2df685ef8527ca0de3ed36f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/server/handlers/public.rs:2293-2304 | src/server/handlers/public.rs:2467-2478 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/public.rs:2293\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":2293}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9b434fb40c684ab92514db5abef888c50403d829666e7f60f4c96eada4c93c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/sqlite_runtime.rs:2799-2808 | src/store/sqlite_runtime.rs:2813-2823 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/sqlite_runtime.rs:2799\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":2799}}}],"partialFingerprints":{"codehealthFindingId/v1":"9664accc0f05ea3696705cb7f6f5137c188ca8ec8f7a80aa5bb9f1f5ee8e36eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/store/key_store_dashboard_rollup_integrity.rs:1223-1233 | src/store/key_store_dashboard_rollup_integrity.rs:3047-3053 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3623be609029c5ab711106a8d984efd79be2cc5ef8e0167ee12e9f8d0454e331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/store/sqlite_contention_logging.rs:30-40 | src/store/sqlite_contention_logging.rs:66-76 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_contention_logging.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99003b18a69e19fae21d2dc8e099f65b067d64f14674ddfe50667bcf39846d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/server/handlers/tavily.rs:904-914 | src/server/handlers/tavily.rs:988-998 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:904\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"3763462bf39d7ae9cbab986734458ce07e3b1921463147067d4a82e842041a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:629-639 | src/server/handlers/user.rs:2592-2598 \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 \u0060src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:629\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eef51ae17a67489d3729d6a6b0bafbfe0e3a26b99854e9d04f896286a0d4588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/store/key_store_upstream_reconciliation.rs:1770-1780 | src/store/reconciliation_projection_controller.rs:439-449 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_upstream_reconciliation.rs:1770\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86b3ac828615b2d04a1f2d8b963af1d3f58132f2f387c0e0eb59bcb90439a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:284-294 | src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:451-461 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/user_tag_and_token_handlers.rs:284\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"b055031df3b12f367ea5b7ff6988b69dfaee5d70520e8589234822b70833498c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/key_store_alerts.rs:1211-1220 | src/store/key_store_alerts.rs:1950-1959 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_alerts.rs:1211\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dfc1a68a189f362e69636a83bf4678ee638d0ef892e7d03cf6097f72b89f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/reconciliation_projection_controller.rs:637-646 | src/store/reconciliation_projection_controller.rs:662-671 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/reconciliation_projection_controller.rs:637\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_projection_controller.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8412b6760ca9213182efa5ab975dcd1f609b414883c8a91743941e6a9468ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/server/handlers/user.rs:248-257 | src/server/handlers/user.rs:340-349 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/user.rs:248\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec13b40e0a718c4d87267943b51a2ed877b9ba3f9a9c882e8a66a276cb75755"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/key_store_dashboard_rollup_integrity.rs:1095-1104 | src/store/key_store_dashboard_rollup_integrity.rs:1201-1210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_dashboard_rollup_integrity.rs:1095\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b57170e3d80a6885e570dc69d2cfb5bbae40eca9aa0522e7e929ec2bebb42d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/key_store_linuxdo_credit_recharge.rs:909-918 | src/store/key_store_linuxdo_credit_recharge.rs:1239-1248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_linuxdo_credit_recharge.rs:909\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"536a6e72b728f4881d56a9a8aba3f04f976490f444bb5cf90543110a56008ebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:365-374 | src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:594-602 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs:365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbeda68b763c9a8a260ba78488b8517daa19f641d9df10e3fc4a2b442a5df2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/store/key_store_admin_passkeys.rs:375-384 | src/store/key_store_admin_passkeys.rs:719-728 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_passkeys.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2b8f7aae80340f15b2591a0989ee004474109ff8421554d7af15dee68037fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/server/serve.rs:1183-1192 | src/server/serve.rs:1302-1311 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/serve.rs:1183\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01103040725f0dc6df26d932883e54faf8ac6c2a95b1842ed03e77d9bf4676b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/server/handlers/admin_resources/ha.rs:2222-2230 | src/server/handlers/admin_resources/ha.rs:2315-2323 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/ha.rs:2222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":2222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5781580505a4ee637ee780ce53c216cfb7f8f21d627032b816a67ceebb854dde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/store/key_store_linuxdo_credit_recharge.rs:634-646 | src/store/key_store_linuxdo_credit_recharge.rs:677-689 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_linuxdo_credit_recharge.rs:634\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, \u0060src/store/key_store_linuxdo_credit_recharge.rs:648\u0060 calls \u0060linuxdo_credit_recharge_order_from_row\u0060 and \u0060src/store/key_store_linuxdo_credit_recharge.rs:691\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d3b9d6d44c9c4e1e8b894169819f9917add924071d9ff5c5f759d9a66ccef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/server/handlers/admin_resources/ha.rs:963-970 | src/server/handlers/admin_resources/ha.rs:1216-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 \u0060src/server/handlers/admin_resources/ha.rs:963\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"c935aec080a923cf53216b4fb0fdeb06ef0ca130bbd49273bedcb82d374d98c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/store/key_store_request_logs_and_dashboard.rs:1765-1771 | src/store/key_store_token_logs.rs:858-865 \u2014 before extracting anything, compare \u0060src/store/key_store_request_logs_and_dashboard.rs\u0060 and \u0060src/store/key_store_token_logs.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 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":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1765}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c46916dfd76dac3e36928ff35bcf0d9eac0749c7bda972988553db594a4de1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/server/handlers/tavily.rs:864-871 | src/server/proxy/proxy_handlers_and_views.rs:877-884 \u2014 before extracting anything, compare \u0060src/server/handlers/tavily.rs\u0060 and \u0060src/server/proxy/proxy_handlers_and_views.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/tavily.rs:864\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58fb7166e63149483e7db443a4de43c8ec18e3815060f2fbd41ab046d95d857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/forward_proxy/responses_and_validation.rs:694-701 | src/forward_proxy/responses_and_validation.rs:723-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 \u0060src/forward_proxy/responses_and_validation.rs:694\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81fb1203f2f24a456d80cefc86d65cef6ee5ceb5b7287449747585f3d40199d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/server/handlers/admin_resources/ha.rs:2225-2232 | src/server/handlers/admin_resources/ha.rs:2267-2274 | src/server/handlers/admin_resources/ha.rs:2318-2325 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/ha.rs:2225\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":2225}}}],"partialFingerprints":{"codehealthFindingId/v1":"432d7f73a1391c802ce2acb248072972c7e9d3105fb305ace04d4604c5319fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/store/key_store_linuxdo_credit_recharge.rs:1392-1398 | src/store/key_store_users_and_oauth.rs:84-91 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_linuxdo_credit_recharge.rs:1392\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_linuxdo_credit_recharge.rs"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af4406b95e8c1e0865a31f5a7a4ad28acab1d8328118564bb6cf62be6c44a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/server/handlers/admin_resources/ha.rs:2094-2101 | src/server/handlers/admin_resources/ha.rs:2125-2132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/admin_resources/ha.rs:2094\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":2094}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3675351a8a2ca400a77c876c121dbd3e53c664f0105297f96b9b3e08b7337e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/store/key_store_dashboard_rollup_integrity.rs:2376-2383 | src/store/key_store_dashboard_rollup_integrity.rs:2971-2978 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dc5c220b6b5fa9dc6df000d8b16760001e7ad21c5a65b2dd4b1a482eefbdc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/server/handlers/public.rs:1230-1236 | src/server/handlers/public.rs:1663-1669 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/handlers/public.rs:1230\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fe20da2b53cb930e2721b0bb36a78be8adae22a7228c000c51deacb9db4243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/store/mod.rs:96-102 | src/store/mod.rs:128-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 \u0060src/store/mod.rs: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":"src/store/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"47acda29fc898bde17ce421779cbf072a9a9011eab5acbf75e54f03275097b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/store/key_store_ha.rs:2369-2375 | src/store/key_store_ha.rs:2383-2389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_ha.rs:2369\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"6423794fa59d70b862961fcb68ef07a1c3f32655ef22cda7e40af4dccde6c78b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/server/schedulers.rs:2685-2690 | src/server/schedulers.rs:2692-2697 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/server/schedulers.rs:2685\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":2685}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0c409aa61ff489ef1e7115fb2fedb317d2a818cc39efe67f456debde6d2d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/forward_proxy/responses_and_validation.rs:696-701 | src/forward_proxy/responses_and_validation.rs:702-707 | src/forward_proxy/responses_and_validation.rs:725-730 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/forward_proxy/responses_and_validation.rs:696\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"a197e08fa20aa34cb11e944daf7a691c3a5f7dbd743af0455fbbe46d147d8ac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/forward_proxy/responses_and_validation.rs:1696-1701 | src/forward_proxy/responses_and_validation.rs:1726-1731 | src/forward_proxy/responses_and_validation.rs:1734-1739 | src/forward_proxy/responses_and_validation.rs:1742-1747 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/forward_proxy/responses_and_validation.rs:1696\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e27fbfabc8ef99e8447f78392ea74b8e0bff77ef96589f790a265c703eb318c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/models.rs:2313-2317 | src/models.rs:2334-2338 | src/models.rs:3067-3071 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/models.rs:2313\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2313}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd93c06957f8c5684b4508c03d978038cf9a4b095153e3de5652b89e55f6a58a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/forward_proxy/responses_and_validation.rs:1555-1559 | src/forward_proxy/responses_and_validation.rs:1592-1596 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/forward_proxy/responses_and_validation.rs:1555\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/responses_and_validation.rs"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"334318f600bdc2266961c4414cc834b122dc05f082d186b30382649204c93737"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/server/handlers/admin_resources/api_keys_and_logs.rs:790-794 | src/server/handlers/admin_resources/api_keys_and_logs.rs:906-910 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/server/handlers/admin_resources/api_keys_and_logs.rs:795\u0060 calls \u0060unwrap_or\u0060 and \u0060src/server/handlers/admin_resources/api_keys_and_logs.rs:911\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b61bbc7dcf7e41f52c6d6e2a8668f5b712318d7a03a343d0ff2a90b76626a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/store/key_store_ha.rs:610-615 | src/store/key_store_ha.rs:1732-1737 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/store/key_store_ha.rs:610\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"9162e323e41923a68feb0283feff4c9420c541d766cf02742f1c172299a219ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/store/key_store_keys.rs:2078-2083 | src/store/key_store_keys.rs:2130-2135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/store/key_store_keys.rs:2075\u0060 calls \u0060max\u0060, \u0060clamp\u0060 and \u0060src/store/key_store_keys.rs:2129\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":2078}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1dfa3e9ed57f431d9955feeb1927e4623f43f3c66d53a305bd0ab507ec7441"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/store/key_store_token_logs.rs:189-194 | src/store/key_store_token_logs.rs:2532-2537 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f91a74b38b506137ca651e1500989baed604ae5e82f280e2b7d3165b15d108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): .codex/skills/ui-ux-pro-max/scripts/design_system.py:914-925 | .codex/skills/ui-ux-pro-max/scripts/design_system.py:927-938 \u2014 both copies are in the same file, so extract the block 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":".codex/skills/ui-ux-pro-max/scripts/design_system.py"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fbe20e07c11d9cc40826f51cd0d3877b3cbf5745f4404c87188284713041d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): web/scripts/verify_relay_mesh_lockup_geometry.py:126-137 | web/scripts/verify_relay_mesh_mark_geometry.py:97-108 \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":"web/scripts/verify_relay_mesh_lockup_geometry.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af9da7ad71b7b25b37347e1cad2a70dd37226b404f0b9cd1aa80c8218699edd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 5): .codex/skills/ui-ux-pro-max/scripts/design_system.py:864-873 | .codex/skills/ui-ux-pro-max/scripts/design_system.py:875-884 | .codex/skills/ui-ux-pro-max/scripts/design_system.py:886-895 | .codex/skills/ui-ux-pro-max/scripts/design_system.py:897-906 | .codex/skills/ui-ux-pro-max/scripts/design_system.py:907-913 \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. 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":".codex/skills/ui-ux-pro-max/scripts/design_system.py"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e186aef66db46cef8d64fbe01dc8e83315743ee04526783030f490f68603eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): .codex/skills/ui-ux-pro-max/scripts/design_system.py:474-483 | .codex/skills/ui-ux-pro-max/scripts/design_system.py:826-835 \u2014 both copies are in the same file, so extract the block 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":".codex/skills/ui-ux-pro-max/scripts/design_system.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"1211a197d1928d7fb02ceffb546bf2a02296b5b1692eb0f7f3d119940176a151"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): .codex/skills/ui-ux-pro-max/scripts/design_system.py:268-275 | .codex/skills/ui-ux-pro-max/scripts/design_system.py:393-400 | .codex/skills/ui-ux-pro-max/scripts/design_system.py:575-582 \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":".codex/skills/ui-ux-pro-max/scripts/design_system.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d04ab6b2b38d34b1f31eeb999a7c4c8dd977714ec9aa4dc09165b9d3f58007"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): web/scripts/generate_relay_mesh_brand_assets.py:126-133 | web/scripts/generate_relay_mesh_brand_assets.py:147-154 | web/scripts/generate_relay_mesh_brand_assets.py:161-168 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060web/scripts/generate_relay_mesh_brand_assets.py:155\u0060 calls \u0060blend\u0060 and \u0060web/scripts/generate_relay_mesh_brand_assets.py:169\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":"web/scripts/generate_relay_mesh_brand_assets.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9583316bbf4dd1eed99ed97f9c4ef63ca95d62a07ee81e24f0647d21faf88f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): .codex/skills/ui-ux-pro-max/scripts/design_system.py:590-597 | .codex/skills/ui-ux-pro-max/scripts/design_system.py:854-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".codex/skills/ui-ux-pro-max/scripts/design_system.py"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b670099993b1b511eb186fa84dfd8bd642d0f94eb0f645d52e88596b32e461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): .codex/skills/ui-ux-pro-max/scripts/design_system.py:678-684 | .codex/skills/ui-ux-pro-max/scripts/design_system.py:696-702 | .codex/skills/ui-ux-pro-max/scripts/design_system.py:711-717 | .codex/skills/ui-ux-pro-max/scripts/design_system.py:741-749 \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":".codex/skills/ui-ux-pro-max/scripts/design_system.py"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59dc0c4e49769ef76c09dde4c9bb1209173683da3751cdcae7ba52a070b3851"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): .codex/skills/ui-ux-pro-max/scripts/design_system.py:440-446 | .codex/skills/ui-ux-pro-max/scripts/design_system.py:625-629 \u2014 both copies are in the same file, so extract the block 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":".codex/skills/ui-ux-pro-max/scripts/design_system.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"2855c26409c34b31a118f65bff4899d197b58d446d4ae287031d81a20d77eeab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): .codex/skills/ui-ux-pro-max/scripts/design_system.py:321-326 | .codex/skills/ui-ux-pro-max/scripts/design_system.py:346-351 \u2014 both copies are in the same file, so extract the block 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":".codex/skills/ui-ux-pro-max/scripts/design_system.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"471e1a68d0c2b172d4d62ec94675c7e1889d6f602e05dcac35d0670ae67a8228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): scripts/perf-local-boundaries.py:4081-4103 | scripts/perf-local-boundaries.py:4450-4472 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/perf-local-boundaries.py:4081\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":"scripts/perf-local-boundaries.py"},"region":{"startLine":4081}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b984b1b4922bf8940fd1c2c7d2245c5133ed0f4cc4841e1ff21ac00b1742222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples/forwardauth-caddy/auth-mock/server.py:61-65 | examples/forwardauth-caddy/upstream-mock/server.py:64-68 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/forwardauth-caddy/auth-mock/server.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"08becd923cd43d49104b1acffc7e831f2f8d9ba8440558b38c337d970f6f007c"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: web/::src/admin/AdminDashboardRuntime.route-switch.test.tsx AdminDashboard route switches keeps admin runtime stable when switching rankings analysis alias preserves alias path and demo params: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"354dcc2fe60d11a21dfa3d306520de2d3129b0750a509fd6a5fe98251382ec9f"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: web/::src/admin/AdminDashboardRuntime.route-switch.test.tsx AdminDashboard route switches keeps admin runtime stable when switching tokens overview -\u003E token detail: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f492812e3a7b03f26614fd90b2e447b3a428974365e7878aa6ad6e8f9c503f1b"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: web/::src/admin/AdminDashboardRuntime.route-switch.test.tsx AdminDashboard route switches keeps admin runtime stable when switching users overview -\u003E user tag editor: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"729b6a08012f244528e5d141c4706a8364e3b912b260e1c84293334b0870580a"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: web/::src/admin/AdminDashboardRuntime.route-switch.test.tsx AdminDashboard route switches keeps admin runtime stable when switching users overview -\u003E user tags: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"48fabd283e65c6615096e32b3a406d4f9cf1c2dde2ffa319f5d0b2f217667178"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: web/::src/admin/AdminDashboardRuntime.route-switch.test.tsx AdminDashboard route switches updates dashboard recent alerts from the shared SSE snapshot: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c055e97b594531b28172624fb157c8b42f75624e34d96abe38cc5d92995ca2c3"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f8b56c2b514dfb4e7c9b422de5cf522d7814546680379478ff9255f66b86155"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/tavily_proxy/proxy_quota_sync_and_jobs.rs: src/tavily_proxy/proxy_quota_sync_and_jobs.rs changed 60 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 181 in TavilyProxy::run_upstream_reconciliation_once_inner at line 719. 52 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/tavily_proxy/proxy_quota_sync_and_jobs.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab5a6f60a7c2a1697aabc2ff52c100364f34e2a25505b06653c26e0847effb4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/server/schedulers.rs: src/server/schedulers.rs changed 49 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in tavily_hikari::server::schedulers::run_manual_claimed_job at line 2444. 41 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/server/schedulers.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e602c0b0601591e7c04f2953a955805d777180728abc295ca966eefa562c22d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/store/key_store_schema_migrations.rs: src/store/key_store_schema_migrations.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in KeyStore::validate_applied_migration_objects at line 914. 28 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_schema_migrations.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_schema_migrations.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"61235f2f6863d39ac78b8f69adb9137ffb2a2a112455b75dc46f9d39e703f0d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/perf-local-boundaries.py: scripts/perf-local-boundaries.py changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in perf-local-boundaries.measurement_reasons at line 4864. 21 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- scripts/perf-local-boundaries.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/perf-local-boundaries.py"},"region":{"startLine":4864}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfaf7a32cd66a20caa267f176eb0909e2cd63036598266d5afae36e300d73c6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/admin/UpstreamPrivacyStatusModule.tsx: web/src/admin/UpstreamPrivacyStatusModule.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 139 in UpstreamPrivacyStatusModule.UpstreamPrivacyStatusModule at line 189. 8 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- web/src/admin/UpstreamPrivacyStatusModule.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/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d36109f13f689da49e0072cfb9b48c91e95c27938aeec21eb4eed4347cf871e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/server/state.rs: src/server/state.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in tavily_hikari::server::state::prewarm_admin_alerts at line 756. 25 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/server/state.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fee7701ec6c427fd375790fb22104a62cb1fac154eadff7bb2b1d3912e0e40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/store/key_store_dashboard_rollup_integrity.rs: src/store/key_store_dashboard_rollup_integrity.rs changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in KeyStore::process_dashboard_rollup_integrity_work_item_inner at line 1571. 22 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_dashboard_rollup_integrity.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3bf03b508178d251cbd7a4fd602606115fc15f8eaf8424658576b6e3f20761"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/server/proxy/proxy_handlers_and_views.rs: src/server/proxy/proxy_handlers_and_views.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 201 in tavily_hikari::server::proxy::proxy_handlers_and_views::proxy_handler at line 1. 3 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/server/proxy/proxy_handlers_and_views.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5bf48611397da633cb7d7dadd1eff5e51871ad2a7a0413d8977971284c8853"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/store/key_store_bootstrap.rs: src/store/key_store_bootstrap.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in KeyStore::initialize_schema at line 928. 9 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_bootstrap.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_bootstrap.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"45400da648211f65348ce53940c87de0a4683ccf007084ef60d5a0cce88fb0f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib.rs: src/lib.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in tavily_hikari::run_request_statistics_recovery_once_with_time at line 771. 11 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/lib.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c530fbeeba83c04da61dff30496df913b8ad97db9ae2ce4ec912d047bc7cc0a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/tavily_proxy/proxy_core.rs: src/tavily_proxy/proxy_core.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in TavilyProxy::start_server_pressure_buckets_rebuild_once at line 1570. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/tavily_proxy/proxy_core.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_core.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0136c448d6d5c93b0a81d6a5d209a718791734b135d4070cc03096d75d6a9f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/server/serve.rs: src/server/serve.rs changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in tavily_hikari::server::serve::serve_with_shutdown 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/server/serve.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cae12936b3e5e7ba596a1f045119e40560eba7d4ff562f7e1e31080b4fceeb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/store/key_store_alert_projection.rs: src/store/key_store_alert_projection.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in KeyStore::advance_admitted_alert_projection_slice at line 783. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_alert_projection.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_projection.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"f156cc19066017df54a2bf57f475bac42ce2b74e17afdeb73e620d669e1627aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/server/handlers/public.rs: src/server/handlers/public.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in tavily_hikari::server::handlers::public::load_dashboard_overview_snapshot at line 1965. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/server/handlers/public.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38efe6a7e8feb96d69122e651310ee4ccc9e6f9530ff4118a074d97749b7558"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/store/reconciliation_projection_controller.rs: src/store/reconciliation_projection_controller.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ReconciliationProjectionController::advance_slice_inner 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/reconciliation_projection_controller.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_projection_controller.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a478d7edbebce7edb2d5e4397d93af6a331f6533821e57e71351cc1cba6973"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/server/handlers/tavily.rs: src/server/handlers/tavily.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in tavily_hikari::server::handlers::tavily::proxy_tavily_http_endpoint at line 706. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/server/handlers/tavily.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/tavily.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"5131b177d42b313b4a454285fbe7acd109f84b35e83df01fe2804c7adda3e045"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/store/key_store_observability_sidecar.rs: src/store/key_store_observability_sidecar.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in KeyStore::ensure_observability_sidecar_derived_schema_in_pool at line 327. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_observability_sidecar.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_observability_sidecar.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0915ffea28d636caf02eec8509e26a5e2b6ef934b6c3c8a6be927fc6355b5c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/tavily_proxy/proxy_ha.rs: src/tavily_proxy/proxy_ha.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in TavilyProxy::spawn_request_stats_coalescer at line 2. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/tavily_proxy/proxy_ha.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_ha.rs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6da07c5ae82701165d50c224f4d81ed5c9cfb732a00af3e3387d903843b6944"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/store/key_store_ha_gc_online.rs: src/store/key_store_ha_gc_online.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in KeyStore::gc_ha_outbox_online_with_options at line 300. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_ha_gc_online.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha_gc_online.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c69aaf2bc8bc12e553da014f8da1be0fd0fb492e34533d8efc75c9ffbe97cd9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/tavily_proxy/proxy_forward_proxy_maintenance.rs: src/tavily_proxy/proxy_forward_proxy_maintenance.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in TavilyProxy::resolve_forward_proxy_geo_candidates_with_remote_attempt_admission at line 1013. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/tavily_proxy/proxy_forward_proxy_maintenance.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_forward_proxy_maintenance.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"882c1ddd4b1b2288a6d6b07cd858352820f9b61768fa54b68ecc6d5f781d4a71"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/store/key_store_request_logs_gc.rs: src/store/key_store_request_logs_gc.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in KeyStore::delete_old_request_logs_bounded_with_deadline_scoped at line 1159. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_request_logs_gc.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_gc.rs"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c324e37c45a599fc04a85bce10c11292eca4be9a97d34607ca5a8379cbc615"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/gc_recovery_load.py: scripts/gc_recovery_load.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in gc_recovery_load.main at line 269. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- scripts/gc_recovery_load.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/gc_recovery_load.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bd273ca36962ec2e4659c91bd56178c7aa4d87846e1199d4b8b35bf68c4b58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/store/key_store_admin_privacy_read.rs: src/store/key_store_admin_privacy_read.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in KeyStore::upstream_privacy_status_from_snapshot 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_admin_privacy_read.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e7f3df442ee57af7b9124289dbeb2a027c6a0adb42214a0c43adb9ecf60450"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/server/schedulers_reconciliation_research_drain.rs: src/server/schedulers_reconciliation_research_drain.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in tavily_hikari::server::schedulers_reconciliation_research_drain::select_next_scheduled_candidate 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/server/schedulers_reconciliation_research_drain.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers_reconciliation_research_drain.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd5e7625965e3edd3473ccb24a5aaebb6a960d67430331c0a63696f442a6ad9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/tavily_proxy/reconciliation_research_drain.rs: src/tavily_proxy/reconciliation_research_drain.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in TavilyProxy::run_upstream_reconciliation_research_drain_claimed_with_turn at line 220. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/tavily_proxy/reconciliation_research_drain.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/reconciliation_research_drain.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5f5d01937f08ed27c0dbfb4ff4bb56920f799051305b868273e3d4e6e60309"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/store/key_store_schema_migrations_convergence.rs: src/store/key_store_schema_migrations_convergence.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in KeyStore::validate_convergence_schema_migration_objects 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_schema_migrations_convergence.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_schema_migrations_convergence.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecadb97c0e11e24061875207a840e3bdda3c8919bc35f9a6d25469b956fcc32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/server/handlers/admin_resources/user_tag_and_token_handlers.rs: src/server/handlers/admin_resources/user_tag_and_token_handlers.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in tavily_hikari::server::handlers::admin_resources::user_tag_and_token_handlers::list_users at line 155. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/server/handlers/admin_resources/user_tag_and_token_handlers.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/user_tag_and_token_handlers.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"14106d4fb484c7a1a8c591efacb57801f351660d0a10e8316fbd8a239027a4b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/store/key_store_upstream_reconciliation_research.rs: src/store/key_store_upstream_reconciliation_research.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in KeyStore::next_upstream_reconciliation_research_candidates 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_upstream_reconciliation_research.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation_research.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2119a8e3dadd4752e8e00158c4dd5ac1df9cf06b25d85741f9149ee9c3a25354"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/tavily_proxy/proxy_http_and_logs.rs: src/tavily_proxy/proxy_http_and_logs.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in TavilyProxy::proxy_http_json_endpoint at line 356. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/tavily_proxy/proxy_http_and_logs.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_http_and_logs.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"733b1f627dbaf7ca4974156080969180c17cf2bd61abc0b8dc9308342880bbe5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/store/key_store_token_logs.rs: src/store/key_store_token_logs.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in KeyStore::add_or_undelete_key_with_status_in_group_once at line 1690. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_token_logs.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77ca833de370a4879c6c30d0a2b798a4ec79a626264abe49e9c36b36e158305"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/store/sqlite_runtime.rs: src/store/sqlite_runtime.rs changed 70 times in last 90 days and 60 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 SqliteRuntime::begin_read_snapshot at line 2180), 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(ci): keep sqlite runtime within source budget\u201D; \u201Cfix(test): scope owned finish pause to sqlite runtime\u201D; \u201Cfix(integrity): reuse healthy decision connections\u201D; \u201Cfix(sqlite): preserve generic snapshot completion 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/sqlite_runtime.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de73b5f7db4981e69e1c1c1fc0d4d1f74832be7c76f38bafa463be1a41275f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/tavily_proxy/reconciliation_engine.rs: src/tavily_proxy/reconciliation_engine.rs changed 34 times in last 90 days and 32 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 TavilyProxy::fetch_upstream_research_poll at line 1181), 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(reconciliation): preserve projection progress through defers\u201D; \u201Cfix(reconciliation): retry maintenance admission promptly\u201D; \u201Cfix(sqlite): cancel stale reconciliation tickets\u201D; \u201Cfix(sqlite): revisit reconciliation admission fairly\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/tavily_proxy/reconciliation_engine.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/reconciliation_engine.rs"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cfe7ab6b21fea3ca2460f0866aec144a0c9ed7099696eb9db81d740f065ce0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/store/key_store_upstream_reconciliation.rs: src/store/key_store_upstream_reconciliation.rs changed 31 times in last 90 days and 28 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 KeyStore::settle_upstream_reconciliation at line 2210), 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(perf): complete request timing attribution\u201D; \u201Cfix(sqlite): cancel stale reconciliation tickets\u201D; \u201Cfix(reconciliation): fence geo turns and persist cleanup markers\u201D; \u201Cfix(reconciliation): isolate maintenance lease cleanup\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_upstream_reconciliation.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e16ac512121a05aa434f62e79fe7634a17a797e8a1f59521c1034d8eae745e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/tavily_proxy/mod.rs: src/tavily_proxy/mod.rs changed 18 times in last 90 days and 15 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 ObservabilityDeferredWriter::take_next_batch at line 183), 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(gc): retain productive cleanup turns\u201D; \u201Cfix(reconciliation): isolate maintenance lease cleanup\u201D; \u201Cfix(reconciliation): fence request reservations\u201D; \u201Cfix(alerts): make canonical reductions resumable (#620)\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/tavily_proxy/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/mod.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"62196dc2d7a052f571c64361cc34f92c02405135f673b067cd237469cf07df14"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/tavily_proxy/proxy_alerts.rs: src/tavily_proxy/proxy_alerts.rs changed 15 times in last 90 days and 14 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 TavilyProxy::advance_dashboard_alert_projection_slice at line 183), 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(alerts): restore canonical warm liveness (#622)\u201D; \u201Cfix(alerts): make canonical reductions resumable (#620)\u201D; \u201Cfix: stabilize runtime recovery and reconciliation\u201D; \u201Cfix(alerts): recover canonical warm cache (#572)\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/tavily_proxy/proxy_alerts.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_alerts.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b99cb0f16e6fc8a925b6a342431dc3124d067a245c88da8c87660a40fb42c20"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/store/reconciliation_observation_store.rs: src/store/reconciliation_observation_store.rs changed 13 times in last 90 days and 13 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 KeyStore::finalize_deferred_upstream_reconciliation_claim_with_progress at line 317), 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(reconciliation): honor projection backoff gate\u201D; \u201Cfix(reconciliation): preserve projection progress through defers\u201D; \u201Cfix(reconciliation): gate projection no-progress retries\u201D; \u201Cfix: stabilize runtime recovery and reconciliation\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/reconciliation_observation_store.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_observation_store.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9bfbdc909e0cb9c867c1210eb59161820df798eb403641ff11d82f8e25d337"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/remote_attempt_admission.rs: src/remote_attempt_admission.rs changed 13 times in last 90 days and 13 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 RemoteAttemptAdmissionController::reserve_turn_with_followup at line 303), 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(reconciliation): preserve follow-up after deferred turn\u201D; \u201Cfix(reconciliation): fence main follow-up generations\u201D; \u201Cfix(reconciliation): defer remote lease until request start\u201D; \u201Cfix(reconciliation): fence request reservations\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/remote_attempt_admission.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote_attempt_admission.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee921690e714cd1ddf80dab5c73527594f261d5e1cf0399b7b4cc67514fef3c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/store/key_store_alerts.rs: src/store/key_store_alerts.rs changed 13 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 11 (its worst body is tavily_hikari::store::key_store_alerts::build_semantic_child_windows at line 253), 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(alerts): make canonical reductions resumable (#620)\u201D; \u201Cfix(alerts): bound canonical Events reads (#616)\u201D; \u201Cfix: stabilize runtime recovery and reconciliation\u201D; \u201Cfix(alerts): recover canonical warm cache (#572)\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_alerts.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alerts.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a099779db24776b850ed542a11d6758b4e1e826be6a7edbeadd3953c6434f4bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/tavily_proxy/proxy_request_limits.rs: src/tavily_proxy/proxy_request_limits.rs 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 12 (its worst body is TavilyProxy::dashboard_quota_charge_snapshot_for_token at line 68), 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(dashboard): preserve bounded recovery for historical windows\u201D; \u201Cfix: stabilize runtime recovery and reconciliation\u201D; \u201Cfix(runtime): converge SQLite maintenance paths (#561)\u201D; \u201Cfix(dashboard): retain last-good alert projection\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/tavily_proxy/proxy_request_limits.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_request_limits.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c667b2333e4ac39c7693c0d35fcf46fa02dfb78a20850471ab5ecb12fed1ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/observability.rs: src/observability.rs 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 Metrics::apply_event at line 1022), 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(perf): bypass timing scope for terminal requests\u201D; \u201Cfix(observability): lazily initialize request timing phases\u201D; \u201Cfix(perf): prevent overlapping request phase timing\u201D; \u201Cfix(perf): share timing lifecycle and harden 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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/observability.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/observability.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d5868c2c425a7af21799a4d49f266b5b21310999a0a3e70684933eb9919df3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/store/key_store_dashboard_rollup_integrity_blocked.rs: src/store/key_store_dashboard_rollup_integrity_blocked.rs changed 6 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 9 (its worst body is KeyStore::run_dashboard_rollup_integrity_slice at line 2), 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): preserve migration drift and bound gc reads\u201D; \u201Cfix(integrity): reset baseline probe deadlines\u201D; \u201Cfix(integrity): persist source baseline eligibility\u201D; \u201Cfix(integrity): skip blocked ranges before work selection\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_dashboard_rollup_integrity_blocked.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity_blocked.rs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"72913b028a76dc56f4451b1410801b8f5bcb0d9d3be2456e64b00738a07845e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/server/handlers/admin_resources/alerts.rs: src/server/handlers/admin_resources/alerts.rs changed 6 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 tavily_hikari::server::handlers::admin_resources::alerts::get_alert_events at line 120), 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(alerts): unblock canonical warm recovery (#574)\u201D; \u201Cfix(admin): self-heal canonical Alerts warm reads\u201D; \u201Cfix(runtime): converge SQLite maintenance paths (#561)\u201D; \u201Cfix: contain admin reads and observability pressure (#534)\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/server/handlers/admin_resources/alerts.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/alerts.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c0fca1b06cf056733be55e8380e65e54eeb3ce18d9b61cf1bdbfb62b1702ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs: src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs changed 6 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 tavily_hikari::server::handlers::admin_resources::forward_proxy_and_key_validation::post_forward_proxy_candidate_validation at line 443), 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(admin): defer passkey status auth safely\u201D; \u201Cfix(admin): atomically claim privacy refresh\u201D; \u201Cfix(admin): isolate privacy status refresh\u201D; \u201Cfix: harden reconciliation admin observability (#539)\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda11e898e751c283bcb0ca6945dee865eaff5e26b0c57f210f00d9ed504af09"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/store/key_store_request_stats_coalescer.rs: src/store/key_store_request_stats_coalescer.rs changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is RequestStatsCoalescer::enqueue_dashboard_rollup_delta_locked at line 348), 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(recovery): harden resumable target recovery\u201D; \u201Cfix(gc): resume blocked request log cleanup\u201D; \u201Cfix(sqlite): bound privacy diagnostic shaping\u201D; \u201Cfix(ci): stabilize deferred maintenance tests\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_request_stats_coalescer.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_stats_coalescer.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abf9a4ff4784069369b21644e3d21edb192160744c19a0c7007dd86c8326463"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/store/key_store_sessions.rs: src/store/key_store_sessions.rs changed 5 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 9 (its worst body is KeyStore::update_user_tag at line 2394), 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(sqlite): preserve maintenance and persistence recovery\u201D; \u201Cfix(sqlite): skip redundant warm maintenance writes\u201D; \u201Cfix(reconciliation): classify Research poll outcomes (#559)\u201D; \u201Cfix(reconciliation): bound preparation reads (#547)\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_sessions.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_sessions.rs"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7020854d28d087f19a505a240c6b9306a39de6a5624af7f410caaf4dfc41a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/store/key_store_request_log_body_retention.rs: src/store/key_store_request_log_body_retention.rs 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 8 (its worst body is KeyStore::log_rebalance_audit_entries at line 489), 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): converge SQLite maintenance paths (#561)\u201D; \u201Cfix(rollup): restore rebalance request statistics\u201D; \u201Cfix(stats): harden business call event bridge (#535)\u201D; \u201Cfix: contain reconciliation and observability writes\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_request_log_body_retention.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_log_body_retention.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"121f9a5a851309aadf06213bf108f1486a2c5ee4df3f1056d9888d80e48201bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/tavily_proxy/proxy_usage_and_metrics.rs: src/tavily_proxy/proxy_usage_and_metrics.rs 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 8 (its worst body is TavilyProxy::requeue_rebalance_audits at line 152), 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): converge SQLite maintenance paths (#561)\u201D; \u201Cfix(ci): synchronize observability test writers\u201D; \u201Cfix(stats): harden business call event bridge (#535)\u201D; \u201Cfix: contain reconciliation and observability writes\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/tavily_proxy/proxy_usage_and_metrics.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_usage_and_metrics.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bad0535b3fd194537bcc6be0cd378f329466f5edb74511ec369ea5703b5783a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: web/scripts/generate_pwa_assets.py: web/scripts/generate_pwa_assets.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 5 (its worst body is generate_pwa_assets.make_manifest 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(release): stabilize production image layers (#637)\u201D; \u201Cfix(pwa): bypass cached install metadata\u201D; \u201Cfix(pwa): refresh installed app icons (#560)\u201D; \u201Cfix: preserve image layers across releases (#528)\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- web/scripts/generate_pwa_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":"web/scripts/generate_pwa_assets.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"23136039e838b3d05375019f52e9a136ca3e302fe4e67a20b72f566bd97ba040"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/store/key_store_keys.rs: src/store/key_store_keys.rs 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 13 (its worst body is KeyStore::create_access_token at line 1347), 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(sqlite): keep HTTP key cooldown checks in query\u201D; \u201Cfix(sqlite): bound admin token creation contention\u201D; \u201Cfix(api): preserve historical blog key membership\u201D; \u201Cfix(sqlite): prioritize foreground workloads (#525)\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_keys.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"db86eb864f4114f7424544783f1ec03b0fdd53a9630bfd59fa20982035dc438d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/server/handlers/blog_runtime.rs: src/server/handlers/blog_runtime.rs 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 12 (its worst body is tavily_hikari::server::handlers::blog_runtime::public_blog_runtime_body at line 169), 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(api): align public metrics route prefix\u201D; \u201Cfix(api): reject overflowed public metrics\u201D; \u201Cfix(api): align public runtime metric semantics\u201D; \u201Cfix(ci): address backend shard failures\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/server/handlers/blog_runtime.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/blog_runtime.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e338869773ef3751f5622f1e4e4d0039d2847475593e02de03b96dd7a91a54c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/store/key_store_blog_runtime.rs: src/store/key_store_blog_runtime.rs 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 7 (its worst body is KeyStore::fetch_public_blog_runtime_data at line 2), 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(api): group public metrics by Shanghai date\u201D; \u201Cfix(api): align public runtime metric semantics\u201D; \u201Cfix(api): isolate quota history by membership interval\u201D; \u201Cfix(api): preserve historical blog key membership\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_blog_runtime.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_blog_runtime.rs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"db350d47b175111d5ada4f0ef1db4f7658cb60749d1df9a80e7c558ac169c0d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/store/key_store_analysis_pressure.rs: src/store/key_store_analysis_pressure.rs 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 15 (its worst body is KeyStore::rebuild_server_pressure_buckets_with_cancel at line 218), 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: harden reconciliation admin observability (#539)\u201D; \u201Cfix: contain reconciliation and observability writes\u201D; \u201Cfix(sqlite): prioritize foreground workloads (#525)\u201D; \u201Cfix(sqlite): keep pressure scans outside writer\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_analysis_pressure.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_analysis_pressure.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73f6aa38020b2def3195f3bc416ad6ddf2af104de97dbd81e23c40c63426e3b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/server/spa.rs: src/server/spa.rs 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 8 (its worst body is tavily_hikari::server::spa::is_content_hashed_pwa_asset at line 13), 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(release): stabilize production image layers (#637)\u201D; \u201Cfix(pwa): bypass cached install metadata\u201D; \u201Cfix(pwa): refresh installed app icons (#560)\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/server/spa.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/spa.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7527fba31f901bfab731f69fc0e281b7f4b793dbf85756fd40c9a48b2a6456d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/server/schedulers_remote_attempt.rs: src/server/schedulers_remote_attempt.rs 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 tavily_hikari::server::schedulers_remote_attempt::sync_key_quota_with_db_job_gate at line 9), 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(reconciliation): defer remote lease until request start\u201D; \u201Cfix(reconciliation): preserve fairness across pre-request failures\u201D; \u201Cfix(reconciliation): restore aged research drain liveness\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/server/schedulers_remote_attempt.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers_remote_attempt.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c70ce4ac62e1fa9746de77f5014c6bbfaa7fb7de8ffbffe4d58425c5bdb68fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/store/key_store_alert_events_cte.rs: src/store/key_store_alert_events_cte.rs 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 KeyStore::push_auth_alert_filters at line 72), 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(alerts): make canonical reductions resumable (#620)\u201D; \u201Cfix(alerts): separate dashboard tail from history\u201D; \u201Cfix(alerts): contain complete projection reads\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_alert_events_cte.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_events_cte.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2a3d4095e91ad5aeba9f8382e0fee83a460df50c25f7411583ba288ab4bd00"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/server/schedulers_dashboard_alert_projection.rs: src/server/schedulers_dashboard_alert_projection.rs 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 tavily_hikari::server::schedulers_dashboard_alert_projection::spawn_dashboard_alert_projection_scheduler at line 1), 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: stabilize runtime recovery and reconciliation\u201D; \u201Cfix(admin): self-heal canonical Alerts warm reads\u201D; \u201Cfix(runtime): converge SQLite maintenance paths (#561)\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/server/schedulers_dashboard_alert_projection.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers_dashboard_alert_projection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9293270bd4d06fff51395daff0cf82772de1b395e7d226485623c2a4e8d3b84b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/store/key_store_request_logs_summary_windows.rs: src/store/key_store_request_logs_summary_windows.rs 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 KeyStore::fetch_dashboard_hourly_request_window_tx at line 406), 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: stabilize runtime recovery and reconciliation\u201D; \u201Cfix(runtime): converge SQLite maintenance paths (#561)\u201D; \u201Cfix(sqlite): prioritize foreground workloads (#525)\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-10..2026-11-08, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-10 14:26:05 \u002B08:00\u0027 --until=\u00272026-11-08 14:26:05 \u002B08:00\u0027 --full-history --no-merges -- src/store/key_store_request_logs_summary_windows.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_summary_windows.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"779a8634eeb9840919424a6b0b788682bbc748c32e7ad5d11dcdb7be065f71ff"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Batch dialog state\u0022 repeats the code it sits on: 3 of its 3 words (batch, dialog, state) are already in \u0060const [batchDialogOpen, setBatchDialogOpen] = useState(false)\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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":2170}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd76e65b77d8c030606613e359b823eedca389584f98e441f353ce1940ce239e"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (178608 LoC, 483 module-visible types across 16 directories) overshoots its size bounds. 2 of 3 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2d5244dbb9040f0ef9a41721fc246c38399605a5b233c47266a2093207fec1"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060web\u0060 (84369 LoC, 636 module-visible types across 15 directories) overshoots its size bounds. 2 of 3 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 0.0/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":"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b6204852d53b9a16d0801698384193a5b48dfb345f6fe7929e989992645ef36"},"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":"eb76d71cd6493a62e9a09ade0894524241b76fef58b574f61c4a759a5999c5a0"},"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":"c8381cdd9539330ccdf5f2819fb2f0ec8e0d20d645b1467a3e5e48700a37b69b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6bc3b539f953f180f304780b633bbb65e6d2911ce57503f2f0e4a05dfd504060"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d9966b23381bbe2b60b096ada3de93c0ddf8027d1c2f85e36d0ccd9e3d70aff"},"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":"cbbbe716cc108c4604f4a6858b653d477c0e5950974da82bd413b9221329e8bb"},"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":"ebac61d292e4757946ff83f15293e2fa751db1ae0044345ec1ca160a7804b230"},"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":"17c766048720a8335fe9cee4b5c94d175d687786ce4fe5ac15a7d88cc7deda62"},"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":"28fb95c74cf7e51a3f6e58d6d5d9aaba698bdc10ef21fbd45c72dc90736c26c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c462b9686dae1617a027bbaa0c34a3c943906ef639b7cac0c4a8e47168cee67"},"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":"a5ff6c36cc77c52281fa395ac6b9e1e18754b22fb93caffb8d30a7715d1e22e8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e8a627e7020ac8119c8ec6c60ce9a9f6a161d947c9dd66552a2bad9e055ffb9"},"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":"560bb9173a4b5f23c7df48690b14cc99d77cba35c4c41612de73d8c66c12a760"},"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":"774e84eaf65696bacc627959839c1af1927b88e5fcbe02a78f7a8b8671c240ba"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1375048b9ca8ef192c23faf83af425d2e99a11eb2f6e7951f3d837d8c63c990e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"311f2b1dd969a2ef73985fc36dd91e65e3d6a6cb49a0706cd68e381199f12c7c"},"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":"0e06a7db65d3b16345f728573a902516c73b5ced12d41a9aa984f1a56a7de140"},"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":"6e22fa714af38036b109f9493501c28af262c3a9a1a2d30d80f7ec23c8ecb75e"},"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":"4a04264eaf0a90ed63886610c9e2251cf5431cabd6d952016a10ea99155c6aad"},"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":"cc4313e08c448232f318be35b7241d4b93cdb38b46607e6d9e1235238dd8f561"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dba947422e5342f3ec1c8c79cd0d382f193ca875a3cf3b831fb3cd646cf4c808"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f57d1d312afdbea5e586f5c4277469ac5784f32d5ade2a108c78d246b6a0be52"},"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":"7205317fc4307744fd9abdaec5a93c99047e2b3dc6e771c88b80b57760d42c9f"},"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":"e6d02e405e7152392bf0694b8f111cdf7966f767ddb336f920b3eb30ab004917"},"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":"5d7d8b785cee51e489fc881cfa78bee854f57d170aa92ac2a6bf9f51ce186a57"},"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":"e8e8b172cf327825d1cf42b544ee79199814e271b1cab65813357983ba6a8730"},"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":"274e422a1f485c10326f671fc0462bb21696f0876cebd7c57789378a1e9137d3"},"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":"d4af17c2699f15d319f250a9e3015d66b6ddba774fbe1c98f445c426bc7efa3b"},"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":"5c5172532770706bb594e28c36323b9158ff84884f9e5553d665b160ef872838"},"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":"40e0c9ff3e70ab9b557fc6c0576cc0b57ffe59bc95e2d2bd2a1fc101309fe9ff"},"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":"8cbe9ee3616fae6209484c71380aa38aed016b14bac8a7ad16f6f855c00170e4"},"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":"d3b9b869913a5b8b21b44f3bb638cfc9e67352f85dab493be60e45ca1720d47b"},"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":"a92f096bf438ab37f42b485173bf01f754ab56a3a570a065da3a25b8b24bc9c7"},"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":"8d22b58d466882e68cecc0c5f6656ea79bccc2bcefdd81656f9feea0dfeb37e1"},"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":"05e0d35a394d4d2dbfa00859ff6c1c607b35759f64d11fd575a706109655b502"},"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":"07b99197706c6132663e5712743995f3107f238c22b42c3d62dcf97067bd8a59"},"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":"858d4d0643a8c2515b5e95daf697cd0dff860d2a0b7da916f74102f9be72e6d5"},"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":"28b507b260744c3ba60012204b56f3d18d3aeb94f0d84777bf30a1b4c10d78e6"},"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":"e261bbe49db76195e229a6a4158bcd3eceda11838b48199e59983dd802b6ce8e"},"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":"7f04748f5d52e63a3b0382825267b758a78ac9adcd42f16a166badd459b2bd44"},"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":"d58c121e0b71630643e6c4b4ab58bf3e034ebb5f34e97e6193dfdc70ac19f871"},"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":"5dd470419a3525e9c1b8fb018cebf7e535835945be10eb9235437104726aa771"},"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":"e1c0a7255edc508660b74dbdf156dcf27b1135fb895c2541e3165e6174e90eb8"},"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":"4ff40ce034b7e2633a1902095dd0b60f448ac76be1412f926f9c06fba92a799e"},"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":"c80e8fee0dc1ee92d52480b91c831a2eb9702e432a391d54a4e909169ec47313"},"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":"176ded96c3eb7d6793728e2c07c1b8ef9414dcbf7197c97cb1fe96864d4739c7"},"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":"32a2681df3263a3011039cd494ace5f27b074e09f0e59f845ca76a2c6ca79416"},"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":"95ee37e50286ab9c5cb5a18dde01ec34bee3b1349f37465ba6a0fe940f8beb57"},"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":"178b9ec3add02fae52d4b135a4de11e53deb5812e4ddf0d4a233ee32966784e0"},"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":"aa887f977ae71245a5146eb55f8f74f23d3f49e5ebef15a637257c306d48ee0b"},"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":"a7dc279bf27f8d44b38540ace753bf5b033440c4cd485164083a345529efada1"},"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":"b3c5e16a2c91fd0b5a00437d3288f1e6cea673d54177fe62843ceb66eadbd37f"},"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":"e2db98b2e8c4e7eb0ed723fc050c584e047749690036a7399fd0444df90063c0"},"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":"916ce0a88b696c4014ce25da98c33d2d663e9456b76ae779f42e39b87ac5113e"},"taxa":[{"id":"CWE-269","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-4","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":"5be03ab325ce0dd57044d4e411f1428508ecf7870bea56774afff406be2e7ce3"},"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":"75369c09bb288495c1ec96550eb2aa9585bb73f2d0abcdd876376a94900b52cc"},"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":"5ebd13a57afc4728c9fd59de6c531e2a761011bce75e49170b0b531cef5b4156"},"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":"338407871e9c53d2625a5754ccc8f84f16e799149817c1d1e310aef9e6213485"},"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":"6819b36024d45f5f0e1d43e74427f1e72c7d8dae5d09101e0f966a51bf6829ab"},"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":"3643ff687baaf09e4fa86f24721b381bb8ec583e4fb1bc9174a893ca376bdfb1"},"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":"1de4e8df69f8ea88743a72dc79ebdff0df14ccb12667fe14ae5c33266501ddc5"},"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":"4f4ca73cb111fac5decfda2cbf08e1d37aaeb3d005a7ae925a7c208f62d737c9"},"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":"1fa330c7309707ca37697fc61231f1ef5256172595d307a940e68ada1b24d848"},"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":"960691d97fbe2b6a685b9a5aa993ca33169d579c014d4f896e1661cc92b48e74"},"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":"3023c54fe351eadf88d7079d81f1f4fc952b8d2624d09c34591e3f911edb3d70"},"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":"fdd698ef6bd7011b091c6ad2b96823de74f9117d1926dfe0d977df291c6d00b0"},"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":"297052c4437aba70e5f5ee1949998e68317d343c96f2d8ab34085c8345d5a15e"},"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":"f40b734f5fc8f448770506e7c34e2a65f4a6bbdec240f0f7285a9b100152251d"},"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":"ae59d5e9dd2c30e110a21be3f2f3e4339df91ffb4154cfcf5f17bedb858ec684"},"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":"24bcc8189b69961073a2a81a26475bc0ac4b4627119c2067a001ba82a978dc0a"},"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":"5a0307a0e95589e470722eaa1f6edefde899ff9d045423b92eaede73ef396b02"},"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":"07bbe295decdd4e2dbf1dae707c08d0f6847c929efa6b8dd50cc50e95f369642"},"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":"64478662fa5e1544368a8d37a73d78bfc90ea789fe52460bc2794d70b8e273b3"},"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":"620f44f7d0814af2bb598a515423618ad407110d7f6058f12541a5a3763e870d"},"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":"59bdb5a1e8e9e2536fc49c741fcb4259a61a8678fc811d3adeb596662203897f"},"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":"5f15554d50be0d0910f2ed27651f29a8753a541d9cf9fe4d098902fd143fa18e"},"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":"238989638eda1117419adee2866100a83618880d1c39bef86c4904b307ab77d5"},"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":"04b15c1d822501a1f3b0513e178960337673a790f4f183f2453907ced2d2833f"},"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":"9e05a9afdb159c3b4e03fba36ee6c997dfff609cf8e7411f86b673ca79d09a53"},"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":"91e163fb21b52caaeb36fb609caec021d6cee484d42dabd33b43b04372a9ca1b"},"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":"92424ebc6898f8de26278d52822679c7c8e0a0593a7271d05dc16b57dabcefbf"},"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":"749d4a048dbd3dcefbd7f353dc0600354e0714ae941b690d36aaef580abde338"},"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":"ca3d75e51e800e377915c3db1c5738dee0115cf5c8e752c49df96bdb3a380942"},"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":"cbc48b480e6a5c0169ca6ec167828968536daa072fccaa3ca80ead5934b42c93"},"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":"7860b3bcdffcbebd01f3be56d228425012005c54a31fe7080deb30211e450272"},"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":"8623fbb2d54d6dc3c838e7c0990f06f98ebf1b7d120dae58c79f7e696e459d74"},"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":"1d11b483dfcf915b1cf80342d758e26c1a3f32b269afb2615b61f8aa4d116443"},"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":"bfca3ab428502a32a6e3526aecece5601529d4afe3f1ced9f15591aa6c10fb4b"},"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"}}]},{"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":"f0d0d3eaed6a0d59fcba83f62b8063bfccff5bddc3b7da926cdbfdfce43a5fdc"},"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"}}]},{"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":"177cec79b4137a479b53317c64b5c62b038ccc67f75e8e79816074fd99258b9e"},"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"}}]},{"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":"96d6029549b363fcbf4a1969e76720ad773e76e5b6b301edc847e75edac5b4e8"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a8cdb38187866d1a5ef414f29976f55d9f61990d45e1a9cf01986b078db1ec82"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8e89a4ebcca17f5f542b2fead780c610ea46919565984161e6d58adb6264e93"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21f4159fe6f26746838b54257eda1f5c3cea17482cb19d7b84a17f44434f8b4f"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3dacc3d9a0238aa7d4dfc9049278159c53035a6696f19a5ca175e0a0345a8ca"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93bdc0d3d5da54fe0b9e029e0c7bc5aa513fb8b8485192a32e53c2c0cf8a5bb9"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c59d49cb15544e429d69ada7d70943ec942fe5bf29d8cb8184ced239233f6f4"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f8d2a599d15bc47a78de7f5734325daafd6e42da27412f5bcbd3772e6911ecf"},"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":"25d3a276ef4b21370da43556fc447eabc4412110f1fa8d3fb4d36bfb264275d8"},"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":"2be949dc46cb541b610807bcc964ca10299dfb4188a016712b53f4e69a338099"},"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":"ba8dddc0f4288e7a5520186d8a9be02905e967ab8b802932726171153eb91cd1"},"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":"1abd5dffc738142a4357880f21aac315b7484070662c8fee79ab29de381f5207"},"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":"4073ebdd0587ab006d6dfc3a9b61cf7c0cd5012d616749c179bd85cb8ca667a2"},"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":"f574603e213c5d5a6c51204c97c169700537327aed1d0ec824261c73a9e844cf"},"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":"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":"e7b5473888bec66ce52dd7eb73d00adf4980590f7b3b7bc7b8b31d404dd2d9f9"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"critical","fixedVersion":"2.0.8","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fcc3dcaf4bb5b90d50d5b3f0db4fe688d1badb21a1796ac7839855a1cc0baa13"},"properties":{"dependency":{"package":"shell-quote","version":"1.8.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"1.8.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1deb1389fafe6e36919f5f2c831ba93850af7c3d45397dc0730d5ff59555519d"},"properties":{"dependency":{"package":"dompurify","version":"3.4.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"3.4.17","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"841a2745edd902653bf9837dd89861dd238b5ec1471fe9c6d80dc8ac764f5129"},"properties":{"dependency":{"package":"seroval","version":"1.5.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]"],"severity":"critical","fixedVersion":"1.5.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3f5f9d94a9157a892a493157c87f6992520eb7b870c69e2831e6d8b7c6d11f6"},"properties":{"dependency":{"package":"seroval","version":"1.5.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"severity":"critical","fixedVersion":"1.6.2","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-843","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":"714247c5ab3078cce4c543860f171819d1a8fe33ce7fa4ba6da43938c62fe524"},"properties":{"dependency":{"package":"dompurify","version":"3.4.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"3.4.17","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39df9f14cf127c186feb9535736d58d5f848857478ccb4f2dbd005d4c2938926"},"properties":{"dependency":{"package":"storybook","version":"10.2.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"10.6.2","relation":"direct","declaredRange":"10.2.10","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":"b5308f9ed219ff7d361ed2b01ab7b5fa7a33b0013fcd35575e7068ccda1d2997"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0185","RUSTSEC-2026-0338","RUSTSEC-2026-0339","RUSTSEC-2026-0340","RUSTSEC-2026-0342","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"severity":"high","fixedVersion":"0.11.15","relation":"transitive","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":"0d3d2c2346bccaaa14c1bd0f0713c18ae4de849fffdc7282dbd533ab105c9398"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.8","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-111943","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6809","RUSTSEC-2026-0049","RUSTSEC-2026-0098","RUSTSEC-2026-0099","RUSTSEC-2026-0104","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"high","fixedVersion":"0.103.13","relation":"transitive","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":"e80166212955305782ecd63648cf84d995faf135cbe4dcb9eacfe6d400b72914"},"properties":{"dependency":{"package":"@modelcontextprotocol/sdk","version":"1.26.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.32.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dde453110d74792e82e76b31f4d4a078ae17c10e4b0a266e91ee5f84a96b4985"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.1.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83cf917ffe5eb204f1d897bec87029aaf4400ef3a29e6c5cd277322f6d7c10dc"},"properties":{"dependency":{"package":"body-parser","version":"2.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.4.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e2c844ee18ac9a641ea30dc49cdcfbf1abe8e80273fa18f842dc69cb93773d24"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1fe624559882e6ec8015b76fe104b5e0a512d6303d16581b08c5f252c4d17cb"},"properties":{"dependency":{"package":"axios","version":"1.13.5","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.16.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aadd9808f81b7bf7345e74981bf660df1eac0525a4bbcae2b66494a5bb38ccc6"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.1.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98efc6714a0070259f29c3b1c70daf69f9b9f42141e544305103cfc4cf89a474"},"properties":{"dependency":{"package":"express-rate-limit","version":"8.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"8.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8aeb5c7f121fbc352eb13b6291d60c5d6be7b85568281df734903a30538276a1"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.1.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0a3dc6860fec66c876915b6809130bf58b5852e369e1380de37ff67292d05ed"},"properties":{"dependency":{"package":"hono","version":"4.12.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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.12.25","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"844fa439793a9e497d44039facc2fb3f56c64d8e91c0508d9a30676169f9f134"},"properties":{"dependency":{"package":"ws","version":"8.19.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.21.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d595162fab35a23788ad0cc3480a353f9fb3672cd106f924908472b68984ea8c"},"properties":{"dependency":{"package":"form-data","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.0.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4032fc5fcf1af358de327500a930da152277255fedc840bf93b9ce7137a3437e"},"properties":{"dependency":{"package":"path-to-regexp","version":"8.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.4.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe5faf496d2e13fc3410c1b7b538e2a11d29abc74f2c5b93d49330a2a833b43a"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b87ce788ef567429428c97c46b1707d4886a58d5ec0988d8f765f1d768d334a4"},"properties":{"dependency":{"package":"ip-address","version":"10.0.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]"],"severity":"high","fixedVersion":"10.3.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"706c3403732655a5ef1f2d659326e4f66737469a7c545217d278e1fbd29905b5"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.19.10","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5da038c52e03b4411bc6933781b3be81cbe2228f0b9b156c5337e4c468e11b7"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.15.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f67870d32615d3f3fbd580b3b90a40c2d2255caca584e877104318cdf30ba71"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.3.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b85ff10a4db5296fc1dc0f288ac1853c58f5a775242bbfb5b7e5ee2a0559fcbc"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.1.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e5fd1a4f4f34c784f6e113076fdd2ce347c5b6647444b95c3d93be4c694f439"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a41c832a2ed2b77b50ada3eb8846709a076ea05ec8e14f97a6d167ded6489916"},"properties":{"dependency":{"package":"postcss","version":"8.5.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.5.12","relation":"transitive","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":"eb6b3b960638d5ffc5234f45365bb0e36096af3bf1f172bdd80ec50d91100d44"},"properties":{"dependency":{"package":"browserslist","version":"4.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.28.7","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d618188d339c60faad0b857a58f4541cee9f1aa34fba908961f9e23820e90aef"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b42f0b71d6a3f7b915763b5cebb924f95efbbb5f99620590e0d001d27f400b5"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.0.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e19adce95a6199ae054bec941246a9d2da2e36bcfb31116be48b53cb65544c8e"},"properties":{"dependency":{"package":"lodash-es","version":"4.17.23","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.18.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64f61a8326cb81ec904e3e0c900639e9e90aa7fb20382512ff9dd267adba5161"},"properties":{"dependency":{"package":"immutable","version":"5.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"5.1.8","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f6ddabb7f417d33d7c7524cd5b1a6f7eca4736313179a2a91df61d0cf6c0382"},"properties":{"dependency":{"package":"minimatch","version":"10.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"10.2.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c981433cd201c0e34e0d6a028fdd2e97051bf5b0f2472af0026362c080cc3507"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.3.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f47a5c3427768ee6c9ee171aee302e4dfbbf5be6862f4a29936895474f4579f3"},"properties":{"dependency":{"package":"nanoid","version":"3.3.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.3.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"982bddf98e2dcdbb84556d783b3140cb770befe0a62bbf9ddc6d6135123833b8"},"properties":{"dependency":{"package":"nanoid","version":"5.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"5.1.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c319b6acc980e8353d1b7fbd68a2a372c9f3bb1679cb0f682529134d5fc812e"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"5.0.7","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ec036dd3080103e1a90125e55ec2e3bd37e03a2d886bbdaad62c144e31a8c7f"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ae9e200897320a4837667d4f2fea1b56978191bcbca9a4faf0cf218cef10060"},"properties":{"dependency":{"package":"browserslist","version":"4.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.28.7","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"900529a728ee665674a2724167ce0230a787551ee09c56499a94aee58e275dfb"},"properties":{"dependency":{"package":"happy-dom","version":"20.8.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"21.0.4","relation":"transitive","reachability":{"kind":"test-or-tooling","file":"web/src/pwa/assetGraph.test.ts","line":3}}}},{"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":"5b05a43639eaed292f46ebd7ba2fca2d6aa3f2c557c3972e7ba86acec25f8e52"},"properties":{"dependency":{"package":"ws","version":"8.19.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.21.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f6dd189bdb222ec8c0ed9749a26bc3c7499783e37a3cd2ea3df17df6ccfdfb8"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f42fe826678230ebcbd0eb9111f5d870dea43971d114a32dc03b0bfe92e8d845"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.0.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19c0e4ae7044bbab2ac5b10a3e45f197e5c95c82e8de0ddf2a20abf94c815d81"},"properties":{"dependency":{"package":"prosemirror-view","version":"1.41.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.42.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6537eeaffc5ba2554c5b1bf980c55d6ad0f738807341ea5fc6a3300ce4f23bac"},"properties":{"dependency":{"package":"rollup","version":"4.57.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.59.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6e046d1e958b78fa377bba75a1551d6984bf343656fb112080022f49b8f4503"},"properties":{"dependency":{"package":"@vue/server-renderer","version":"3.5.34","advisory":"[GHSA redacted]","severity":"high","fixedVersion":"3.5.42","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e8fdfed23465ff359768d902e5aadd3fe31bea9aec042a3be04cfbe5b559b7d"},"properties":{"dependency":{"package":"prosemirror-view","version":"1.41.8","advisory":"[CVE redacted]","severity":"high","fixedVersion":"1.42.3","relation":"transitive","reachability":{"kind":"not-imported"}}},"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":"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":"e436d1e23cd3bb97eb16f067291ab5f08facf63acb830ef3eb1f00adfa002d8e"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"high","fixedVersion":"3.3.18","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-835","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":"8aaf9a442dcea72e8ee2357493908cc793196065ad9d5b242ff1b888a304c1a9"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[CVE redacted]","severity":"high","fixedVersion":"1.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-1284","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":"933a27fa65b81681edf21ddc50b9e8f7322ac0de035b9e036e6e658f467443f3"},"properties":{"dependency":{"package":"@vue/server-renderer","version":"3.5.34","advisory":"[GHSA redacted]","severity":"high","fixedVersion":"3.5.42","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86afb582e167cbfc013cc9d1b93f98a8aa64ce60c654f2a24155e466153d6fc0"},"properties":{"dependency":{"package":"postcss","version":"8.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.5.12","relation":"direct","declaredRange":"^8.4.47","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":"f18a886ba19b2274e1d5e877d140d024e1f3e6bd32481aec97fd67c279b850d5"},"properties":{"dependency":{"package":"postcss","version":"8.5.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.5.18","relation":"direct","declaredRange":"^8.4.47","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":"42f0c1ab465d4073bc710079633276d473b3d37a808e32040f94c5340e4a32aa"},"properties":{"dependency":{"package":"vite","version":"5.4.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.4.4","relation":"direct","declaredRange":"^5.4.11","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":"ca383df8f93c1fcb449201c7c47b9fc487e55acf31a9bb60212d29fe36dde189"},"properties":{"dependency":{"package":"block-buffer","version":"0.11.0","advisory":"[GHSA redacted]","severity":"medium","relation":"transitive","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":"7cb949b0dfc97628adeb5867f44cfbeefa3a6a1068b707709bf0e421e653ea4f"},"properties":{"dependency":{"package":"bytes","version":"1.10.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2026-0007"],"severity":"medium","fixedVersion":"1.11.1","relation":"direct","declaredRange":"1","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":"09aadcc6f21d12b1dc09249844a2aae646dbfe24d2ce9815fa31408b55cf97c8"},"properties":{"dependency":{"package":"chrono","version":"0.4.42","advisory":"RUSTSEC-2026-0543","severity":"medium","relation":"direct","declaredRange":"0.4","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":"cc4db900d7247116e90ac1f55322889d7c04a2f09430308fea72e799e9229468"},"properties":{"dependency":{"package":"crypto-bigint","version":"0.5.5","advisory":"RUSTSEC-2026-0387","severity":"medium","fixedVersion":"0.7.6","relation":"transitive","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":"80b5c22beae306eb623d7a60ec13361ab89285e1cc30fcf5b8daa2e87ffb5c69"},"properties":{"dependency":{"package":"h2","version":"0.4.12","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.4.16","relation":"transitive","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":"7b3f5e73f54279d8a385f3ccb6ce6659725cab3121019062bfd36c6500f66d85"},"properties":{"dependency":{"package":"libsqlite3-sys","version":"0.27.0","advisory":"RUSTSEC-2026-0459","aliases":["BIT-sqlite-2026-119375","[CVE redacted]","[GHSA redacted]","RUSTSEC-2026-0502"],"severity":"medium","fixedVersion":"0.39.0","relation":"direct","declaredRange":"0.27","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":"5922a5beeab5ac077ffb485a783ad545036e79b56239f83da38f3fb84336b113"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","severity":"medium","relation":"transitive","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":"46f49615124997a47ae03424c2b2e05e8f53b2ec644cd091de0dc203d46f11ac"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","severity":"medium","relation":"transitive","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":"807f8246bd6992efda4fb0308eb9f64218ed9c0576609446438616eda18fe2cd"},"properties":{"dependency":{"package":"protobuf","version":"2.28.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2024-0437"],"severity":"medium","fixedVersion":"3.7.2","relation":"transitive","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":"28f0bc6d34596072b24d37b19b745b7394ed4ce99a53e032439b262379e02dc1"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.14","advisory":"RUSTSEC-2026-0538","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.5.16","relation":"transitive","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":"d44a25813d8a9e18eb42fa5350a972c298292d454155c6472f091bfb670363df"},"properties":{"dependency":{"package":"rand","version":"0.8.5","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.8.6","relation":"direct","declaredRange":"0.8","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":"ac07f6d7edfd49261e66a0ecf670dc83aeb27f637d0eaec58b89ac41744f7835"},"properties":{"dependency":{"package":"rsa","version":"0.9.10","advisory":"RUSTSEC-2023-0071","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"0.10.0","relation":"transitive","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":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.2","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"1.1.6","relation":"transitive","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":"d7481fb93c86b503a82a3e06a3172c7e27c5da26b8a178702a1e8028944c7596"},"properties":{"dependency":{"package":"rustls","version":"0.23.34","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"severity":"medium","fixedVersion":"0.23.45","relation":"transitive","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":"890dd3d950cfcd5c5e16d65ca463b90494c6cfb08e4519466279d53684683085"},"properties":{"dependency":{"package":"sqlx","version":"0.7.4","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2024-0363"],"severity":"medium","fixedVersion":"0.8.1","relation":"direct","declaredRange":"0.7","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":"c64e30c28e3c0e2ac4c865fc1656b78d3404e0bf0484e55f9176b7c5f283f360"},"properties":{"dependency":{"package":"tokio","version":"1.48.0","advisory":"RUSTSEC-2026-0386","severity":"medium","fixedVersion":"1.51.6","relation":"direct","declaredRange":"1.37","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":"232458f1e861a473d11b103db83010acd3c76ee2f5eb5b53069ae6f2eda9586f"},"properties":{"dependency":{"package":"webpki-roots","version":"1.0.8","advisory":"RUSTSEC-2026-0381","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.0.10","relation":"transitive","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":"f4999ef69e42f46a403f3866a4a634365963f93fdd6e82c0c4a8e528a960ab52"},"properties":{"dependency":{"package":"zstd","version":"0.13.3","advisory":"RUSTSEC-2026-0391","severity":"medium","fixedVersion":"0.13.4","relation":"direct","declaredRange":"0.13","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":"06e8dc8c07565b965cad3fead890e0d682e96e4f994ab4a0654e3f10afe7962d"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0395","severity":"medium","fixedVersion":"7.4.0","relation":"transitive","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":"414bb4a49ee404ddc9dbe92931374dee643d4d3104e067391ed93041a77ff631"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0396","severity":"medium","fixedVersion":"7.4.0","relation":"transitive","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":"d67834474e5564706ab5d6117a7537fa7ddd9f89e1070ff0f40846a68262b203"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0397","severity":"medium","fixedVersion":"7.4.0","relation":"transitive","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":"64bc44f41a35cd29a5d01a7b192ce2cc5f1d458c15d9df1d5239ebb5b7c6fd43"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0399","severity":"medium","fixedVersion":"7.4.0","relation":"transitive","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":"a79bcf37fda3b3cfb40243fa81b1818f80a0fe095c267b68e3c7eee6f042ddc9"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0400","severity":"medium","fixedVersion":"7.4.0","relation":"transitive","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":"21df614167acad094349de8aa7cfc685e485f636d67b1ded35b43230df65a136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0401","severity":"medium","fixedVersion":"7.4.0","relation":"transitive","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":"fd61c6a1a6d23109e3da0a091cdbb2ecd3102dd1235e0548e2d8ffd7db2a7005"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0402","severity":"medium","fixedVersion":"7.4.0","relation":"transitive","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":"a910032c7367726c7f26107809b36a5b0ab01a6e3af6f2b0cf67b659ecca9e49"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0404","severity":"medium","fixedVersion":"7.4.0","relation":"transitive","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":"d11388e41908d6112e7f61d01d0c0d9062830b07945356073c8069de5b88d627"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0405","severity":"medium","fixedVersion":"7.4.0","relation":"transitive","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":"dbb5f2efe8d9cca6344840981b65d21b774960589fc9976e6690dc84fce97102"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0406","severity":"medium","fixedVersion":"7.4.0","relation":"transitive","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":"d7870b77ea4843334d11fffa265d6d0542e94eec7f4c8e852762d55c28578136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0398","aliases":["RUSTSEC-2026-0403"],"severity":"medium","fixedVersion":"7.4.0","relation":"transitive","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":"84f9b61ffb7d87f7a0ea344424bcbd7389e2ed41eb01432b04fba9f732cd312c"},"properties":{"dependency":{"package":"zstd-sys","version":"2.0.16\u002Bzstd.1.5.7","advisory":"RUSTSEC-2026-0410","severity":"medium","fixedVersion":"2.1.2","relation":"transitive","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":"8c2c19ecd2e8c2cad5b693fd64e7abdb9ab5ffe514baf968b48f6c52bf9c2ba0"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"6.14.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2263a75da41737bd41be73a206bdf4145a5cf182e4ae843b420ad4dbcb950cf4"},"properties":{"dependency":{"package":"qs","version":"6.15.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"6.16.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"626ad5e9770df6d77c37c57d03d9adbbb324aba1462608c8c2d3a32493d94d12"},"properties":{"dependency":{"package":"follow-redirects","version":"1.15.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.16.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50de33dbad4675b01e5e8951330bec110f56d38aa030d4240b8a40a221040818"},"properties":{"dependency":{"package":"@remix-run/router","version":"1.23.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.23.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc8a1c53f94f33416a46679474f4c731dae3f8460746b80e8ad837d016c8bc05"},"properties":{"dependency":{"package":"react-router","version":"6.30.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"6.30.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89981fea643e76dda02251a72e65a25f81d651b9e397153d3a16ca19f2949277"},"properties":{"dependency":{"package":"react-router-dom","version":"6.30.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"6.30.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01d4f744641989372dbdf7cb81dbe73fd219a9a179ecc8b27df4369566faec5a"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.11.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccc2cf4c9cd6ba1ef92d39f192b14fd309f80406d94cf91ed05f11cc5c66a3cd"},"properties":{"dependency":{"package":"prismjs","version":"1.27.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.30.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8c7c181f4c0cd54a8ca064f62219f417c1a38bedcf5e6d2bb9bc4876c636fec"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b088f2086e90029936f0fa4794fb5a92dd7943a06d094b5be3cd16b02ceaed73"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"6.1.5","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea0b03b15879d46ecdc139116bbf3041362e7e7ccf2f96eca09076065f02385f"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.11.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5447e338bcfc9c1ea7b6bed9097e6a77b4497bbc96dd9437b6f20105e4e22d3e"},"properties":{"dependency":{"package":"esbuild","version":"0.21.5","advisory":"[GHSA redacted]","severity":"medium","fixedVersion":"0.25.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2af325e0be6d6b19000c2ddd1b42d16ce480d9a4ba426bdb476236ca2e3e13b4"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"0.18.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"58c7167b91e471f686e3d7143a51011792390bc707d408c0267d34410ac95938"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"7.29.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae606bc32e7d91dc15df5f2b079cfbbcdd7e1a6300631ab1d5d24dbefc256b37"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[CVE redacted]","severity":"low","fixedVersion":"0.18.2","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-807","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"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":"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":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: gc_recovery_load.py \u2194 key_store_dashboard_rollup_integrity.rs: \u0060scripts/gc_recovery_load.py\u0060 (context scripts) and \u0060src/store/key_store_dashboard_rollup_integrity.rs\u0060 (context store) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060b67f65c3\u0060 fix(recovery): close bounded GC integrity gaps; \u00608d004fb1\u0060 fix(recovery): harden resumable target recovery; \u00600cc854c3\u0060 feat(recovery): add bounded request statistics recovery \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/gc_recovery_load.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc9dc740271cbc6e5086f8e4c2e465146e1856ae3801b914b551560600a9b39"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: public.rs \u2194 key_store_request_logs_summary_windows.rs: \u0060src/server/handlers/public.rs\u0060 (context handlers) and \u0060src/store/key_store_request_logs_summary_windows.rs\u0060 (context store) sit in DIFFERENT parts of the tree yet change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060b568d761\u0060 feat(admin): add credit trend charts; \u0060e327d67a\u0060 fix(admin): preserve stale stats snapshot boundaries; \u0060541d1f39\u0060 fix(admin): decouple dashboard quota and alerts hot paths \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7736ea7fab9d33c9d3a81c23c183bf6475e807bbfa6af5dafab44974c76ab9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: en.ts \u2194 zh.ts: \u0060web/src/i18n/translations/en.ts\u0060 and \u0060web/src/i18n/translations/zh.ts\u0060 change together 93% of the time (52 of the 56 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 52 shared commits counted here, the most recent 3 are \u0060c65f8a40\u0060 feat(admin): clarify system settings limit fields (#554); \u00604e5368fa\u0060 fix(ha): normalize topology diagnostics across admin views (#536); \u00608a2adaad\u0060 fix(alerts): contain complete projection reads \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/i18n/translations/en.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae29dbdf23b76b4fbe069aca45ffc196f6b5d070b34955cf4b8cf4aeaf904a3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: tests.rs \u2192 analysis.rs, dto.rs, admin_resources.rs, tavily.rs, user.rs, proxy.rs, TokenDetail.stories.tsx: \u0060src/server/tests.rs\u0060 changes together with 7 other files \u2014 \u0060src/analysis.rs\u0060, \u0060src/server/dto.rs\u0060, \u0060src/server/handlers/admin_resources.rs\u0060, \u0060src/server/handlers/tavily.rs\u0060, \u0060src/server/handlers/user.rs\u0060, \u0060src/server/proxy.rs\u0060, \u0060web/src/pages/TokenDetail.stories.tsx\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 7 separate couplings, not 7 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 7."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee0fb8b0434800c7b0e7a2835fdce8477a359554bb3204b7459d522a2b8864f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: UserConsole.stories.tsx \u2194 text.ts: \u0060web/src/UserConsole.stories.tsx\u0060 and \u0060web/src/user-console/text.ts\u0060 change together 65% of the time (11 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 \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u006015a0877f\u0060 feat(console): improve announcement history handling; \u0060f01edc81\u0060 feat(console): add token setup guide (#440); \u0060eba8254d\u0060 fix(console): compact token list and hide notes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/UserConsole.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca92faf1b3c068baac3543038e94c21f31647a59815e0ce31c673f1577df30b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: AdminPages.stories.tsx \u2192 admin_resources.rs, AdminShell.tsx, routes.ts: \u0060web/src/admin/AdminPages.stories.tsx\u0060 changes together with 3 other files \u2014 \u0060src/server/handlers/admin_resources.rs\u0060, \u0060web/src/admin/AdminShell.tsx\u0060, \u0060web/src/admin/routes.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":"web/src/admin/AdminPages.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5fdce885c6d52ade05fed3693d4941bd22f1e67ae6c3fc7eae6e7f59604cb0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: dto.rs \u2194 proxy.rs: \u0060src/server/dto.rs\u0060 and \u0060src/server/proxy.rs\u0060 change together 52% of the time (12 of the 23 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 12 shared commits counted here, the most recent 3 are \u006052f40a47\u0060 feat: add rebalance MCP gateway; \u00606f2616d2\u0060 feat: move raw request limiting into memory; \u00600727911d\u0060 feat(admin): split request log effect buckets \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d3ae79e0cb97942afb2db28741b05df104c44407da81c72dfc3252cb6837bf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AdminPagesStoryRuntime.tsx \u2194 demo.ts: \u0060web/src/admin/storySupport/AdminPagesStoryRuntime.tsx\u0060 and \u0060web/src/api/demo.ts\u0060 change together 52% of the time (17 of the 33 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 17 shared commits counted here, the most recent 3 are \u006024640cb0\u0060 feat(auth): scope passkeys to local nodes; \u00600b33d569\u0060 fix(admin): project hybrid shadow daily usage; \u00609bed1a75\u0060 feat(admin): move risk signals into alerts \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc1c7264c52ba5783873869826d5aa6792a6a47cac277df45978d43aedbc9de"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: dto.rs \u2194 TokenDetail.stories.tsx: \u0060src/server/dto.rs\u0060 and \u0060web/src/pages/TokenDetail.stories.tsx\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00600727911d\u0060 feat(admin): split request log effect buckets; \u006086e16497\u0060 fix(admin): split recent request logs loading; \u00609b902cb1\u0060 feat(logs): canonicalize request kinds (#181) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ce732e7d3b939ee111204d0757d7ac647f84967db4052da7d56228787a2a6a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lib.rs \u2194 vite.config.ts: \u0060src/lib.rs\u0060 and \u0060web/vite.config.ts\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060640b122d\u0060 feat(proxy): add global socks5 relay egress; \u0060bedd49e4\u0060 feat(admin): persist registration-aware proxy assignment; \u0060219c9368\u0060 feat: improve forward proxy validation UX \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8218780a6866df9c1578291083a7ac646eeb8c1d05c38ab59a28269f683f26c5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: key_store_upstream_reconciliation.rs \u2194 UpstreamPrivacyStatusModule.tsx: \u0060src/store/key_store_upstream_reconciliation.rs\u0060 and \u0060web/src/admin/UpstreamPrivacyStatusModule.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) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00605e0d812e\u0060 fix(reconciliation): classify Research poll outcomes (#559); \u00600ec27b1d\u0060 fix(reconciliation): resume multi-key observations; \u006089fd4b3e\u0060 fix(reconciliation): persist research timeout retries \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6003471d727d6025c6eff7758562c3538e3bd41ccf91951571478aa68be1dda7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: proxy_quota_sync_and_jobs.rs \u2194 UpstreamPrivacyStatusModule.tsx: \u0060src/tavily_proxy/proxy_quota_sync_and_jobs.rs\u0060 and \u0060web/src/admin/UpstreamPrivacyStatusModule.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) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00605e0d812e\u0060 fix(reconciliation): classify Research poll outcomes (#559); \u00600ec27b1d\u0060 fix(reconciliation): resume multi-key observations; \u006089fd4b3e\u0060 fix(reconciliation): persist research timeout retries \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_quota_sync_and_jobs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc0a77cf77395f6dcf886531192ba59bdb7076623f1df498893059a8df9b491"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"D44","level":"warning","message":{"text":"End-of-life runtime: Rust 1.91: rust-toolchain.toml declares Rust 1.91 as this project\u0027s toolchain file, and Rust 1.91, superseded by 1.92 on 2025-12-11 (the Rust project patches only the current stable). An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2025-12-11 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust-toolchain.toml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee48c4e5bf9bd07e3999f81f0c1285b44f14d8eb6a2c447f9ae879e24f72f66"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8684}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2b94c7d242c32beeef472313262cbfd112c0754e16119333f1778323561635"}},{"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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"95298dc7bbe763557c665d38d5da91bc3d397be81059f2a7de92aae9f9246dce"}},{"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/src/components/CherryStudioMock.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"04caefba65e47ffd59bb9c366547ee237c27fa9b1f0b9102fcfe58775aeac9e3"}},{"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/src/components/CherryStudioMock.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfa0b08545658aad3a06b8f955d5095ed1f08b35dd09b1784956bfe12fb9582"}},{"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/src/components/CherryStudioMock.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf81c0ba7a63f56ad3f224da1f7a9c9f091a40ba472df941076fa06f53a3ed6b"}},{"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/src/components/CherryStudioMock.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffca66c31c2bfc8a4538c963d69663d24ffdf1cdb20edb9d4ec4d642f0562a5"}},{"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/src/components/ConnectivityChecksPanel.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7357fecd3a5bae8abda818ca7aa4cdcac7d04ad4705ae8ca448ccdca4b51d8e0"}},{"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/src/components/ManualCopyBubble.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2514c260ef523d422600ca3c733d1c616a89872b437912a3ba95244310ba76e"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/pages/TokenDetail.tsx"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc845784da7f066eccd680d1cdb5e11b00ac4883f34e01eb8b732dec70ecc2c"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10391}}}],"partialFingerprints":{"codehealthFindingId/v1":"85125d1422761b9ee5828240390cbfa348f351f67530b7d3dc9d929a5a6b8452"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10457}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53d1fc6943071557fc3ec405d951e15a023ce4678c1eb717cf34b97a67095cc"}},{"ruleId":"AC4","level":"error","message":{"text":"Focusable \u003Cpath\u003E isn\u0027t keyboard-operable: This \u003Cpath\u003E carries tabIndex={0}, so it is in the tab order and a keyboard user will land on it \u2014 but its behaviour is bound to the pointer only, with no key handler. A tabindex makes an element focusable, not operable: Enter and Space fire a click on a native \u003Cbutton\u003E or \u003Ca href\u003E and nowhere else, so this can be focused and never activated. Use a \u003Cbutton\u003E, or handle Enter/Space in a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77e49f0fac985c3af0591321f3876030e5eda8d3f5fd8f07947a7d6dea2a207"}},{"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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a442defde4ce715e306c31725909504bf754f396c047631a63ad6e00e79544"}},{"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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b1808d0b5ae9c1b1db742e554de41cfbe5731f41372ce858e4ca9979433a04"}},{"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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4626107719a29ce9cc7ced0ef274f675173534805a9689207d40b9ca9cca41"}},{"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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ff036a245bdf268869d56c3f324a33f08368282f15c2a5d96f55599d462ab1"}},{"ruleId":"AC5","level":"error","message":{"text":"aria-hidden hides a focusable element: aria-hidden=\u0022true\u0022 here hides the subtree from assistive tech, but a focusable descendant stays in the tab order \u2014 a keyboard user can land on a control screen readers can\u0027t see. Add inert, take the descendants out of the tab order (tabindex=\u0022-1\u0022), or drop aria-hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/MarkdownEditor.storybook.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8b7d67cdeee23792501e8fad3e4cfabc02f267ca87172946b36ffcdf93bf56"}},{"ruleId":"AC5","level":"error","message":{"text":"aria-hidden hides a focusable element: aria-hidden=\u0022true\u0022 here hides the subtree from assistive tech, but a focusable descendant stays in the tab order \u2014 a keyboard user can land on a control screen readers can\u0027t see. Add inert, take the descendants out of the tab order (tabindex=\u0022-1\u0022), or drop aria-hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/MarkdownEditor.storybook.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"06209c7c6a4f2f78ccaf9f0192d9773202339f9510bffa479524722aedabd448"}},{"ruleId":"AC5","level":"error","message":{"text":"Invalid ARIA role \u0022text\u0022: This role is not a valid WAI-ARIA role, so assistive tech ignores it. Use a valid role (or the native element)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RollingNumber.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26dada0a252db28b2a5cf2bff88e77ecf9e7187153abd33b8a5ff31aec894d1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.markdown-editor-shell .ProseMirror\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/src/styles/admin-announcements.css"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6673612f0f9ac4eeeeccb51218229ee49e578b619501ac2f741ee50c92a3b9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.markdown-editor-storybook-input: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/src/styles/admin-announcements.css"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cafb9b4972bc201377e22904ea0556c0444f2fb3f455da518974f96c64cf0f5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.btn: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/src/styles/base.css"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f4c5df020e26574282e5e9a1e5ecb0eec64dbf2ae9250274ec1ae929f39acd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.input:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/styles/base.css"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"c616a949451dd46e943677be5abeb93454a2000544e8a8086cc5fcd13280966a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.forward-proxy-error-pie-slice: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/src/styles/dark.css"},"region":{"startLine":1826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04209802b23fa315d39cc7fea6a51b27b3eab6ddb70b8cc589cf8fd163f2d08"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"C3","level":"note","message":{"text":"Partial audit-trail evidence: An audit mechanism is present, but the trail is not yet complete \u2014 missing: a write-side hook every change flows through (a SeaORM ActiveModelBehavior hook or a database trigger recording each change, or an event-sourced store), per-entity coverage (an event-sourced aggregate, or a hook on each entity that needs a who-changed-what trail)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"274a04e524f3228d241c99316455563739cb06cfd10a01e446d00b8a14956083"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp_request_log_retry_repair.main calls \u0060std::fs::create_dir_all\u0060: \u0060mcp_request_log_retry_repair.main\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_request_log_retry_repair.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"d965545fa773b7cdc29c5ac563c81b08cf3829c32c429817f8063ff3b7014ce7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp_search_billing_repair.main calls \u0060std::fs::create_dir_all\u0060: \u0060mcp_search_billing_repair.main\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_search_billing_repair.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c796b38cac3f135109d0dda4f5edaf88c250baa4e35de76dc4b37bd38278796"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp_session_delete_neutral_repair.main calls \u0060std::fs::create_dir_all\u0060: \u0060mcp_session_delete_neutral_repair.main\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_session_delete_neutral_repair.rs"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"af46749d89c9f578dc2e06f3ff3d7dc7ebf31631dced0e7e8e4db58d8f1988b9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: sqlite_sidecar.legacy_request_logs_inline_sidecar_migration_allowed calls \u0060std::fs::metadata\u0060: \u0060sqlite_sidecar.legacy_request_logs_inline_sidecar_migration_allowed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/support/sqlite_sidecar.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44807d9c69eda2f6b357a22a5668355f2cbd829799bc53faa9346ec398916ce"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: ReservedLocalPort.bind calls \u0060TcpListener::bind\u0060: \u0060ReservedLocalPort.bind\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060TcpListener::bind\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/relay_and_xray.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7d6c3b9bbf684f6964bb515df123bc797f1bb41caa4a7503a832a31aea3cfc"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: src.main calls \u0060std::fs::create_dir_all\u0060: \u0060src.main\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ecf6711034c8694c4c5d95901e756e704b07b49a3d4bd9763bee53aab7d570"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: observability.start_exporter calls \u0060std::fs::read_to_string\u0060: \u0060observability.start_exporter\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/observability.rs"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"729ef71e7e69ebbb5fde2b85758c3f336fa14f7991f7c4aed336f83be1903935"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: runtime_logging.read_process_status calls \u0060std::fs::read_to_string\u0060: \u0060runtime_logging.read_process_status\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime_logging.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf42bb226a19d529f141fdaed90299637f444ebcc60fb3bf00e297a65757e67b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: runtime_logging.sum_child_rss_bytes calls \u0060std::fs::read_to_string\u0060: \u0060runtime_logging.sum_child_rss_bytes\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime_logging.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fea8311b033425fcb0197b1dffe438ca52805c0f165e66f6d202ddbacc74a92"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: runtime_logging.read_relative_cgroup_path calls \u0060std::fs::read_to_string\u0060: \u0060runtime_logging.read_relative_cgroup_path\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime_logging.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c470a1a045136aaf40675b58e362827284ec1c45797fa7225f15e5651e3e31"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: runtime_logging.read_u64_from_file calls \u0060std::fs::read_to_string\u0060: \u0060runtime_logging.read_u64_from_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime_logging.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be31098824fc07b4d11cd389ccea132bc9edf828590137925545be838bf7177"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: runtime_logging.read_memory_limit_from_file calls \u0060std::fs::read_to_string\u0060: \u0060runtime_logging.read_memory_limit_from_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime_logging.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d25625228e259af9303a2b93515289c144de5cd323545767355984beae6c753"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: KeyStore.sqlite_db_stats calls \u0060std::fs::metadata\u0060: \u0060KeyStore.sqlite_db_stats\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_jobs.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dfe4193e592d980c0211ef184d9d01574cc2a6150e92af52ce847acbf0470b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: KeyStore.sqlite_db_stats calls \u0060std::fs::metadata\u0060: \u0060KeyStore.sqlite_db_stats\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_jobs.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb589862fa30b0fd89efa0346fd33f1457a8949016812c8504328102bea34e9f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: KeyStore.sqlite_db_stats calls \u0060std::fs::metadata\u0060: \u0060KeyStore.sqlite_db_stats\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_jobs.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe4b2a718e76e49bfaa5272d957582c6bb63641c399dd5e1517d5dcd756a737"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: KeyStore.sqlite_db_stats calls \u0060std::fs::metadata\u0060: \u0060KeyStore.sqlite_db_stats\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_jobs.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f078290810415b99aa12143783ca8f74d03f56a28cfbb7b3592f26e875d76472"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: KeyStore.run_observability_sidecar_migrate calls \u0060std::fs::metadata\u0060: \u0060KeyStore.run_observability_sidecar_migrate\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_observability_sidecar.rs"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e82826081a03b2b62e6e73e70f2b429e3ac02af087de5d2f2ebce7595e75bdc"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: KeyStore.run_observability_sidecar_migrate calls \u0060std::fs::metadata\u0060: \u0060KeyStore.run_observability_sidecar_migrate\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_observability_sidecar.rs"},"region":{"startLine":2053}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d0637a1c261b484721a00de756528dd82ee4c271bffd36f0ead00274df5568"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: store.legacy_request_logs_inline_sidecar_migration_allowed calls \u0060std::fs::metadata\u0060: \u0060store.legacy_request_logs_inline_sidecar_migration_allowed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8966aca6e61476bed48e2bfdf34489c6b26f6beb0d037fbcba773ba8d240783"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: store.core_database_file_size calls \u0060std::fs::metadata\u0060: \u0060store.core_database_file_size\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c365e77d105bc53e731d1aa098d5faeab3ef031556c9e194b146d74d2c450c7"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060set_request_operation\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/observability.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"656803622cdc4b5b427fe38c39a79aab6b8db737bb96cc68214045096b8502b8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060emit_admin_privacy_status_prewarm_deferred\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a5272df13dc136ba170bdee3d073ad30dd167b3a3a58526ff76618ea333d3b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060import_ha_recovery_events\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d196ee5425144d295d7d6e5ad76a9b0d822e9691b6d86bff11fec674b66467"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060emit_shadow_adjustment_written_log\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":2672}}}],"partialFingerprints":{"codehealthFindingId/v1":"7228e434af06d168e25cc6ee55eca2c7bddf3c5f4213ae824755b3df8967d899"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060log_db_operation_error\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27b60670d5582f068016c378d35f7900c081345690b95b97e440ddd9970bb59"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060log_sqlite_transient_write_retry_with_fields\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_contention_logging.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96da19676d1e2ea9bca59a6073a4493c2ee8081d7e6a3914c7a60f1ed9c138a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060log_sqlite_transient_write_exhaustion_with_fields\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_contention_logging.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36a24e13a7d3f59bf203cf13ca5b4de901b66ee6e8292f79b0de8fffd118759"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch github-actions/bun/cargo: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060github-actions\u0060, \u0060bun\u0060, \u0060cargo\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fcc433ed29aff69b410f8fb837e42a3f71a516ca822e67cf34fd9f41012e88"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::new()\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mock_edgeone_ingress.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a121fe02e74fe07168f9cdb6d1ec7d02345734029469c32dd4b12e48bbe6df"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::new()\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mock_mcp_client.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25ab54889cf134bef934c0716708a2e5c0ee4b0dcf35b2a2edfc78d9e5515de"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::new()\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mock_upstream.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ab9af6887a3e9894c34a4c36436632f824007da393121704357a9369ca3d8c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::builder()\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/relay_and_xray.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd77dc7e6a7788c2d0fa4aabb54588c7796e7ae2def5bdcb7191b183b8a240a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::builder()\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/relay_and_xray.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"10006882fbfa658a499f931dc968bf4fa7b26f4ae341a8e9a88c84cd2167402a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ha.rs"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e38633ce34b0a25fb456e4fa18a6288dea76ec423c7899dc0411e3e96e3cf6"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/recharges_and_totp.rs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d256542fcdf5c28f93b2fdfd3ccad9c11c885c3af0754076d612df1aa0700c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"872043e02126b3d0b1589e1c19244cc4da753b7d58553edefc8e956bd22bb451"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":2305}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fe06331550574498fc36e87f681b466dd012e289bfc4b7130c46534a6eb677"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee39decf5cef71f729ae63700202ad372ca7afc29d46a8062dc74de83a8e9de"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"5510d519d45cb4e0b77f34878073a21126af0622720a46f39d8d49912ecea2ca"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcf42e74cf058d7d357d9e5624552239848dba0be1bcec96cfb58828424470c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/serve.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b4a537447d2a6a819b572c41136d9e847f8ff14919542400b3e6ddbddeb5f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (79 clone groups): 79 duplicated blocks under web/src/ have copies in at least two of the sibling directories admin, api, components, i18n, lib, pages (\u002B1 more sibling(s) not listed) \u2014 35 of them are reported below, and 44 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 79 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 79 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 79 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/src/admin/DashboardOverview.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd239a4be8c47c86eaf80cb895b92f098ae48bb518e157e2caa65df32b7dfe78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (7 clone groups): 7 duplicated blocks under web/src/admin/ have copies in at least two of the sibling directories screens, storySupport \u2014 6 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 7 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 7 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 7 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/screens/UnboundTokenUsageScreen.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95aead31a06ee8714afd04b1b683ada2b09adf712a120ae6447ea4bf76abcfe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (230 matched lines \u00D7 2 locations): web/src/admin/screens/UnboundTokenUsageScreen.tsx:106 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5406 \u2014 the two spans are one implementation copied and then locally edited \u2014 1447 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/src/admin/screens/UnboundTokenUsageScreen.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"18be240f3e0d8216f925ac7f4e3efe002e5df7226b1bfd0cfdc22a1fbce7ea39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (224 lines \u00D7 2 locations): web/src/PublicHome.tsx:1047 \u00B7 web/src/user-console/guide.tsx:146 \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/src/PublicHome.tsx"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"1493ab1797c8d709f79e83fd7e9ff691a90bb3a8b52112eb05c0897d15bd3a78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (120 matched lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:8048 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:2702 \u2014 the two spans are one implementation copied and then locally edited \u2014 830 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8048}}}],"partialFingerprints":{"codehealthFindingId/v1":"890de88212ee94c251bbd3624414f795f598a8d5e2fa1aca8b1de38ed1924769"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (91 matched lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:10888 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11616 \u2014 the two spans are one implementation copied and then locally edited \u2014 578 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10888}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea3c7d07e0d7a08531eaf47e4700dee9a1514187b7f25f50fd873a5804f73c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (85 matched lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:12322 \u00B7 web/src/admin/screens/UsersUsageScreen.tsx:244 \u2014 the two spans are one implementation copied and then locally edited \u2014 528 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12322}}}],"partialFingerprints":{"codehealthFindingId/v1":"003f3d67994ea88b43284e9da67f4f2cf0948ceefbaa73b7763cc051f460ac99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2 locations): web/src/admin/DashboardOverview.tsx:90 \u00B7 web/src/i18n/types.ts:277 \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/src/admin/DashboardOverview.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d463aadb9a1d0c475bc2f0799a3e46923520db728b7afbfb4f2e9f8fe72699"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): web/src/api/userConsoleNormalization.ts:301 \u00B7 web/src/api/userConsoleNormalization.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/api/userConsoleNormalization.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9250fbedc67a26ab8efa9df410bebcadc81fdfb798f8372d5c21757476887ca2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:9710 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:9979 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":9710}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b138de4c2644b6611f52542456bc091c2b56c4a52c484595dd092fb5aab2ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): web/src/lib/haCopy.ts:57 \u00B7 web/src/lib/haCopy.ts:109 \u2014 the two spans are one implementation copied and then locally edited \u2014 258 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/src/lib/haCopy.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd8bd2f2a6ddaf1819d92684767c5ceda995189e178a09fb6c9ad5c0bfd5dfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:3809 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:13016 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":3809}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faab21badc738dc835af1c8b1e883c92c9068be4ae36cbda14b9e1ec75ad971"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:1152 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:2650 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa3540e9203ddb109a00b54649efc70f49954a06b347f1e99f190cc4673b80a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6910 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7008 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":6910}}}],"partialFingerprints":{"codehealthFindingId/v1":"2734c61b2a8019f80b9ef0188003d5a92897defa283bca9ec249cf436673da0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): web/src/user-console/BillingPage.tsx:59 \u00B7 web/src/user-console/RechargePanel.tsx:39 \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/src/user-console/BillingPage.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"734f9086d0e35763859120a6e8988b330b332f4a7751dfd0c59ba1d89830596f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:1464 \u00B7 web/src/admin/screens/shared.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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0163d4cb77b220c8574629ebb92d376755ede9ed9a5b2a00a6418036fd2e97b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:2841 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:2883 \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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":2841}}}],"partialFingerprints":{"codehealthFindingId/v1":"df89cf4e445098270cdd36148fc78d08f4a7bf85b86b9ec59a912688ad0e3192"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): web/src/components/requestLogRebalance.tsx:36 \u00B7 web/src/components/requestLogRebalance.tsx:88 \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/src/components/requestLogRebalance.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1593b2725a9f0455aab594e7f532b9fa3a2440a36033053ee8e4cb05d3da1516"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:4086 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:5347 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":4086}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd21a401cb36c8d6d7c74e6acd24e29c2fa879a6250834b8cef4c88d6f7b66d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (39 matched lines \u00D7 2 locations): web/src/admin/ApiKeyBulkSyncProgressBubble.tsx:85 \u00B7 web/src/admin/ForwardProxyProgressBubble.tsx:38 \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/src/admin/ApiKeyBulkSyncProgressBubble.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa12c2267bd7eedf93ccd0e4c17113bb6e10ec8a8297e2516e9e06abe15659ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:500 \u00B7 web/src/admin/KeyStickyPanels.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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"84129f06c9ac1c1d8c1ecc26775a930422d38073004f0e7613e21411228b2e67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:3979 \u00B7 web/src/pages/TokenDetail.tsx:1086 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":3979}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0cc2405a2c7b4edb977250d23b64ede4099583438c519f32e8ffb04b7d136f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:10207 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4647 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10207}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a2f935b21d4a504b66bd5095653cfa5ade97a919f6fc23c3d1cf05b4a4ea35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11530 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4283 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11530}}}],"partialFingerprints":{"codehealthFindingId/v1":"20073cffbb712d8e37eaae3b69faafea116e38aecfb16527a39c9d004c2b0ff3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:1160 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:1244 \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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"226ab95f2551365b20cb28f79c402c7fd9c7f80cd93cb76a03b6510b127775b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): web/src/components/LanguageSwitcher.tsx:17 \u00B7 web/src/components/UserConsoleHeader.tsx:139 \u2014 the two spans are one implementation copied and then locally edited \u2014 229 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/src/components/LanguageSwitcher.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aadf8a98e376f16641b8dcf69823db4e6e59d103170c478a2ada2855cde20e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): web/src/components/ui/dropdown-menu.tsx:42 \u00B7 web/src/components/ui/dropdown-menu.tsx:78 \u2014 the two spans are one implementation copied and then locally edited \u2014 174 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/src/components/ui/dropdown-menu.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1816c66f4d23d4a4ea02b0b4802411b32cfd0676e0cc866dabbe17ab7a0f64d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:8566 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:2217 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8566}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6bf4c8edf9036e1e986f3db8975a04317b75da28b7e076a788036ac809a3e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): web/src/admin/AnnouncementsModule.tsx:652 \u00B7 web/src/admin/AnnouncementsModule.tsx:720 \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/src/admin/AnnouncementsModule.tsx"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"257f1f2aea0e59d731d777902149456f948a700f2affaba5928533ab54f9cdfd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3367 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3458 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3367}}}],"partialFingerprints":{"codehealthFindingId/v1":"a697b264b3957a92b3aebd88f37c9f32568a379ab6035fcbb8dc4787ef0e2ee1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:812 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:183 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68edc6d10611a588e5650bef1f2cb6e1f94f8047369429319c7e2eda3106ec3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): web/src/user-console/Announcements.tsx:178 \u00B7 web/src/user-console/Announcements.tsx:209 \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/src/user-console/Announcements.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"084e3929bac359353de33d4d049b2fd1523a58b049b7eb31fa81b7bfa9d5b3c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:9798 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:9913 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":9798}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b08155d1b6a224f327cf45bdcf54c63d6fef6eebc784da4575513eadd3c79c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): web/src/admin/KeyStickyPanels.tsx:130 \u00B7 web/src/admin/KeyStickyPanels.tsx:160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cdea350e480e1d7472437616b71e1df23cb0838c38e698582ef885b56a348a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): web/src/admin/SystemSettingsModule.tsx:1419 \u00B7 web/src/admin/SystemSettingsModule.tsx:1454 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"178af8b51a46332f4b2dbde7c54c4cf5e6153cd6762a14443a0d2106dc01d7b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): web/src/admin/UserDetailTokenTable.tsx:98 \u00B7 web/src/admin/UserDetailTokenTable.tsx:155 \u2014 both copies are in the same file, so extract the block 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/src/admin/UserDetailTokenTable.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f4fd2570c8151390083e616955a8d59d1d447700e0ae67fb6597b7a38d527f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3998 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4037 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4076 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3998}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccc28b650e0ec7449c0697d6e8e0cb0fc0fa52312f7af25aafe9b2f4d8e4931"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): web/src/api/userConsoleNormalization.ts:95 \u00B7 web/src/api/userConsoleNormalization.ts:199 \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/src/api/userConsoleNormalization.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d50660ffbf3dee2f733994d91c0f4d6cd558e7f0d00305a42b38576495cf99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:8296 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:8333 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8296}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b4b74265d2b7c7f7297bdeb8e23e44dba3a0dea1f2104f437431f29c1662fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:11184 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11224 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11263 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45ff10259a8cfe9a2a1002ed99b16bf530a1677ac76dae9478a22af32f74467"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4846 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5135 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":4846}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a772c84124940e3fb968573b04f81908044178174d332a0071b2a67aa73684a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): web/src/PublicHome.tsx:1021 \u00B7 web/src/user-console/guide.tsx:119 \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/src/PublicHome.tsx"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa601195a084178f2d92526eb763ca5777b2a15792f0b431c3a4b4053c201ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:678 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:2016 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"6520c38ce4cb3a5c82a35b006f6b4ed0fb7fa188829b4e904347f73a81b81a2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): web/src/admin/PressureAnalysisScreen.tsx:100 \u00B7 web/src/admin/PressureAnalysisScreen.tsx:175 \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/src/admin/PressureAnalysisScreen.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"170cc9f949700a0ddb7dc17f225de03b7df60f43b60e3cf47775619b3066ec28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): web/src/PublicHome.tsx:873 \u00B7 web/src/user-console/guide.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/src/PublicHome.tsx"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf94159324dc63242c586180c490afe6d6713e87c89d0927dbf6f8ba9192d7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): web/src/api/adminUserNormalization.ts:18 \u00B7 web/src/api/userConsoleNormalization.ts:18 \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/src/api/adminUserNormalization.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea51a707c194b73ef897217f735451fe005de8380bd3189d167924f7bf40e12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3 locations): web/src/api/adminUserNormalization.ts:124 \u00B7 web/src/api/adminUserNormalization.ts:158 \u00B7 web/src/api/adminUserNormalization.ts:192 \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/src/api/adminUserNormalization.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f810cb568d72d9916e9dfd860afc97671efdd451db5730f86d982d5f00b9e980"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:931 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:303 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a378706acf900f71e7f7d1e9fa00d392501bd945f228748c7f4005ad7c62f40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:9441 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5965 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":9441}}}],"partialFingerprints":{"codehealthFindingId/v1":"8198b00d885d769fb0e4730fb849fae17ce5b019f089040a80d85e439b1fef09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:12238 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4929 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5ad12e5742ed9a4e9c0a684218eca6119437a3c2552eedf2ca5f2c2e496780"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): web/src/admin/DashboardTrendPanel.tsx:433 \u00B7 web/src/admin/DashboardTrendPanel.tsx:459 \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/src/admin/DashboardTrendPanel.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff99f00cf21f2fa41dd8bdd798131fcd22124272da490f59f68f587547128a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4 locations): web/src/admin/AdminDashboardRuntime.tsx:2619 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:2659 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:7311 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:7346 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":2619}}}],"partialFingerprints":{"codehealthFindingId/v1":"926166464ab2569defbfcc2054c0dc6467a14509a03b1a3ee1e39f1bcd29d61e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): web/src/admin/DashboardOverview.tsx:906 \u00B7 web/src/admin/DashboardOverview.tsx:939 \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/src/admin/DashboardOverview.tsx"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c30eb0110f224807c4d2cc7e179764f264be155be825ffceede8739e9d0dda8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:2539 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:2646 \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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":2539}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c35b00a51d4bd2664f9043d1744a9e361fe854a19bab679378ad00f6dd97e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3 locations): web/src/api/adminUserNormalization.ts:284 \u00B7 web/src/api/userConsoleNormalization.ts:335 \u00B7 web/src/api/userConsoleNormalization.ts:449 \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/src/api/adminUserNormalization.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fc62adb88de37e6540078adda98d3bc939ad0eb2096aa76db435346eb74a18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:9479 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5998 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":9479}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeca6ae500f5768673f8b48115a23b7f679cb8514c7724ed06af0cde2a5b37b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web/src/api/runtime.ts:1353 \u00B7 web/src/api/runtime.ts:1856 \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/src/api/runtime.ts"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"208848b20601cc48a0de77ed64a5ca13868f96e3c3a17b1851a1eb0d294d5c71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:9544 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6043 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":9544}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aafe06832fe7e0b0e6d71e3e2fa5bd6b50cf94e0390e940314bc76ee74b189e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:9687 \u00B7 web/src/admin/screens/shared.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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":9687}}}],"partialFingerprints":{"codehealthFindingId/v1":"d357fc84574ffd0ff166c517ece70d33081c93b3ffd6026dc8f23fd5731d9f2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:556 \u00B7 web/src/admin/KeyStickyPanels.tsx:190 \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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"2791c9be0ff1e421ea58d5156f17e7417bb2c5ed2bafe74d1afd2798ad9ca70e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): web/src/admin/SystemSettingsModule.tsx:1030 \u00B7 web/src/admin/SystemSettingsModule.tsx:1066 \u00B7 web/src/admin/SystemSettingsModule.tsx:1142 \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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"52711da68b9d4775905d6a4b215b6f27d725fb19f6f813b304de2df543dc2d84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4897 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5176 \u2014 both copies are in the same file, so extract the block 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":4897}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e8df1518fd21af62a109da89480cdc2950e894526d2cf6e205126638139865"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 6 locations): web/src/api/adminUserNormalization.ts:101 \u00B7 web/src/api/adminUserNormalization.ts:129 \u00B7 web/src/api/adminUserNormalization.ts:163 \u00B7 web/src/api/adminUserNormalization.ts:197 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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/src/api/adminUserNormalization.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f662c294412982da0bdf19ad27ceb4fd76f8b9cd1d49a412a23347247d1d111a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): web/src/components/ApiKeysValidationDialog.tsx:622 \u00B7 web/src/components/ApiKeysValidationDialog.tsx:712 \u00B7 web/src/components/ApiKeysValidationDialog.tsx:741 \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/src/components/ApiKeysValidationDialog.tsx"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d7bc6da07a25b8a186495856405e33062512d1e2e28b0987a7e59124da6e63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:9391 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5921 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":9391}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94847d827af57aa1a925271dd58f0efa0c637c293af67982ba95ec260ab3c50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:9414 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5944 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":9414}}}],"partialFingerprints":{"codehealthFindingId/v1":"587ccdbc3c3b659f3ac4724f66c82d8633d58c4f4265d27ffa4916cdc094e27a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:9771 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:9878 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:10171 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":9771}}}],"partialFingerprints":{"codehealthFindingId/v1":"580dc86ceeaaf5c5da925c6edcb55a9e48fba9b9e20b293e141a59f7ab155bbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): web/src/admin/ForwardProxySettingsModule.tsx:606 \u00B7 web/src/admin/KeyStickyPanels.tsx:139 \u00B7 web/src/admin/KeyStickyPanels.tsx:169 \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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"43136568f8de3282849c8c342fbf6213bdf7cf3cf8779662cb3a1eb6d099180c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/src/admin/KeyStickyPanels.tsx:427 \u00B7 web/src/admin/KeyStickyPanels.tsx:581 \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/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e51981436d36223f066deaac6778bf34c94531fb5a68c6635486a3018d803d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/src/admin/SystemSettingsModule.tsx:908 \u00B7 web/src/admin/SystemSettingsModule.tsx:930 \u2014 both copies are in the same file, so extract the block 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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cc911293ae08ed03bb49338701dcefe7a4b0257d06e24eeb7b9d93b93392e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/src/user-console/runtime.tsx:2420 \u00B7 web/src/user-console/runtime.tsx:2570 \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/src/user-console/runtime.tsx"},"region":{"startLine":2420}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c72724c4eb66b1cf7aebe8425fb3396067cd3e921f12c7d3b168ab618601bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/src/PublicHome.tsx:641 \u00B7 web/src/PublicHome.tsx:937 \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/src/PublicHome.tsx"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c61b05d6665875bd2ca260d6a78d1ee04bb96d02a24301173e6c992c719dcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5 locations): web/src/admin/AdminDashboardRuntime.tsx:3031 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:3116 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:3150 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:3195 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":3031}}}],"partialFingerprints":{"codehealthFindingId/v1":"569317332f577aa94c2173acffb124612aa4c182652e6aab7c722894a76b3115"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:6859 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:6879 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":6859}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a53b0b1bfe9a44135ec94de831566ebee9d4be5cb754416476e1956b7c40a7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:8514 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:2182 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8514}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b51af1843323e5f26dd46e6881fd7d7b6e09955600c3290815015b61b3d7f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/src/admin/routes.ts:547 \u00B7 web/src/admin/routes.ts:693 \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/src/admin/routes.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1e23ffcd46b51ba24bdab1a67baa91a7ab4d1d2590d4c55f29866ede083dcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): web/src/components/ApiKeysValidationDialog.tsx:586 \u00B7 web/src/components/ApiKeysValidationDialog.tsx:685 \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/src/components/ApiKeysValidationDialog.tsx"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af507e16b08fd88c3365ad1dc0020a02627792047436a1b10688e8f7dae6af9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:650 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:1985 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"fada32826e0d0a5d02febf0789c42946dcfcaec3855b4cce8c9675c2990ddf36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:1688 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3059 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"c386f6dc96eb7a79e3095cfb3f8bf99f501ed117c1d62cd7fe230f79ab843380"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:3910 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:4203 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":3910}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d8ad2045b094c701933b04fcf3fb075239d9cd8116e46123d316f2591d10ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:8865 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:8905 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8865}}}],"partialFingerprints":{"codehealthFindingId/v1":"218383f35fa68399111c0bdce8e583a5d4f5be2ef447d8f0bc5d698dda4e2fc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:999 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:1026 \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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b06dbce80a0af38a0881d1dcb54585b79a5e6d7f7ec56ebb6808bdadeb33f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:2563 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:2668 \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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e80be75c94bdb769f2e1a624cc316a00b682df89c9bc1786beb87649547003"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4 locations): web/src/components/AdminRecentRequestsPanel.tsx:945 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:965 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:986 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:1007 \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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ebb573ab635560577ef6ab35cc36b603c03ec8a0ec28156d03829b0871cbac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web/src/pages/TokenDetail.tsx:828 \u00B7 web/src/pages/TokenDetail.tsx:860 \u2014 both copies are in the same file, so extract the block 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/src/pages/TokenDetail.tsx"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed08b3e4768af96ae9603b9f1c702c959ddba74017bd3e97d69467ef8c746ffd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:6578 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:13375 \u00B7 web/src/pages/TokenDetail.tsx:1049 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":6578}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a3d789212feab18ec3c5f0395efaac5ffde01cc802cf99e0188772239c6db2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:13318 \u00B7 web/src/pages/TokenDetail.tsx:1074 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":13318}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d29561f527aae038df5ac34a33ed959be70d0bd8ae83aaf42ec6cc079b177a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:13446 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:13491 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":13446}}}],"partialFingerprints":{"codehealthFindingId/v1":"860753d507c6b5ae5e202778676552cc02638684466a13dca649710b3d6a625d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/admin/KeyStickyPanels.tsx:360 \u00B7 web/src/admin/KeyStickyPanels.tsx:530 \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/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"255b0db84e2917b799ebaf37a7e47de903db7ba0a6de25c3455d176832d2d8bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/admin/screens/UsersUsageScreen.tsx:124 \u00B7 web/src/admin/screens/UsersUsageScreen.tsx:147 \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/src/admin/screens/UsersUsageScreen.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ee0a433c5d4b1d2ffd5e9c606f69b93eaed1cdba6657d2e44061463e0ef1e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3289 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5213 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d7c93a3896fd1cbd49156d8dbe8fd71ecca8c02366616ac3f57ef659a6be72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7579 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7618 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":7579}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae60c4968a7dd3369b0ee0f22a4d038681c6bca9a1123a50feaedd6f59067ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/components/ConnectivityChecksPanel.tsx:228 \u00B7 web/src/components/ConnectivityChecksPanel.tsx:245 \u2014 both copies are in the same file, so extract the block 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/src/components/ConnectivityChecksPanel.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bd06e7e0ed6dfa0507ea096edf8bd0b4d51c545a73536c808579469d11aeeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/components/PublicHomeHeroCard.tsx:225 \u00B7 web/src/components/PublicHomeHeroCard.tsx:244 \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/src/components/PublicHomeHeroCard.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e992a5e9b67f47fcac6ce7ef5371e507f5b051c397da468b5d605bbd41112790"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/PublicHome.tsx:808 \u00B7 web/src/user-console/runtime.tsx:2734 \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/src/PublicHome.tsx"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9acc02fef0e044c618cf3e81afdf5b1db73340f2acb7846e086b23ed6524b5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/PublicHome.tsx:1302 \u00B7 web/src/user-console/guide.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/src/PublicHome.tsx"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89e38830a0d38dffe658275aeddb4a675701946f7ffd1a92e7d96d653298131"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:733 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:2053 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d69e58a6f33d1d4814580b0a1766afc113bd8089daa4f53e1a6c603ae6f7384"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:3944 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:13141 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":3944}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67ef3c9aa7746568108a906c62cd13226e2799d65d945e66dbc6ab36840a703"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11119 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11818 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11119}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c326ee5ae8224175504068da37fddff4e8208af339de25711fe5b0b567e2a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11903 \u00B7 web/src/admin/screens/UnboundTokenUsageScreen.tsx:94 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11903}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbe204afe84358bb683f7dd4fe88825c1d027a4444eadab8fd22583430a308b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:12340 \u00B7 web/src/admin/screens/UnboundTokenUsageScreen.tsx:243 \u00B7 web/src/admin/screens/UsersUsageScreen.tsx:289 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12340}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc45c14318bb974197eaac55f1285ac10383e508c832c4f1e45287eb5b06bbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/admin/DashboardOverview.tsx:265 \u00B7 web/src/admin/DashboardOverview.tsx:316 \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/src/admin/DashboardOverview.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e7f06b592962101ceb23cfbfec54702fa756109fa82baf6ac8056c0a5c586f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:2476 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:2577 \u2014 both copies are in the same file, so extract the block 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":2476}}}],"partialFingerprints":{"codehealthFindingId/v1":"8342740fa6697bdd1aa3134c366d33df89503c485daec86b8978fefeff8ca04c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/admin/HaNodeDetailPanel.tsx:350 \u00B7 web/src/components/HaStatusBanner.tsx:483 \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/src/admin/HaNodeDetailPanel.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc268f80ff11527a4a5940bf5c2c9b19249273a78bac69d3b0ca20c767a70a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/admin/KeyStickyPanels.tsx:561 \u00B7 web/src/admin/KeyStickyPanels.tsx:605 \u2014 both copies are in the same file, so extract the block 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/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"64aef083aa4653c75d770e63518a764389705f3aac4f1c42faa58eded96bcaaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/admin/PressureAnalysisScreen.tsx:468 \u00B7 web/src/admin/PressureAnalysisScreen.tsx: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/src/admin/PressureAnalysisScreen.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"830cd3fb2a989a007cdce610f654477049b6c70d9d702051b37e8109052e11f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/admin/UserDetailSharedUsagePanel.tsx:794 \u00B7 web/src/admin/UserDetailSharedUsagePanel.tsx:810 \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/src/admin/UserDetailSharedUsagePanel.tsx"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd72d688128aab2b22ae37098b48db2217421492d3476ef860438471b94d048"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): web/src/admin/dashboardTodayMetrics.ts:224 \u00B7 web/src/admin/dashboardTodayMetrics.ts:263 \u00B7 web/src/admin/dashboardTodayMetrics.ts:281 \u2014 all 3 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/src/admin/dashboardTodayMetrics.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba6d94e8f819893afca73c8b98dce99631063ebf73614cd34df8e1f22305d05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/admin/screens/shared.tsx:79 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:2600 \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/src/admin/screens/shared.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b1e8149d3b3ab7abc553654278cab409076d509c0bcad040a5269b3a46f8fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/components/DateTimeRangeField.tsx:48 \u00B7 web/src/components/DateTimeRangeField.tsx:66 \u2014 both copies are in the same file, so extract the block 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/src/components/DateTimeRangeField.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c6e418716918f78415d66ae5eb194c9f10251034433bcf861e5dd025b14c63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/user-console/runtime.tsx:3070 \u00B7 web/src/user-console/runtime.tsx:3130 \u2014 both copies are in the same file, so extract the block 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/src/user-console/runtime.tsx"},"region":{"startLine":3070}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20be8a7511d2e55bbca03179992df690e204a772b279d516872004e7082bf58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:975 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:1000 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"6136733901cfb3e81a6cead8fe45b1b4497b26d8a35fd27f06e2c535a391059f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:5495 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:5512 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":5495}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71db7914c0d5daa3e24bc7bea8d528974566ffbb7da0cea4360c0456892d88a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:7279 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:7528 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":7279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81e6ec4b24633dac8c12a358186cd173ee6d67d83d0c01f84162258352e303f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:10708 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12225 \u00B7 web/src/admin/screens/UsersUsageScreen.tsx:108 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10708}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c590db8dafbbee8848c1fec9d8d6bc571e1d3586a6c1c364bd8eec081101a1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:10763 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:10935 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10763}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ea54deba39f88d467cbb2395856fb41ecc3c89e821cedbf4b139cbd73aba18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3421 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3487 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3421}}}],"partialFingerprints":{"codehealthFindingId/v1":"4195bb4900ad1af3fe319bd84adefe8f139a2d5c4ade5557da808af79ae4b967"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7862 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7963 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":7862}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ff0cecc138c6fb0555d4769b8317d3c957a2d9d4f253e0c7888494288a1534"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/api/runtime.ts:3247 \u00B7 web/src/api/runtime.ts:3649 \u2014 both copies are in the same file, so extract the block 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/src/api/runtime.ts"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf7d007b6a7ddfc8744e24878d0d3acd4be08e2938f0f8aa7bfbe8def028321"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/src/admin-main.tsx:12 \u00B7 web/src/console-main.tsx:12 \u00B7 web/src/login-main.tsx:11 \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/src/admin-main.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a33ba1ffbf9c2d5c5c1fc118509180d092ba1129659ef684e6af1e94081be11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:412 \u00B7 web/src/admin/AlertsCenter.tsx:88 \u00B7 web/src/admin/McpSessionBindingsModule.tsx:164 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4736eb49d16a67cb3fed9e7f51fa2eb0db8c655650fe051ce6a05a1708145a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:1606 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:479 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e65677557aa39a88a9e6d2266c2a47bf9bda3f0fa99d8d22f30c90ffc61d647"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:4962 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:4992 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":4962}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb732b2c54a2ea9409516f878e6ff9b51a4e7e32d16f503fc1523f23ad2bb02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:6621 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:6669 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":6621}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bc42b05c807339894105c55a2b7fa06d2ca79a0cf157ca87b00c59d6ddf4f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:7849 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3121 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":7849}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cb6534f6d985bd7d973f7b1e65df25f5277f4fd8f704f0c9bec98668b9cddc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:9567 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6064 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":9567}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d904dd62f18118c2523ca480fe2fe4572b215ee0b0d844f2cb0db580fdfeb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11058 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11075 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11058}}}],"partialFingerprints":{"codehealthFindingId/v1":"144d11ee61557e241e30174099f7705f7b8a23f3959fc249d7c5332b98edaf87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:11649 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12115 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12347 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11649}}}],"partialFingerprints":{"codehealthFindingId/v1":"588cf685f7ca14c1e437b72c2818faa331004f7c81410aba7ce750bdf508afd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11998 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4738 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11998}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9876349e00b75a662a9be0da17850a7763c8d3218b864b79f91f24b8ddec08d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:12983 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:13160 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:13189 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12983}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9f40714825dcf90b34b907341430487cd755579af20e83979514980e6cd06e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/admin/AlertsCenter.tsx:88 \u00B7 web/src/admin/McpSessionBindingsModule.tsx:164 \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/src/admin/AlertsCenter.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"adaa847ebc9c236ab5e28e741615a1633a2c9d3fc9cdf283af73ff224f817bc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/src/admin/DashboardTrendPanel.tsx:384 \u00B7 web/src/admin/DashboardTrendPanel.tsx:401 \u00B7 web/src/admin/DashboardTrendPanel.tsx:418 \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/src/admin/DashboardTrendPanel.tsx"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06d34d8483b99f44c6d1f3af4d213f44c0b997189805f47173f251c4f296c15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:1414 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:1839 \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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d494e95330cb403877efa6310a74999874b6bfffa3ca2a5f2008a28fe026af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/admin/McpSessionBindingsModule.tsx:245 \u00B7 web/src/admin/UpstreamPrivacyStatusModule.tsx:200 \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/src/admin/McpSessionBindingsModule.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"723c3dda6f76c3f3bcfddc5af7b23de9664dda13e87882d6de6547c12358e65d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): web/src/admin/dashboardTodayMetrics.ts:328 \u00B7 web/src/admin/dashboardTodayMetrics.ts:342 \u00B7 web/src/admin/dashboardTodayMetrics.ts:356 \u00B7 web/src/admin/dashboardTodayMetrics.ts:370 \u2014 all 4 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/src/admin/dashboardTodayMetrics.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"0992459aaef9b13157446f5218bd73f481f5c953c60d5060b37c2065a96c1816"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3048 \u00B7 web/src/components/AdminRecentRequestsPanel.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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3048}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7502e852ff34434ecbc1a0e339ba1ef7acf1c85f476274f1069e4fd21a14dfd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3069 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:145 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3069}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e7c94cfc28bf226a1a259f0c58e3c23c26bd584a4a77a3c14540c3c5e6c717"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5049 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5563 \u2014 both copies are in the same file, so extract the block 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5049}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb12c4ed6d59c43649ba8ab4023208d66af1fee01872eb78ce948403a71408a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6631 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6652 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7805 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":6631}}}],"partialFingerprints":{"codehealthFindingId/v1":"522a1825f5c8473ad31bf7e6f92496a0db3ab44edd546a1a50c1f4b93ed87e3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6968 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7076 \u2014 both copies are in the same file, so extract the block 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":6968}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5d00a5da4f75a94c6e85459eaf63294cc8a605eca419322a96164cb4439fe5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/components/AdminRecentRequestsPanel.tsx:1161 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:1301 \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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ca22919c709cbab9248b5eef80b86c632e695bba797b79435a9bce56cb0cfc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/components/AdminRecentRequestsRequestKindFilter.tsx:292 \u00B7 web/src/components/AdminRecentRequestsRequestKindFilter.tsx:307 \u2014 both copies are in the same file, so extract the block 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/src/components/AdminRecentRequestsRequestKindFilter.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f101c2585ae474751fc59fac670a3aae5ed06c11ce315dc12dc59f8c9ca8ca9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/components/ApiKeysValidationDialog.tsx:508 \u00B7 web/src/components/ApiKeysValidationDialog.tsx:522 \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/src/components/ApiKeysValidationDialog.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5768614b3aa6cc10053ecd151cf236308c27b8ea059714322e0d86f8d319e17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/components/ui/dropdown-menu.tsx:97 \u00B7 web/src/components/ui/dropdown-menu.tsx:119 \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/src/components/ui/dropdown-menu.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"518a4eafe13e394df010165b1f56153300323ec87430e4e7beb582159b5246e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/console-main.tsx:12 \u00B7 web/src/login-main.tsx:11 \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/src/console-main.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"19173426b8e47ec69c16b01f7310fd8e95132736feb7f3eb001512599d76d7bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/user-console/runtime.tsx:1068 \u00B7 web/src/user-console/runtime.tsx:1082 \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/src/user-console/runtime.tsx"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3010467ef6f5d3aa7cd1b9f57cf0181e1f2d7353b52a5fcc1c2ca2fb1d9020"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:589 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:1930 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0741bfae679b22420b1ee97505c3b484ed59242b869deb24536872e4f0df46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:623 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:1952 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"725da6e62ad982321308b363454b699855fc56f5fe8452932b92f7f2283216d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): web/src/admin/AdminDashboardRuntime.tsx:2384 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:1184 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:1268 \u00B7 web/src/components/ManualCopyBubble.tsx:62 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":2384}}}],"partialFingerprints":{"codehealthFindingId/v1":"716dfe17c92413b57a4d5b2555b27dfef4032a8b756c0554180c53a90d185ce7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:2682 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:2723 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":2682}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f18ef6400619fad74edf8a439a17b464b2580c789cc5897c65b4f7245ecadf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:8029 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5084 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8029}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65d19c0641ad3537c1e86d9920e02d4e6a63998910d72f8a1bf388232bcf77e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11149 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3969 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11149}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dd95ee386e55d4d67b2cd56fdebba871de7a10c8851f22f9e380741e80b4b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/admin/AdminUserRankingsPage.tsx:909 \u00B7 web/src/admin/AdminUserRankingsPage.tsx:949 \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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"563e9e2223ea7abacf14186921c3c6983f304cec93fdca98d57250d107aaa772"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): web/src/admin/AlertsCenter.tsx:911 \u00B7 web/src/admin/AlertsCenter.tsx:927 \u00B7 web/src/admin/AlertsCenter.tsx:944 \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/src/admin/AlertsCenter.tsx"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6be637a19942b39563c70f1457671e100956737d378af1dcb60a61135b7c41d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/admin/AlertsCenter.tsx:1016 \u00B7 web/src/admin/AlertsCenter.tsx:1107 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AlertsCenter.tsx"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3ce9cc6f07f1e49337bb38d443aa7b3d7f1fafcd14fc9fe519eb9fadb0c1cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/admin/AnnouncementsModule.tsx:216 \u00B7 web/src/user-console/Announcements.tsx:45 \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/src/admin/AnnouncementsModule.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef676ed07b7449b5a67fabda627e8165511c155ab49a17d6b68c5f881885b11e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): web/src/admin/ApiKeyBulkSyncProgressBubble.tsx:176 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:1167 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:1251 \u00B7 web/src/components/ui/anchored-info-disclosure.tsx:44 \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/src/admin/ApiKeyBulkSyncProgressBubble.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdbe720c4c6998bd21bb09a55d805aca6c1a0662e8246d8c9d18a28ded5c5ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:913 \u00B7 web/src/admin/KeyStickyPanels.tsx:221 \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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"93508b1aeced1ff7648265343b1d839ddfbee1251bf475dcb64c30464061643f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:2935 \u00B7 web/src/admin/HaSourceSettingsDialog.tsx: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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":2935}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3c9da52ada5b3790809c6a1d206f79c8392e3b57f7026a51556fc857812bc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/admin/dashboardTodayMetrics.ts:201 \u00B7 web/src/admin/dashboardTodayMetrics.ts:220 \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/src/admin/dashboardTodayMetrics.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d31362456a67615ee862096156f21bc603161b386b1cd74879b595a1cacaee5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6773 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6837 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7722 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":6773}}}],"partialFingerprints":{"codehealthFindingId/v1":"7365df8a197928aaf0625a2e9a8ee6873fd97208ff12dfcd461db324ffdc553d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/api/demo.ts:1648 \u00B7 web/src/api/demo.ts:1662 \u2014 both copies are in the same file, so extract the block 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/src/api/demo.ts"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acaac159247b1f67bd4991afdbfc89c255206561bf01f3bb98c93b970ed45d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/api/runtime.ts:3276 \u00B7 web/src/api/runtime.ts:3678 \u2014 both copies are in the same file, so extract the block 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/src/api/runtime.ts"},"region":{"startLine":3276}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d080b43e57f1d1d242abf92dfce923fd1d4752ff3afb50a7e6e0e30fd476aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/api/runtime.ts:3458 \u00B7 web/src/api/runtime.ts:3486 \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/src/api/runtime.ts"},"region":{"startLine":3458}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a50999eb85236ffec0ad951cf06e20db10d358d8a0a09d3417765339d39de0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/api/runtime.ts:3505 \u00B7 web/src/api/runtime.ts:3519 \u2014 both copies are in the same file, so extract the block 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/src/api/runtime.ts"},"region":{"startLine":3505}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a64193140921326f44f05cd59cdbfc0ac2a0cd451b20cfef5bc97dd9122b2bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/AdminRecentRequestsPanel.tsx:1212 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:1360 \u2014 both copies are in the same file, so extract the block 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca06dec95f43ae7db15d85fbd18a38b0b8d54ddd54b29a01f9b00b02af4ce56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/ui/select.tsx:31 \u00B7 web/src/components/ui/select.tsx:45 \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/src/components/ui/select.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9501e2f573f8cbd050a525f310d7eb383a77f5e498064c21e72d08a5fefdfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/user-console/oauthCallback.ts:169 \u00B7 web/src/user-console/oauthCallback.ts:195 \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/src/user-console/oauthCallback.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccde37c73d4b08e207cec6db0c0813523bc0cd7cbec3e7ec7a7001158ffb6ee6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/PublicHome.tsx:1372 \u00B7 web/src/user-console/guide.tsx:481 \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/src/PublicHome.tsx"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c9658161b1bbd71cce169b425a25d0ba273d5ee7be2ee9b3ead88df91476b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:793 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:2283 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd97b8260624e4c4b30290c7cae49617607081eebaee4856b3c5c800e362e814"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:3095 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:3256 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":3095}}}],"partialFingerprints":{"codehealthFindingId/v1":"240aa029c63e94a58f4cf87c9b5b1508b13f7b2fb9d21a1a591878171514c5d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:6095 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:7573 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":6095}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f9ee9df61b23336e95bdd9e4027f8d2093dc4ef1385c0151654eb6ead0c410"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:11323 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11341 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11359 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11323}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ce7d11a20860e425816ca3c9f1d4f7f6f774d1cf16691d6f6b9755e2dce46c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11363 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4150 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a36861a3088467ffb5030ef566b01a5b2702c3d4d6c7af0351927b7e193d48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:12489 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12531 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12640 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12489}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d05d5f5dd26794fd1b0e3f6c2894e16e11d41989ccd47fe9cbe8a68c23a2e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:13631 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:13692 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":13631}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bdbb18b0200a07ed2e6de32db617ae16295d09e3f8ee9535620254f3f6261f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/admin/HaNodeDetailPanel.tsx:19 \u00B7 web/src/components/HaStatusBanner.tsx:44 \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/src/admin/HaNodeDetailPanel.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"556df283fc616d24115112e1ea8bb748bc83e1302f271705f7435e5b905b49dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/admin/PressureAnalysisScreen.tsx:300 \u00B7 web/src/admin/PressureAnalysisScreen.tsx:370 \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/src/admin/PressureAnalysisScreen.tsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"87974bb346a25b704fd6ad4adbe58312ce7aa7573356719a9856eaa135100a0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/admin/UpstreamPrivacyStatusModule.tsx:659 \u00B7 web/src/admin/UpstreamPrivacyStatusModule.tsx:671 \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/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23586cd484b22faadec338ec810c15194b5d08f3c00508c376efe2f7b430050"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/admin/UserDetailSharedUsagePanel.tsx:106 \u00B7 web/src/admin/UserDetailSharedUsagePanel.tsx:154 \u2014 both copies are in the same file, so extract the block 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/src/admin/UserDetailSharedUsagePanel.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf678a12283a2c62c042028dc717c1ca5526c389cbdedc98923b5cc87e61be8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:2174 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:2209 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac0ec99f47dd1ffbe90d086434d7fec794364fef8cc8d966a965c91a6911e1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4129 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4141 \u2014 both copies are in the same file, so extract the block 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":4129}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc30ec4f212591fe37985f52d4e870d0eaf78331ffdf82dbcef880e856e95730"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4876 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5162 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5334 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":4876}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4cb5485e0bcabe2f0f3bff6adcae468ad0ffd6a03d2277f3952c9c2a226d3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6676 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6690 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7122 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":6676}}}],"partialFingerprints":{"codehealthFindingId/v1":"081ff590b119172f752428e89171808a93ab9883938c8895983b7589a813c981"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7181 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7195 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":7181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa4aee83f3886ae17f82591d3f5c572afc648410e81af225236ad5f547ba129"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7752 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7794 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7815 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7863 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":7752}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e5e1c3846722ace1afb57ca8ab1a4db47a4490feacd118cc50d2c740e45e7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): web/src/components/AdminRecentRequestsPanel.tsx:412 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:424 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:436 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:448 \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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"930f902a41a8f87defd3bb771453eda32a79699f311ac324ae68eccbd91eac79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/AdminRecentRequestsPanel.tsx:1100 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:1259 \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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d4f7509f8ce761ccd3df1756a96a9c5faf8d8d2bb9f242c13d44201cc4fa27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/lib/mcpProbe.ts:102 \u00B7 web/src/lib/mcpProbe.ts: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/src/lib/mcpProbe.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce8f2907b94554f17fb7f400ed91dfc938b87552c03810d0df64be2a19856d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/user-console/runtime.tsx:1043 \u00B7 web/src/user-console/runtime.tsx:1056 \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/src/user-console/runtime.tsx"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca1f24f96f180e1b57afd580644702be6ca170b893ad6c3469d43fb3255e598"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/user-console/runtime.tsx:2468 \u00B7 web/src/user-console/runtime.tsx:2601 \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/src/user-console/runtime.tsx"},"region":{"startLine":2468}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0179c7402581988b34e42a355aa32a5297aed9d5bb3a6b2edaa80bcfbc0f38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:1366 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:1906 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34dc9e46f7040dd4dfe22696423915485d684649a1cd25eff1a049d0a0d690e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:4725 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:4879 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":4725}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d210ee255538b935f8d0e638e425424a2c0aad67ba79c59ebfd57eee938ede0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:8012 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5074 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8012}}}],"partialFingerprints":{"codehealthFindingId/v1":"13811f83aa876a5ad9e758db505337de22f78729b04903212538e59cf0893a79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:8422 \u00B7 web/src/components/UserConsoleFooter.tsx:47 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8422}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f0c6df5ff9bc6b117d9c977e002cab6dcd1a6b8b7db3aa1c6e5d456e60ef11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:8552 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:2205 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8552}}}],"partialFingerprints":{"codehealthFindingId/v1":"809b7bb4057727626c7394be6a98ff248ec9117620cbb0196b011449accde7b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:8850 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:8885 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:9644 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8850}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a18b1e591761fe3e55c6ba3e2a78ba1126bf84d10fc441ecbe5088337e9ef1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:9519 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6031 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":9519}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab17d96b34d6bed4323cdade3364e9f5ffc2c8c355c69df3cd82d5dae355579"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): web/src/admin/AdminDashboardRuntime.tsx:10649 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12656 \u00B7 web/src/admin/AnnouncementsModule.tsx:1013 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:2984 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10649}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76a803d87bb7484756d21f6cc152ff8eb085abb6d089774898afc9de67174f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:10860 \u00B7 web/src/admin/UserDetailTokenTable.tsx:106 \u00B7 web/src/admin/UserDetailTokenTable.tsx:163 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10860}}}],"partialFingerprints":{"codehealthFindingId/v1":"e543f03bc64281fe20baa548f7a3a4dfe49f8b9e279665a29876f89f519746b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): web/src/admin/AdminDashboardRuntime.tsx:11432 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11450 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4199 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4217 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9656a03f714b00f63f32eeaa3d3c6b2b524254488cd64774a6644a920a1a51d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:12423 \u00B7 web/src/admin/screens/UnboundTokenUsageScreen.tsx:329 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5649 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12423}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7e8feeb0e81347ddf56bcece6b9c705b06bb953bddb45a96626a6f9f77a870"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8 locations): web/src/admin/AdminDashboardRuntime.tsx:1646 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3091 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:175 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:282 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae6510bf4ffe5bfdf4c4e550f40d905cc605aeae11aacc273f88af42dda1627"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/AdminRechargeRecordsModule.tsx:249 \u00B7 web/src/admin/AdminRechargeRecordsModule.tsx:260 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminRechargeRecordsModule.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d26ecff35ab8c3e8aa9c220c1ba52321c2ddf5ed93ed315a15c71fcb10fdca8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/AdminSecuritySettingsModule.tsx:387 \u00B7 web/src/admin/AdminSecuritySettingsModule.tsx:423 \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/src/admin/AdminSecuritySettingsModule.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b40ba21e12f4783141e575ecf413188eee34176d5c6b01aab565adc981aaa1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/AdminSecuritySettingsModule.tsx:519 \u00B7 web/src/admin/AdminSecuritySettingsModule.tsx:530 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminSecuritySettingsModule.tsx"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c07bb7ccd2810e4a2cf8cea9ccc4cfbd12f3d24227b5d05c60da387ce9c819"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/AdminUserDetailQuotaWorkspace.tsx:549 \u00B7 web/src/admin/quotaSlider.ts:144 \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/src/admin/AdminUserDetailQuotaWorkspace.tsx"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"921f56fd7e0a93de36b1314a9be68972ea3f331c53c7d59c2932c6ed8b3098c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/AdminUserRankingsPage.tsx:65 \u00B7 web/src/admin/DashboardOverview.tsx:187 \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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"60abefde58b2c3a0ebacbd0f582dae30ca2e2fcec67fb7f652949983f5b14199"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/src/admin/KeyStickyPanels.tsx:456 \u00B7 web/src/admin/KeyStickyPanels.tsx:467 \u00B7 web/src/admin/KeyStickyPanels.tsx:478 \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/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"501e666026be6d184eab019215c5e6aafc0c8668d5c49de5279ca4ea9a462243"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/SystemSettingsModule.tsx:1211 \u00B7 web/src/admin/SystemSettingsModule.tsx:1240 \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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"53311d85971c0466317d054b97a693b4302960e76f7bddbe4074737d2e43fd8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/UpstreamPrivacyStatusModule.tsx:784 \u00B7 web/src/admin/UpstreamPrivacyStatusModule.tsx:839 \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/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"fade3d4704465f23ad37ce681392bc5406472125161b3d1455ab2558f945715d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/UserDetailTokenTable.tsx:78 \u00B7 web/src/admin/UserDetailTokenTable.tsx:90 \u2014 both copies are in the same file, so extract the block 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/src/admin/UserDetailTokenTable.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a07960270c745564739bfff7084e9af31bb1edf9bd5f00bcb26d7ff171db3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6699 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7131 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":6699}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ad471d11b3ebc7ea0771f2f0bee139ad345576a6803ecce573adafd67deb61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/api/demo.ts:1616 \u00B7 web/src/api/demo.ts:1760 \u2014 both copies are in the same file, so extract the block 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/src/api/demo.ts"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30fa91231602c508fb491a5bf98fd385a13b120332487560b04d136a9953326"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/src/api/runtime.ts:1778 \u00B7 web/src/api/runtime.ts:1811 \u00B7 web/src/api/runtime.ts:1842 \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/src/api/runtime.ts"},"region":{"startLine":1778}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e807a8933635d911908f68a24b7305eb679b84a707e1d408c9980b33cb4679"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/api/runtime.ts:2121 \u00B7 web/src/api/runtime.ts:2145 \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/src/api/runtime.ts"},"region":{"startLine":2121}}}],"partialFingerprints":{"codehealthFindingId/v1":"33414d2c7c5a089a29692707d01d7271ce2e5037ef03b547083d51e65176e029"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/api/runtime.ts:2811 \u00B7 web/src/api/runtime.ts:2867 \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/src/api/runtime.ts"},"region":{"startLine":2811}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd48af4af53cccaccc1229bf7ecdc3a87cef639e94e67e572eb56299ca530864"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/api/runtime.ts:2842 \u00B7 web/src/api/runtime.ts:2890 \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/src/api/runtime.ts"},"region":{"startLine":2842}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7f4666722af4b7f431828234894ff8dec6d090a5001634854489e254f71293"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): web/src/api/runtime.ts:2960 \u00B7 web/src/api/runtime.ts:2972 \u00B7 web/src/api/runtime.ts:2984 \u00B7 web/src/api/runtime.ts:2996 \u2014 all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/api/runtime.ts"},"region":{"startLine":2960}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ec8f9d360737d3d18856a6a5afac3b4b59d06004a0ab2ae80d708c105b6678"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web/src/components/AdminRecentRequestsPanel.tsx:161 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:215 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:269 \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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"18148a305cc688e7451d69f465dcd74444dee4e660ba40ddbe85623d9fd7da4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/AdminRecentRequestsRequestKindFilter.tsx:37 \u00B7 web/src/pages/TokenDetail.tsx:137 \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/src/components/AdminRecentRequestsRequestKindFilter.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5afeee24f308273f548968e7c7c86a310aad81707a9633f20853750e3a894b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/MarkdownEditor.storybook.tsx:56 \u00B7 web/src/components/MarkdownEditor.tsx:179 \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/src/components/MarkdownEditor.storybook.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38b3b31829f4ab8c9d854c55fe5d7de54b3e9c0eac95b8b96d8f692f8bedfd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/RollingNumber.tsx:245 \u00B7 web/src/user-console/BillingPage.tsx:583 \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/src/components/RollingNumber.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b43c5fefce0c553ab6579aba46bd75fc2041f1dceb28201de2c29e7b687eaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/ThemeToggle.tsx:16 \u00B7 web/src/components/UserConsoleHeader.tsx:86 \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/src/components/ThemeToggle.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d053201aa501651f6bcc9fec5a0b25f138b18a462b658cb298d2d1bc561609"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/pages/TokenDetail.tsx:1143 \u00B7 web/src/user-console/runtime.tsx:2080 \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/src/pages/TokenDetail.tsx"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bbc1a11216556e8437fb3c8882943f1317aead029b9049f84b7803ddc13301"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/pages/TokenDetail.tsx:1189 \u00B7 web/src/pages/TokenDetail.tsx:1233 \u2014 both copies are in the same file, so extract the block 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/src/pages/TokenDetail.tsx"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f80bbf1188925e027f32c27b37eda61716f599e68b9ec985f88368934fbd762"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/user-console/DashboardQuotaGrid.tsx:57 \u00B7 web/src/user-console/DashboardQuotaGrid.tsx:68 \u2014 both copies are in the same file, so extract the block 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/src/user-console/DashboardQuotaGrid.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e37adfac8f85c272ea72b78c5a0a7b5eba661187100c36514234045f3db8269"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:569 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:1916 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e25c73bf5b82ba99639f4d04e0976da6bcc0f05ec624da0c554bdccf655a436"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:5239 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:5317 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:5382 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":5239}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f153501cd933684a349db0ad517982f29e2492fbaaf6afb9917959d426e8fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:5660 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:5677 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":5660}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b3f8c6173409ad320e176b79be1e5412876feb69d525a6cc3d159355f78879"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:6508 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:7284 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:7532 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":6508}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3057acdfac006d19d2d62e192824313984b3db8d1edb70dd402f6380d4a3880"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:7165 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:7177 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":7165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbe4935b291623e9ad77186e22d319d95ec6aaa5dc8f6bc0e55cc92cce8a038"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:7376 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:7504 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":7376}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45ca3adba18948b89ae47820dc61b53ecd35056d088c1e3eb71eef31a5da898"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:8173 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:8201 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2473f918f1ace31c54779018e8ffa6a336ecf2abbccf30d4e2d5001ff5ecd730"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:10819 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:10836 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10819}}}],"partialFingerprints":{"codehealthFindingId/v1":"4560893e79df4c70996c8c1d5de4761194902fc7a15155460555a7658c670e2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:10875 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11631 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10875}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fad6e420959b86f0d0d62cb7c038e0d414e3a1d98c906927dd1235780cb53d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): web/src/admin/AdminDashboardRuntime.tsx:11107 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11807 \u00B7 web/src/admin/KeyStickyPanels.tsx:507 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4385 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7cb71f3ad5fcb1b55f9fa78fe78dce2894695da1c67f187db885f55348ec12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11293 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4105 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0cdd7e041c37ffe534442f6f75c07b482494707299767cc7e6e01ec9c77277"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11484 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11673 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11484}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b06ff2084ed5589c66915480e4e5509e1802df413b2955f3a349403743eec2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11585 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4333 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11585}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b904a3549ba0da2052a7a3a6019e95459127a0bd52ea570bf612182a4f56e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11600 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4344 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11600}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb8af75296f8eadb8dda2e4269ef41e6b7862826b3f5b9795ad8273a4ebb122"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11613 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4355 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11613}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d56a944b94e7f760f806e429dd4c228e41b72661d178bc486d162313442dee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:12161 \u00B7 web/src/admin/AnnouncementsModule.tsx:713 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5799cdfd363b37c5ecf14ae4a9f82461da3c7f4fae03ec1965462b35ba6a8c21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:12387 \u00B7 web/src/admin/screens/UnboundTokenUsageScreen.tsx:283 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5599 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12387}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5b53b0ff90c58aadcd87e3c716478c6af647a73d02136ba19c02495a3e1c18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): web/src/admin/AdminDashboardRuntime.tsx:12875 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12885 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:716 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:726 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12875}}}],"partialFingerprints":{"codehealthFindingId/v1":"388612455915f31a5180bb6723dbf5107de02150097062f9b3f6c12f76e662f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:13007 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:13180 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:13207 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":13007}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e155e81dc885ae9cf57552fa2247820a809eff3356851ad1935f693d14c855"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AdminUserRankingsPage.tsx:527 \u00B7 web/src/admin/AdminUserRankingsPage.tsx:607 \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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"82358f2a5817ba9b8e9434634fa8fb5f22d2ccfa41a409d488deb3b126cae580"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AlertsCenter.tsx:845 \u00B7 web/src/admin/AlertsCenter.tsx:922 \u2014 both copies are in the same file, so extract the block 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/src/admin/AlertsCenter.tsx"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"64861b9fdf560b19fc2768b5cc2c76c9fdbcc4f95e82ef9c9b6c89566c95db54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/AlertsCenter.tsx:938 \u00B7 web/src/admin/AlertsCenter.tsx:955 \u2014 both copies are in the same file, so extract the block 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/src/admin/AlertsCenter.tsx"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b70a469cc3d33f0622ed820b39cf6e61fbdedb86ca64eb30d07f7d37a5e15f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:297 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:324 \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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c29cf91ecaff5b01469a6e8e229b6e9e0d7102fca62b8e06f3b23e5c65bed5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): web/src/admin/KeyStickyPanels.tsx:400 \u00B7 web/src/admin/KeyStickyPanels.tsx:416 \u00B7 web/src/admin/KeyStickyPanels.tsx:460 \u00B7 web/src/admin/KeyStickyPanels.tsx:471 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"828203b277ac4a8eaeb738a361166d6ead1c1578d7c800818573b6751e210596"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/SystemSettingsModule.tsx:648 \u00B7 web/src/admin/SystemSettingsModule.tsx:1115 \u2014 both copies are in the same file, so extract the block 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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"947ec2d0cc89b1a649c8b4ee717f5f8faf4dfa0f37fec9e97591070a90009ec0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/UpstreamPrivacyStatusModule.tsx:1025 \u00B7 web/src/admin/UserDetailSharedUsagePanel.tsx:739 \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/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"40345394e524a0bfdc917cf5bff61a2fe6df5c8ec98081a4b3ec8735b0dd51d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5065 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5986 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5065}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff119889138b9dcb7d8eb804b3e83aa75173306c226c757201f652cd4116ab1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5726 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5737 \u2014 both copies are in the same file, so extract the block 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5726}}}],"partialFingerprints":{"codehealthFindingId/v1":"b390d7270bc5e63efe69fe3820b21946fbb3ebdd8871c79059447fdaedcfddd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6802 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7184 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7198 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":6802}}}],"partialFingerprints":{"codehealthFindingId/v1":"f396a2626a44036eddc0fea348af6436f7211b94127ad60c232eded20951e658"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7824 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7894 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":7824}}}],"partialFingerprints":{"codehealthFindingId/v1":"9604d01856ab480169bcaed858a82b02923cfa147fed4362af1934b7334b02d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/api/adminUserNormalization.ts:60 \u00B7 web/src/api/userConsoleNormalization.ts:266 \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/src/api/adminUserNormalization.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"336e4f75e189a6f973a3b300852357c2885815ec95df50b4c1516f758e92ca45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/api/runtime.ts:2141 \u00B7 web/src/api/runtime.ts:2167 \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/src/api/runtime.ts"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c18b9ae4a8126ea116eb35318f0637cac5d20da7f2d64deb1c3139994668b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/api/runtime.ts:3338 \u00B7 web/src/api/runtime.ts:3349 \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/src/api/runtime.ts"},"region":{"startLine":3338}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57d8d7795b1a6f28ae91c633f25720489e8ec6aab6948d07e5706d0837d1205"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/api/runtime.ts:3372 \u00B7 web/src/api/runtime.ts:3383 \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/src/api/runtime.ts"},"region":{"startLine":3372}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c325d12a9c76b0a088310aa51483e978d06fee7bf21a4d9d8628b52622a5db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/pages/TokenDetail.tsx:1373 \u00B7 web/src/pages/TokenDetail.tsx:1383 \u00B7 web/src/pages/TokenDetail.tsx:1393 \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/src/pages/TokenDetail.tsx"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adce13a965486c02e8a62ff50bf784f051bc6bab4fe1efb02c00107f3fd15e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/pages/TokenDetail.tsx:1508 \u00B7 web/src/user-console/TokenResetDialogs.tsx:90 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/pages/TokenDetail.tsx"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"a448c867e7dbae4d356ea5dc3442d5b52f3695086710cbc3d2616b33dced6f24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/user-console/RechargePanel.tsx:277 \u00B7 web/src/user-console/RechargePanel.tsx:301 \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/src/user-console/RechargePanel.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6eae5e9facdf714913df9abf7ea27e8d9cfdb558391be64881fff67c35bec6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/user-console/oauthCallback.ts:145 \u00B7 web/src/user-console/oauthCallback.ts:158 \u00B7 web/src/user-console/oauthCallback.ts:223 \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/src/user-console/oauthCallback.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"277a3574caa2cd1ddd0b42ec51a0703d81c2037e34c5a8489ee15ad93417dddd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/user-console/runtime.tsx:1378 \u00B7 web/src/user-console/runtime.tsx:1794 \u2014 both copies are in the same file, so extract the block 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/src/user-console/runtime.tsx"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ded07373496ab3298eba98da521e2b637367d7bf0e81683ec8ffc2817a7ea7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/user-console/runtime.tsx:2396 \u00B7 web/src/user-console/runtime.tsx:2554 \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/src/user-console/runtime.tsx"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"221b1374f0430478b96b2704d97018e9c3e874e63e3c2176fb0f69204b32262c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/PublicHome.tsx:857 \u00B7 web/src/user-console/runtime.tsx:2779 \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/src/PublicHome.tsx"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a0c424b6f3c16000622443eb686d3e2e88a7e786ebf07e62f6dc0173e04c80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:1262 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:1888 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3299b63045fb0a078ca9bb6572f15beec8b1b27de39a98032629f4c7cc3186"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:2534 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:2554 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":2534}}}],"partialFingerprints":{"codehealthFindingId/v1":"326c1bc65f0aab2e871a4895d230da2d6e121829b29dbc474ad076ed73faf28f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:6341 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:6356 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":6341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d289c2c50d86ae212c0f9929ce6edf948c1c2d94072bece7bedcbd880a350c31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:7991 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:9463 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":7991}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da32662db286c260190f8a8973307e92928a7c33cb983d4957b9e498bd68846"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:8542 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12123 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12355 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8542}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d38e4d7ee844b9d34957cb467143bdeeb8a2dd577cb7c2d07d09a228fe0112"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:10345 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:10357 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:10367 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10345}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bcd40bcd11d821acac1be7364c973f491225c7786ff913d046e1ee28d5cd83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:10789 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3690 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10789}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9e74ce938dfa42d5ffede809091a442e30c29c4eef157718b6d5242f592d9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): web/src/admin/AdminDashboardRuntime.tsx:10960 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11690 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11715 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11731 \u00B7 \u002B2 more site(s) not listed \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10960}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4e51e0ed15bdd21b8b4c7fea0889e2cb03805720897c63a06a5ba8fcae3f66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11710 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12170 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11710}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce7cb3de03d1228c966390071f522764d02f504ad55a80edff001ea63ada034"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11811 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4389 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11811}}}],"partialFingerprints":{"codehealthFindingId/v1":"f903cafaf9df9afecdc3069f8c56c7155c6a2c8aec354ffc880ed1fe87533251"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11986 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4728 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11986}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba9ae4e3c760f1b18df87edbc98bc2ea193e762a28446ea131005d9c1ede971"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:12017 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4754 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12017}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b743ba84a0abfab4238bfc5e0ac93259e5ed88d021afcc86015251a884e9cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:12857 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:693 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12857}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14152631e232bdb379c89f68f2b6d6776ce96d5f8df3e4ab84519f8c67db0fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:13660 \u00B7 web/src/admin/DashboardOverview.tsx:971 \u00B7 web/src/admin/UpstreamPrivacyStatusModule.tsx:587 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":13660}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b16d3be474cc37456eb6852b52d8ca1040d3bc8b61736efa5b8e3c503b3c25c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/AdminSecuritySettingsModule.tsx:497 \u00B7 web/src/admin/AdminSecuritySettingsModule.tsx:566 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminSecuritySettingsModule.tsx"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7db4f7c8d582fd7fa303f8c9971416d862faee626d3729dcae382f05c350d85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/AlertsCenter.tsx:892 \u00B7 web/src/admin/AlertsCenter.tsx:902 \u2014 both copies are in the same file, so extract the block 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/src/admin/AlertsCenter.tsx"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"089212dc5fed8cbc723c3173a0e051c1e82cebe9784d4145ae0390197582b585"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): web/src/admin/AlertsCenter.tsx:125 \u00B7 web/src/admin/DashboardOverview.tsx:480 \u2014 the two spans are one implementation copied and then locally edited \u2014 116 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/src/admin/AlertsCenter.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1d5deacd853567581dde0722444f65f2b87e5ba6eef632a445fa9a05490e8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/admin/DashboardTrendPanel.tsx:621 \u00B7 web/src/admin/DashboardTrendPanel.tsx:631 \u00B7 web/src/admin/DashboardTrendPanel.tsx:640 \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/src/admin/DashboardTrendPanel.tsx"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5597b1b35449b3e9c972b5328dc1d9e6c1b7c11882ab0cba3cb2e7fd0493e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:1390 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:1825 \u2014 both copies are in the same file, so extract the block 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"302fb3231f9b92fffc3f6170e2f7e2cd44be14b7e6ca1c35aba1573ea522ae07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:2406 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:2762 \u2014 both copies are in the same file, so extract the block 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":2406}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de0aa8d2ef5c5feea9983b1a026357c8919b60835d599c54b2b09ac3876d021"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:2492 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:2501 \u2014 both copies are in the same file, so extract the block 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":2492}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacfcdae8ad9cc8222d752dd67c176a9506bbf4ecf35a42848ff155123d1c4b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:2606 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:2616 \u2014 both copies are in the same file, so extract the block 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":2606}}}],"partialFingerprints":{"codehealthFindingId/v1":"233ef706cc3cfb4add6a488c80ca5f30fb14cedf57535b63a929bb17f94b5024"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/KeyStickyPanels.tsx:494 \u00B7 web/src/admin/KeyStickyPanels.tsx:619 \u2014 both copies are in the same file, so extract the block 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/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"735d022aa62df575016020e732b2adf7f1e28c129d1cca6021edc769b83b4a0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/SystemSettingsModule.tsx:98 \u00B7 web/src/admin/SystemSettingsModule.tsx:110 \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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7c09a1e8f175377436096d6d6322e0e24cf13c937967e16d6889e156482f34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/UpstreamPrivacyStatusModule.tsx:599 \u00B7 web/src/admin/UpstreamPrivacyStatusModule.tsx:816 \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/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bf3803fed5dd71d3bf44b17349c0001ce1f0c90470e768de319313f62f4576"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/UpstreamPrivacyStatusModule.tsx:738 \u00B7 web/src/admin/UpstreamPrivacyStatusModule.tsx:750 \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/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de7874c2681f419a1b94a0e2c7b6c82a08daab63657010382411fd8d2cff844"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/admin/UserDetailQuotaBreakdown.tsx:140 \u00B7 web/src/admin/UserDetailQuotaBreakdown.tsx:149 \u00B7 web/src/admin/UserDetailQuotaBreakdown.tsx:158 \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/src/admin/UserDetailQuotaBreakdown.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"574c108c950ae47750fc8d33277d1db6a728c39b80bb2eb4db3579599f6236cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/routes.ts:122 \u00B7 web/src/admin/routes.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/src/admin/routes.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"69035058734dc3269e0e0768b76ee1036ede3cf48db98f4595982f1efb712a8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/admin/screens/shared.tsx:231 \u00B7 web/src/admin/screens/shared.tsx:247 \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/src/admin/screens/shared.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1b0ffbbdc53dda692be7ca1fd8957f786c709f965c1015a43eb1dd63aedd88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6891 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6954 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7066 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":6891}}}],"partialFingerprints":{"codehealthFindingId/v1":"4673d065938439c7d5c4479f4d40f169bcce197a7976ec372d53740540b91709"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/user-console/BillingPage.tsx:723 \u00B7 web/src/user-console/BillingPage.tsx:822 \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/src/user-console/BillingPage.tsx"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"b971f51ea0e1bb59dc322daa1005587d9ca95ff76876b3b0159a07a74a1ee5c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): web/src/user-console/oauthCallback.ts:118 \u00B7 web/src/user-console/oauthCallback.ts:131 \u00B7 web/src/user-console/oauthCallback.ts:170 \u00B7 web/src/user-console/oauthCallback.ts:196 \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/src/user-console/oauthCallback.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2145c669571e9713ddd43475fecb48497e06034e9c0304ba181726b51c3caf5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/user-console/oauthCallback.ts:183 \u00B7 web/src/user-console/oauthCallback.ts:209 \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/src/user-console/oauthCallback.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"343d279451966d2d8f907b6f0d4dd6b5f5c3e6c25a1655611f392fa71003af85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/user-console/runtime.tsx:1212 \u00B7 web/src/user-console/useAnnouncements.ts:17 \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/src/user-console/runtime.tsx"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba1ebee77fc9cc530e9f17607e9289c314b19a583468bb5d5ea5a2e01ec8618"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/user-console/runtime.tsx:1726 \u00B7 web/src/user-console/useLandingOverviewLive.ts:139 \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/src/user-console/runtime.tsx"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc022c481766761e91cee27e26e1b122578e041512126f54053491fbea70d29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/src/PublicHome.tsx:605 \u00B7 web/src/PublicHome.tsx:613 \u00B7 web/src/PublicHome.tsx:621 \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/src/PublicHome.tsx"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccec2f9057d82e61fcc744bb6d069057d7fe240eedef5da7aaffe151808b891a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:1021 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:1059 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"c793257d44df0c8b00357f8f28819ff9f56d94b8d3cf02b0dc9cbe52d88acc58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:1889 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12930 \u00B7 web/src/pages/TokenDetail.tsx:439 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcf56af2f67991d37aa4357af7ce03ab1dd644d21d6659893886862c6b6430c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:1971 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:1981 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:1995 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02ffc5ff7caae628e55419ca1a755551aa447838dc0d9d9279684384b6fdb79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:5254 \u00B7 web/src/pages/TokenDetail.tsx:776 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":5254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbad176a8bc48b59014a0883588564c1b9507f8c0e09e89e930e424c430baea5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:7299 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:7333 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":7299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e072801ef92c95b094924873398730a7a67caf6996dd0520b94baac8268ee099"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:7327 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:7362 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":7327}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e8875d0396b9f8ca2e26e8f746f72d977f452fe8de9feff396016f92f87d5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:7867 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3139 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":7867}}}],"partialFingerprints":{"codehealthFindingId/v1":"b361544034d25312206e24a21c58e319dc858be7b3f1d97a5835209bd0ea8904"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:8106 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:8115 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8106}}}],"partialFingerprints":{"codehealthFindingId/v1":"535e3836e7f038cd5f53bb9d0fdded8ec66d8b6c1acc92a918d84ce8b2170a81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): web/src/admin/AdminDashboardRuntime.tsx:8766 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:8774 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:8782 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:8790 \u2014 all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8766}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e380195bc50cb8488f0691c73d50748e49ccbd192d6dc2a3c9f13b92607b809"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:8931 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12613 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8931}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef46c2dd1ff9309077be80926b69071e0ebcc61a30cdf7a99f0c7032328ad69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:12060 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4759 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12060}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe38491e4c3c5ffa49febd6b1ca4cf1c1bf47bbb9b34a5ffce3863be87440d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:12136 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12167 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12136}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a04d751747d805a56a367a9bc2cc9c385c3da87489c09b88ce3350da04911d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/AdminShell.tsx:57 \u00B7 web/src/lib/responsive.ts: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/src/admin/AdminShell.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"591846b55ae9463a1e147d9ae8e91b8d0ed99046ab949801417d1e0bddfa830d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/AdminUserDetailQuotaWorkspace.tsx:496 \u00B7 web/src/admin/UserRechargeQuotaCalendar.tsx:125 \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/src/admin/AdminUserDetailQuotaWorkspace.tsx"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb3ec7613453a04a241bde5e0b1c947908331911adac7f4fa95168f227b414c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/AlertsCenter.tsx:1033 \u00B7 web/src/admin/AlertsCenter.tsx:1142 \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/src/admin/AlertsCenter.tsx"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8d8fa265e261c3846f61438f68597c27f81824081631b56ccfe99e8afac00b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): web/src/admin/AlertsCenter.tsx:123 \u00B7 web/src/admin/storySupport/AdminPagesAlertsStories.tsx:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 94 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/src/admin/AlertsCenter.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"282ba6aa1e2d7d17c8cd169737ab0bb780e598e7372d8395b46e3e11736adf44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): web/src/admin/DashboardOverview.tsx:1166 \u00B7 web/src/admin/UpstreamPrivacyStatusModule.tsx:784 \u00B7 web/src/admin/UpstreamPrivacyStatusModule.tsx:839 \u00B7 web/src/admin/UpstreamPrivacyStatusModule.tsx:946 \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/src/admin/DashboardOverview.tsx"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f84c220b02b2507297a1a5517bfac8071e70d9b51dc89552622b7606e2ba06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:1209 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:1291 \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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"43256106d4b6b0fb185962dde8bb664daa1df7da88d8edad7b20342a42aad807"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/SystemSettingsModule.tsx:117 \u00B7 web/src/admin/SystemSettingsModule.tsx:134 \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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed62b3e4604f2850c8b0afffb769317f51ed35c4fdeb06c3852d0d7f4107dcc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/UpstreamPrivacyStatusModule.tsx:121 \u00B7 web/src/admin/UpstreamPrivacyStatusModule.tsx:138 \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/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb655d44b31d82b5e5d186ca550e0ad765a12e2747a5d1935645f1b8cfdb1d9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/UserDetailTokenTable.tsx:44 \u00B7 web/src/admin/UserDetailTokenTable.tsx:132 \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/src/admin/UserDetailTokenTable.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac1c18a2e4149fd223d44cdf7d51814a6e9c58c763b71a3de04eacb2d0bfe3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/UserDetailTokenTable.tsx:183 \u00B7 web/src/admin/UserDetailTokenTable.tsx:191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/UserDetailTokenTable.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b641778a8498f615626675009f3ad315ff64e8e89cbc2ed00f302bc00aff0ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/dashboardHourlyCharts.ts:365 \u00B7 web/src/admin/dashboardHourlyCharts.ts:374 \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/src/admin/dashboardHourlyCharts.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd42947bd99aea44c10fea26061bff51cde72883091c793ac9052026ccff550f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/src/admin/routes.ts:449 \u00B7 web/src/admin/routes.ts:459 \u00B7 web/src/admin/routes.ts:469 \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/src/admin/routes.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf765df33c762baf50d28db7016c685d489687abb747d9463942e317aa21422"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesHaStories.tsx:191 \u00B7 web/src/admin/storySupport/AdminPagesHaStories.tsx:212 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/storySupport/AdminPagesHaStories.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e74884d11dc0a8f75aef16edd1fcb772e27f794adf66aedfc6293a1dfe0385c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:1944 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:2008 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8cff2227cbddf77fa1cc9a9a1dbaec735c15e15ed85c3a21690a8dccda87f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3880 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3894 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3880}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f38a928b4e1b645275156b7fe08ddf102c1a4ad18f5f59599ab9a235221eef4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5038 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5046 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5560 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5038}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28b6dbb3213915f57627a09181947a7b0395d66e7c93de74da11164c6f377e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 13 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6588 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6626 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6764 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6780 \u00B7 \u002B9 more site(s) not listed \u2014 all 13 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":6588}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fba52c0b13683a4c9f2fb8ba2441362b4a14edf4935413c07518667432f831"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7687 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7708 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":7687}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51784fe948890d0c05e85a1ff63ed0987ef5dfe886f496d06f4c52335dcd6e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/api/adminUserNormalization.ts:267 \u00B7 web/src/api/userConsoleNormalization.ts:295 \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/src/api/adminUserNormalization.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a342cbc10a5aa2cf8f50b7c7e8ab4553f0cac1c7cdd761278ca20d1348381de1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/api/demo.ts:2506 \u00B7 web/src/api/demo.ts:2514 \u2014 both copies are in the same file, so extract the block 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/src/api/demo.ts"},"region":{"startLine":2506}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd768102a9172fc6db1594081bd96b0f4c9edbeba656b8b42b606ebeb07af7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/api/runtime.ts:929 \u00B7 web/src/api/runtime.ts:953 \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/src/api/runtime.ts"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cca48b3ab6d2f886729cbe16a3522496e91f44e66b6248dcdab75dd274e511"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/api/runtime.ts:1882 \u00B7 web/src/api/runtime.ts:1896 \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/src/api/runtime.ts"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba48a7b00ad7f6246a32b30a2d407889113edb9cebe2a1673e0f17f62c681756"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/api/runtime.ts:3107 \u00B7 web/src/api/runtime.ts:3615 \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/src/api/runtime.ts"},"region":{"startLine":3107}}}],"partialFingerprints":{"codehealthFindingId/v1":"340379c8148ce4d2f1ac611f43cb3af44762feca2a25684dcd194b62242f00f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/api/runtime.ts:3540 \u00B7 web/src/api/runtime.ts:3606 \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/src/api/runtime.ts"},"region":{"startLine":3540}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e9f185592a88b8e2072e249b14d81159357f248c5f3a4a4c046f8645586cae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/AdminPanelHeader.tsx:68 \u00B7 web/src/components/UserConsoleHeader.tsx:313 \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/src/components/AdminPanelHeader.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b65ce8fbc2cafc7a060f9ed13285c6cbb6d6386cb2daa9c7c87e9840b5f6da2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/AdminRecentRequestsPanel.tsx:577 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:585 \u2014 both copies are in the same file, so extract the block 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd895f5d848c6d0e44cc5db46d357f5549f7c2d2d41f04a3edfbe1006a610f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/ApiKeysValidationDialog.tsx:557 \u00B7 web/src/components/ApiKeysValidationDialog.tsx:565 \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/src/components/ApiKeysValidationDialog.tsx"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc1296bea9353e333eacc6abd3ca1e1cc7fa74077edbe3d12bab520c16a0efc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): web/src/components/ui/dropdown-menu.tsx:30 \u00B7 web/src/components/ui/select.tsx:26 \u00B7 web/src/components/ui/select.tsx:40 \u00B7 web/src/components/ui/select.tsx:54 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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/src/components/ui/dropdown-menu.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b06c33b744adfbeb3d30b0f93be6af2928a09a4bf9e941474baadf983f831ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/lib/responsive.ts:72 \u00B7 web/src/user-console/BillingPage.tsx:588 \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/src/lib/responsive.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53631c59102adef939a26810046dfacb9c5dee55f53084b6024ac52199449d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): web/src/PublicHome.tsx:920 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:8850 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:8885 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:9645 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/PublicHome.tsx"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3f7e530e85809d6365497abb2ec097f7ff7cdeed61e87bc30963a4f213bc4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:1869 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:1919 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1705ac42a7a6796db75509e9e7244409e1d240428e05db7be0867228c6e2e50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:4479 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:5175 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":4479}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ab49f640b2256fc608b9e2aa8567be488745f965e9d1196e601cc271885d01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:4486 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:5188 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":4486}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d20a1388e97e9380454b3b51ea3b18a4fff66d522c6e3162dcd0c42407cdb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:8697 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:8992 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8697}}}],"partialFingerprints":{"codehealthFindingId/v1":"58217a2cd46617710b20ed5066a871bddb7acda8ef1f37005cab5f06c98189ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:9610 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:13554 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6162 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":9610}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ffa100ff0be4cf684a0205b6eb637d57cfa3a69b1704bbc22ee2f9cd3d93ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:10752 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:10924 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10752}}}],"partialFingerprints":{"codehealthFindingId/v1":"9017a97d3d577fb83cc7852b77a4fd3ef41d26ab30bf2f808b7347346e40dc49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:10986 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11000 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10986}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9d6ba00207a5bcf3d3cb8d85e1b69602d2ffc0e55c0df4a2ddc92110880a96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): web/src/admin/AdminDashboardRuntime.tsx:11694 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:11715 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12415 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12423 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11694}}}],"partialFingerprints":{"codehealthFindingId/v1":"6148071923651a151ad82518c78fec248dfd56b2a6991e2ab043a8a1fcef54fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:11871 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:13765 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11871}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaec5211921cbc3b5b88eb66f495ec954e36646ea39e7d955e6ecda833ebc691"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:13652 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:13704 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":13652}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f00cc0d1e750c08fe234b5782ade93c6f8fcb35be75d623f2693df8818cf63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/admin/AdminRechargeRecordsModule.tsx:512 \u00B7 web/src/pages/AdminLogin.tsx:245 \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/src/admin/AdminRechargeRecordsModule.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"addee35f010910ce8558a9c0e450a787060a4612d1048e791c95b2545f5141c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:2289 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:2330 \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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":2289}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2140bd4cf80e38dec410523a67111cf141937391240c8b1fddc666f86b09e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:1056 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:1121 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"049f7e078db56e4618d53dc2a8e02c9bdd93e8bb0be1244bbf3e133f4d2bf3c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6765 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7957 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":6765}}}],"partialFingerprints":{"codehealthFindingId/v1":"92faf28a74d195ca208d1ef4b083f583ea7bd71c40b2e60bb00cb9361d5521ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6847 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7732 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":6847}}}],"partialFingerprints":{"codehealthFindingId/v1":"3107c80e3f7d8f109afb1eaa12cc521fd850634adc49982823c979d9c28e9bf2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): web/src/api/runtime.ts:2627 \u00B7 web/src/api/runtime.ts:2637 \u00B7 web/src/api/runtime.ts:2652 \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/src/api/runtime.ts"},"region":{"startLine":2627}}}],"partialFingerprints":{"codehealthFindingId/v1":"23da817956a04ce8e94347a75d5d86d6015576e6268068be4289c54df42c6dbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/AdminRecentRequestsPanel.tsx:636 \u00B7 web/src/components/AdminRecentRequestsPanel.tsx:648 \u2014 both copies are in the same file, so extract the block 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7359ccc8c466dfeb05aee9147690ced8a3566d10e12d33b84a82c205ae2c852"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): web/src/components/ui/dialog.tsx:67 \u00B7 web/src/components/ui/drawer.tsx:72 \u00B7 web/src/components/ui/dropdown-menu.tsx:137 \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/src/components/ui/dialog.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"71edadcaa05aef70a5da035e5b1be070e310fdd079d4e73fea2056fc98aa167b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/lib/responsive.ts:17 \u00B7 web/src/lib/responsive.ts:31 \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/src/lib/responsive.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1453608c50003422328eeb44a7175d98f19f107dd33b198a5d59fb386831e166"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/user-console/UserDashboardOverview.tsx:89 \u00B7 web/src/user-console/UserDashboardOverview.tsx:104 \u2014 both copies are in the same file, so extract the block 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/src/user-console/UserDashboardOverview.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4053ae216348c6a5e22f40f6c3b3136f2a1b7465ab5cace3ef23aa4256ff5389"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/user-console/runtime.tsx:3014 \u00B7 web/src/user-console/runtime.tsx:3092 \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/src/user-console/runtime.tsx"},"region":{"startLine":3014}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3f40fd97da0190cb3d865ab814fee09e7e91e19d843618e1a009456f4a6d27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/user-console/runtime.tsx:3203 \u00B7 web/src/user-console/runtime.tsx:3306 \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/src/user-console/runtime.tsx"},"region":{"startLine":3203}}}],"partialFingerprints":{"codehealthFindingId/v1":"313615474370347df06c5f7f5b875e0cfe9588c9c52a78c7f14d1b316cc21eda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): docs-site/theme/index.tsx:17 \u00B7 web/src/components/BrandLockup.tsx:20 \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":"docs-site/theme/index.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebb0c0bf5d6a52409f2515fb35f4a748e4c7650f29d7c4d6be462c721c97153"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/PublicHome.tsx:339 \u00B7 web/src/user-console/runtime.tsx:2229 \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/src/PublicHome.tsx"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"94581881ec5092d0cab4e5afee0add9a642cc01dd0acb12fe1b0303e0bfb7cbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:1673 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:2921 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"91015dc377fefe5eb42cbfa514d954df8af1af679fc1982986e611b1787a95a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:1962 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:2145 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04efdffc47e650e90e049e37f6dcded08f1d054cd13478b8544116fe26f75f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): web/src/admin/AdminDashboardRuntime.tsx:2171 \u00B7 web/src/admin/AdminSecuritySettingsModule.tsx:178 \u00B7 web/src/admin/HaSourceSettingsDialog.tsx:115 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":2171}}}],"partialFingerprints":{"codehealthFindingId/v1":"741a67858ba8e2ee639cdea9d883bfb4a06d847bf9374fd5ead883bc30c71912"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:8468 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:2146 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8468}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca28d0511b1ae9a4696ba6426d24987b180126f7a611bb2b3279531b299211e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:10255 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:6168 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df57bc5a14178cddbb64de6924e432a2548a53f610064f52e5d0702e2527cba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): web/src/admin/AdminDashboardRuntime.tsx:12413 \u00B7 web/src/admin/screens/UnboundTokenUsageScreen.tsx:295 \u00B7 web/src/admin/screens/UnboundTokenUsageScreen.tsx:303 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5611 \u00B7 \u002B1 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12413}}}],"partialFingerprints":{"codehealthFindingId/v1":"6846c0839006b33d6e75dfc7079dbf249dd7931fe79d71d8357ff758a3e9f4f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:12923 \u00B7 web/src/pages/TokenDetail.tsx:433 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12923}}}],"partialFingerprints":{"codehealthFindingId/v1":"571b93d699918a827f76994c0f18ff2ae533ac6bc8830649632534157325e39d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): web/src/admin/AdminRechargeRecordsModule.tsx:564 \u00B7 web/src/admin/UserRechargeQuotaCalendar.tsx:140 \u00B7 web/src/user-console/RechargePanel.tsx:634 \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/src/admin/AdminRechargeRecordsModule.tsx"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9fc91f2ee1b241c4b9308f5661bcfa99b958de5e07b930b7c08ce2aeb63127"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/admin/AdminSecuritySettingsModule.tsx:177 \u00B7 web/src/admin/AdminSecuritySettingsModule.tsx:187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminSecuritySettingsModule.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda49a3ab366fcbe444654bb6b0eae339e50446c37a0ac904b9bbb4c5fdb935c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/admin/AlertsCenter.tsx:1215 \u00B7 web/src/admin/AlertsCenter.tsx: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AlertsCenter.tsx"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"419a5a6ea39c4429b23a10d34383231fa1cc4d60a0daea2aacb647d0dd9439b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/admin/AlertsCenter.tsx:1407 \u00B7 web/src/components/SearchableFacetSelect.tsx:128 \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/src/admin/AlertsCenter.tsx"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca14034269c49b26773697c794d2485076a74b25a49556340cd80b32bb8dca6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:2826 \u00B7 web/src/admin/ForwardProxySettingsModule.tsx:2832 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":2826}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e64716e5f3bdd36141bd96c19fe6d63666ab8ba466ba5ba9b8b839c9b9b078e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): web/src/admin/screens/UsersUsageScreen.tsx:394 \u00B7 web/src/user-console/runtime.tsx:3057 \u00B7 web/src/user-console/runtime.tsx:3120 \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/src/admin/screens/UsersUsageScreen.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcbb1e26f5d921f5cbe4d334aa9b9e660b56e00d49a18d27c11d431681cf421"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3868 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3879 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3893 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3868}}}],"partialFingerprints":{"codehealthFindingId/v1":"741767b283c4f85341e1e664959fb2f8c4b0eb64932b0c736fdfd8585ce0b64e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5013 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5503 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5509 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5515 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5013}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6de28f792c7b73cc1c28e81637265e712cf639735f4e6dc5ddc1bb0ceaf6171"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5033 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5507 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5513 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5519 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5033}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ace844adc7c225675a55d3a8096e3f159ad600543b9521ad894f4ec9823f7d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5798 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:5813 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5798}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb95649bc774a79d236c02a78e0cf70999338d715f51ca6c03b7c61eff0e0faf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/api/demo.ts:68 \u00B7 web/src/api/demoAdminRecharge.ts:473 \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/src/api/demo.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ae5f5f7930442b7a9d32e294f6227f12758a4f4020879e362b19da381c32d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/api/demoAdminRecharge.ts:391 \u00B7 web/src/api/demoAdminRecharge.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/api/demoAdminRecharge.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"354bf28fe3329aa3c08d2d916cc47a328beb13e3134ebe210d0d5ceae13849e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/api/runtime.ts:1204 \u00B7 web/src/api/runtime.ts:1217 \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/src/api/runtime.ts"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1a77e7b1beda0244f06db6a8ea1d5becae8cda6b3f2fbffef2e525e876e015"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/api/runtime.ts:1582 \u00B7 web/src/api/runtime.ts: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/src/api/runtime.ts"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0a78166585e9bc8730741e4f401ae302bc962b6ab0505859ed98991ce55dfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/api/runtime.ts:1609 \u00B7 web/src/api/runtime.ts:2627 \u2014 both copies are in the same file, so extract the block 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/src/api/runtime.ts"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"315eab3372d438893eebe6ccc339bea3682d09a9cca8f7c0e4df8f830fab2a59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/PublicHomeHeroCard.tsx:273 \u00B7 web/src/components/PublicHomeHeroCard.tsx:279 \u2014 both copies are in the same file, so extract the block 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/src/components/PublicHomeHeroCard.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b0a9b648ecdb18cff060010d9bbc9209136d717a6a07dee94ea0d162330afa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/ThemeToggle.tsx:50 \u00B7 web/src/components/ThemeToggle.tsx:56 \u2014 both copies are in the same file, so extract the block 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/src/components/ThemeToggle.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"419f305dd8adfc54f67b2f3eb0cdd1a8a0c19b541b4b3639eee5476c7c663bfc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): web/src/user-console/runtime.tsx:3058 \u00B7 web/src/user-console/runtime.tsx:3117 \u00B7 web/src/user-console/runtime.tsx:3125 \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/src/user-console/runtime.tsx"},"region":{"startLine":3058}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ff09f0a7a166c41bdb4b2ba15552f7bf50e65b392e245e968c54d66a468e3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/user-console/runtime.tsx:3187 \u00B7 web/src/user-console/runtime.tsx:3296 \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/src/user-console/runtime.tsx"},"region":{"startLine":3187}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d836e990b9596361090db53f7238b04d117efb301206f9e2c7102f380d4c43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): web/src/PublicHome.tsx:592 \u00B7 web/src/components/PublicHomeHeroCard.tsx:277 \u00B7 web/src/components/PublicHomeHeroCard.tsx:283 \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/src/PublicHome.tsx"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20c1b697ed2a118f762ad9f5bc3c2d0135cc9d3d0b06a9fbfbac88b929d527e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10 locations): web/src/admin/AdminDashboardRuntime.tsx:1795 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:1801 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:1946 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:1973 \u00B7 \u002B6 more site(s) not listed \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1795}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04fe7b2be11dfdd1f064454d5c03ec4e636d476db8985b6b7aaeb3720271cc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/admin/AdminDashboardRuntime.tsx:1880 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:1905 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"8030f7b91bb803dc2d7ccca8131afa9f49487bf4d332ddd62d921ad73ad87942"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7 locations): web/src/admin/AdminDashboardRuntime.tsx:1915 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:1966 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:1991 \u00B7 web/src/admin/AdminDashboardRuntime.tsx:12943 \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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b0dd50b238923ce45cece95a3e1758e7952a24a0dfcd2cc4c43311b8782ddf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/admin/AdminRechargeRecordsModule.tsx:44 \u00B7 web/src/admin/AdminRechargeRecordsModule.tsx:50 \u2014 both copies are in the same file, so extract the block 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/src/admin/AdminRechargeRecordsModule.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b69497b36160e3ddcfec695567a3ef8657584a9dc2d648f821bd4e5def728f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/admin/ForwardProxySettingsModule.tsx:1913 \u00B7 web/src/admin/KeyStickyPanels.tsx:340 \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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec3f7dfdb47b5ed711a9453c0e19668c2b44ab59a5480413c278b25678b69e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/admin/routes.ts:258 \u00B7 web/src/admin/routes.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/src/admin/routes.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11cd5ad58dba83feeca5665c1776121ad5dfb40171967b7201f202f71269737"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/admin/routes.ts:384 \u00B7 web/src/admin/routes.ts:485 \u2014 both copies are in the same file, so extract the block 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/src/admin/routes.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e710ed458b5db450be681f4b7c25d92dd7db097fe4cad153da5201232ce08b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/admin/routes.ts:573 \u00B7 web/src/admin/routes.ts:596 \u2014 both copies are in the same file, so extract the block 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/src/admin/routes.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"113eca17bfe224b66f4fcce51a0a3b62285f02b4d510f5df7cc7731b2e880ff7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/admin/screens/UsersUsageScreen.tsx:348 \u00B7 web/src/admin/screens/UsersUsageScreen.tsx:372 \u2014 both copies are in the same file, so extract the block 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/src/admin/screens/UsersUsageScreen.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d154379a97eed6de906804e1078b703c8336e646eec5d5c9ec564faf4d79c037"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:3575 \u00B7 web/src/api/demo.ts:1134 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3575}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b30889dc91d31e43204e8a8d137620dafac4b247b9cc0f90be0707112cc70a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4398 \u00B7 web/src/user-console/BillingPage.tsx:978 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":4398}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d6e1ff672f9b294cfebe604ca5a9b6832d7759e6d7f569165dee7651be8e67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7924 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7943 \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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":7924}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9893bc1fbac537fd7cc3549ebff96a254ec1fded764197c10a926aa5b5da14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7933 \u00B7 web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:7962 \u2014 both copies are in the same file, so extract the block 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":7933}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46f2fce0d8789c5c493478aa9f9dbe280473306f375c373fde94ee870732348"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/admin/storySupport/userRechargeFixtures.ts:4 \u00B7 web/src/user-console/RechargePanel.tsx:457 \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/src/admin/storySupport/userRechargeFixtures.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd9d7449a3fabbc33699eded9b9a7df30466c9e42d09a609955bd62022645d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/api/demo.ts:2193 \u00B7 web/src/api/demo.ts:2288 \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/src/api/demo.ts"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e13b4398629fcf31bfa28904f9b1c6c56823bde84f1ea2e7927a0fe8f1f47e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/components/UserConsoleHeader.tsx:159 \u00B7 web/src/components/UserConsoleHeader.tsx:164 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/UserConsoleHeader.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df07dbf7a2256213e39e43a107f36078d417dfe32ed1e85e07b2569644b970c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/user-console/UserDashboardOverview.tsx:81 \u00B7 web/src/user-console/UserDashboardOverview.tsx:137 \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/src/user-console/UserDashboardOverview.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"352ed7e6eb62e6012dac772be3c86d09fbd1481e7758d166458be648c00acb01"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/src/admin/AdminUserRankingsPage.tsx:3 imports echarts-for-react/lib/core, 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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e7dbdaeff0ae396247d58cd58f169cbaf09a3c7b2d297a49b03e8c7adc6413"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: web/src/admin/storySupport/AdminPagesStoryRuntime.tsx:4 imports storybook/internal/core-events, 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96ea4692f46fe4b198e1aa9798a97b38c84e86ab0c885afe5988ac3ac06ecdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdminDashboard (cyclomatic 335, cognitive 319): AdminDashboard has cyclomatic complexity 335 and cognitive complexity 319; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1202073de91438b10ef8b56f8b9865d8109ee731e038ffde00b7df4da276fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UpstreamPrivacyStatusModule (cyclomatic 126, cognitive 114): UpstreamPrivacyStatusModule has cyclomatic complexity 126 and cognitive complexity 114; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c74e862d8ce0356ae6c086c71b57f73384bd707d46b4728e5f2c44acabc418"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SystemSettingsModule (cyclomatic 121, cognitive 95): SystemSettingsModule has cyclomatic complexity 121 and cognitive complexity 95; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"09795b874737f565bfc154494e1896f433bc0b5e60bda48cdde3e4f671e56f75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleDemoRoute (cyclomatic 101, cognitive 110): handleDemoRoute has cyclomatic complexity 101 and cognitive complexity 110; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/api/demo.ts"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"918f1207da5f4f117ccd59b7f683b31332cf6e448e7d1e7e7985aa277a50eb0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BillingPage (cyclomatic 67, cognitive 66): BillingPage has cyclomatic complexity 67 and cognitive complexity 66; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/user-console/BillingPage.tsx"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdc28be677023282afa5e14fbd0b37db23f32ddf353012bc3db6c42354b35cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function play (cyclomatic 67, cognitive 61): play has cyclomatic complexity 67 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":7318}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ff11ca5cc734e037554c24c62f7764da982572712953db9a9a02804c57d356"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ForwardProxySettingsModule (cyclomatic 67, cognitive 56): ForwardProxySettingsModule has cyclomatic complexity 67 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3eb9fe7756b3b582d576a71b3820f0e3edb24b07dbbec51439ffc6e714a53c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 65, cognitive 101): (anonymous) has cyclomatic complexity 65 and cognitive complexity 101; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/UserConsole.stories.tsx"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd4c46c1983d4741a2d6a582faffb337d978870735466da0df6b343a4253498"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdminSecuritySettingsModule (cyclomatic 64, cognitive 57): AdminSecuritySettingsModule has cyclomatic complexity 64 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/src/admin/AdminSecuritySettingsModule.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d362876b34d017b54c93e105e1ad714fcac057913aff31b106ea2ac537a7934"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRequestKindBadgeTone (cyclomatic 61, cognitive 51): resolveRequestKindBadgeTone has cyclomatic complexity 61 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/src/components/RequestKindBadge.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"456165e3b41d0df03fa3326edd7552d0c9d5e70d79940ade420aea5a3179062d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDemoLog (cyclomatic 55, cognitive 54): createDemoLog has cyclomatic complexity 55 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/src/api/demo.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b8146c501c2c9e5e95423e3ff816e07fed886d07b6bcd5b6867caea3ca3ff6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApiKeysValidationDialog (cyclomatic 52, cognitive 48): ApiKeysValidationDialog has cyclomatic complexity 52 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/ApiKeysValidationDialog.tsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8531b686f290c479b612d84d0ed2715e708cfcfb361c468f46a7a7e677faeb7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PublicHome (cyclomatic 47, cognitive 44): PublicHome has cyclomatic complexity 47 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/src/PublicHome.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9781d0dc664fd682640a8014bbe5454c23418cb89175135b89336b64fbad830"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AlertsCenter (cyclomatic 46, cognitive 45): AlertsCenter has cyclomatic complexity 46 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AlertsCenter.tsx"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51c4895b9649eb31f93021e78367046e6b30b8eac7b8bec9caa64a40da65bbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function schemaExampleValue (cyclomatic 44, cognitive 59): schemaExampleValue has cyclomatic complexity 44 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/src/user-console/runtime.tsx"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddff7a555b808a59b4caf6e827fa52391228368d246015200266aeca39e1479d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isSameAdminRoute (cyclomatic 43, cognitive 46): isSameAdminRoute has cyclomatic complexity 43 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/src/admin/routes.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a0dc824573c9c8a10fb376798cf5c97c7852ce3a9da302bb673a60b4dc7577"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HaStatusBanner (cyclomatic 43, cognitive 44): HaStatusBanner has cyclomatic complexity 43 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/src/components/HaStatusBanner.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c62cfc5b574154633050dc043c4ad05911e86de3474e46277505371e250acf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAdminPath (cyclomatic 42, cognitive 47): parseAdminPath has cyclomatic complexity 42 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/routes.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0cdc98ef7fa10c367f6aada38a482de076aad5774a4cf6b6d133a929184b3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UserDetailSharedUsagePanel (cyclomatic 41, cognitive 40): UserDetailSharedUsagePanel 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/src/admin/UserDetailSharedUsagePanel.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a3d92f9acd99b38090e2ba687a78e3e737153c1844256a1e0ac27493260c56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TokenDetail (cyclomatic 39, cognitive 38): TokenDetail has cyclomatic complexity 39 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/src/pages/TokenDetail.tsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf5c9d14ccb9e5c75781f00944604595e1772189ac1afe24b62067d59c971d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HaSourceSettingsDialog (cyclomatic 39, cognitive 35): HaSourceSettingsDialog has cyclomatic complexity 39 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/src/admin/HaSourceSettingsDialog.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"764a793a661a66e9c22d49f0a5eefdaa493a5c5fd9b0e637979e9d2687df35e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RechargePanel (cyclomatic 39, cognitive 34): RechargePanel 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/src/user-console/RechargePanel.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dc353099d251de5c289c0b4996bd333bd2d762b16f31553e983919ed9916e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleManualRefresh (cyclomatic 38, cognitive 44): handleManualRefresh has cyclomatic complexity 38 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":5167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3b93089f860b3e68a2314728765a69e48dddd88537135a3e3979f5c9ab89c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ForwardProxyCandidateDialog (cyclomatic 38, cognitive 27): ForwardProxyCandidateDialog has cyclomatic complexity 38 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53280bfba0b3f463f9985b4d4cbacfb0b6e9fb3f23933609c8e5363a1a37752"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KeyDetails (cyclomatic 37, cognitive 34): KeyDetails has cyclomatic complexity 37 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12901}}}],"partialFingerprints":{"codehealthFindingId/v1":"c082f7090d8da2d96cb0a10fe07a0de1c860a899de9935fe6e295afa083dc632"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildNodeRows (cyclomatic 35, cognitive 44): buildNodeRows has cyclomatic complexity 35 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/src/components/HaStatusBanner.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b22a4f61b96185b47a2cd279d2128b0fc5bb90031cdadf4e1881e53fb4e7b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 30): (anonymous) has cyclomatic complexity 34 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8072}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d9d48c22be68775f1c7900a246021714be96921844e19dc9f5cc413146b5c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function McpSessionBindingsModule (cyclomatic 33, cognitive 32): McpSessionBindingsModule has cyclomatic complexity 33 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/src/admin/McpSessionBindingsModule.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7a2ec3f8464a78eb97e459bf79b2883f378d048d5b42d33e7349eaf159c746"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdminLogin (cyclomatic 33, cognitive 29): AdminLogin has cyclomatic complexity 33 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/src/pages/AdminLogin.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1246c6d39804fe2863659fc60f836aa434fb1537d18da6ae14073aa81f533c63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RecentRequestDetails (cyclomatic 32, cognitive 30): RecentRequestDetails has cyclomatic complexity 32 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cff36e63180a9f224cad5145b867a3d7157c8f0bf8cebfe15a190be1999a15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPublicIpv4 (cyclomatic 32, cognitive 25): isPublicIpv4 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/src/lib/api-key-extract.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2cda6b392df2341e6c708892e636785f5c340562b562740eaba40e768498a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 68): (anonymous) has cyclomatic complexity 31 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/src/user-console/runtime.tsx"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a936f2fde86a9aa1450e42a65d46038ffc644515d265b5147ebb7ecb5d943b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function play (cyclomatic 31, cognitive 30): play 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/src/admin/AnnouncementsModule.stories.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9c13fe4148eb957357439bd2049af16fa91a1ebff31c0cad2c0e8b7b489248"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 29): (anonymous) has cyclomatic complexity 30 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/src/admin/HaNodeDetailPanel.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acbddf584c0809d10442c694d98a3955c0d6901a516f5b275af0207f5c74f72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncApiKeyBulkUsageWithProgress (cyclomatic 29, cognitive 50): syncApiKeyBulkUsageWithProgress has cyclomatic complexity 29 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/src/api/runtime.ts"},"region":{"startLine":1825}}}],"partialFingerprints":{"codehealthFindingId/v1":"39247b265e8762c39fc6de7fd02978421ae104a857e96da17d4779d22b2efba5"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":8457}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a347069a8e34b819c70391f8f3a1da66be1a1d05904216d9ece2111523f4df6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function play (cyclomatic 29, cognitive 27): play 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":7896}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bd34e0385597ed263dd43f62b2d66118f698f62f385739c29ad25b532bb00e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestForwardProxyProgress (cyclomatic 28, cognitive 47): requestForwardProxyProgress has cyclomatic complexity 28 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/api/runtime.ts"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bad6593aa73ee48cd1028002995405a1e1364b0ef96c382bba194b534c4e6fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 31): (anonymous) has cyclomatic complexity 28 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/src/pages/TokenDetail.stories.tsx"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7f7f4288ce1b79bfed225c7fed244e7ad1dacafeda44f269272c8f5329fdd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failureKindGuidance (cyclomatic 28, cognitive 28): failureKindGuidance has cyclomatic complexity 28 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/logOperationalClass.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4869c37512a4d45e71bdd81dc74ee727cb80111115120de9d2101957b53480"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PublicHomeHeroCard (cyclomatic 28, cognitive 25): PublicHomeHeroCard has cyclomatic complexity 28 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/src/components/PublicHomeHeroCard.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9015a998776f9f96e7ece58d0b20a36c55fca59a51107243366db78aa4fb575"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HaNodeDetailPanel (cyclomatic 27, cognitive 25): HaNodeDetailPanel 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/src/admin/HaNodeDetailPanel.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab3e9bbf62279a2cf83a43ebe2c205bf39f8ac3d817808baeaea76a559e1d4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 29): (anonymous) has cyclomatic complexity 26 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10026}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1fbdd1b92da9a35c1435efcc8d0958b57aa15e4693044d90bc52ccea757650"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdminRechargeRefundDialogBody (cyclomatic 26, cognitive 24): AdminRechargeRefundDialogBody has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminRechargeRecordsModule.tsx"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ce878463a9ef40e5b79c109f3c6ec7066f137a2d65f671eb5511b22777b894"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 33): (anonymous) has cyclomatic complexity 25 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"088b29883df0b1ff095f7c9da4be8aa23c27356d375b76724df1133c3c8b8ac5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 25): (anonymous) has cyclomatic complexity 25 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11929}}}],"partialFingerprints":{"codehealthFindingId/v1":"440dc4a13351a9c021a86859b4c5424ce483dca3a573d5402865dfa7f9943437"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 23): (anonymous) has cyclomatic complexity 25 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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5508c31ea0a6400718b6ab3be02c7c5a4f32617fd10e4880196945d154bf521"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleImportValidatedKeys (cyclomatic 24, cognitive 32): handleImportValidatedKeys has cyclomatic complexity 24 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":6373}}}],"partialFingerprints":{"codehealthFindingId/v1":"96836d4709c85a7d167ae89f2fd8be884f236e17b012aea9dc1d72c2437cdd4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleDemoHaRoute (cyclomatic 24, cognitive 27): handleDemoHaRoute has cyclomatic complexity 24 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/src/api/demoHa.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5860e68527034890ac12a2f61526875536f6100900f39908079a4806ad7035eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateApiKeyBulkSyncProgressState (cyclomatic 24, cognitive 25): updateApiKeyBulkSyncProgressState has cyclomatic complexity 24 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/src/admin/apiKeyBulkSyncProgress.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"593208672dd8b984079cac562dd6dc5e79358622290d3954e1335c1d9810e294"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DashboardOverview (cyclomatic 24, cognitive 22): DashboardOverview 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/src/admin/DashboardOverview.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a353efc49763e5774cf5313200ea76e5e41d8b6c1b80d156972ac46a311d24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 20): (anonymous) has cyclomatic complexity 24 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":4706}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0b43e1241c77640e683749888dc49dd4708050aa64a848328a816f04167e17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatValidationMessage (cyclomatic 24, cognitive 19): formatValidationMessage 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afa354d2973d12e5c73dc443b706274b38871481389d702d19c6d51c8e93f12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 26): (anonymous) has cyclomatic complexity 22 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":2727}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d843fa5e08c6b1724b99254a2798139e4f30054012d319154d2a5bdb37b9ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveUserTagCatalog (cyclomatic 22, cognitive 23): saveUserTagCatalog 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":7022}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b95887881e08d7aea738ec2c109c82491e284b3e8e0e192c5c0a5fc161e353"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildGuideContent (cyclomatic 22, cognitive 21): buildGuideContent 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/src/PublicHome.tsx"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1b063f8de3c291d92790b6340f8dc5f8f7e51adfb0a89368b5c1f424219e61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildGuideContent (cyclomatic 22, cognitive 21): buildGuideContent 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/src/user-console/guide.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af46ebf71fa11375cfaa575ee186ced94776340fb30877f8b04b6fb55f65282"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdminRechargeRecordsModule (cyclomatic 21, cognitive 20): AdminRechargeRecordsModule 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/src/admin/AdminRechargeRecordsModule.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc6737d2c301ec12ae169ec08f5e79ca7fbd52b8da737ccf189e2b059eb6489"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SystemSettingsCanvas (cyclomatic 21, cognitive 20): SystemSettingsCanvas 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/src/admin/SystemSettingsModule.stories.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bf327411bc57e1d27207a843e27a4c42adaa8de65bb1a1e517c9b4cf9992fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ForwardProxyEgressControl (cyclomatic 21, cognitive 19): ForwardProxyEgressControl 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/src/admin/ForwardProxyEgressControl.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe56fb45f6c004f0ca1440d1bb1e3840eadc7775a1e9c853944c85e8f1f743b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 19): (anonymous) has cyclomatic complexity 21 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dde1c05a74db7b64dfd8aeb55558424f9b53bdac284e0087dc97c0e2b242b02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDemoRechargeOrder (cyclomatic 21, cognitive 18): createDemoRechargeOrder 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/src/api/demoAdminRecharge.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ab49908de4cc953f9d3ef387cc5b5e1009ca1ebb16d6e0f20155b008a50bb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAlertGroup (cyclomatic 21, cognitive 10): normalizeAlertGroup has cyclomatic complexity 21 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/src/api/runtime.ts"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb174cab77ed5af093bf5a8574bd9a1a6a8f112b9eaca62b4f19153feda2d5b"}},{"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":"web/src/user-console/runtime.tsx"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3801da6ebcc5afc60d2501cefd4eda165d5559832bf893c91aff5cfafcaef3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTokenRoute (cyclomatic 20, cognitive 20): handleTokenRoute has cyclomatic complexity 20 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/src/api/demo.ts"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5172bbd0efee6472ed184b0b135e87be005dbbd1676a36d050479b5b82b7c9b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdminUserRankingsPage (cyclomatic 20, cognitive 19): AdminUserRankingsPage 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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"25961704ceebe2a64dd695af298fd277e18f8e59771e8d5773c2b64232f7baf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SummaryMetricCard (cyclomatic 20, cognitive 19): SummaryMetricCard 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/src/admin/DashboardOverview.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb4f7b20c135a47cb036fb42303f40b923605d71240b2c9dbf0fefad488fba9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KeysPageCanvas (cyclomatic 20, cognitive 19): KeysPageCanvas 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3836}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec9054a5e336da4e1137abd0ca64dc77823cd3863005ecc4e945b2d7369b7a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 18): (anonymous) 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1c4c748cc956cd81830a3c26ca99a3fbd03cbe9c35ba3d9404139406189349"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatHaStatusMessage (cyclomatic 20, cognitive 15): formatHaStatusMessage 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/src/lib/haCopy.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"799b54a0906a30b8b5c7685cbca53b68f8a397132c2c1ec2ef91a533a6de7695"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 13): (anonymous) has cyclomatic complexity 20 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/src/user-console/runtime.tsx"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b3c49383635cad1d54f8746e4bec1442d433a7eec9a4cf351a71cd9001243b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 26): (anonymous) 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/src/admin/AnnouncementsModule.stories.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3d34a194f027aeba691c799e4b5f8b7907a2b7786553498db469db11a68870"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRollingCells (cyclomatic 19, cognitive 25): buildRollingCells has cyclomatic complexity 19 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RollingNumber.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa7a29ffa6239077caadb60c225d64d5b8e0b7cd70694eabcb7273d6e9a3eb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function play (cyclomatic 19, cognitive 21): play 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/src/admin/DashboardOverview.stories.tsx"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"9342759219928727d846dfac081025393a20c9242190b2fde309376ff394393b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleUserTags (cyclomatic 19, cognitive 21): handleUserTags 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/src/api/demo.ts"},"region":{"startLine":2251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d179b1c0334b407d8d4e1648a6dbce7b88d88bad70a75fb88fcea5a23dcd7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatKeyEffectSummary (cyclomatic 19, cognitive 19): formatKeyEffectSummary has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bac3612fea6bf3d47ce498e73f2b34c4ec39782a76df4668bf0ed5651a47011"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 18): (anonymous) has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c264beb4e65ee347fc1c3d9ff4f4de87178c0b1d5790287a41847e65aa7dfa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function play (cyclomatic 19, cognitive 18): play 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":6961}}}],"partialFingerprints":{"codehealthFindingId/v1":"28553e1163c0fbebe7ed116982c6a856b1a64a793d2fef732e9a7e507df5167b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 18): (anonymous) has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/api/demo.ts"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cd2eda2c0d9afb63ac90fbc7e62e232929e198cc539efab331310af6b26af5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UserConsoleAnnouncements (cyclomatic 19, cognitive 18): UserConsoleAnnouncements 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/src/user-console/Announcements.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba95e452933401f7e051252c7313ad4a8bd2f1b06434b878201c5a23f3000b07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StoryUserTagCatalogCard (cyclomatic 19, cognitive 17): StoryUserTagCatalogCard 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":2722}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb130a4f0ba7e6de94c0a9b819a0b4c7a1ce7a2e19479622a33d659d18f17c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function statusTone (cyclomatic 19, cognitive 11): statusTone has cyclomatic complexity 19 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24d0e65443d8d6a5b05ba344125edd9f0cd260f69f23670636bbccd923a4b35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestMcpProbeWithTokenInternal (cyclomatic 18, cognitive 21): requestMcpProbeWithTokenInternal has cyclomatic complexity 18 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/src/lib/mcpProbe.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39dca24b08aacc2665ca3939f5ef6d18b0a35f994096ff91c6d194b2515de18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAggregatedHourlySlots (cyclomatic 18, cognitive 20): buildAggregatedHourlySlots has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/dashboardHourlyCharts.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fdd47589a5e8fbc5677b3910821f6e3f9dce6a6169eb5bd07709a6d4fa3994"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendRequestLogsPageFilters (cyclomatic 18, cognitive 18): appendRequestLogsPageFilters 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/src/api/runtime.ts"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2227312f4ef8f1f31b4d7b5ff8c49cb0d6457728d132ff0bff1cf33f19d7a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatSelectionEffectSummary (cyclomatic 18, cognitive 18): formatSelectionEffectSummary 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f824e08692374674b00465d8582dd429dcd161b1a88ea0f7c05ab4c1b271d90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertStickyLogHeader (cyclomatic 18, cognitive 17): assertStickyLogHeader 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/src/UserConsole.stories.tsx"},"region":{"startLine":2169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9732a0cd881b2bd31e7b54434d99172e6c68535d711bd066d211e0bf0561ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyRoute (cyclomatic 18, cognitive 17): handleKeyRoute 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/src/api/demo.ts"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a866322f36959d0c7a7af57e7882c2cc546fb3019f0bbc94be153a5597330b6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdminRecentRequestsPanel (cyclomatic 18, cognitive 17): AdminRecentRequestsPanel 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"d299d744bf93b3d1b6a7378e1263d5b0b9ea23da7915959054c17e635f90baab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TokenSecretField (cyclomatic 18, cognitive 17): TokenSecretField 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/src/components/TokenSecretField.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"91473479dab5ac234c2af41f05ce7011b0286535d7567d25a1e391694bc1cf99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UserConsoleAccountMenu (cyclomatic 18, cognitive 14): UserConsoleAccountMenu 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/src/components/UserConsoleHeader.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6b488bda572c0e7c6e3b7b88d30cfe933f70203ca0a57e10623f34020a6bf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 13): (anonymous) 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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec896106190e968ffea88a9a93b76ebc23dbaa37e922d9ea340127165aca52e"}},{"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/src/user-console/runtime.tsx"},"region":{"startLine":2556}}}],"partialFingerprints":{"codehealthFindingId/v1":"353a6b9549d4ce867d4b2b626a86b2582c13934ddc2703fcd09176ecd024b02f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSubmit (cyclomatic 17, cognitive 18): handleSubmit 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/src/admin/HaSourceSettingsDialog.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"062dcad28c146b76d198ddb1b92b38c455951fe30f02de598c7f336f5ac1e92a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatKeyEffectSummary (cyclomatic 17, cognitive 17): formatKeyEffectSummary 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b7f8c22d017b30ee071043745ae10057773418225177c2060845394cd3a332"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 17, cognitive 16): main 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":"tests/e2e/tavily_http_smoke.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81415bce0fd4bb0f7421b678ea528559d86a4f70818aa00c840bc4dbc86b8ad"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":10752}}}],"partialFingerprints":{"codehealthFindingId/v1":"656e4b0979d1524d20bd0911e7ef99e2026cba99b043323cc27686b9066c154b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderItem (cyclomatic 17, cognitive 16): renderItem 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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"018dc9851a13c19983b7bdd6ec0f986bc190db7fd7211b0ed46e5f14a054ae28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AnnouncementsModule (cyclomatic 17, cognitive 16): AnnouncementsModule 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/src/admin/AnnouncementsModule.tsx"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a0d1ad1aa22ac41ec4414488d3658b57a867990be38911d85f49c384c06a05"}},{"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/src/admin/ApiKeyBulkSyncProgressBubble.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15aa41a971075719870d77424aa585dc22166f593796804d6cff2eb8a2d63fd"}},{"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/src/admin/HaNodeDetailPanel.stories.test.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8a622ef71c2161b342dcf02cfcc34e7d834688e9af815cdb585ca71e977a5a"}},{"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/src/pages/TokenDetail.stories.tsx"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"128524c9b96e6b2ef97ca69d41b193f6f7528fd9a39fc41b037437ef1c32fe97"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":5531}}}],"partialFingerprints":{"codehealthFindingId/v1":"955ea5f0c8a8e4b1c6053d1a07781d929942f97eacd050da790eb0b584699ba0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function play (cyclomatic 17, cognitive 13): play 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/src/admin/AdminShell.stories.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"69232d0ba614444c29da31302154c03937b9bf5306c7dd653e6fe0d223079660"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":3272}}}],"partialFingerprints":{"codehealthFindingId/v1":"575f56b70b4f61d9c64106e14f47e91714b233798fad9402c658b4e69060695d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function allocateWeightedIntegers (cyclomatic 16, cognitive 22): allocateWeightedIntegers 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/src/api/pressureDemoFixture.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"930d0ecb8620c706d02e7ae22337a59e74ea7ba4fb7c2577c84ae00cd4700f4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 20): (anonymous) has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":6312}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43d25b8bcdf81e9ba487f2a9c268bc1dd66f35db04a5c98bba30ffe1b9aca9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeStartDate (cyclomatic 16, cognitive 20): computeStartDate has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/pages/TokenDetail.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6d138b6b473b9de7113e4e7c8fa3d0046cdbb0d9663b5ed2f9a729f314cb9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keyEffectBadgeCompactLabel (cyclomatic 16, cognitive 16): keyEffectBadgeCompactLabel 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d75f413c86c75b3884721ec37004bd5247d9aab690a47842baec17f463783d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UnboundTokenUsagePageCanvas (cyclomatic 16, cognitive 15): UnboundTokenUsagePageCanvas 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5280}}}],"partialFingerprints":{"codehealthFindingId/v1":"43711eae28c4c8d28b1ea431bff48e7b18d0111783e3f357a654f5868ac63388"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function play (cyclomatic 16, cognitive 14): play 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/src/UserConsole.stories.tsx"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb445f9130f5a0690abffbc7d5671e008697bbf075db73037841ca1cdd05725"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function play (cyclomatic 16, cognitive 14): play 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/src/UserConsole.stories.tsx"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e7d6458fd4b58ae47de1ad8a35c288f41cf69df2ba9879761a0499b004f3ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRequestStoryTokenDetail (cyclomatic 16, cognitive 14): buildRequestStoryTokenDetail 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":2935}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ad6becf878cad2aeb3e98187874b2b5ad92960cf9d6a5d7c0ea7af18503d3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RegistrationIpIndicator (cyclomatic 16, cognitive 14): RegistrationIpIndicator 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/src/components/ApiKeysValidationDialog.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda54dd16bd27e654702f0a8c79ee6f96fd7c417a0b9f6f5e5e42eea61a8e8c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 13): (anonymous) 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/src/admin/AlertsCenter.tsx"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7ceca5a79e852f92f5ef7bc8912e0319bbed128cbd8d8be6dc80107a0073d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 13): (anonymous) 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/src/components/ApiKeysValidationDialog.tsx"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88fea7e6c23305022192c6b39444e6f162105585cf4f4926a3690378f944bee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 16): main 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":"tests/e2e/pwa_offline_browser_e2e.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a135c0c618c03357a3ac0b9efcc03a2d8f2844d41cec55962e66017eeeb6a63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function operationalClassLabel (cyclomatic 15, cognitive 16): operationalClassLabel 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/src/lib/logOperationalClass.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"429d1a3d397ad3c2e6699a6490217bac2273db3e5470551a1238e82c02ed9f3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAnnouncementsRoute (cyclomatic 15, cognitive 15): handleAnnouncementsRoute 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/src/api/demoAnnouncements.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f451dde1c4dd352c6baf829ba9f69340a5c889b678a70779d9bec676372928e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectionEffectBadgeLabel (cyclomatic 15, cognitive 15): selectionEffectBadgeLabel 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d911d4e8f5738997e0482fdeb54de11119372375db9903229c0f283e525f01"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11477}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e23ce6997df793da61649b898f3fee313e855307fd19dc5dc4beff6c394e76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DashboardTrendPanel (cyclomatic 15, cognitive 14): DashboardTrendPanel 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/src/admin/DashboardTrendPanel.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7d3c987f4f35c9f09fd8c88f3169249ab7aa408baa0185384e7253fd3a95d8"}},{"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/src/admin/ForwardProxyProgressBubble.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"583085e183e253e92679c5814016b8f073c034b36f803dc3654d7386c27b3955"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UpdateAvailableBanner (cyclomatic 15, cognitive 14): UpdateAvailableBanner 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/src/components/UpdateAvailableBanner.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6469a17f4c6a116bb094afc5d21e7bf7ae7d2bd6f1f441bc1f9ea23ebe3622e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UserDetailPageCanvas (cyclomatic 15, cognitive 13): UserDetailPageCanvas 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5844}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21c7999f779547d54c7f03473da5c9a4ce45278284b0a4d6d69a0d6b14f19e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPeriodRangeValues (cyclomatic 15, cognitive 12): buildPeriodRangeValues 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/src/admin/dashboardCardBackdrops.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbfc942dd1562ace6d848d63b0ef3c2212dfe3a62e0858452da7892e9299a4b"}},{"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/src/components/ApiKeysValidationDialog.tsx"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb70d136f3d2541df0235a7f5de6fb359936e9fe1e100de3bafe149e4964049"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleCreateDemoRechargeOrder (cyclomatic 15, cognitive 10): handleCreateDemoRechargeOrder 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/src/api/demo.ts"},"region":{"startLine":2313}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bd049257aac9af463a8bd2026df546ea60a1f1cd3ed7284d093c7e3eb7a130"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keyStatusTone (cyclomatic 15, cognitive 9): keyStatusTone 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":2873}}}],"partialFingerprints":{"codehealthFindingId/v1":"62674eaa39bf27b9b923af90eb9a029dc7ae318542540e7101228ffa46c40714"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOAuthCallbackPanelModel (cyclomatic 15, cognitive 9): resolveOAuthCallbackPanelModel 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/src/user-console/oauthCallback.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"351f1cef6ff88bd6a31893970e82e1ccad0154160304f0df25f26c37248f8de0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildVisibleBarHeights (cyclomatic 14, cognitive 27): buildVisibleBarHeights has cyclomatic complexity 14 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca7ab85528179f72a98e10b4b843262012bdd5836b7767a2ad7a30d8cfdff84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildVisibleBarHeights (cyclomatic 14, cognitive 27): buildVisibleBarHeights has cyclomatic complexity 14 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/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f4c9e8f06c8dae0b983b4caffc64819400091a64b642825e6b5d11bc30e6ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMcpProbeResultError (cyclomatic 14, cognitive 20): getMcpProbeResultError 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":"web/src/lib/mcpProbe.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31a4a167cf0ddef872f8ecfbf732a2d56b56fc70a3413216830ac8890946709"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 14, cognitive 18): main 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":"tests/e2e/system_settings_browser_e2e.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ffd629182ef7d504b615272507612b30685563134928a8a4ad25c9f99c202a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractProbeErrorText (cyclomatic 14, cognitive 17): extractProbeErrorText 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/src/lib/mcpProbe.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ce5092e3b82b65e58d252c99f605161baf26cdc91a0d7606b03d7067d9aac7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildShadowDailyUsageStack (cyclomatic 14, cognitive 16): buildShadowDailyUsageStack 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/src/admin/userUsageComparison.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ec262a70b59565deb474fe7064c7de94520d0932f2a61d3c2caf3715539d2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyText (cyclomatic 14, cognitive 15): copyText 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/src/lib/clipboard.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f7de056255d5555af03d3e833abe87bc888387b5ec8d769be08112d52ef6d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RankingsBarChart (cyclomatic 14, cognitive 13): RankingsBarChart 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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"0570ba68c8de02e4b0f3ebb321028e0058dae3a93a5a305eb1a738ab6b80c290"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KeyStickyPanels (cyclomatic 14, cognitive 13): KeyStickyPanels 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/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cf2771827be126d7c33f7a13bf864ad938fa1abed14f9482491703f75de0c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAdminUserDetail (cyclomatic 14, cognitive 13): normalizeAdminUserDetail 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/src/api/adminUserNormalization.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b14f006582a71d2e43fe0bb2dac853617c87a3c59bae69f8987770343705d8"}},{"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/src/user-console/runtime.tsx"},"region":{"startLine":1974}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dc5eaba8a506708dd46f14a633d8c7663fed7f7ce517563dbf1f057173dd9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RequestIpDiagnostics (cyclomatic 14, cognitive 11): RequestIpDiagnostics 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/src/components/RequestIpDiagnostics.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d950cc373513800c1156aaa70c0699530b4f0df45d7c1ce6a29aba55029ea3d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAlertCatalog (cyclomatic 14, cognitive 9): normalizeAlertCatalog 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/src/api/runtime.ts"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d49858a5fa38de65a1cad817084c9d5d14adf0889644a0318f98a867ba4a08"}},{"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/src/components/HaStatusBanner.tsx"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d56863605b3341ed24923a9d7e925a02a5d9185423328f1864ab92d6fb69189"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatErrorMessage (cyclomatic 13, cognitive 17): formatErrorMessage 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"082f6958c9a2d65895a6d907398bfac23791fdaf1e4a6eb35994e35c96fee45e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 17): (anonymous) has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":2686}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b00916b3d0d47055ee5ac1619060442faa558d0cac175420a9d092b94e5159a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleValidateDialog (cyclomatic 13, cognitive 15): handleValidateDialog 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"3731e018311413874a508d289c795c93e1176a5bcdd8888a9aa03a86008fdd44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseIpv6 (cyclomatic 13, cognitive 13): parseIpv6 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/src/lib/api-key-extract.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"379e9b4715f60a2768495ea694840c0dd64d17280dcd6331f10cd5727f48b87b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanedRequestLogBodySummary (cyclomatic 13, cognitive 13): cleanedRequestLogBodySummary 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/src/requestLogBodySummary.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"435a2073b9b9a29d9995058c9a0efb86451a16d8f8cd351e17919537fa52916a"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":5112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7e57ba135ba633426ec6c2f0e03a1a8118630c5a3bcc59c39d766f657edb9f"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11666}}}],"partialFingerprints":{"codehealthFindingId/v1":"30775f1fdcbf2416664f473ae34b518f3b79f33b51baba76475a07365bbd1d5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LogDetails (cyclomatic 13, cognitive 12): LogDetails 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12806}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c98df8c421b770b1feaf0d1ab1ab5e45fbb56185490575c7407942c45002528"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AnchoredApiKeyBulkSyncProgressBubble (cyclomatic 13, cognitive 12): AnchoredApiKeyBulkSyncProgressBubble 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/src/admin/ApiKeyBulkSyncProgressBubble.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c541d832289473137f52ec78ca7305c75048e76cf83864dcb6e1d71ca4a418c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onHover (cyclomatic 13, cognitive 12): onHover 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/src/admin/UserDetailSharedUsagePanel.tsx"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d72a79e8beaeb856d0e4ae151323032a3bc76d5a0f093596de77e80a0ac4d55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendTokenListParams (cyclomatic 13, cognitive 12): appendTokenListParams 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/src/admin/routes.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"330d3692dfcba3688e9ca458f9a167990272a8bc3b023ab1daf53d6fa14e53f0"}},{"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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3001}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dd5e452d69284dc41e7ff073d01174d5c2f4f0fc8655da3aec54d7ced26f7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UsersPageCanvas (cyclomatic 13, cognitive 12): UsersPageCanvas 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":4827}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f9855c99c0791d54e6e6cfd61a600621f63255c5588e0da26da6af4e5aed77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDemoUser (cyclomatic 13, cognitive 12): createDemoUser 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/src/api/demo.ts"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f578a24b0605a1055ba0f3b1fd3727dfa1dc2c37b7fbb4c678419b5f7f6c5b5"}},{"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/src/user-console/runtime.tsx"},"region":{"startLine":2718}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c8e2daa51042b3e3eec5b025d146e4b8d5ae4934c331a0b3c85b6476d11173"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 11): (anonymous) 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":4973}}}],"partialFingerprints":{"codehealthFindingId/v1":"7151b6b820f7e484199d963aed5bb63b865f40a6e625cb8de9df9d25a7a87e54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 15): (anonymous) 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":7622}}}],"partialFingerprints":{"codehealthFindingId/v1":"c952e4a572b160ea46551502cbf160af502afa4cbe65e178e5b8d44652e61ea3"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":3154}}}],"partialFingerprints":{"codehealthFindingId/v1":"229ae82f591bbe110975a9092aed1601a243ff882df1765159c9ad883076b5e6"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":6798}}}],"partialFingerprints":{"codehealthFindingId/v1":"81accc73bad168f1593957b531251b6c29884b4cfd0e1a570581520270408ed8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function semanticWindowLabel (cyclomatic 12, cognitive 13): semanticWindowLabel 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/src/admin/AlertsCenter.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc92ad176a87b72945dcab2092f85e3b4ba2f8f42a8f93917993e1c493619752"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getProbeEnvelopeError (cyclomatic 12, cognitive 13): getProbeEnvelopeError 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/src/lib/mcpProbe.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"090d56d0c02bb8265cb8a42a66dfee1837da993cf0dfb51f19862fdbd666a73f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function play (cyclomatic 12, cognitive 12): play 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":7639}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aab5fb4969529a7442aa57df7237eab7f8fd83af5aef2a1705591b6e9cf2c21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendAlertsQueryParams (cyclomatic 12, cognitive 12): appendAlertsQueryParams 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/src/api/runtime.ts"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19137eb6a623fe3f11453f55337dd4f98851cbf7666aced489baf70c8683e11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatBindingEffectSummary (cyclomatic 12, cognitive 12): formatBindingEffectSummary 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bded5ac9e4d1d1346e3221d654477dce2121cfad3586a96c453481b413ddfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function operationalClassGuidance (cyclomatic 12, cognitive 12): operationalClassGuidance 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/src/lib/logOperationalClass.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fa2f52f5ff4b4d04888ec1adf98d7af6fdadbf3cbe00d9774d33d05aeae008"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function orderStatusDetail (cyclomatic 12, cognitive 12): orderStatusDetail 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/src/user-console/BillingPage.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac7b5ad3822798d6072da1af69ee305e9055153b0c58bbc875d6798e1824687"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rechargeOrderStatusDetail (cyclomatic 12, cognitive 12): rechargeOrderStatusDetail 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/src/user-console/RechargePanel.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"914a7e5173e17558e2ef13ddfce291519483be5e2df316521815489fb1abcadd"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":13643}}}],"partialFingerprints":{"codehealthFindingId/v1":"79faddcc61263ad79c00ab3813081f02db34fa660ef53fb2f2ed075d20fbf34d"}},{"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/src/admin/AlertsCenter.tsx"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"8147057b74282a46a4e98fa6ac128c030fbd445fc5f1472f1a49ad67b9f38e64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StoryCanvas (cyclomatic 12, cognitive 11): StoryCanvas 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/src/admin/McpSessionBindingsModule.stories.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2dce20703ef99510dbc41e05edfb92b2884c6f36ed51faf7418f0e660006889"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildHourlyRangeSlots (cyclomatic 12, cognitive 11): buildHourlyRangeSlots 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/src/admin/dashboardHourlyCharts.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"d602ca5ad6e17aa51eb108e47558d7e337c582d9d55c50e1473f1ea5103e3693"}},{"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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5472}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa4c6073537cbf580e9b38477d9c5031e61b6f0467457f31442b5afc7c3fc29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdminPanelHeader (cyclomatic 12, cognitive 11): AdminPanelHeader 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/src/components/AdminPanelHeader.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"81aecfeed95ea77cad562b98c64c4441db16086661663d99f6ac69b81f434b78"}},{"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/vite.config.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"92574514460c98e7545dce4260e1ef4ebc7d2e5db788a380f0c897ba1c8e86a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/PublicHome.tsx"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e0904a023975026d02000a9bf9d52af2c3a6a23604bef9f4a8dcc8290b0b51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdminShell (cyclomatic 12, cognitive 10): AdminShell 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/src/admin/AdminShell.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"529d6ea45ee4ff4ceb06cb2e5f93654a1a0328b3288084c00b8ad712e87da0bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/AlertsCenter.tsx"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"264a6d14ab2e14d9f939550d2e749bb67d9e789c0ae0681a6dedde137d12a2ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCategorySlotBounds (cyclomatic 12, cognitive 10): getCategorySlotBounds 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/src/admin/DashboardTrendPanel.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"081c7c92d7431599d689ee958d80c0bc04b6f198368d0230588167b13a2273ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildQuotaSliderStages (cyclomatic 11, cognitive 17): buildQuotaSliderStages 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/src/admin/quotaSlider.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e8d56ec37deaf9055fb69f1eecd87e173ed42dc20fcd616283338c13fd9dd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatErrorMessage (cyclomatic 11, cognitive 14): formatErrorMessage 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e4ed57738c071f834a5f23a045acdce236eecfe5d68f0895866e9a2849416e"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cde74ba2af3ce2f0d5c28e8bcf93e1770ce7b9e666227be6feef8d1a908ac5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseUserConsolePath (cyclomatic 11, cognitive 13): parseUserConsolePath 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/src/lib/userConsoleRoutes.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78f72e35ed616c0fb74e4ae3e9686947857fe6664fbfa9556da631cbad316b1"}},{"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/src/UserConsole.test.ts"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"703d5722a4c61d73dd152ff850e7620af9bca30e667e2ac4060f64e0e8761fa7"}},{"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/src/pwa/runtime.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b901e8763b62d44bd7a33d195e02ee7e6d2f760ada665b16da9678e64b18e7d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeRequestKindSelectionKey (cyclomatic 11, cognitive 12): normalizeRequestKindSelectionKey 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/src/tokenLogRequestKinds.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df973dd4004ef2d2b865eba9cfbd127480eb5eb437b36193dad45f0be2e2f8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function schemaType (cyclomatic 11, cognitive 12): schemaType 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/src/user-console/runtime.tsx"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"0127dd5c801791fb8ba6688b3a4cf0910273f1e995a7a31ed65f31f4d7d2e660"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestFailureGuidance (cyclomatic 11, cognitive 11): requestFailureGuidance 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3090}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5d6da5b2cccaabfcb3040852656bbbd9ccc3b3db83e353ac3ef14f96f37861"}},{"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/src/pages/KeyDetailRoute.stories.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4723dcc829b44de8f856da7b787c6e3a6568eb2f1b8a7e821e1a330edcabad3c"}},{"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/src/UserConsole.test.ts"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"07470cfb3d95c2f3d8c9fe49ed61736048ec12e98a2a167daa5278912ab604fb"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":4153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e37feeef63ef0342d3fec3c5041409e495db64b8e48b96bab1450b2780f8603"}},{"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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":4950}}}],"partialFingerprints":{"codehealthFindingId/v1":"771f4f3ac90c514083df40f6051309575e9f2ac6fe5be1fe5cbc32f5494095c5"}},{"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/src/admin/AlertsCenter.tsx"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd64a6b7b2db4d746813dda1196ff9c82b3bad585ad438d9f2b41aca9556f25"}},{"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/src/admin/DashboardOverview.stories.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b5a4d418603c28e982b0da24651eb27d8366a83bd029856d6cd2fbba6ee95c"}},{"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/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb3bfc0830fb9af6d8d4c4b6f5a813fac198ebea7482ea5d6db4de8912a8b28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildBreakdownViewModel (cyclomatic 11, cognitive 10): buildBreakdownViewModel 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/src/admin/UserDetailQuotaBreakdown.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b10e0d9952c49657aa707e44b11e81fda26126198f29cf41fbaa62366ec932b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onClick (cyclomatic 11, cognitive 10): onClick 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/src/admin/UserDetailSharedUsagePanel.tsx"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b2fcbe58aa7dba738627bdb1f622ef538dc3848e44b1c780b8e2786676a97f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function alertsPath (cyclomatic 11, cognitive 10): alertsPath 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/src/admin/routes.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73d8fd77acdd85ca44f458a157eb52d18eec5fe1fd05949c0226c42956bc90a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendKeysContext (cyclomatic 11, cognitive 10): appendKeysContext 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/src/admin/routes.ts"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"b139e24dd712f8ab3b9602580715093bfbbadd46cedff5b105142292415f8d15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdminPageFrame (cyclomatic 11, cognitive 10): AdminPageFrame 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d85dd9b4c34383798963dd8c8b7230a3fee1e900d20bb650e1b7027c3a6837"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UsersUsagePageCanvas (cyclomatic 11, cognitive 10): UsersUsagePageCanvas 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":5102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecb2a69cf18cf589c119caff6b8d8982f4cddd04954f8cbdecadd4ecebfe0ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function play (cyclomatic 11, cognitive 10): play 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":7826}}}],"partialFingerprints":{"codehealthFindingId/v1":"213e0ca4f344a82971f9250edca942bbf81ebd1fc2865021040a6a391e2d519e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchAdminRecharges (cyclomatic 11, cognitive 10): fetchAdminRecharges 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/src/api/adminRecharge.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"617291892416467dd4bbfc7c00f79839beda064aaa763855de546f87ca480bda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function emitInitialDemoEvent (cyclomatic 11, cognitive 10): emitInitialDemoEvent 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/src/api/demo.ts"},"region":{"startLine":2503}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb185c167cb1f0dc47d56260ef902b123a2e2d003e568f74da8fc77d78e06834"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderFilters (cyclomatic 11, cognitive 10): renderFilters 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"075914af26fbaa01e0ee0ab8ae3befcd660c123412677f767cef7fef2da0bea2"}},{"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/src/components/ConnectivityChecksPanel.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c6794de07c9138a36d0afd6ff86acea44778d67fd8ac3d1b5433fe9b6147a7"}},{"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/src/components/ui/SegmentedTabs.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"46611a8088522a60bc5185c3b23d6e85558ad9019f65e5944fe667c74297bf5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAnnouncementContent (cyclomatic 11, cognitive 10): parseAnnouncementContent 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/src/lib/announcementContent.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"71eef370fad6ee350a23a709decfd0738ffca571f9484c72530257753a2ef8a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPublicIpv6 (cyclomatic 11, cognitive 10): isPublicIpv6 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/src/lib/api-key-extract.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d637dd2a917e6019c58f6ba4d9a640609663115abd3709617cf865721a6bdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRequestLog (cyclomatic 11, cognitive 10): createRequestLog 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/src/pages/KeyDetailRoute.stories.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bda2fd6f260b1380e82c23947f002cf40ad6279fa187a64a52489cc58eaacb8"}},{"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/src/user-console/BillingPage.stories.tsx"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"8180d14ee0eb346cb340b3f31043a431b13bb8c22dbe830e8cb5a6b678e8e8f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UserDashboardOverview (cyclomatic 11, cognitive 10): UserDashboardOverview 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/src/user-console/UserDashboardOverview.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2011268532d6a47ef9fdaf4881ee2d413c58d98dde02adf98c688d63b1566ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRetryFailedValidation (cyclomatic 11, cognitive 9): handleRetryFailedValidation 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":6324}}}],"partialFingerprints":{"codehealthFindingId/v1":"022d3d0623c3ef1383f26af8455c4a07f457e47cf145574109a4468d3643927a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RankingsMeta (cyclomatic 11, cognitive 9): RankingsMeta 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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fa7a04f96014ccd60e5d4823460bed45d10e96aa62c20c48861379136bf221"}},{"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/src/admin/AlertsCenter.tsx"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce3e33a927d791da639685fc5661165b687f247152b34d04985469219e16e8c"}},{"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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"a147952901960bbc5d079fa04d02b1c43c6af2daaa1919e37d1ea3c359e60249"}},{"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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":4704}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06c77a2cd7ddb057a9563c838c59a5accfa347df063e8de008b9a6218ac4620"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ManualCopyBubble (cyclomatic 11, cognitive 9): ManualCopyBubble 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/src/components/ManualCopyBubble.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8618efc029838d53ec36707fa6b29e6e7ae794f94c2c7ab9881576c954a2ca46"}},{"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/src/pages/KeyDetailRoute.stories.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d694b6c8492b5c60a8a5195c348579894a6f01a099e07dde3d569679b72dad6"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/AdminDashboardRuntime.tsx: 13102 lines of code: web/src/admin/AdminDashboardRuntime.tsx has 13102 significant lines (blank lines excluded), 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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2401999d4c9d493e66279513cff00f7fe383a163a3eaacde7a40414267020c"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/storySupport/AdminPagesStoryRuntime.tsx: 7648 lines of code: web/src/admin/storySupport/AdminPagesStoryRuntime.tsx has 7648 significant lines (blank lines excluded), 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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0299ec2be5553e6bae03c8470119698306b076c907dca43fa2db5b29f38a549c"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/api/runtime.ts: 3690 lines of code: web/src/api/runtime.ts has 3690 significant lines (blank lines excluded), 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/src/api/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa478bc8f447bcd42f042c1414e82d85a967f1f24e9711c8aa1a494b4987afcb"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/user-console/runtime.tsx: 3154 lines of code: web/src/user-console/runtime.tsx has 3154 significant lines (blank lines excluded), 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/src/user-console/runtime.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"349f99eeac564303c141b9fb71c92499e599f555a0c582b75633077276371278"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/ForwardProxySettingsModule.tsx: 2848 lines of code: web/src/admin/ForwardProxySettingsModule.tsx has 2848 significant lines (blank lines excluded), 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/src/admin/ForwardProxySettingsModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04660e714a59ff97e52af1c5db38fbaa910aa93148d4d0b329e12ec012a76634"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/api/demo.ts: 2495 lines of code: web/src/api/demo.ts has 2495 significant lines (blank lines excluded), 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/src/api/demo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"804fd7ff4ce42ccbb87c6e5cc919c13de0e73d456a7fefe49c8398cfb8e8b565"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/UserConsole.stories.tsx: 2225 lines of code: web/src/UserConsole.stories.tsx has 2225 significant lines (blank lines excluded), 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/src/UserConsole.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac7107b83593e6d98520a1b16a3cc86c239c4ed04f162a82abd0c3f2f20c8a4"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/i18n/types.ts: 1945 lines of code: web/src/i18n/types.ts has 1945 significant lines (blank lines excluded), 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/src/i18n/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c5ac9f660f0250c3d1ca9f95aef86011fd906c634e420b1223dfee2c376d0f"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/i18n/translations/en.ts: 1629 lines of code: web/src/i18n/translations/en.ts has 1629 significant lines (blank lines excluded), 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/src/i18n/translations/en.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d9bd13f95b223d9c99411c95adbb13500377529f405fcb24eb451ad63eb000"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/i18n/translations/zh.ts: 1628 lines of code: web/src/i18n/translations/zh.ts has 1628 significant lines (blank lines excluded), 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/src/i18n/translations/zh.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d3198ef58d9c428583aa33813bc66880e79c1f260493b0d231170709fe12f4"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/pages/TokenDetail.tsx: 1518 lines of code: web/src/pages/TokenDetail.tsx has 1518 significant lines (blank lines excluded), 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/src/pages/TokenDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f964a09f3fe6d827022c94e931080484a9effb4a6ef4aa17eb95b3ec693947b"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/SystemSettingsModule.tsx: 1497 lines of code: web/src/admin/SystemSettingsModule.tsx has 1497 significant lines (blank lines excluded), 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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adf720d89dd8442e28aeee1d9049c2786851e2508c9abddf4c49b14b00d31aa"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/AlertsCenter.tsx: 1458 lines of code: web/src/admin/AlertsCenter.tsx has 1458 significant lines (blank lines excluded), 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/src/admin/AlertsCenter.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a90dfca11b5154303da4a649eda7896b4de916be3ab70d5c9763d241fb5336"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/AdminRecentRequestsPanel.tsx: 1414 lines of code: web/src/components/AdminRecentRequestsPanel.tsx has 1414 significant lines (blank lines excluded), 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/src/components/AdminRecentRequestsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"401a4d3aea925a9c7f62a1defec02fe11b4fab27be772ce4fb05e53517a6c216"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/PublicHome.tsx: 1380 lines of code: web/src/PublicHome.tsx has 1380 significant lines (blank lines excluded), 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/src/PublicHome.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7aaad02ba132cf526325f72ab95143588eb900ad604e64dbd7a2d0d6c04aad"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/DashboardOverview.stories.tsx: 1260 lines of code: web/src/admin/DashboardOverview.stories.tsx has 1260 significant lines (blank lines excluded), 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/src/admin/DashboardOverview.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53948c9867204f3d2acc67083f8e7b22202235922c080835fc1e651b3822f074"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/DashboardOverview.tsx: 1158 lines of code: web/src/admin/DashboardOverview.tsx has 1158 significant lines (blank lines excluded), 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/src/admin/DashboardOverview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71804651c98655efa997728bd3951622350464d6fbc1a1a332bbd72b0dc35a90"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/UpstreamPrivacyStatusModule.tsx: 1091 lines of code: web/src/admin/UpstreamPrivacyStatusModule.tsx has 1091 significant lines (blank lines excluded), 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/src/admin/UpstreamPrivacyStatusModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d478dce6d85e105b8c7432ba301157e99cb4a9e9c0ec1cf6a7ead5863e641d7"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/AdminRecentRequestsPanel.stories.tsx: 1008 lines of code: web/src/components/AdminRecentRequestsPanel.stories.tsx has 1008 significant lines (blank lines excluded), 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/src/components/AdminRecentRequestsPanel.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ab2468a6e9cb5fac5c0135f65819c3122db3b1981cae01f7de3f09195ec83b"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/AnnouncementsModule.tsx: 983 lines of code: web/src/admin/AnnouncementsModule.tsx has 983 significant lines (blank lines excluded), 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/src/admin/AnnouncementsModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d58a90fddff7af536f7294c50a19acce98acf22b3f065e35b8ff93203b1aa0"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/UserDetailSharedUsagePanel.tsx: 956 lines of code: web/src/admin/UserDetailSharedUsagePanel.tsx has 956 significant lines (blank lines excluded), 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/src/admin/UserDetailSharedUsagePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3e9b28aa20f9ec011f508a24d99b4bd63ce3156503f4f3a20411891f7fb214"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/AdminUserRankingsPage.tsx: 941 lines of code: web/src/admin/AdminUserRankingsPage.tsx has 941 significant lines (blank lines excluded), 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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56ed5f02978c3de299f0742964a73d1298cd36bea16e08bd40b4bcb5c66264c"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/user-console/BillingPage.tsx: 933 lines of code: web/src/user-console/BillingPage.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/src/user-console/BillingPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4b8ca6844f23977f4e70ed47e22cbc059efe360c36a7a2d9e5a2757eb3e045"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/pages/TokenDetail.stories.tsx: 865 lines of code: web/src/pages/TokenDetail.stories.tsx has 865 significant lines (blank lines excluded), 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/src/pages/TokenDetail.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5057f4b9701bf3545e5e767208aa0a67cc8aae532fa7f9ce69c77e4fab043e21"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/ForwardProxySettingsModule.stories.tsx: 834 lines of code: web/src/admin/ForwardProxySettingsModule.stories.tsx has 834 significant lines (blank lines excluded), 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/src/admin/ForwardProxySettingsModule.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"403e548b0369ad1eb9ebee633ff937d07ac936f40ee6778f9513d61dd6999310"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/ApiKeysValidationDialog.tsx: 831 lines of code: web/src/components/ApiKeysValidationDialog.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/src/components/ApiKeysValidationDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93857912f12ebbf81dd6b132881b53302d1dda3aec6b6e8b0ad578ffc4e57491"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/UpstreamPrivacyStatusModule.stories.tsx: 799 lines of code: web/src/admin/UpstreamPrivacyStatusModule.stories.tsx 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/src/admin/UpstreamPrivacyStatusModule.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"215c42466dd722028c538260987c3dc30e0ab7d1ba9624d1eb808949213a19c5"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/user-console/BillingPage.stories.tsx: 799 lines of code: web/src/user-console/BillingPage.stories.tsx 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/src/user-console/BillingPage.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88c66f563ba4870e89d89c92fdd7bfadc712118e78a2bc3cf618f980166e570"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/AdminSecuritySettingsModule.tsx: 770 lines of code: web/src/admin/AdminSecuritySettingsModule.tsx has 770 significant lines (blank lines excluded), 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/src/admin/AdminSecuritySettingsModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbaca6579004a26ab9c1473dc018e9e39c88591e952da36320632debc7aa1911"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/HaStatusBanner.stories.tsx: 765 lines of code: web/src/components/HaStatusBanner.stories.tsx has 765 significant lines (blank lines excluded), 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/src/components/HaStatusBanner.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94272953a8d90b3d13645b31f2fa463f2d5d4372967e882ac04ec4bcaced7de0"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/routes.ts: 703 lines of code: web/src/admin/routes.ts has 703 significant lines (blank lines excluded), 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/src/admin/routes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cdd89bc1b0b5f854b6a54e3a5422d15b92dedc233931e5e3b3712a3eb8dbd3"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/ForwardProxyEgressControl.stories.tsx: 649 lines of code: web/src/admin/ForwardProxyEgressControl.stories.tsx has 649 significant lines (blank lines excluded), 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/src/admin/ForwardProxyEgressControl.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5986557142a9a6fe5cbe4756725bb9654e7a39f5f6e15c5c256ca955fee6d39"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/DashboardTrendPanel.tsx: 638 lines of code: web/src/admin/DashboardTrendPanel.tsx has 638 significant lines (blank lines excluded), 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/src/admin/DashboardTrendPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd77e856d32540505cb15a4b858ca01c341856caf8f9bcce0381aa22f440f003"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/McpSessionBindingsModule.tsx: 621 lines of code: web/src/admin/McpSessionBindingsModule.tsx has 621 significant lines (blank lines excluded), 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/src/admin/McpSessionBindingsModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb231b87333969cde3a7d7493cce30980071647ddf0e5dd980220ea519db67c"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/user-console/RechargePanel.tsx: 608 lines of code: web/src/user-console/RechargePanel.tsx has 608 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/user-console/RechargePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a7554c1ab4ea9a9e0778be7d0c2fa15cad1148a7072285bc3e5c4c6e3eb1a5"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/KeyStickyPanels.tsx: 607 lines of code: web/src/admin/KeyStickyPanels.tsx has 607 significant lines (blank lines excluded), 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/src/admin/KeyStickyPanels.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c6c522e385d83b89f7a0886519b8c0237145be2b2f24d9eb6435ddb24dfcbc"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/AdminUserDetailQuotaWorkspace.tsx: 593 lines of code: web/src/admin/AdminUserDetailQuotaWorkspace.tsx has 593 significant lines (blank lines excluded), 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/src/admin/AdminUserDetailQuotaWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c366fd09c005cc1e77aeb672d6f44a610dd21e4bb5f2a8db127de1c441e42b"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/dashboardHourlyCharts.ts: 557 lines of code: web/src/admin/dashboardHourlyCharts.ts has 557 significant lines (blank lines excluded), 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/src/admin/dashboardHourlyCharts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba246aa2db1e65db38fa49363539a54b49e4fcbe1f156184cb0e54f7f1ce19c5"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/AdminRechargeRecordsModule.tsx: 537 lines of code: web/src/admin/AdminRechargeRecordsModule.tsx has 537 significant lines (blank lines excluded), 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/src/admin/AdminRechargeRecordsModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"894934c4ad582b5cc982b36990af6e56690035a6223de629d6e7df043b1b7d42"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/HaStatusBanner.tsx: 530 lines of code: web/src/components/HaStatusBanner.tsx 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/src/components/HaStatusBanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c0434ce2f26b7506cffca74c25805b3daf450a5598b8135046ab309893a5c5"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/PressureAnalysisScreen.tsx: 500 lines of code: web/src/admin/PressureAnalysisScreen.tsx has 500 significant lines (blank lines excluded), 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/src/admin/PressureAnalysisScreen.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d0b485598e99b605fb79fd7a7702767c262b5192ae37e645849163ea63e4ee"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/api/userConsoleNormalization.ts: 493 lines of code: web/src/api/userConsoleNormalization.ts 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/src/api/userConsoleNormalization.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af71898972dfca991997436cd72eecf1115b89fd0d053b00e5265226a8ce82f2"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/user-console/guide.tsx: 474 lines of code: web/src/user-console/guide.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/src/user-console/guide.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec70e7ea8fa05a5581206a7474fd433a842e5f73a3c3d71fe7ee647da05bf526"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/api/demoAdminRecharge.ts: 469 lines of code: web/src/api/demoAdminRecharge.ts has 469 significant lines (blank lines excluded), 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/src/api/demoAdminRecharge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9369ab743d86cf03b34147b4436150d31417cae6e387edc876aef04e679d1949"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/HaSourceSettingsDialog.tsx: 459 lines of code: web/src/admin/HaSourceSettingsDialog.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/src/admin/HaSourceSettingsDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b291b9c4090e07dfb0122f175e8094b938ffe306a2be49e0a6149791ee5490"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/api/demoHa.ts: 439 lines of code: web/src/api/demoHa.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/src/api/demoHa.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"362889721223217839fc5d68345feef42d8b79d9072ff2a9389a13396abc00bd"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/ApiKeysValidationDialog.stories.tsx: 424 lines of code: web/src/components/ApiKeysValidationDialog.stories.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/src/components/ApiKeysValidationDialog.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"762fc5be46ffc2923db1bc5f5852afb8c84006003bd60303d30cb29a8be19c09"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/screens/UsersUsageScreen.tsx: 410 lines of code: web/src/admin/screens/UsersUsageScreen.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/src/admin/screens/UsersUsageScreen.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d2a7148ef2bb870b243eb8c3ff3f9e459d2d567d201bf8d643b56427590d25"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/admin/forwardProxyStoryData.ts: 408 lines of code: web/src/admin/forwardProxyStoryData.ts 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":"web/src/admin/forwardProxyStoryData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dddf5e41a201b8b2d6036f5caa1bf0ae24c64f0b6089b529c0362ac4cf51098"}},{"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-icon-data.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a8c0ec905c14c826b280fe6feed372dc010b83f44c6e8080b2553255f7b427"}},{"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/src/components/MarkdownEditor.storybook.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa3850d5d689df586d8877fe65bf182f29b363b006a77e00d5b6b49f2dfc65b"}},{"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":"docs-site/theme/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af58aa980294064dae7ec9e80e97fbe7fd0a3fa2317932f79f86241a5b050a39"}},{"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/src/public-main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f746a0877aa721a96a45df57c4200f26b9c191ad051141e020e2a738f4896420"}},{"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/src/admin-main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7e305c61b809bf175e818aacc13a6c0754825c7d8a00d69abfc1322fc8616c"}},{"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/src/console-main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df08a282e522b91b33ced6f6680d241f25b66ce300313c1cfef2ac81ad23b060"}},{"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/src/login-main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf98bb06d7c9d0f29def7d8fb415f650db3a7c1c50783539b0ac5b5a4ed3f71"}},{"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/src/registration-paused-main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0756ca92eeb64e756f9d2e5f3bbe72820a9469f38c9410d0af7e4991fb69482f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~55 LoC): no import path from any entry point (40 application, 13 tooling, 153 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":"scripts/capture_admin_pressure_storybook.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d114d0fc17611c7f7da6ac416cb91d9d023c90c4b8eb3dd80bcd4902c04b436"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (40 application, 13 tooling, 153 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/src/api/admin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01568db6385df91f4017ce1a6c0596088da22de8c2bf80446908f0cd4a0fa299"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (40 application, 13 tooling, 153 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/src/api/appUsers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8bafe7c8d00f8b687a3e6617e76b1bcb93e3e3bbefda101ba5c8802515f55e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (40 application, 13 tooling, 153 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/src/api/shared.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a6e49d9c2c99a05c9bb3e063379c83843caf74f3bcb41d2366a0f90da6a67e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027buildMonthBackdropBaseline\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/dashboardCardBackdrops.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50cf3e8fcb24d956d98e08f0ec83febcad18ab9cc1ebe22d7bd86aa57a7c00e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatQuotaDraftInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/quotaSlider.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd9815299622189871cc7d3471bc5160b7abbc6d31dfa9f4cf155070b8719cc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027findNearestQuotaSliderStageIndex\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/quotaSlider.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d32bd5ca66b62d6fe28247ae2a30a8e56413dc61f8e65fc5da383c23b0a046e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027buildQuotaSliderTrack\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/quotaSlider.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7270f9c37daf67f074a15a9d78bc292ba686ef6d01081a7dfd80f7a402e77e93"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027UserTagBadgeList\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/admin/screens/shared.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df7f7fa40a1c9bd21c3c741b8e0afe892b6f1c2aa3c9d71fdea966bba53236d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ObservedClientIpHeaderValue\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in web/src/api/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/src/api/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/api/clientIp.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f30c5c16899fa2fc41107a400dd0cd8eb520fbf2e234b7d9c38d8814fb0f8b4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027extractTvlyDevApiKeyFromLine\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api-key-extract.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d3f7f1653db983de004312b1ee0ab9dba34ab2a1b0753e3a67ae8eee54d677"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027extractTvlyDevApiKeysFromText\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api-key-extract.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b4a2496bba7c1f96d4ac5126a5ec9f2d1d7d0c689c36c8466a163637d2de63"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027TEST_RECHARGE_AMOUNT_LDC\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/user-console/rechargeControls.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c6275186e0bb6cd8409651ee27249fd912899782ffa833c72bba65f786556e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027REPO_URL\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/src/PublicHome.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4ac786f5cc65083b37e8de94e35511eba7ca9a915b537a07e140b3b6318373"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027DASHBOARD_RECENT_LOGS_PER_PAGE\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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"436505fe3929f22b825f58f3696c187e757a969e9a7f00eb7ea76077ab5337bf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027DASHBOARD_RECENT_JOBS_PER_PAGE\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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"2128834fa7eb8d190360c22c78780dd0384a26d287edc13ee8a0457ba608984a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027MonthlyBrokenCountTrigger\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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64c7143c67e7253dffa319197f80b5c5ef59aa8d0bea181d9c2d89ac8d8e9de"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027formatUnboundTokenIdentityMeta\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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8dcfbe008e9f20f0dccce73425f70c7f8e41e63a990c6570cc0f8da4d255ce"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027LogRow\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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12689}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a9ae223d4837994850443b5aabb6cd2ae045f7b6a65aaa7419ead954623733"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027isValidPercentDraft\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/src/admin/SystemSettingsModule.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7fbb88e69407dd58a422f34f486940eb3403b8d5a8b888291251e4389a01be"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027logResultTone\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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":2898}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dedc6af7a5e41b5b5c82a1663e7c38ad4720e1853afc455a3d37dd0a61beae4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027requestErrorText\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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":2905}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfce58646d43f68142e5a1703d07a7bb9ba8d84d8dbb46e5b41c0b9dd4210b0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027requestKeyEffectText\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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":2914}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c01041109b57fd7f5ddd88349f7a6a853e52dd344fde2a50907c6f64dd6a4c9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027requestStatusPair\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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":2920}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e52d647462ec8c1db698707facde239bd2dba92ba0c86a0ea67e007d73f75a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027requestStatusTip\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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":2924}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e21edcf414fcb26c7e407063bdc279783e16996cfb5102314a80a5695688e4a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027requestKeyEffectTone\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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3050}}}],"partialFingerprints":{"codehealthFindingId/v1":"895f7fb77821355eacb4173df04279de06179d23f2c741d3dc7689ad35468a2e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027requestKeyEffectBadgeLabel\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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3068}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10ee6fadbbf3cac19752d7c67752a47ba92133b2fc7e66e16e7d8382de23c97"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027requestFailureGuidance\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/src/admin/storySupport/AdminPagesStoryRuntime.tsx"},"region":{"startLine":3090}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a4f1607ee515395864a04d6ce7397342d4fc824ea11a53a29fe7fe42031244"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027DEMO_TEST_RECHARGE_AMOUNT_LDC\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/src/api/demo.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb3182a97dbcd79926fce38a9017cd248edd75abf382477c081215cc870361a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027normalizeRecentAlertsSummary\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/src/api/runtime.ts"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"663e35ea825bde8bf87c8225ba693d4291883d892eb1809b477ad278af2da026"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027requestKindBillingQuickFilterOptions\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/src/pages/TokenDetail.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4857337821791658a086d9d1bcc00be5f0de230e13b072a616fb5107b7119ac6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027requestKindProtocolQuickFilterOptions\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/src/pages/TokenDetail.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf32435da5db76e629767f24b9ded8655ab4058a6f509325c0f191b8fe02d32"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027statusLabel\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/src/pages/TokenDetail.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49eab79b15ea1e9d135b4f6a226affc7e5b69eacb59d8f44b59f2f173d1e8ae"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@rspress/runtime\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-site/theme/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3be64bf46cff1e26cae947b021753018393e7c46b5ab6fdb22c4063cf8a598"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027@iconify/types\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/icon-data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b188ca0187c52273d88de8299c0e9dfb0363efc2cc07519592730933c314043"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@modelcontextprotocol/inspector\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbeedd99b5bc03699bd71de9ecb40c896a160881c4a406ea074fddd5e157b9e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027dprint\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d13d1d00c08174a140a04cc33dbacf4be34ea6cacee66a2e477cf5139aa969"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@tanstack/react-router\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":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c2476e2081897c1dac201b20fec08c069e7ce0b1c64d7f40b6b5d4699f9ab3"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): web/src/api/recharge.ts \u2192 web/src/api/runtime.ts \u2192 web/src/api/recharge.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/api/recharge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea762a3730c9a2c7bc6e7014ea331f6702552bd9f10ba2fa08d8450173d73e3e"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): web/src/user-console/guide.tsx \u2192 web/src/user-console/runtime.tsx \u2192 web/src/user-console/guide.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/user-console/guide.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63effe9e51752ad65778bb108aa026f0171e773a0b301ae8a91b387621875c3"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"885a4fdf12f4d62bb68e40168dd2b9cbacba784a8203878872828d3b9b8e3a7d"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060Caddyfile\u0060 is committed to this repository and declares the server that serves it, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/forwardauth-caddy/Caddyfile"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f6adc15d66b038c943a0d8c93b3f0d18573683a9d2ed964215867b4f5c8d4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(tag.systemKey) || tag.source === \u0027system_linuxdo\u0027\u0060 appears character-identically in 3 files \u2014 web/src/admin/AdminDashboardRuntime.tsx, web/src/admin/screens/shared.tsx, web/src/admin/storySupport/AdminPagesStoryRuntime.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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"01daf73716246f245b94deb887607adab8dc348a5953ac05cfd3268a80c14676"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(parsedPage) \u0026\u0026 parsedPage \u003E 1\u0060 appears character-identically in 2 files \u2014 web/src/admin/AdminDashboardRuntime.tsx, web/src/admin/routes.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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b05269be25c6d81cf8641d58e5f3d6519d2e855e6ba38224811734d331e3fc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060color.startsWith(\u0027hsl(\u0027) \u0026\u0026 color.endsWith(\u0027)\u0027)\u0060 appears character-identically in 4 files \u2014 web/src/admin/AdminUserRankingsPage.tsx, web/src/admin/DashboardOverview.tsx, web/src/admin/DashboardTrendPanel.tsx, web/src/admin/PressureAnalysisScreen.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/src/admin/AdminUserRankingsPage.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcbe6050c3f3d0caddbefd1d238ea37ca7d16807124d1bf92a7cb2c7631e842"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060content.samples \u0026\u0026 content.samples.length \u003E 0\u0060 appears character-identically in 2 files \u2014 web/src/PublicHome.tsx, web/src/user-console/guide.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/src/PublicHome.tsx"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad074c6380b66dcf2b733f190e501e12d28ee514dbb74020fd73598c9700b11"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060forwarded.length \u003E 0 || dropped.length \u003E 0\u0060 appears character-identically in 2 files \u2014 web/src/admin/AdminDashboardRuntime.tsx, web/src/components/AdminRecentRequestsPanel.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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":12873}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fa488d6ddde5c35d186c66e7d28bcafdfdbac0d67b8422e1b79f1a7ed386b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060init?.body != null \u0026\u0026 !headers.has(\u0027Content-Type\u0027)\u0060 appears character-identically in 2 files \u2014 web/src/api/runtime.ts, web/src/lib/mcpProbe.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/src/api/runtime.ts"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9734779ced8b765d44802339236eff3747a97d690c5a1bc2d24980d0df2e4906"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.displayName || item.username || item.userId\u0060 appears character-identically in 2 files \u2014 web/src/admin/screens/UsersUsageScreen.tsx, web/src/admin/storySupport/AdminPagesStoryRuntime.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/src/admin/screens/UsersUsageScreen.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc6355b1ddf998e19a15de856130341186dc770acb66e3a010d8bc1e2fd20f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.monthlyBrokenCount == null || item.monthlyBrokenLimit == null\u0060 appears character-identically in 2 files \u2014 web/src/admin/screens/UnboundTokenUsageScreen.tsx, web/src/admin/storySupport/AdminPagesStoryRuntime.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/src/admin/screens/UnboundTokenUsageScreen.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd144d88506ff84b559cbd2bbcff15ed5fd31dfa01839f25284f457b5de04324"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.quota_remaining != null \u0026\u0026 item.quota_limit != null\u0060 appears character-identically in 2 files \u2014 web/src/admin/AdminDashboardRuntime.tsx, web/src/admin/storySupport/AdminPagesStoryRuntime.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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":11558}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e7eca2d277c6709e85705f88db1027dba6e47c1a1cbd21f37d4d67ab63808c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.shadowDailyAvailability != null || item.shadowDailyCreditsUsed != null\u0060 appears character-identically in 2 files \u2014 web/src/admin/AdminDashboardRuntime.tsx, web/src/admin/storySupport/AdminPagesStoryRuntime.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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":6573}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a607c8937274b387bb3e41077645cc74973933006033b422df2bee28e56d6f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060log.http_status != null \u0026\u0026 log.mcp_status != null\u0060 appears character-identically in 2 files \u2014 web/src/admin/AdminDashboardRuntime.tsx, web/src/components/AdminRecentRequestsPanel.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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda7042717d434a4cef5cc6c9810f715f3cee85af0a5eb2b47738ff341b9fc9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0027active\u0027 || normalized === \u0027success\u0027 || normalized === \u0027completed\u0027\u0060 appears character-identically in 2 files \u2014 web/src/admin/AdminDashboardRuntime.tsx, web/src/admin/storySupport/AdminPagesStoryRuntime.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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae850d93ae23421afbf14398f1eea18d6374d196e4851dfac597c6e8285df32"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0027exhausted\u0027 || normalized === \u0027quota_exhausted\u0027 || normalized === \u0027retry_exhausted\u0027\u0060 appears character-identically in 2 files \u2014 web/src/admin/AdminDashboardRuntime.tsx, web/src/admin/storySupport/AdminPagesStoryRuntime.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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dd686962f4e0c8895e7d05ac812cb208d296a901b70176582db41e024c8bc6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060order.status === \u0027paid\u0027 \u0026\u0026 order.paidAt != null\u0060 appears character-identically in 2 files \u2014 web/src/user-console/BillingPage.tsx, web/src/user-console/RechargePanel.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/src/user-console/BillingPage.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b7f9cbb962d45e470820172b1102913f6e04438c08052745f9a35347cd35dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060route.name === \u0027token\u0027 || route.name === \u0027tokenLogs\u0027\u0060 appears character-identically in 2 files \u2014 web/src/lib/userConsoleRoutes.ts, web/src/user-console/runtime.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/src/lib/userConsoleRoutes.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c316e28d027cfe3cedda30f32c0269e4e913c859e0638252692e4ab3e3de3c3e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0027pending\u0027 || status === \u0027expired\u0027 || status === \u0027refunding\u0027\u0060 appears character-identically in 2 files \u2014 web/src/user-console/BillingPage.tsx, web/src/user-console/RechargePanel.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/src/user-console/BillingPage.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d7ee38145c2ac5b46d6dc3c74da19d6144b9657ad3f17f67f59360003ca0dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof candidate === \u0027number\u0027 \u0026\u0026 Number.isFinite(candidate)\u0060 appears character-identically in 2 files \u2014 web/src/api/adminUserNormalization.ts, web/src/api/userConsoleNormalization.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/src/api/adminUserNormalization.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5860de5c02191c7be4635bbce30f4aa7efb1b93d68d30c4e3980190175f74599"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 \u0026\u0026 Number.isFinite(value)\u0060 appears character-identically in 6 files \u2014 web/src/components/RollingNumber.tsx, web/src/lib/haCopy.ts, web/src/lib/mcpProbe.ts, web/src/user-console/UserDashboardOverview.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/src/components/RollingNumber.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"9493fc4e7e27df0e0bd8d2930c3448ba989d0d7e2904f0317e87a24d40ccab25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027object\u0027 \u0026\u0026 value !== null\u0060 appears character-identically in 2 files \u2014 web/src/api/adminUserNormalization.ts, web/src/api/userConsoleNormalization.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/src/api/adminUserNormalization.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b22d6b02c617aa693b049f06f29f15118e7b88f2c7ca9f3f1c86e66fa47b56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user.displayName || user.username || user.userId\u0060 appears character-identically in 2 files \u2014 web/src/admin/AdminDashboardRuntime.tsx, web/src/admin/storySupport/AdminPagesStoryRuntime.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/src/admin/AdminDashboardRuntime.tsx"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2cdccac0776f977d9ed8ababc299057cdf2a7eeebd788d30d4e3a8c594f271"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.scope === \u0027user\u0027 || value.scope === \u0027token\u0027\u0060 appears character-identically in 2 files \u2014 web/src/api/adminUserNormalization.ts, web/src/api/userConsoleNormalization.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/src/api/adminUserNormalization.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc0a80ab73c0274139fd1260a9c3b23590929d53e01bb3e86973b01891f5cb4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.stderr.strip() or result.stdout.strip() or f\u0022exit {result.returncode}\u0022\u0060 appears character-identically in 2 files \u2014 .github/scripts/check_quality_gates.py, .github/scripts/detect_docs_pages_changes.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/check_quality_gates.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d149077769bc680d02ad44fb0464c2ca1d7b267da4da7f32175cb4397192e18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!ip.is_loopback() \u0026\u0026 !ip.is_unspecified() \u0026\u0026 !ip.is_multicast() \u0026\u0026 !ip.is_unique_local() \u0026\u0026 !ip.is_unicast_link_local() \u0026\u0026 !is_documentation\u0060 appears character-identically in 2 files \u2014 src/lib.rs, src/server/handlers/admin_resources/versions_and_proxy_helpers.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2734}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a40052b2e05800be8174f93d975fccbad6793f8d204d40202bff1e4c294a26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Self::pending_key_count(state) \u003E 0 \u0026\u0026 state.flush_deadline.is_none()\u0060 appears character-identically in 2 files \u2014 src/store/key_store_request_stats_coalescer.rs, src/tavily_proxy/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_stats_coalescer.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a48a2650f1b5dabd77762a2a617946bf0eefc35d5608d3f29c5b35798f39e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ip.is_private() || ip.is_loopback() || ip.is_link_local() || ip.is_broadcast() || ip.is_documentation() || ip.is_unspecified() || ip.is_mult\u2026\u0060 appears character-identically in 2 files \u2014 src/lib.rs, src/server/handlers/admin_resources/versions_and_proxy_helpers.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2696}}}],"partialFingerprints":{"codehealthFindingId/v1":"640d13ec4250b06b815910aefaa008675f2d6fe1f89494b376576ed2375fdb6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060looks_like_subdivision_code(subdivision) \u0026\u0026 !city.is_empty()\u0060 appears character-identically in 2 files \u2014 src/lib.rs, src/server/handlers/admin_resources/versions_and_proxy_helpers.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2784}}}],"partialFingerprints":{"codehealthFindingId/v1":"c087348dd1a933e5e97e9a97c9572781f939e9ef47c46e689ee1ffb4330d444e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060recent_coverage == \u0022ok\u0022 \u0026\u0026 history_sources == ALERT_PROJECTION_SOURCES.len() as i64 \u0026\u0026 idle_history_sources == history_sources\u0060 appears character-identically in 2 files \u2014 src/store/key_store_admin_privacy_read.rs, src/store/key_store_alert_projection.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a13c970e6816503195ac7e840204315d673b8e41f01409819ba13119dcecfcd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060recent_coverage == \u0022projecting\u0022 \u0026\u0026 stale_reason.is_none()\u0060 appears character-identically in 2 files \u2014 src/store/key_store_admin_privacy_read.rs, src/store/key_store_alert_projection.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc9d7d07445d625170d6f593df2338c40ac237bbe91319235194c0592a9af69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060registration_ip.is_some() || registration_region.is_some()\u0060 appears character-identically in 3 files \u2014 src/tavily_proxy/proxy_forward_proxy_maintenance.rs, src/tavily_proxy/proxy_quota_sync_and_jobs.rs, src/tavily_proxy/proxy_request_limits.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_forward_proxy_maintenance.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af77ce1505beb1638ee25fd0c391d6022647e4985bd64f3b681b48ea1a77d47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status() == reqwest::StatusCode::TOO_MANY_REQUESTS \u0026\u0026 attempt == 0\u0060 appears character-identically in 2 files \u2014 src/lib.rs, src/server/handlers/admin_resources/versions_and_proxy_helpers.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2852}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2747dd0211a7a4c091d48665938b7d903fdbdcb879d43a89bdf811d5a5baf2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sampling.emit_info || sampling.capture_heavy_stats\u0060 appears character-identically in 2 files \u2014 src/server/handlers/admin_resources/ha.rs, src/server/serve.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e50ae898761fdf5e62b7fad7a659cf73271d877c46f7fdbf428d1028ff8dfb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060segments[0] == 0x2001 \u0026\u0026 segments[1] == 0x0db8\u0060 appears character-identically in 3 files \u2014 src/lib.rs, src/server/handlers/admin_auth.rs, src/server/handlers/admin_resources/versions_and_proxy_helpers.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":2733}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e416661dca1bb9fac737f9e34b936706711c09285d2c95a29b41a5345d40b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sources == ALERT_PROJECTION_SOURCES.len() as i64 \u0026\u0026 idle_sources == sources \u0026\u0026 fresh_sources != sources\u0060 appears character-identically in 2 files \u2014 src/store/key_store_admin_privacy_read.rs, src/store/key_store_alert_projection.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7419c2c59582dd8400950b323f3a63ca3b6242b168606f44c671ef9675dab885"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sources == ALERT_PROJECTION_SOURCES.len() as i64 \u0026\u0026 idle_sources == sources \u0026\u0026 fresh_sources == sources\u0060 appears character-identically in 2 files \u2014 src/store/key_store_admin_privacy_read.rs, src/store/key_store_alert_projection.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d481ae3077ebf218579654236ad253e8e608f2587258a27e5adfc0b66ac555bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stale_reason.is_some() || observations_expired\u0060 appears character-identically in 2 files \u2014 src/store/key_store_admin_privacy_read.rs, src/store/key_store_alert_projection.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_privacy_read.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"896303ba19b37ef5bb3db7c0cc310321ecfaca822d79244de23c273857e1d401"}},{"ruleId":"X12","level":"warning","message":{"text":"Statement is unreachable \u2014 control never gets past the statement before it: \u0060match self.key_store.get_research_request_affinity(request_id, now).await { O\u2026\u0060 follows \u0060{ return Ok(owner == token_id); }\u0060 (line 1250) in the same block, and control never passes that statement \u2014 it returns, breaks, continues, panics, exits or calls a function that never returns. This code cannot run for any input; rustc warns \u0060unreachable_code\u0060 on it. Delete it, or move it before the statement that leaves if it was meant to run."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_affinity.rs"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f587ed21a78250ca6abe1bfa02ba4e3a261a15dd8b214471b43e592ec27cdf"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060getMcpProbeResultError\u0060 is exported, takes a document from its caller (line 180) and hands it to \u0060extractProbeErrorText\u0060, which calls itself at line 169 (\u0060extractProbeErrorText\u0060) with a piece of \u0060payload\u0060 \u2014 and nowhere in \u0060extractProbeErrorText\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 \u0060extractProbeErrorText\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/mcpProbe.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d464a8535895b52db11c887fab9b2eaf3233f13337a07269b8c6e3620f2a2f4"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060getMcpProbeResultError\u0060 is exported, takes a document from its caller (line 180) and hands it to \u0060extractProbeStatusCode\u0060, which calls itself at line 177 (\u0060extractProbeStatusCode\u0060) with a piece of \u0060payload\u0060 \u2014 and nowhere in \u0060extractProbeStatusCode\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 \u0060extractProbeStatusCode\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/mcpProbe.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c974195cc9b487bdf7cb1630e3867947ae37c4a79d52cb8006dbbb347403d0"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060normalize_alert_group_record_for_projection\u0060 is public and takes \u0060group: AlertGroupRecord\u0060 from its caller, and it calls itself at line 779 with a piece of the document \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound. 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. When a Rust thread runs out of stack it is not unwound: the runtime reports the overflow and aborts the process, so \u0060catch_unwind\u0060 does not stop it and every other request the process serves dies with it (spawned threads, a Tokio worker included, get 2 MiB by default). serde_json and serde_yaml stop parsing at 128 levels only on their default path; a value from \u0060disable_recursion_limit\u0060, from another format or parser, or built in code carries whatever nesting it was given. Thread a depth argument through \u0060normalize_alert_group_record_for_projection\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e558254a6d2932354a6c58c8b61887f7737db5739feda126fe6ef674ba1d33"}},{"ruleId":"X18","level":"warning","message":{"text":"Explicit release owed and not made on every path: \u0060tx\u0060 (line 673) is a transaction released by \u0060commit()\u0060 (or a deliberate \u0060rollback()\u0060) only on the path that reaches line 987; the \u0060return\u0060 on line 869 leaves before that with a success value, and on that path a transaction that is dropped rolls back, so every write made through it is silently undone. Release it before that \u0060return\u0060 too (or return an error there, if the early exit is a failure)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_migrations_a.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0e575bd06ca07b3de85ef9392973305d5bc27098950e87212aac036a93be43"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 14/16 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: deleteToken: \u0060deleteToken\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/src/api/tokens.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d060eb3aa4f3f789bcde69cadc8ca4df2f710edd81fa2c8c0883a435c8b6b0a3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: setTokenEnabled: \u0060setTokenEnabled\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/src/api/tokens.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1ee2c6aa0a249255c64014d69efcdc5ae3817ee8257c1cb6c2db40917a86c5"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060Cli.xray_binary\u0060 is offered as a command-line argument option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efba6746a61ae5038b973dd123fd2f98671f5f56be1473c56e0da0fcc84407f"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060Cli.admin_auth_passkey_enabled\u0060 is offered as a command-line argument option, so whoever configures the program can set it \u2014 but no production code reads it. Its value is copied into \u0060passkey_auth_enabled\u0060, and nothing reads that either. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa3ce547c24e267b1a8ebbecb62322d853f7bf87d92af9ad8a1f13e99a985bd"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060Cli.admin_passkey_challenge_ttl_secs\u0060 is offered as a command-line argument option, so whoever configures the program can set it \u2014 but no production code reads it. Its value is copied into \u0060passkey_challenge_ttl_secs\u0060, and nothing reads that either. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6385071b65ad5267f65d60dec4554c421c73993b539bbcea507ede452864d6e6"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060Cli.admin_passkey_session_max_age_secs\u0060 is offered as a command-line argument option, so whoever configures the program can set it \u2014 but no production code reads it. Its value is copied into \u0060passkey_session_max_age_secs\u0060, and nothing reads that either. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0c87d311e1f8f24c00540e4d181d1b9aebb447d836d63967abe847b18b52c0"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AdminUserIpUsage.recent_ip_addresses_24h\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50b6163d1da9ac09bad88ecc4531a4e50c86c6e4aab240a8d87bad376609d1b"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AdminUserIpUsage.recent_ip_addresses_7d\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0ea2129f6e3f3b9d451500f1620c9304e059550c1a30ec2321f94bfb68e69b"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RecentAlertsSummary.window_hours\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a71d6224c843ff7fa949e3bd7a2044c6bbbf0f7e7b6b3b3c64489a99f82dbf"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SystemSettingsUpdatePayload.rebalance_mcp_session_percent\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/versions_and_proxy_helpers.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"1596677cb03ceacfb844c632e6b096c30106f80cfe3212dacb394bbb476ff39b"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationRunObservation.projection_state\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8600156525078d2e11a14e3dbc1a1147ed3a6a466852c21f287a8c07d9cf78ff"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationRunObservation.projection_scanned_rows\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4e4c9da6c0b355baaf1338a4525154c64466435587e7fbee42b53b72a01891"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationRunObservation.projection_batch_size\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0831b4f0f4770621420bb17279609fac0318b87c14c9f6aec56e866ce03606"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationRunObservation.projection_transaction_p95_ms\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1f5f559f5c6e2528c8c286db9c27bfb79a4fd2f56867a197187d763b3a62f1"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationRunObservation.last_transport_kind_at\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b27432278094666bc95119af40167feb008bbc450469df8e07d6597f9030994"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchProgressWindow.window_ended_at\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc0243ace9626ab1223a1e078e10b484472d3e1763dff4867cabf30d712d04d"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchProgressWindow.window_seconds\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae017f19170af10a6b5a58ce2c8cbeab21c4d54c48a66bec9680db90f6f0e6e"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchProgressWindow.terminal_delta\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"95be369f7d30eeaf94a0dfad1dea05c3323da6fd904855f18a51ba9ed9f30bd0"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchProgressWindow.pending_delta\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ec7163e9c38198af814716ee8f1f62b4cc173fbd292ad053d369654f5f95d4"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchProgressWindow.unavailable_delta\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b802aca613b3298c8aa8fdbf04d1fae058cc0422ecebfa2d179cc8f687ac8935"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchProgressWindow.pollable_pending_delta\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a2c063c57d80c265aa5d31e5db47dc409671990729c54016ae5625a4d9856a"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchProgressWindow.terminal_rate_positive\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98e06082c2c916b4f51cb35709a8a995f2f63d8d12f9d298c2cb4a14679ee5a"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchProgressWindow.poll_resolution_rate_positive\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"91adda73cdcfcc674410591b01782f71ab95a4f9e2e56780ad56a53d1e328280"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchProgressWindow.pending_non_growing\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c646d45a3768cb437593301908aadf058a9102bba311cf9e5ea2794c17272702"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchPollDiagnostics.pollable_pending\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd8a48e6b430064136c3f67c6d60f5c27476b7c618f846545b77f731d1d570a"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchPollDiagnostics.credentials_cooling_keys\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b08abc0b518d471f10c95d03b8ee70ebddec8d90e365e83f871ca7a72a9e90a"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchPollDiagnostics.earliest_credentials_retry_at\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a696fbe31e5caa732359937c5c2687e616cf5cd2455d8ba89fe237e3c2c6d147"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchPollDiagnostics.last_poll_outcome\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c367f6f85230b835e253bfdac303ce378f6b803bd9299d249e5d444db3d7cb"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchPollDiagnostics.last_poll_observed_at\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a352b8af8d1d458ff1eee3ce852d9572a32ebbc8ccd057142c66023e0ae573"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchPollDiagnostics.remote_lease_waits\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ab1039975f73f6162c0f1fdb0e76ca538d16eedad59fccac237cb9da5a12c2"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchPollDiagnostics.remote_lease_wait_ms\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd885c836b967923ab76f006960eba1b4ba0abd7a72041835f9307141fcfc6d"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationResearchPollDiagnostics.longest_eligible_wait_secs\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"847d03388e370488c098905d5692fabcd00e59f9fdeb3939153c63a3e2ce754b"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationControllerStatus.activation_period_code\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c1f912228f7ee2d814641510c9949518e224069d7992786494f85d642126eb"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationControllerStatus.paused_reason\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60cb3913579dbf3a66213adfa51fdff493f669c54efe5413df0a372c6413233"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ReconciliationControllerStatus.transitioned_at\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy_status.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e7391990d3d23ad37e1a40d410f22fef36881ca56e31b2249155f6efe0b71e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 226 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dcf93090cac9b12cc0f7ed41c38fa9de364578ac437d757c34a3bec610c9c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 243 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f0ab67803673edd67e9baf05d676e7fbcd21835341b5abe93cf7a71420301f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 639 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51323292706bdd86f1bd78e571fc7e9bf36475d310e85b2718625d34ec0b7ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 333 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1c328783eff4dd46857105e7b78c4190766d26b65242f6128ca34bd879c579"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060env::var(\u0022CARGO_PKG_VERSION\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"183d9a39df9b8692d36373984fea63855f4d452d4cef724d3dac986111e6c27f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060env::var_os(\u0022OUT_DIR\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d4cb0896ffe6e83471698654af177280045acb356ddaea18f3608c3b3e20b6"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060file.strip_prefix(\u0026dist_dir)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d39c46c670f4a13733c2723755ba04698b7be6739133b1ecf35521e57956c45"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060file.strip_prefix(\u0026dist_dir)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"026e322f9b36699b9fcd0db76f400400a8b2a401be989433094447c8861fb392"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060today.and_hms_opt(6,20,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060duration_until_next_local_daily_run\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/backend_time.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fc5e85a44934234d767c3dcb46a3e98c889003f0fc63d1b8d85055ca545f7c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060tomorrow.and_hms_opt(6,20,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060duration_until_next_local_daily_run\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/backend_time.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d08621924ddf3bb1bb85d4635eaa1cefedf2c3cf82c8123d90e401a9cf9d0a0"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Utc.with_ymd_and_hms(now.year(),now.month(),1,0,0,0).single()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060start_of_month\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fba1a59969b9a5736e2e112f17bfb0b2768388216b4933887908d764ca1b6f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060chrono::NaiveDate::from_ymd_opt(now.year(),now.month(),1)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060start_of_local_month_utc_ts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2312}}}],"partialFingerprints":{"codehealthFindingId/v1":"609abebdbab83f764da73ca7b641e47dcf1d587c66aaf652c2f2cf70fc9cbe68"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060first_day.and_hms_opt(0,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060start_of_local_month_utc_ts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2315}}}],"partialFingerprints":{"codehealthFindingId/v1":"9974aa0d52ba1011254136692e1c16630409d0b6a9ddd91f458af5517a1d2dd0"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060chrono::NaiveDate::from_ymd_opt(year,month,1)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060previous_local_month_start_utc_ts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2333}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca11fb2f93b02b1e2f44b34df6734c2259bca118ca2b30dd8afb03e516d5ba4"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060first_day.and_hms_opt(0,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060previous_local_month_start_utc_ts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ef92af39a01fe1a6638c58e6312c2a553f02742ea73f1c0f97cd1fa64a0bf3"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Utc.with_ymd_and_hms(year,month,1,0,0,0).single()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060start_of_next_month\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2357}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dde255b0ebdedce98ac91962782fd25718f8c76514b2ab7e6ab34e14c05061"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Utc.with_ymd_and_hms(year,month0\u002B1,1,0,0,0).single()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060shift_month_start_utc_ts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2370}}}],"partialFingerprints":{"codehealthFindingId/v1":"890308cca5463803902358526869f0478402f92f9349551d0c98c7099907399f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060date.and_hms_opt(0,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060local_date_start_utc_ts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2902}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9b5c4ac4f13087afad16de0da071680bf0418090c710c5dbb61265d3003817"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060now.date_naive().and_hms_opt(now.hour(),0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060start_of_local_hour_utc_ts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":2928}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0589921d8f8f7adbcabe6642a4af59b06bcd28b80bf7287f3c5872a60bcab4"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060keep_from_date.and_hms_opt(0,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060configured_request_logs_retention_threshold_utc_ts_at\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models.rs"},"region":{"startLine":3069}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31b18feb697732861a6120fec033b7a20ce5520e0b092967d670d3cde9284ff"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.gather()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060gather_test_metrics\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/observability.rs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3dbe1ffa77da300ade29534bc053bbf9dac0682df6b93f42a49514bd8c844c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060String::from_utf8(self.gather().expect(\u0022gather test metrics\u0022))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060gather_test_metrics\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/observability.rs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f46df2d9d1f1c902bbc2a45866f5c069ec3e4a603552d2b1b235e4f7f221d9d"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Metrics::new_with_recording(route_allowlist_from_env(),env_flag(\u0022OBSERVABILITY_ENABLED\u0022)\u0026\u0026observability_identity_is_valid(),)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060global_metrics\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/observability.rs"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d02419870099e8e785246c45531ba335ffb354e4ab67f466eeb634a741beff8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060date.and_hms_opt(start_hour,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060business_period_for_local\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3f53bfcd2891bfbba044c08e9f342f3981f910042e0285df67c3a4e3ce61cd"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060end_date.and_hms_opt(normalized_end_hour,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060business_period_for_local\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/upstream_privacy.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"30447ef06eb7e3854538f6068fd36fc210871f4bfd95dfc3c84e7f3e484b0c40"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Url::parse(FORWARD_PROXY_TRACE_URL)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060default_forward_proxy_trace_url\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/mod.rs"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ef05b3eb8b384fcbb2713b05c6f0990a4f7c26926e73d0eadddae086041bd3"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060queue.pop_front()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060age_queue_into_buckets\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/user_business_calls_memory.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7411cb853d2e5f689e8a0207344802468f2a03a91dc80ad48c6a9e804346b2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060transaction.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060begin\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e4ce71a876135e0cb8d362e4aa0524a0df6bc52a436db296de5b42930e4c5b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060commit_connection\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fede532fa0e582c422842af2fd2abf289bd5df16afe4e3325cc623a63d4c5aa7"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060commit_connection\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3496219d5f1f7731eb0f4ed362303d3fb45108e3b93ab9045fef2f773ad8b160"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060rollback_connection\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c050dca3cef0733ec0ea20daf39c1e394a7579c81ced411c45af71fcb2307ef8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060rollback_connection\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a259d0031b009d8f5af8ad9c432fa95d902a50a734f4e12b6292af3246e90d"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21d04277d06de86b1d4cc40028778134e51f47c1840a55d79a8db440f8260ca"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref_mut\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f00fb7ad6582c053549fa2d6e93d6dc4131efb54ff3fd2c3170c580d7e341e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060transaction.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060begin\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c93d1943ca0fc26ce703e8197bd06d6e194c824ea3b61ab2f7b9b77933d1405"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060commit_connection\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"127517a3f737541242542646adf0ae0e68780fd3a035b94d1d72bb7c03e29004"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060commit_connection\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d0c8774dd208011f8c92fa459d9444534cbacded192481441c700692bc0760"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060rollback_connection\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95888811fdfbab464c78c52998379a6c18d1a360ff8443282957c1aee8eb85c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060rollback_connection\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5229201e0f19704f95b919584b5f195f306c38e20684963d17416a9950dafdc"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060rollback_connection\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1d4e667a5b732308bda2e705083900e93ab066198b446c2b9f4d241ec6a10f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c009968fe319eb3e5980e71c5e987f2e3c1dcf294a1145fb09c1fd95dbcfa1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref_mut\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/immediate_transaction.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cae46618b2d34413448fe14f55f71df11b1ebc895d81e180a8210b7db73d8b6"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060list_access_tokens_filtered_paged\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_tokens.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a2102333305062aa0ac1ac47cb62b06357cc967dd68b2bc8dc7e55d4fb6984"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060list_access_tokens_for_filters\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_tokens.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a67ed2c05f6ccad54e8276c85307df8f5f5171fad79198bc01c518cdd14940"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060list_admin_users_sorted_paged\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_admin_user_listing.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0389ced09c94d0950d4e557a7b93585cffcc128fa9016222fe38ac355403cd4e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060request_kind_canonical_migration_state_blocks_reentry(now_ts,state)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060try_claim_request_kind_canonical_migration_v1\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_bootstrap.rs"},"region":{"startLine":3032}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafee4e90b0a364ae8163be467e4a502f803cbadf4feadf7d9533a7348f11427"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060request_kind_canonical_migration_state_blocks_reentry(now_ts,state)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060try_claim_request_kind_canonical_migration_v1\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_bootstrap.rs"},"region":{"startLine":3051}}}],"partialFingerprints":{"codehealthFindingId/v1":"107a445b3fd2be606d7e77229abf4a26c9f4180f03dbdf9232d18fc76658aa64"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060request_kind_canonical_migration_state_blocks_reentry(now_ts,state)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060try_claim_request_kind_canonical_migration_v1\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_bootstrap.rs"},"region":{"startLine":3085}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7eb21b84d0c722492e32ee3df54437c5c9b48d5def4f4a77d870d4ffa2a691"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060draft.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fetch_dashboard_quota_charge_read_model_internal\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ce1dfba1fa06dbd4a5e1526376c15c7bd7a8578ff67ff7abaaabe4fec4efbd"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060round.model\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fetch_dashboard_quota_charge_read_model_internal\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"293d137ad9a8025bb0f372c97ffaf5b23e4a3aa138a2fbf7b7233d26317fee01"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060draft.current_page.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fetch_dashboard_quota_recovery_round\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfabf407f4fc42941cb1a530de459cba36f6d2d833e151996e312ba2a7555b2e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060page.baseline_query.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fetch_dashboard_quota_recovery_round\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a840f92d1616cbd91f4ed8dc6317e8b15a7b421fb57b2e8e5aa87f9c4a9af5"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060draft.current_page.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fetch_dashboard_quota_recovery_round\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3c490cb0f62582df67940dec08e83d3f6fe6bf5cca2eb1938a80ce39499fb9"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060page.baseline_query.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fetch_dashboard_quota_recovery_round\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"462d93f61e42e50da0901f60385ef0e4404034410ec94153ea26a6dab6938432"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060draft.current_page.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fetch_dashboard_quota_recovery_round\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf1d9099fc41edfee783df174f43a6298076839b3c5b7a0c864307e5725c785"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060baseline.captured_at\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fetch_dashboard_quota_recovery_baseline_step\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_quota_recovery.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3aa3472a175e8f8b4ed8408e083b3c0a2bde893268de098fde6ec28d3af2296"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060current.as_ref().map(|(_,next_probe_at)|*next_probe_at)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060persist_dashboard_rollup_integrity_blocked_range\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_dashboard_rollup_integrity_blocked.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"609c135defce0a973db6c64b6ee1a0d35fd1477851ee35240515105b19bedae6"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060pooled_conn.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060gc_ha_outbox_online_with_options\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha_gc_online.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b109443a8c5e97706d5ea2a3aa53e9569077b5e1ac897cf0946bc6761305aff"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060pooled_conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060gc_ha_outbox_online_with_options\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha_gc_online.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bb01ca563499e747a60a99d5d4d01323fa6ccbc973dbf23e583545b42cc2a2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060batch_conn.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060gc_ha_outbox_online_with_options\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha_gc_online.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"250892b6be2d7d16a83e56cfff61aff18189fe141aef3b1e3d49a66da245b2d8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060batch_conn.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060gc_ha_outbox_online_with_options\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha_gc_online.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77f6e04f7aaa90765a948c9b460457594d3111c03912af01dc86fd9457fdbb3"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060wake_channel_mask\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060gc_ha_outbox_online_with_options\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_ha_gc_online.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fcc2b8e56de2860790e88ac64129797ea361fbb96608e0289fba0a3a3626d9"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060list_access_tokens\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"619d9bb8a3a123fee49737430de03f59c623efc4c5bdf14820f08162a7b176af"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060list_admin_users_paged\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":2074}}}],"partialFingerprints":{"codehealthFindingId/v1":"110ae7e280091810c017f0440ddace2226d6513acc67b20f57272c88009edf7c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060list_admin_users_filtered\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_keys.rs"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f2b4aa8a789012ab6238d61de84ee7f02e966477997d8c25002260dc46b594"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060list_admin_mcp_session_bindings\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_mcp_session_bindings.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"876b9aa22e764be3f57c4cab03c015c1c783aa049b4072851105faf4a3fb9349"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060current_key.as_deref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060backfill_api_key_usage_bucket_request_value_counts_v2\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_migrations_a.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7324c6b6e24d663d3eb7257d26404a1bb0f9fc65183424f4f6b142f66cc1ac"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060current_key.as_deref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060rebuild_api_key_usage_buckets\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_migrations_a.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a39bb7d3489c32a80e02681dfe7f905d04dfa7cda34e39988f48962651bd70"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fetch_request_logs_page\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_request_logs_and_dashboard.rs"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c39ebb94a2aff07479aa1fac364cb5e6bf64a9a20a0ca3d502943d10923697"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fetch_token_logs_catalog\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"c560214cb495f7ca8531d12321288205904991e89e80e18bad0c6b306ee0a8f2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fetch_api_key_metrics_page\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_token_logs.rs"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a44cd3d0a18cd79b9198fbfae96c339705e236c7c9458a497961b19fa230a3"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060claimed_job\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060mark_upstream_reconciliation_research_terminal_inner\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e65daabd1a83eb346fc21cc60eb0b7d1e74c9c81e0acbd8965b341c4dd8e7b0"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060claimed_job\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060record_upstream_reconciliation_research_poll_inner\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation.rs"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90df76f00fba34bccab2d3ccb679d9d55e920c8a0c60aaadd7c0bd6fbb0395a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060claimed_job\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060accept_upstream_reconciliation_research_page\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_upstream_reconciliation_research.rs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"644048eca7acacb5220d4570b6a1e348a43be3f4bc804383d675a5f1e93d246a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060BACKOFF_MS.last()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060sqlite_transient_write_retry_delay\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/mod.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c861d3912804dc2f5b90dbe62c45ba547095f1a9ed337a10bf7785fe8582d507"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060claimed_job\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060apply_upstream_reconciliation_local_backoff_locked\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_observation_store.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b180f2a3fee44b81cc2669aa0d4832ea545e6a9fa7ce4a4a3334b0f873d7e59"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060claimed_job\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060update_upstream_reconciliation_projection_defer_locked\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/reconciliation_observation_store.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40cbbd7d2c6a0156703760d73fefd9b05e48ed48e84067498584adb8291b954"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060counts.get_mut(\u0026operation)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060complete_owned_finish\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"449a2b2cf765783f4b4240709e781ff4be4e45859d3e1561ddf0e229445db0a8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060state.pending.remove(\u0026class)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060try_start_shared\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca8219b80e6d151321bf9bab13a3d778a9439e74d976efec6f2a4fad651144c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060operation.maintenance_class()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060try_admit_bounded_recovery_bulk_with_policy\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"2751c810e6e24b9a3a587ba251796ba173bd83732c152d2147e7c7846726aab7"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060operation.maintenance_class()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060preflight_reconciliation_projection_admission\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a90101169f46b02cfec26492ce920c47015a7fffef34046e7eadd2484eee7e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060operation.maintenance_class()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060try_admit_maintenance_bulk_with_policy\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"290ba34b9a40a8d0fe4114882f8b112c15006f3e261de5e83a56e72b63abc35a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060snapshot.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060begin_read_snapshot\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21dcd6bd46858c9e2de392198131fcfd3c1c84d4be5c3e366693657f020775f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060snapshot.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060begin_read_snapshot\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac432db026c27baad021b2c88275e5ac300ade279fb8994921ad8dda5bbe375f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060complete_query\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"8605a819d8c3ec516f6e15615d0d223312c2d5f4af005e64f5c4bdc2e7b9a031"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060complete_query\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bc52c27498893caaad8fc2e960e64e585b106ab66f8119fee837626ad55cf1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060begin_immediate\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3305}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb9b157c32acd149e0a2e694c7da925b676965a344a3931281ab80c22404787"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.transaction.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060commit\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38811052b0db845604950563cf715a7e5c13ee7baed7ecc67b925aa673b69f9"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.transaction.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060rollback\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3445}}}],"partialFingerprints":{"codehealthFindingId/v1":"384a0c65480d07cc9e0c0742635e164a32e021716f07c43ed2849b49f6d25d1a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.transaction.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3457}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb832e425b83deeb2ec702dfb7b67463545f8aab82d84ac74292049512a4f83"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.transaction.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref_mut\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3466}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e803c3e822349a9739856dcd031c4fc6ae9760fd9f4f879b1a1a53f5efea1d"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3490}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c34c26bb200d2e290d7c5a78b4b88d6ea87ab67cd522799cea6bb9d011cbb37"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref_mut\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3499}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc96f39751d9e58267ad8507fd5238bc01f4c0e81950c901755afaa7204c41d8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060complete_query\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3625}}}],"partialFingerprints":{"codehealthFindingId/v1":"7410713909ca16f80ca23a5761813cb34be8a6785e3555bab2526c1514179076"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060complete_query\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3655}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ca2bad367f688bf581b17516192c45bf05c58a9ff9a7d727b3768c2617dd54"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060complete_query\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3663}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcd7163d6b2006dd24c183a180a219c4387245bdeb70d8595dcd37b96850340"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060close_after_query\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3678}}}],"partialFingerprints":{"codehealthFindingId/v1":"486060b07d00d5256c38fb5476437c226411547ec6726e7861e49fac7c40e44e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060close_after_query\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3687}}}],"partialFingerprints":{"codehealthFindingId/v1":"8973dfda883ae2c89d610dab7d39b7bdf815f1ae59c625422b6bb7978019873b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060close_after_query\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3730}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade359433b3db7b53af08158830a74c9db20f6ae2126046ec01078615528d05f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.snapshot.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060query\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3759}}}],"partialFingerprints":{"codehealthFindingId/v1":"21778d21affa5c3474ea1210e3fe0088949bd2a5e04a7f0615f02a3b7cd6145c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.snapshot.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060query\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3768}}}],"partialFingerprints":{"codehealthFindingId/v1":"753d970b875213eb96631d3f97e9452756bbb3646dd9238e1a10250a006f9826"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.snapshot.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060complete_query\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3788}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e697e20d07484f99bca8baf2b3cfc354cdd9cbe9c8198adc40de6070c662b4"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.snapshot.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060query\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3826}}}],"partialFingerprints":{"codehealthFindingId/v1":"355bf5cd1bfce15578799c40c6d89803adaa568e1f187410dadfb2a71bc721c2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.snapshot.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060query\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3843}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea205c390754aa98f33b56682d689443fafb6c0144bac4b6a375e8d5a709df7a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.snapshot.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060defer\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3869}}}],"partialFingerprints":{"codehealthFindingId/v1":"6940e9304ffaeec6b8d4c38a6314063ed6f7cca108fd44166ec642a36a957eef"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.snapshot.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3895}}}],"partialFingerprints":{"codehealthFindingId/v1":"923b29b6ff7b3146ddb7a3d3440c6bcbd4d313f5e7d98607baf68fb678e16d4e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.snapshot.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref_mut\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3904}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b7b6ac7580539ebeaf07561e33132cc80b46e1bb363ec7ebdf0bcd3e4076bc"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.snapshot.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3915}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea315436aa8217c3a4d7d01db8c4d2be6d2a9ab308479559c3cb0f07d39d396"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.snapshot.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref_mut\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3924}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff11522517ab374ad6fdd3ac240db2b31cc18eaecc40de35cde2d7b18e1d18c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3952}}}],"partialFingerprints":{"codehealthFindingId/v1":"08361a689fb90bcbcf31959b6ab87ff1d05f55daa99f346536123d69051da6f9"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref_mut\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":3961}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a089a825f0c9a6d4001f3f323cf3515d44391e43d5e504132fc7a6c3a1578e2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060configure\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":4110}}}],"partialFingerprints":{"codehealthFindingId/v1":"accbed2e508f613462c239ea7d9303ba4e3f726f153789dd4af3697fe3e54b81"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060configure\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":4117}}}],"partialFingerprints":{"codehealthFindingId/v1":"097c696a1852b47a92b33ba65d28aa749ac2899d32489366d00255529363a548"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060restore\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":4125}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3ace3bd1e062aa123c082eb4afdbe31e115399b965a852f1a849021ddc77d4"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060restore\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":4132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7d1856312974254c8df9e8e6ce1cf21a71f1571e0ade8a2dee1cf9ddfd7ef3"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.transaction.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060rollback\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":4155}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6360edf7cdd7cd0f8be73f22b3205fe6888d6bc9851a97543b6e8581bfbf56"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.transaction.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060finish\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":4200}}}],"partialFingerprints":{"codehealthFindingId/v1":"731b45eba25605e41c422e2dd62f1079e96d2dfd3fa44ed4d40af9f1d33d9a58"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.transaction.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060finish_in_place\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":4255}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dee721f13c14cea823aa86f4dced61861556248bcbd7540cecd1a61f0da9a82"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.transaction.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":4461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ac462ee2303c5764b68c111896302435062d62030e297e65af597b14398fe1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.transaction.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deref_mut\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime.rs"},"region":{"startLine":4470}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8464e8867cfdd0deb27b620afd9524c4d8f6bd145d503806a4c77295cb1ee8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060complete_cooperative_query_inner\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3f6ce49c6e1b78a56a5800bfdb7c3e470de570991fab0743e2af0e458d3337"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060complete_cooperative_query_inner\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"781403310d7405e83a08cb4b7b843e5a0a23c9bdc4b12a3367d72dcd59a37873"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060complete_cooperative_query_inner\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd57b26870f42a551f278f2f86aa557c1384241924acc7fecc49cb52e24e68b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060complete_cooperative_query_inner\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d56a141d6c9e4143cd017e69baa04356e67b6a722acda7f803e2b84f149a4a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060complete_cooperative_query_inner\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15fe9eb9153f57fd2c19cc9a5510e150b72de609f2208cd65cde84168af5775"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060complete_cooperative_query_inner\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"014810f3fb4922a7dd8bf089ebce7ca43b22c79e753b187fbae547bbbdee5ba2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060snapshot.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060begin_read_snapshot_before_deadline\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"c635626656fef4344b1557bc0a5d4ab3d612e6d438a65ffaab6e1d1a55373476"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060snapshot.conn.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060begin_read_snapshot_before_deadline\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_cooperative.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1271edd5c9d4b73bfb70cd4876a4c5207defaa1b4039bc43d908d549d4feef9"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060ABANDONED_UPSTREAM_USAGE_ATTEMPTS.get_or_init(||MarkerMutex::new(MarkerHashSet::new())).lock().map(|mut abandoned|{load_persisted_abandoned_upstream_usage_attempts(\u0026database_path,\u0026mut abandoned);if abandoned.insert((database_path.clone(),reservation_id))\u0026\u0026let Err(error)=persist_abandoned_upstream_usage_attempts(\u0026database_path,\u0026abandoned){tracing::warn!(component=\u0022reconciliation\u0022,event=\u0022rate_attempt_reservation_marker_persist_failed\u0022,error_kind=\u0022marker_io\u0022,error=%error,);}})\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060remember_abandoned_upstream_usage_attempt\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/upstream_usage_attempt_markers.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cae67516baa6d27a12b8f6cbd9976115f6aa49bb4e0fa9172030aa10be14e9"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060date.and_hms_opt(0,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060get_key_metrics\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"921314144484bbe2a94f94c91a249cac2c9b7eb59967ef9db21cd0fe2a532a6e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060chrono::NaiveDate::from_ymd_opt(now.year(),now.month(),1)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060get_key_metrics\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/dto.rs"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e71d2486df02bfeb3c7b6e50de3e863a05959d459a06b6b2cae762f79df4d2a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060claimed_job._job_execution_gate.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060run_linuxdo_user_status_sync_claimed_job\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/schedulers.rs"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc39476e6008dd6be21f1db15f8227649c1c55afb0ffc63e75f04ccd8f98097f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Response::builder().status(500).body(Body::empty())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060not_found_landing\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/spa.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d96900691af52fa7a71c8ce0982b91dbaacb41460191e84f56c17ef68a385a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string(\u0026(kind,Option::\u003C\u0026str\u003E::None,Option::\u003Ci64\u003E::None,Option::\u003Ci64\u003E::None,Option::\u003C\u0026str\u003E::None,Option::\u003C\u0026str\u003E::None,Option::\u003C\u0026str\u003E::None,Vec::\u003CString\u003E::new(),1_i64,20_i64,))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060default_admin_alert_cache_key\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"d529a69ef76916ba92f8315bc09666280aed4a39e663753bfe1d7230f6e838a4"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Response::builder().status(503).body(Body::empty())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060ensure_ha_allows_basic_business\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":1922}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb17ae8783e8a60799bd8d70f4944d1411d483cef7f6436ffa453d7b37a6982"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060now.date_naive().and_hms_opt(0,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060default_since_at\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":2893}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c8018d0ee3dfd01b930c09338cd5141b622aeb8894b460ed62e49ad01a720d"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060(now-ChronoDuration::days(weekday)).date_naive().and_hms_opt(0,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060default_since_at\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":2901}}}],"partialFingerprints":{"codehealthFindingId/v1":"8600cd72e1172729b80a91e9c71c6370a60fdcabf192997445928999bc76612a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Utc.with_ymd_and_hms(now.year(),now.month(),1,0,0,0).single()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060default_since_at\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":2909}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e410b8b56f2ba7cd3ba7334eddd31b55f29506f81166fd9599039fff074760"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060NaiveDate::from_ymd_opt(year,month,1).unwrap_or(date).and_hms_opt(0,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060default_until_at\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":2930}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e95eda685ed204221672b8000b0d1f6829ace75b04227d70341378bd8fe8a24"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060now.date_naive().and_hms_opt(0,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060start_of_day_dt\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":2939}}}],"partialFingerprints":{"codehealthFindingId/v1":"0849f1202d0f2e4bc4ff7e9b4aed7015b47767e0d465daef3ed9491ac98779a9"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Utc.with_ymd_and_hms(now.year(),now.month(),1,0,0,0).single()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060start_of_month_dt\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/state.rs"},"region":{"startLine":2946}}}],"partialFingerprints":{"codehealthFindingId/v1":"338a02b2b388512bc1c28584e44723456ce5bd80f9de797574964c3812bb2cbb"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Response::builder().status(status).body(Body::empty())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060authenticate_request_token\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/mcp_helpers.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"46228547f58cb8390451085581f6b4a08e3e0fa8568376f23aadd60218461a12"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Response::builder().status(StatusCode::INTERNAL_SERVER_ERROR).body(Body::empty())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060authenticate_request_token\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/mcp_helpers.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2cf645815a4cb3ccaf71c62fb34488581ed4d04e0caa9aea192862bfd31225"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Response::builder().status(status).body(Body::empty())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060authenticate_request_token\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/mcp_helpers.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d44dcb651632cdf234a6f6876e9aef0473816d433c4aa4fceb94bc1f0f4317"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060mcp_body_summary.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060proxy_handler\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a1b0cf7d3471548adaa58be9cdc224182190f839654dd629742a9281b73568"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060incoming_proxy_session_id.as_deref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060proxy_handler\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"108a458f9738318e4c39401a768f2aecec1f51b3905cea1ba78e85b6058129b9"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Response::builder().status(500).body(Body::empty())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060build_response\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/proxy_handlers_and_views.rs"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81121c5c69cd299aa96e355daa75de3997ec90f86ee7dec3902a1ef55227208"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060loader.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060public_blog_runtime_snapshot_with\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/blog_runtime.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cd76fa9274914082e3c905c73d1343e92a20eb675d40be60c3ddf270bc2f87"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Response::builder().header(CONTENT_TYPE,\u0022application/json\u0022).body(Body::from(snapshot.http_json.clone()))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060get_dashboard_overview\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a5cd68916bcad48f10184faa8a67c3b28c76f2a3df5ac55dc5b57865ab3e21"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060chrono::NaiveDate::from_ymd_opt(now.year(),now.month(),1)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060dashboard_start_of_local_month_utc_ts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13b428d779e1b97055c91a9f6e1ef163486446fbd6872ee0a2e348695ea8e8b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060chrono::NaiveDate::from_ymd_opt(year,month,1)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060dashboard_previous_local_month_start_utc_ts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"d892ce65811d5fbdb4e9dd31b688097fc641b8c22e4dd959a2e6b02e68d3f1fc"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060chrono::NaiveDate::from_ymd_opt(shifted_year,shifted_month,1)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060dashboard_shift_local_month_start_utc_ts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"753a0de06082a5ec46c5b3272a50e80b89f5d81bf5f1dc0b5811a7fb1650e8b6"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060date.and_hms_opt(0,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060dashboard_local_midnight_utc_ts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":1814}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80b3cb4505d8164c08302a68a7e1746dabf571b4f0b41fe88dcf28eb5e48c8c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060cache.cached.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060load_dashboard_overview_snapshot\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":2005}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f537c38ae0a19cb99ab9e6738b6f677054844393e9b7dffcc77e7b80afdd0bd"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060cold_waiter\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060load_dashboard_overview_snapshot\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/public.rs"},"region":{"startLine":2114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0dee6eb9035c5e0a9682d941707fa6f7bd322610501597403cfb953680db336"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060chrono::NaiveDate::from_ymd_opt(now.year(),now.month(),1)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060user_local_month_start_utc_ts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":1633}}}],"partialFingerprints":{"codehealthFindingId/v1":"4178ecaefd3e2a410918f130adb59c0fdb9d495f65574cf3765fc549bc7ceeb5"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060chrono::NaiveDate::from_ymd_opt(shifted_year,shifted_month,1)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060user_shift_local_month_start_utc_ts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"d648d43af8005971a8bc2ad0e85187dc90b37a16b3656947b95934262f2dab1a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060date.and_hms_opt(0,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060user_local_midnight_utc_ts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/user.rs"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d9259d6536508d40276a4707cc48030b3354b459ee9a3c70408a901cb08f03"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string(\u0026(kind,query.alert_type,query.since,query.until,query.user_id,query.token_id,query.key_id,request_kinds,query.page,query.per_page,))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060alert_read_cache_key\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/alerts.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"146b3f15b1d83cf32cf0e097c69c5087231b6c74f265ca24249576a20ef61e5a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060maintenance_actor.clone()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060post_api_key_bulk_actions\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/api_keys_and_logs.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"819971c5336221861807b8b751832c10d2f3404506e2714dbb8440b11a95bdd5"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060events.pop()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060get_admin_ha_timeline\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"7613a4e57abda3f89cb1e8ab384aab82472b8941fbd0accbc6edc7c2ffa26f94"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060events.pop()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060get_admin_ha_node_detail\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/ha.rs"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e19cb0964cf76af5e1380802a93c4779620e1c3e7f4066bc82873843fe71d06"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.recovery_window_group.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060stage_recovery_window_sample\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models/quota_views.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd1f1bcb90205781c8531f43a31ab7226f49c18ca5c75cfe5b81c1813607637"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.recovery_window_group.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060stage_recovery_window_sample\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/models/quota_views.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbb025fcca6390ae16708f104f15b9a7b3c521550e04cd12a784253a384622f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Url::parse(FORWARD_PROXY_VALIDATION_PROBE_URL)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060derive_probe_url\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/forward_proxy/settings_and_endpoints.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9911b4a7e3ba6533b3689a2a33b34a86bca6c22c90343ec3c80258a49e84a5"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060reports.last()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060from_passes\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/ha_outbox_cleanup_once.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d85319039fb2b27c85b45682ed91814ff329b8132d3c3b98f331b637db5a9f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Utc.with_ymd_and_hms(dt.year(),dt.month(),1,0,0,0).single()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060repair_month_start\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_session_delete_neutral_repair.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5c3fb259e3d897408b9687c23a248bd83cf60968f2219faa6919cc5f86ba0d"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Utc.with_ymd_and_hms(dt.year()\u002B1,1,1,0,0,0).single()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060repair_month_end\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_session_delete_neutral_repair.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea8708d34b2fe308ddb621405143677a07cbb48420b9a694b82350357847089"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Utc.with_ymd_and_hms(dt.year(),dt.month()\u002B1,1,0,0,0).single()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060repair_month_end\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mcp_session_delete_neutral_repair.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"4670d5169a2b3721ecb5220cbd4b8acde6e5ded2f8fa7f2a37b0376e56c96ca7"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060axum::response::Response::builder().status(StatusCode::INTERNAL_SERVER_ERROR).body(Body::from(\u0022failed to build response\u0022))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060proxy\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mock_edgeone_ingress.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81d7c251499432b1d9906683ab3994c95b6845a707be86ce7e2382251514844"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_value(ClientMessages::from(message))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060build_payload\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mock_mcp_client.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"84340ee5411b7cfa05886a5efab2a88442d7bae5af21587eb9c61817537d3f90"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060guard.mcp_sessions.get(\u0026upstream_session_id).cloned()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060handle_mcp\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/mock_tavily.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"6471d7f77d50ba2d09230308df4829f6b0cd4828a7a831c9a64c244db0d33524"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060reports.last()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060from_passes\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/request_logs_gc_once.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f441d534b37a53abae4ed1cff29cc4b9a87ecca76382322f372e6d619e29009"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060parse_retry_after_secs_value\u0060 turns every \u0060Err\u0060 into \u0060Some(0)\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. 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 arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tavily_proxy/proxy_core.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a967d83e87c03f2a9387d60d0d9706e8108e8401f27c7c5f20e9c564a27f3d6f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060redact_api_key_bytes\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. 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 arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/analysis.rs"},"region":{"startLine":2523}}}],"partialFingerprints":{"codehealthFindingId/v1":"911e8011a9520ac967068d0984808324dde1221a51d7297300f8985009780fc4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060mcp_session_retry_after_secs\u0060 turns every \u0060Err\u0060 into \u0060Some(0)\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. 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 arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/proxy/mcp_helpers.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d080682505e03c1bd272edb690c367d07d2e6e3f3cb1be1ffbc434c6bb8f8a5d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060retain_alert_group_child_events\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. 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 arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfaed797faf3c30c6ba333f9f36f00c0e5f9c5dc66ec9ebc89121b0663a8ff2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060sqlite_file_size\u0060 turns every \u0060Err\u0060 into \u0060\u0022unknown\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. 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 arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/sqlite_runtime_maintenance_metrics.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"799032bf4b6cd451367def1859d1ebecdbdd4ccef460b30e7229e0f644a8e746"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readJsonBody\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/src/api/demo.ts"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de630a043307d8eb4d57569e20e1e28802e3c462dbd5ed3ed2e00d8d3842d25"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readStoredAdminDisplayDensity\u0060 swallows every exception into \u0060return \u0027comfortable\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/src/admin/displayDensity.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"68490f05b2f17b8eee3192df52e6787bf0e4381937ee6daa9cc05bd861406481"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatAnnouncementTime\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":"web/src/user-console/Announcements.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbbb09c85fdfcbfaaa5cb57bcc438ab67f69cfa6e876ff90b2e84f8e648a427"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatTimestamp\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":"web/src/admin/AnnouncementsModule.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e668001e14123c1a3c075656658fc875b6ae5af8e8495ccb9e5a725c29499492"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadTokenMap\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/src/PublicHome.tsx"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"9352aa30e0cdb485dc154a648d9a9a5f4cd39b77c3f2e32af954f41c4397a9ba"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readClosedAnnouncementRecords\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/src/user-console/useAnnouncements.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c0bd1c644db78191ac93a0107b11aa74452c2a2af924460a972e98002496a5"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060key.contains(\u0022accesstoken\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060key.contains(\u0022accesstoken\u0022)\u0060 also satisfies \u0060key.contains(\u0022token\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e6bad357cc52dd655de2fa6fbb9cf7779b50787d88d391b3dd9869e2f3c11f"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060key.contains(\u0022refreshtoken\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060key.contains(\u0022refreshtoken\u0022)\u0060 also satisfies \u0060key.contains(\u0022token\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/store/key_store_alert_event_projection.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2451ccbf08d86169ba97d96dbda4ca6ea46a62d9b3891db8ea6c0508a6c95bf"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060message.contains(\u0022non_business_body_days\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060message.contains(\u0022non_business_body_days\u0022)\u0060 also satisfies \u0060message.contains(\u0022business_body_days\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/handlers/admin_resources/forward_proxy_and_key_validation.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e60bb65f9d962ed7919266242e42faa22442251871a304ee6bb645399569c24"}}],"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-1284","guid":"85c6f270-a062-d45c-98ec-8792760915c0","name":"CWE-1284","shortDescription":{"text":"CWE-1284"},"helpUri":"https://cwe.mitre.org/data/definitions/1284.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-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-807","guid":"7b9d7bab-2171-935b-9279-889089164770","name":"Reliance on Untrusted Inputs in a Security Decision","shortDescription":{"text":"Reliance on Untrusted Inputs in a Security Decision"},"helpUri":"https://cwe.mitre.org/data/definitions/807.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-835","guid":"4d510828-22d0-5353-ad86-51ed0cae0b37","name":"CWE-835","shortDescription":{"text":"CWE-835"},"helpUri":"https://cwe.mitre.org/data/definitions/835.html"},{"id":"CWE-843","guid":"21dd6353-35c3-fc54-a40c-f240ef5d4b10","name":"CWE-843","shortDescription":{"text":"CWE-843"},"helpUri":"https://cwe.mitre.org/data/definitions/843.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"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/"}]},{"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-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"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":214,"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."]}]}